community.general.ibm_sa_domain module – Manages domains on IBM Spectrum Accelerate Family storage systems
Note
This module is part of the community.general collection (version 8.6.7).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.general
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: community.general.ibm_sa_domain
.
Synopsis
This module can be used to add domains to or removes them from IBM Spectrum Accelerate Family storage systems.
Aliases: storage.ibm.ibm_sa_domain
Requirements
The below requirements are needed on the host that executes this module.
pyxcli
Parameters
Parameter |
Comments |
---|---|
Name of the domain to be managed. |
|
The hostname or management IP of Spectrum Accelerate storage system. |
|
Hard capacity of the domain. |
|
ldap id to add to the domain. |
|
Number of max cgs. |
|
Number of max dms. |
|
Number of max_mirrors. |
|
Number of max_pools. |
|
Number of max_volumes. |
|
Password for username on the spectrum accelerate storage system. |
|
Add the domain to a performance class. |
|
Size of the domain. |
|
Soft capacity of the domain. |
|
The desired state of the domain. Choices:
|
|
Management user on the spectrum accelerate storage system. |
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: none |
Can run in |
|
Support: none |
Will return details on what has changed (or possibly needs changing in |
Notes
Note
This module requires pyxcli python library. Use
pip install pyxcli
in order to get pyxcli.
Examples
- name: Define new domain.
community.general.ibm_sa_domain:
domain: domain_name
size: domain_size
state: present
username: admin
password: secret
endpoints: hostdev-system
- name: Delete domain.
community.general.ibm_sa_domain:
domain: domain_name
state: absent
username: admin
password: secret
endpoints: hostdev-system
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
module return status. Returned: as needed Sample: |