netapp_eseries.santricity.netapp_e_amg 模块 – NetApp E 系列创建、删除和更新异步镜像组
注意
此模块是 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
。
netapp_eseries.santricity 2.2.0 中的新增功能
概要
允许创建、删除和更新 NetApp E 系列存储阵列的异步镜像组
参数
参数 |
注释 |
---|---|
用于使用 SANtricity Web Services Proxy 或嵌入式 Web Services API 进行身份验证的密码。 |
|
SANtricity Web Services Proxy 或嵌入式 Web Services API 的 URL。示例 https://prod-1.wahoo.acme.com/devmgr/v2 |
|
用于使用 SANtricity Web Services Proxy 或嵌入式 Web Services API 进行身份验证的用户名。 |
|
如果光纤和 iSCSI 都可用,则要使用的预期协议。 选择
|
|
将其设置为 true 将导致忽略其他同步值 选择
|
|
您希望定位或创建的异步阵列的名称。 如果存在 |
|
新的异步阵列名称 |
|
恢复点警告阈值(分钟)。当最后一个良好故障点的使用年限超过此值时,将警告用户 默认值: |
|
恢复点警告阈值 默认值: |
|
要在镜像过程中使用的辅助阵列的 ID |
|
要管理的阵列的 ID。此值对于每个阵列必须是唯一的。 默认值: |
|
选择
|
|
同步间隔(分钟) 默认值: |
|
用于通知用户定期同步花费太长时间才能完成的阈值(分钟)。 默认值: |
|
是否应验证 https 证书? 选择
|
备注
注意
E 系列 Ansible 模块需要 Web Services Proxy (WSP) 的实例才能管理存储系统,或者需要支持嵌入式 Web Services API 的 E 系列存储系统。
嵌入式 Web 服务目前可在 E2800、E5700、EF570 和更新的硬件型号上使用。
netapp_eseries.santricity.netapp_e_storage_system 可用于配置 WSP 实例管理的系统。
示例
- name: AMG removal
na_eseries_amg:
state: absent
ssid: "{{ ssid }}"
secondaryArrayId: "{{amg_secondaryArrayId}}"
api_url: "{{ netapp_api_url }}"
api_username: "{{ netapp_api_username }}"
api_password: "{{ netapp_api_password }}"
new_name: "{{amg_array_name}}"
name: "{{amg_name}}"
when: amg_create
- name: AMG create
netapp_e_amg:
state: present
ssid: "{{ ssid }}"
secondaryArrayId: "{{amg_secondaryArrayId}}"
api_url: "{{ netapp_api_url }}"
api_username: "{{ netapp_api_username }}"
api_password: "{{ netapp_api_password }}"
new_name: "{{amg_array_name}}"
name: "{{amg_name}}"
when: amg_create
返回值
常见的返回值记录在此处,以下是此模块特有的字段
键 |
描述 |
---|---|
成功创建 已返回: 成功 示例: |