community.general.ss_3par_cpg – Manage HPE StoreServ 3PAR CPG
Note
This plugin is part of the community.general collection (version 3.8.3).
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
.
To use it in a playbook, specify: community.general.ss_3par_cpg
.
Requirements
The below requirements are needed on the host that executes this module.
hpe3par_sdk >= 1.0.2. Install using ‘pip install hpe3par_sdk’
WSAPI service should be enabled on the 3PAR storage array.
Parameters
Parameter |
Comments |
---|---|
Name of the CPG. |
|
Specifies that physical disks must have the specified device type. Choices:
|
|
Specifies the name of the domain in which the object will reside. |
|
Specifies the growth increment(in MiB, GiB or TiB) the amount of logical disk storage created on each auto-grow operation. |
|
Specifies that the autogrow operation is limited to the specified storage amount that sets the growth limit(in MiB, GiB or TiB). |
|
Specifies that the threshold(in MiB, GiB or TiB) of used logical disk space when exceeded results in a warning alert. |
|
Specifies that the layout must support the failure of one port pair, one cage, or one magazine. Choices:
|
|
Specifies the RAID type for the logical disk. Choices:
|
|
Specifies whether the certificate needs to be validated while communicating. Choices:
|
|
Specifies the set size in the number of chunklets. |
|
Whether the specified CPG should exist or not. Choices:
|
|
The storage system IP address. |
|
The storage system password. |
|
The storage system user name. |
Examples
- name: Create CPG sample_cpg
community.general.ss_3par_cpg:
storage_system_ip: 10.10.10.1
storage_system_username: username
storage_system_password: password
state: present
cpg_name: sample_cpg
domain: sample_domain
growth_increment: 32000 MiB
growth_limit: 64000 MiB
growth_warning: 48000 MiB
raid_type: R6
set_size: 8
high_availability: MAG
disk_type: FC
secure: no
- name: Delete CPG sample_cpg
community.general.ss_3par_cpg:
storage_system_ip: 10.10.10.1
storage_system_username: username
storage_system_password: password
state: absent
cpg_name: sample_cpg
secure: no
Authors
Farhan Nomani (@farhan7500)
Gautham P Hegde (@gautamphegde)