New in version 2.8.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
cluster
-
|
Maps the volume to a cluster.
|
|
endpoints
string
/ required
|
The hostname or management IP of Spectrum Accelerate storage system.
|
|
host
-
|
Maps the volume to a host.
|
|
lun
-
|
The LUN identifier.
|
|
override
-
|
Overrides the existing volume mapping.
|
|
password
string
/ required
|
Password for username on the spectrum accelerate storage system.
|
|
state
-
/ required
|
|
When the state is present the volume is mapped. When the state is absent, the volume is meant to be unmapped.
|
username
string
/ required
|
Management user on the spectrum accelerate storage system.
|
|
vol
-
/ required
|
Volume name.
|
Note
- name: Map volume to host.
ibm_sa_vol_map:
vol: volume_name
lun: 1
host: host_name
username: admin
password: secret
endpoints: hostdev-system
state: present
- name: Map volume to cluster.
ibm_sa_vol_map:
vol: volume_name
lun: 1
cluster: cluster_name
username: admin
password: secret
endpoints: hostdev-system
state: present
- name: Unmap volume.
ibm_sa_vol_map:
host: host_name
username: admin
password: secret
endpoints: hostdev-system
state: absent
Hint
If you notice any issues in this documentation you can edit this document to improve it.