Important Update: Cohesity Products Documentation
All Cohesity product documentation are now managed via the Cohesity Docs Portal: https://docs.cohesity.com/HomePage/Content/home.htm. Some documentation available here may not reflect the latest information or may no longer be accessible.
Veritas Access NetBackup 解决方案指南
- Veritas Access 与 NetBackup 集成
- 系统要求
- 通过具有 OpenDedup 和 NetBackup 的 S3 配置 Veritas Access 备份
- 将 Veritas Access 与 NetBackup 和 OpenDedup 结合使用的好处
- OpenDedup 工作流程
- 用例 1:使用 S3 协议将已进行重复数据删除的数据(OpenDedup 和 NetBackup)备份到 Veritas Access
- 用例 2:在 Veritas Access 上备份数据 (NetBackup) 和对数据进行重复数据删除 (OpenDedup)
- 在 Veritas Access 上创建 S3 存储桶,来存储 NetBackup 中已进行重复数据删除的备份数据
- 使用 NetBackup 为主备份创建介质服务器重复数据删除池 (MSDP)
- 在 NetBackup 控制台中创建 OST 磁盘池和 STU
- 在同一域中设置多个 NetBackup 介质服务器
- 在 NetBackup 介质服务器上设置多个 SDFS 卷
- 使用 NetBackup CloudCatalyst 将 Veritas Access 配置为云存储服务器
- 使用 NetBackup 策略配置备份和还原
- 故障排除
在 Veritas Access 上创建 S3 存储桶,来存储 NetBackup 中已进行重复数据删除的备份数据
在 Veritas Access 上创建 S3 存储桶,来存储 NetBackup 中已进行重复数据删除的备份数据
- 使用以下 URL 以 master 用户身份登录 Veritas Access GUI:
https://Veritas Access Management console IP:14161/。可以通过在 Veritas Access 群集上使用 su - master 命令登录 CLISH,来获取 Veritas Access 管理控制台 IP。
- 为 S3 存储桶创建存储池。
在左侧的 GUI 导航中,单击 NAS Infrastructure。
选择要用于 S3 存储桶的磁盘,然后单击 Add to Storage Pool 按钮以调用存储池创建向导。
按照向导中的步骤创建新存储池或者向现有池中添加磁盘。
- 单击 Settings > User Management > Configure Active Directory 以配置 AD。
输入必需的信息,如 DNS Domain、DNS Name Servers、AD Domain、AD Domain Controller、 AD Admin 和 Password。
- 单击 Settings > S3 Management 以配置和启用 S3 服务器。
编辑 S3 服务器所需的默认参数,如存储池名称、基础 S3 存储桶布局以及存储桶的默认大小。
- 双击 S3 Server Status 以启动 S3 服务器。
- 从 GUI 中注销,然后以 AD 用户身份重新登录。
注意:
使用 domainname\\username 格式登录。
单击 Create keys 按钮,以便为 Veritas Access S3 存储桶生成访问密钥和密钥。
将访问密钥和密钥保存到安全位置,因为在最初创建密钥之后,Veritas Access 不允许检索密钥。
- 从 GUI 中注销,以 master 用户身份重新登录。
- 注册支持的公有云服务是可选的,只有当您需要将 AWS 云作为存储层添加时才需要注册。如果不注册,备份将本地存储在 Veritas Access S3 存储桶中。
单击 Settings > Cloud Storage Registration > Add Cloud Subscription 以注册支持的公有云服务。
输入云服务提供商的信息、订购名称、访问密钥和密钥。
- 激活长期数据保留 (LTR) 策略。
单击 Policies > LTR Policy。
单击 Activate(对于 LTR On-Premises + Cloud 策略或 LTR On-Premises 策略)并在系统提示时提供存储池。
- 使用策略配置 NetBackup 存储桶。
在 Quick Actions 下,单击 Provision Storage。选择 S3 Storage for NetBackup,然后单击 Next。
提供存储桶大小、存储桶的基础布局、访问密钥,以及在步骤 6 中作为 AD 用户生成的 Veritas Access S3 服务器的密钥。
如果已选中 LTR On-Premises + Cloud 策略,则添加如下信息:应当将哪些数据移到 AWS 云层、AWS 区域、云层类型 (S3/Glacier) 以及应当在何时将数据移到云中。
- 在 Recent Activity 下监视任务的进度。
记下用于创建存储桶的横向扩展文件系统名称。
- 单击 File Systems。
对于所创建的横向扩展文件系统,确保 S3 Bucket 列显示 Yes(这表示 S3 存储桶处于启用状态)。
您可能需要等待一段时间,此更改才能在 GUI 中反映出来。
- 右键单击省略号(其他选项),然后单击 Configure LTR Script。
- 显示一个弹出窗口,其中包含以下选项:
Do you want to Run the LTR script?
Do you want to Download the LTR script?
如果 OpenDedup 托管在 Veritas Access 上,则选择 Do you want to Run the LTR script? 选项。系统将提示您输入访问密钥。输入访问密钥,然后单击 Next。等待任务完成。
其余配置步骤会自动完成。
配置成功完成后,输出消息显示在 Veritas Access 上装入 OpenDedup 卷的 IP 地址和端口号。稍后在 OST 配置期间需要此 IP 地址和端口号。
注意:
此操作会创建/扩展一个名为
odd_cache_fs的新文件系统,用于存储 OpenDedup 缓存数据。此文件系统的默认大小为 24 GB。Veritas 建议您将文件系统扩展到所需大小。请参见 OpenDedup 文档,了解更多详细信息。转到步骤 21。
如果 OpenDedup 托管在 NetBackup 主服务器和/或介质服务器上,则选择 Do you want to Download the LTR script? 选项。单击 Next。等待任务完成。
- 将 LTR 脚本复制到装有 OpenDedup 的主机。它可以是装有 NetBackup 介质服务器的主机。
- 运行已下载的 LTR 脚本。LTR 脚本要求 Veritas Access S3 密钥(访问密钥和密钥)作为以 AD 用户身份生成的参数。
LTR 脚本创建 OpenDedup 文件系统,并提示在
/etc/hosts文件中输入存储桶-IP 地址映射。执行 LTR 脚本后的输出结果:
[root@host1 ~]# sh LTRscript_<fsname/volname>_<bucketname>.sh <Access key> <Secret Key> =================================================================== Insert the below details in /etc/hosts file 10.100.100.1 4f459a2d-736e-4be5-9c5a-f821fbc198fds3bucket.s3.access =================================================================== Attempting to create SDFS volume ... Volume [S3fs1497356186] created with a capacity of [10.00GB] check [/etc/sdfs/S3fs1497356186-volume-cfg.xml] for configuration details if you need to change anything
注意:
上面突出显示的卷名及其等效 .xml 文件用于在后续步骤中装入和更新 SDFS 卷参数。
- 在介质服务器上的
/etc/hosts文件中添加与虚拟托管式的存储桶名称(通过 LTR 脚本生成)相关联的 IP。 - 在装有 OpenDedup 的主机上的 /opendedupe/volumes/ 下装入 SDFS 卷。
# mkdir /opendedupe/volumes/filesystem_name
# mount -t sdfs filesystem_name /opendedupe/volumes/filesystem_name
mount 命令在 Veritas Access 群集或 NetBackup 介质服务器上装入存储桶。
注意:
装入 SDFS 卷之后,它将开始在特定端口上侦听(通常从 6442 开始)。
可以使用 mount 命令发现端口信息。
示例:
[root@host1 ~]# mount | grep opendedupe sdfs:/etc/sdfs/S3fs1497346133-volume-cfg.xml:6443 on /opendedupe/volumes/S3fs1497346133 type fuse (rw,nosuid,nodev,allow_other,allow_other) sdfs:/etc/sdfs/S3fs1497258807-volume-cfg.xml:6442 on /opendedupe/volumes/pool1 type fuse (rw,nosuid,nodev,allow_other,allow_other)
- 使用以下命令更新
/etc/rc.local脚本:/scripts/mount-opendedupe.sh || exit 1 exit 0 - 创建
mount-opendedupe.sh脚本和/scripts目录。cat mount-opendedupe.sh !/bin/sh mount -t sdfs <volume_name> /opendedupe/volumes/<volume_name> - 执行以下命令:
chmod +x /scripts/mount-opendedupe.sh chmod +x /etc/rc.d/rc.local - 基于以下两种情况更新 NetBackup 介质服务器上存在的
/etc/sdfs/ostconfig.xml中的 URL 标记:用例 1:NetBackup 服务器上的 OpenDedup
<URL> http://localhost:6442/ </URL> OpenDedup on separate Media server <URL> http://<media server hostname>:6442/ </URL>
用例 2:Veritas Access 上的 OpenDedup
<URL> http://<IP address that was specified in step 14>:<port number that was specified in step 14>/ </URL>