hitachivantara.vspone_block.vsp.hv_ddp_pool module – Manages DDP Pools on Hitachi VSP storage systems.
Note
This module is part of the hitachivantara.vspone_block collection (version 3.4.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 hitachivantara.vspone_block
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: hitachivantara.vspone_block.vsp.hv_ddp_pool
.
New in hitachivantara.vspone_block 3.4.0
Synopsis
This module manages DDP Pools on Hitachi VSP storage systems. - It allows for the creation, deletion, and modification of DDP Pools. - This module supports only on VSP One storage systems. - For examples go to URL
https://github.com/hitachi-vantara/vspone-block-ansible/blob/main/playbooks/vsp_direct/ddp_pool.yml
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.8
Parameters
Parameter |
Comments |
---|---|
Information required to establish a connection to the storage system. |
|
IP address or hostname of the storage system. |
|
Password for authentication. This is a required field. |
|
Username for authentication. This is a required field. |
|
Specification for DDP pool tasks. |
|
List of drives to be added to the DDP Pool. |
|
Specify at least 9 for the number of data drives. if not specified, the number of data drives will be selected with recommend count. |
|
Specify a drive type code consisting of 12 characters. if not specified, the drive type code will be selected automatically. |
|
Whether encryption is enabled for the DDP Pool. Choices:
|
|
ID of the DDP Pool. |
|
Name of the DDP Pool. |
|
Depletion threshold for the DDP Pool. |
|
Warning threshold for the DDP Pool. |
|
The level of the Remote connection task. Choices are Choices:
|
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: none |
Determines if the module should run in check mode. |
Examples
- name: Create a new DDP Pool
hitachivantara.vspone_block.vsp.hv_ddp_pool:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: present
spec:
pool_name: "GK-21268"
is_encryption_enabled: true
threshold_warning: 70
threshold_depletion: 80
drives:
- drive_type_code: "NM5C-R1R9NC"
data_drive_count: 9
- name: Create a new DDP Pool with automatic drive type code and count
hitachivantara.vspone_block.vsp.hv_ddp_pool:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: present
spec:
pool_name: "GK-21268"
- name: Update the DDP Pool Settings
hitachivantara.vspone_block.vsp.hv_ddp_pool:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: present
spec:
pool_id: 12
threshold_warning: 70
threshold_depletion: 80
pool_name: "GK-21268"
- name: Expand the DDP Pool size
hitachivantara.vspone_block.vsp.hv_ddp_pool:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: expand
spec:
pool_id: 12
drives:
- drive_type_code: "NM5C-R1R9NC"
data_drive_count: 9
- name: Delete a DDP Pool
hitachivantara.vspone_block.vsp.hv_ddp_pool:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: absent
spec:
pool_id: 12
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Details of the managed DDP Pool. Returned: success |
|
Capacity management details of the DDP Pool. Returned: success |
|
Depletion threshold for the pool. Returned: success Sample: |
|
Warning threshold for the pool. Returned: success Sample: |
|
Used capacity rate of the pool. Returned: success Sample: |
|
Configuration status of the pool. Returned: success |
|
Indicates if the pool contains capacity-saving volumes. Returned: success Sample: |
|
List of drives in the DDP Pool. Returned: success |
|
Display capacity of the drive. Returned: success Sample: |
|
Capacity of the drive in GB. Returned: success Sample: |
|
Interface type of the drive. Returned: success Sample: |
|
RPM of the drive. Returned: success Sample: |
|
Type of the drive. Returned: success Sample: |
|
Physical locations of the drives. Returned: success Sample: |
|
Number of drives in the pool. Returned: success Sample: |
|
Parity group type of the drives. Returned: success Sample: |
|
RAID level of the drives. Returned: success Sample: |
|
Total capacity of the drives in GB. Returned: success Sample: |
|
Effective capacity of the pool in GB. Returned: success Sample: |
|
Encryption status of the pool. Returned: success Sample: |
|
Free capacity of the pool in GB. Returned: success Sample: |
|
ID of the DDP Pool. Returned: success Sample: |
|
Name of the DDP Pool. Returned: success Sample: |
|
Number of drive types in the pool. Returned: success Sample: |
|
Number of tiers in the pool. Returned: success Sample: |
|
Number of volumes in the pool. Returned: success Sample: |
|
Data saving effects of the pool. Returned: success |
|
End time of the saving calculation. Returned: success Sample: |
|
Start time of the saving calculation. Returned: success Sample: |
|
Data reduction without system data. Returned: success Sample: |
|
Status of data reduction without system data. Returned: success Sample: |
|
Efficiency of data reduction. Returned: success Sample: |
|
Efficiency of FMD saving. Returned: success Sample: |
|
Indicates if total efficiency is supported. Returned: success Sample: |
|
Post-capacity FMD saving. Returned: success Sample: |
|
Pre-capacity FMD saving. Returned: success Sample: |
|
Software saving without system data. Returned: success Sample: |
|
Status of software saving without system data. Returned: success Sample: |
|
Total efficiency of the pool. Returned: success Sample: |
|
Status of total efficiency. Returned: success Sample: |
|
Status of the DDP Pool. Returned: success Sample: |
|
Subscription limit details of the pool. Returned: success |
|
Current subscription rate. Returned: success Sample: |
|
Indicates if subscription limit is enabled. Returned: success Sample: |
|
List of tiers in the pool. Returned: success |
|
Total capacity of the pool in GB. Returned: success Sample: |
|
Used capacity of the pool in GB. Returned: success Sample: |