hitachivantara.vspone_block.vsp.hv_clpr module – Manages CLPRs on Hitachi VSP storage systems.
Note
This module is part of the hitachivantara.vspone_block collection (version 4.1.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_clpr
.
New in hitachivantara.vspone_block 3.0.0
Synopsis
This module manages Cache Logical Partitions (CLPRs) on Hitachi VSP storage systems.
Supports creating, updating, deleting CLPRs.
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.9
Parameters
Parameter |
Comments |
---|---|
Information required to establish a connection to the storage system. |
|
IP address or hostname of the storage system. |
|
Token used to operate on locked resources. |
|
Password for authentication. This is a required field. |
|
Username for authentication. This is a required field. |
|
Specification for the CLPR operation. |
|
Cache memory capacity in MB. For VSP 5000 series storage systems, specify a multiple of 4096. For other storage systems, specify a multiple of 2048. |
|
ID of the CLPR. |
|
Name of the CLPR. |
|
The desired state of the CLPR. Choices:
|
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: none |
Determines if the module should run in check mode. |
Notes
Note
Connection type
gateway
was removed starting from version 3.4.0. Please use an earlier version if you require this connection type.
Examples
- name: Create CLPR
hitachivantara.vspone_block.vsp.hv_clpr:
connection_info:
address: "{{ storage_address }}"
username: "{{ username }}"
password: "{{ password }}"
state: present
spec:
clpr_name: "CLPRDEV"
cache_memory_capacity_mb: 12288
- name: Update CLPR cache capacity
hitachivantara.vspone_block.vsp.hv_clpr:
connection_info:
address: "{{ storage_address }}"
username: "{{ username }}"
password: "{{ password }}"
state: update
spec:
clpr_id: 1
cache_memory_capacity_mb: 24576
- name: Delete CLPR
hitachivantara.vspone_block.vsp.hv_clpr:
connection_info:
address: "{{ storage_address }}"
username: "{{ username }}"
password: "{{ password }}"
state: absent
spec:
clpr_id: 1
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Details of the CLPR operation Returned: on success |
|
Cache memory capacity in MB Returned: success Sample: |
|
Used cache memory in MB Returned: success Sample: |
|
Cache usage rate percentage Returned: success Sample: |
|
CLPR ID Returned: success Sample: |
|
CLPR name Returned: success Sample: |