Veritas NetBackup™ CloudPoint 安装和升级指南
- 第 I 部分. CloudPoint 安装和配置
- 准备安装 CloudPoint
- 使用容器映像部署 CloudPoint
- 部署 CloudPoint 扩展
- CloudPoint 云插件
- CloudPoint 存储阵列插件
- NetApp 插件配置说明
- Nutanix Files 插件配置说明
- Dell EMC Unity 阵列插件配置说明
- Pure Storage FlashArray 插件配置说明
- HPE RMC 插件配置说明
- HPE XP 插件配置说明
- Hitachi 插件配置说明
- Hitachi (HDS VSP 5000) 插件配置说明
- InfiniBox 插件配置说明
- Dell EMC PowerScale (Isilon) 插件配置说明
- Dell EMC PowerMax 和 VMax 插件配置说明
- Qumulo 插件配置说明
- CloudPoint 应用程序代理和插件
- Oracle 插件配置说明
- 关于快照还原
- 还原 SQL Server 快照后需要执行的其他步骤
- 使用 CloudPoint 无代理功能保护资产
- NetBackup CloudPoint 中的卷加密
- CloudPoint 安全性
- 第 II 部分. CloudPoint 维护
在托管 Kubernetes 群集上安装 CloudPoint 扩展
安装 CloudPoint 扩展之前:
安装扩展
- 确保已下载扩展脚本
cp_extension_start.sh
。请参见下载 CloudPoint 扩展。
注意:
暂时不要创建身份验证令牌,因为它仅在 180 秒内有效。
- 如果要安装扩展的主机与安装 CloudPoint 的主机不同,请在扩展主机上加载 CloudPoint 容器映像(
flexsnap-cloudpoint、flexsnap-listener、flexsnap-workflow、flexsnap-fluentd、flexsnap-datamover
)映像名称采用以下格式:
示例:
veritas/flexsnap-cloudpoint
- 创建映像标记以将源映像映射到目标映像,这样您便可以将映像推送到先前在准备步骤中创建的 Azure 容器注册表。
事先收集以下参数:
参数
描述
container_registry_path
要获取容器注册表路径,请转到 Azure 中的容器注册表,然后从“概览”窗格复制“登录服务器”。
示例:
mycontainer.azurecr.io
tag
CloudPoint 映像版本。
示例:
9.0.1.0.9129
要标记映像,请针对每个映像运行以下命令,具体取决于主机上运行的容器平台:
对于 Docker:# docker tag source_image:tag target_image:tag
对于 Podman:# podman tag source_image:tag target_image:tag
其中,
源映像标记为:veritas/flexsnap-cloudpoint:tag>
目标映像标记为:<container_registry_path>/<source_image_name>:<CloudPoint_version_tag>
示例:
# docker tag veritas/flexsnap-cloudpoint:9.0.1.0.9129 mycontainer.azurecr.io/veritas/flexsnap-cloudpoint:9.0.1.0.9129 # docker tag veritas/flexsnap-listener:9.0.1.0.9129 mycontainer.azurecr.io/veritas/flexsnap-listener:9.0.1.0.9129 # docker tag veritas/flexsnap-fluentd:9.0.1.0.9129 mycontainer.azurecr.io/veritas/flexsnap-fluentd:9.0.1.0.9129 # docker tag veritas/flexsnap-workflow:9.0.1.0.9129 mycontainer.azurecr.io/veritas/flexsnap-workflow:9.0.1.0.9129 # docker tag veritas/flexsnap-datamover:9.0.1.0.9129 mycontainer.azurecr.io/veritas/flexsnap-datamover:9.0.1.0.9129
- 要将映像推送到容器注册表,请针对每个映像运行以下命令,具体取决于主机上运行的容器平台:
对于 Docker:# docker push target_image:tag
对于 Podman:# podman push target_image:tag
示例:
# docker push mycontainer.azurecr.io/veritas/flexsnap-cloudpoint:9.0.1.0.9129 # docker push mycontainer.azurecr.io/veritas/flexsnap-listener:9.0.1.0.9129 # docker push mycontainer.azurecr.io/veritas/flexsnap-fluentd:9.0.1.0.9129 # docker push mycontainer.azurecr.io/veritas/flexsnap-workflow:9.0.1.0.9129 # docker push mycontainer.azurecr.io/veritas/flexsnap-datamover:9.0.1.0.9129
- 将映像推送到容器注册表后,从安装了 kubectl 的主机执行之前下载的扩展脚本
cp_extension_start.sh
。该脚本可以通过在一个命令中输入所有必需的参数来执行,或通过提示您输入的交互方式执行。运行脚本前收集以下参数:
参数
描述
cloudpoint_ip
提供主 CloudPoint 主机的 IP 地址或 FQDN。
target_image:tag
在步骤 3 中为 flexsnap-cloudpoint 映像创建的目标映像标记。
示例:'mycontainer.azurecr.io/veritas/flexsnap-cloudpoint:9.0.1.0.9129'
namespace
之前在准备步骤中创建的 CloudPoint namespace。
tag_key=tag_val
tag_key
和tag_val
可以使用以下命令进行检索:获取节点名称:
# kubectl get nodes | grep <node_name>
获取标记的 key=value 标签:
# kubectl describe node <node_name> -n <namespace> | grep -i labels
输出示例:
agentpool=cpuserpool
secret_name
之前在准备步骤中创建的 Kubernetes 密钥。
示例:
mysecret
fileshare_name
您可以在 Azure 门户的存储帐户中找到文件共享的名称。建议存储帐户和 Kubernetes 群集应位于同一区域
示例:
mysharename
workflow_token
从“NetBackup Web UI - 添加扩展”对话框创建的身份验证令牌。
请参见下载 CloudPoint 扩展。
将脚本作为可执行文件运行:
允许将脚本作为可执行文件运行:
# chmod +x cp_extension_start.sh
使用上表所述的所有输入参数运行安装命令:
# ./cp_extension_start.sh install -c <cloudpoint_ip> -i <target_image:tag> -n <namespace> -p <tag_key=tag_val> -s <secret_name> -f <fileshare_name> -t <workflow_token>
示例:
# ./cp_extension_start.sh install -c 10.20.xx.xxx -i mycontainer.azurecr.io/veritas/flexsnap-cloudpoint:9.0.1.0.9271 -n cloudpoint-system -p agentpool=cpuserpool -s mysecret -f mysharename -t workflow-3q3ou4jxiircp9tk0eer2g9jx7mwuypwz10k4i3sms2e7k4ee7-.....
将脚本作为交互文件运行:
运行以下命令:
# ./cp_extension_start.sh install
脚本运行时,请提供上表中所述的输入参数:
CloudPoint IP or fully-qualified domain name: 10.20.xx.xxx Veritas CloudPoint image repository path. Format=<Login-server/image:tag>: mycontainer.azurecr.io/veritas/flexsnap-cloudpoint:9.0.1.0.9255 CloudPoint extension namespace: cloudpoint-system Node pool with format key=value: agentpool=cpuserpool Azure Fileshare Secret: mysecret Azure Fileshare Name: mysharename CloudPoint extension token: Getting CloudPoint service file ...done Getting CloudPoint CRD file ...done Azure Fileshare Secret Validation ...done Starting CloudPoint service deployment namespace/cloudpoint-system configured deployment.apps/flexsnap-cloudpoint created serviceaccount/cloudpoint-acc created clusterrole.rbac.authorization.k8s.io/cloudpoint-cloudpoint-system unchanged clusterrolebinding.rbac.authorization.k8s.io/cloudpoint-rolebinding-cloudpoint-system unchanged customresourcedefinition.apiextensions.k8s.io/cloudpoint-servers.veritas.com created CloudPoint service deployment ...done customresourcedefinition.apiextensions.k8s.io/cloudpoint-servers.veritas.com condition met Generating CloudPoint Custom Resource Definition object cloudpointrule.veritas.com/cloudpoint-config-rule created CloudPoint extension installation ...done
注意:
输出示例已进行了格式设置,以适合屏幕。
Azure 云中托管 Kubernetes 群集上的 CloudPoint 扩展安装完毕。
要验证扩展是否安装成功,请执行以下操作:
验证是否在命令提示符处显示成功消息。
验证扩展是否列在 NetBackup Web UI 上。
转到“云”>“CloudPoint 服务器”选项卡 > 单击“高级设置”> 转到“CloudPoint 扩展”选项卡并进行验证。
运行以下命令并验证是否有四个 pod,即
flexsnap-cloudpoint-xxx、flexsnap-fluentd-xxx、flexsnap-listener-xxx、flexsnap-fluentd-collector-xxx、flexsnap-datamover-xxxx
是否处于运行状态:# kubectl get pods -n <namespace>
示例:# kubectl get pods -n cloudpoint-system