netapp_eseries.santricity.netapp_e_amg_role 模块 – NetApp E 系列更新异步镜像组 (AMG) 中存储阵列的角色。
注意
此模块是 netapp_eseries.santricity 集合(版本 1.4.1)的一部分。
如果您正在使用 ansible
包,您可能已经安装了此集合。它不包含在 ansible-core
中。要检查它是否已安装,请运行 ansible-galaxy collection list
。
要安装它,请使用:ansible-galaxy collection install netapp_eseries.santricity
。
要在 playbook 中使用它,请指定:netapp_eseries.santricity.netapp_e_amg_role
。
netapp_eseries.santricity 2.2.0 中的新增功能
概要
更新存储阵列,使其成为异步镜像组中的主实例或辅助实例
参数
参数 |
注释 |
---|---|
使用 SANtricity WebServices 代理或嵌入式 REST API 进行身份验证的密码。 |
|
SANtricity WebServices 代理或嵌入式 REST API 的 URL。 |
|
使用 SANtricity WebServices 代理或嵌入式 REST API 进行身份验证的用户名。 |
|
是否强制角色反转,而不管主节点的在线状态如何 选项
|
|
角色的名称 |
|
是否在角色反转之前避免同步 选项
|
|
阵列应该作为 AMG 的主阵列还是辅助阵列 选项
|
|
异步镜像操作的主存储阵列 ID |
|
是否应验证 https 证书? 选项
|
示例
- name: Update the role of a storage array
netapp_e_amg_role:
name: updating amg role
role: primary
ssid: "{{ ssid }}"
api_url: "{{ netapp_api_url }}"
api_username: "{{ netapp_api_username }}"
api_password: "{{ netapp_api_password }}"
validate_certs: "{{ netapp_api_validate_certs }}"
返回值
常见的返回值在此处记录这里,以下是此模块特有的字段
键 |
描述 |
---|---|
失败消息 返回: 失败 示例: |