netapp_eseries.santricity.netapp_e_storage_system 模块 – NetApp E 系列 Web 服务代理管理存储阵列

注意

此模块是 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_storage_system

netapp_eseries.santricity 2.2.0 中的新功能

概要

  • 管理通过 NetApp Web Services Proxy 访问的 NetApp E 系列存储阵列。

参数

参数

注释

api_password

字符串 / 必需

使用 SANtricity WebServices Proxy 或嵌入式 REST API 进行身份验证的密码。

api_url

字符串 / 必需

SANtricity WebServices Proxy 或嵌入式 REST API 的 URL。

api_username

字符串 / 必需

使用 SANtricity WebServices Proxy 或嵌入式 REST API 进行身份验证的用户名。

array_password

字符串

如果要设置,则为要管理的阵列的管理密码。

array_status_timeout_sec

整数

以秒为单位的阵列状态超时时间

默认值: 60

array_wwn

字符串

要管理的阵列的 WWN。仅当在同一代理主机上带内管理多个阵列时才需要。与 controller_addresses 参数互斥。

controller_addresses

列表 / 元素=字符串 / 必需

带外管理适配器或代理主机的地址列表。与 array_wwn 参数互斥。

enable_trace

布尔值

为对存储系统的 SYMbol 调用启用跟踪日志记录。

选择

  • false ← (默认)

  • true

meta_tags

列表 / 元素=字符串

要与此存储系统关联的可选元标记

ssid

字符串 / 必需

要管理的阵列的 ID。此值对于每个阵列都必须是唯一的。

state

字符串 / 必需

是否应在 Web Services Proxy 上配置指定的阵列。

选择

  • "present"

  • "absent"

validate_certs

布尔值

是否应验证 https 证书?

选择

  • false

  • true ← (默认)

示例

---
    - name:  Presence of storage system
      netapp_e_storage_system:
        ssid: "{{ item.key }}"
        state: present
        api_url: "{{ netapp_api_url }}"
        api_username: "{{ netapp_api_username }}"
        api_password: "{{ netapp_api_password }}"
        validate_certs: "{{ netapp_api_validate_certs }}"
        controller_addresses:
          - "{{ item.value.address1 }}"
          - "{{ item.value.address2 }}"
      with_dict: "{{ storage_systems }}"
      when: check_storage_system

返回值

常见返回值记录在此处,以下是此模块特有的字段

描述

msg

字符串

请求的状态

已返回: 始终

示例: "存储 系统 已删除。"

作者

  • Kevin Hulquest (@hulquest)