hitachivantara.vspone_block.vsp.hv_clpr module – Manages CLPRs on VSP block storage systems.
Note
This module is part of the hitachivantara.vspone_block collection (version 4.9.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 VSP block storage systems.
Supports creating, updating, deleting CLPRs.
Create CLPR to logically partition cache memory, isolating workloads.
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. |
|
Path to a CA certificate file or directory on the Ansible control node used to verify the storage system SSL certificate. Required when Accepts a PEM file path or a directory of hashed CA certificates. |
|
Path to client SSL certificate file or CA certificate directory for mutual TLS authentication. Must be provided together with |
|
Path to the client private key file for mutual TLS authentication. Must be provided together with |
|
Password for authentication. This is a required field. |
|
Whether to suppress the SSL certificate validation warning. When set to Set to Choices:
|
|
Username for authentication. This is a required field. |
|
Whether to validate the storage system SSL certificate. When set to Set to Note: Starting with major version 5.0, the default value will change to Choices:
|
|
Specification for the CLPR operation. |
|
Cache memory capacity in MB. Required for Create and Update tasks. For VSP 5000 series storage systems, specify a multiple of 4096. For other storage systems, specify a multiple of 2048. |
|
ID of the CLPR. Required for Update and Delete tasks. |
|
Name of the CLPR. Required for Create and Update tasks. |
|
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
gatewaywas 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 GB Returned: success Sample: |
|
Cache memory capacity in MB Returned: success Sample: |
|
Used cache memory in GB 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: |
|
Side files capacity in GB Returned: success Sample: |
|
Side files capacity in MB Returned: success Sample: |
|
Side files usage rate percentage Returned: success Sample: |
|
Write pending data capacity in GB Returned: success Sample: |
|
Write pending data capacity in MB Returned: success Sample: |
|
Write pending data rate percentage Returned: success Sample: |