ibm.spectrum_virtualize.ibm_svc_initial_setup module – This module allows users to manage the initial setup configuration on IBM Spectrum Virtualize family storage systems
Note
This module is part of the ibm.spectrum_virtualize collection (version 2.0.0).
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 ibm.spectrum_virtualize
.
To use it in a playbook, specify: ibm.spectrum_virtualize.ibm_svc_initial_setup
.
Note
The ibm.spectrum_virtualize collection has been renamed to ibm.storage_virtualize and will eventually be removed from Ansible. The content of ibm.spectrum_virtualize will be replaced by redirects to ibm.storage_virtualize in Ansible 10. If you use content from ibm.spectrum_virtualize, please update FQCNs in your playbooks and roles! When creating new playbooks or roles, directly use content from ibm.storage_virtualize instead.
New in ibm.spectrum_virtualize 1.7.0
Synopsis
Ansible interface to perform various initial system configuration
Parameters
Parameter |
Comments |
---|---|
Specifies the number of enclosures for the transparent cloud tiering function. |
|
The hostname or management IP of the Spectrum Virtualize storage system. |
|
Changes system licensing for the compression function. Depending on the type of system, specify a capacity value in terabytes (TB) or specify the total number of storage capacity units (SCUs) that user is licensed to virtualize across tiers of storage on the system or specify the total number of internal and external enclosures that user has licensed on the system. |
|
Specifies the DNS server Internet Protocol (IP) address. |
|
Specifies a unique name for the system DNS server being created. Maximum two DNS servers can be configured. User needs to provide the complete list of DNS servers that are required to be configured. |
|
Domain for the Spectrum Virtualize storage system. Valid when hostname is used for the parameter clustername. |
|
Specifies the number of enclosures on which user can run Easy Tier. |
|
Specifies whether the encryption license function is enabled or disabled. Choices:
|
|
Changes system licensing for the FlashCopy function. Depending on the type of system, specify a capacity value in terabytes (TB) or specify the total number of internal and external enclosures for the FlashCopy function. |
|
Provides the license key to activate a feature that contains 16 hexadecimal characters organized in four groups of four numbers with each group separated by a hyphen (such as 0123-4567-89AB-CDEF). |
|
Path of debug log file. |
|
Specifies the IPv4 address or fully qualified domain name (FQDN) for the Network Time Protocol (NTP) server. To remove an already configured NTP IP, user must specify 0.0.0.0. |
|
REST API password for the Spectrum Virtualize storage system. The parameters username and password are required if not using token to authenticate a user. |
|
For physical disk licensing, this parameter enables or disables the FlashCopy function. Choices:
|
|
Changes system licensing for remote-copy functions such as Metro Mirror, Global Mirror, and HyperSwap. Depending on the type of system, specify a capacity value in terabytes (TB) or specify the total number of internal and external enclosures that user has licensed on the system. There must be an enclosure license for all enclosures. |
|
Specifies system name. |
|
Specifies the time to which the system must be set. This value must be in the following format MMDDHHmmYYYY (where M is month, D is day, H is hour, m is minute, and Y is year). |
|
Specifies the time zone to set for the system. |
|
The authentication token to verify a user on the Spectrum Virtualize storage system. To generate a token, use the ibm.spectrum_virtualize.ibm_svc_auth module. |
|
REST API username for the Spectrum Virtualize storage system. The parameters username and password are required if not using token to authenticate a user. |
|
Validates certification. Choices:
|
|
Changes system licensing for the Virtualization function. Depending on the type of system, specify a capacity value in terabytes (TB) or specify the total number of storage capacity units (SCUs) that user is licensed to virtualize across tiers of storage on the system or specify the number of enclosures of external storage that user is authorized to use. |
Notes
Note
This module supports
check_mode
.
Examples
- name: Initial configuration on FlashSystem 9200
ibm.spectrum_virtualize.ibm_svc_initial_setup:
clustername: "{{clustername}}"
domain: "{{domain}}"
username: "{{username}}"
password: "{{password}}"
log_path: /tmp/playbook.debug
system_name: cluster_test_0
time: 101009142021
timezone: 200
remote: 50
virtualization: 50
flash: 50
license_key:
- 0123-4567-89AB-CDEF
- 8921-4567-89AB-GHIJ
- name: Add DNS servers
ibm.spectrum_virtualize.ibm_svc_initial_setup:
clustername: "{{clustername}}"
domain: "{{domain}}"
username: "{{username}}"
password: "{{password}}"
log_path: /tmp/playbook.debug
system_name: cluster_test_
dnsname:
- dns_01
- dns_02
dnsip:
- '1.1.1.1'
- '2.2.2.2'
- name: Delete dns_02 server
ibm.spectrum_virtualize.ibm_svc_initial_setup:
clustername: "{{clustername}}"
domain: "{{domain}}"
username: "{{username}}"
password: "{{password}}"
log_path: /tmp/playbook.debug
system_name: cluster_test_
dnsname:
- dns_01
dnsip:
- '1.1.1.1'