hitachivantara.vspone_block.sds_block.hv_sds_block_storage_system module – Manages storage system settings on VSP One SDS Block and Cloud systems.
Note
This module is part of the hitachivantara.vspone_block collection (version 4.5.1).
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.sds_block.hv_sds_block_storage_system.
New in hitachivantara.vspone_block 4.4.0
Synopsis
This module manages storage system configuration including certificate management, cache settings, and other system-level configurations on VSP One SDS Block and Cloud systems.
For examples, see the project repository on GitHub.
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. |
|
Type of connection to the storage system. Choices:
|
|
Password for authentication. This is a required field. |
|
Username for authentication. This is a required field. |
|
Specification for storage system configuration settings. |
|
Local path where files will be downloaded. |
|
Enable write-back mode with cache protection for improved performance. Choices:
|
|
Force the operation even if it might cause data loss or system disruption. Choices:
|
|
Path to the root certificate file for SSL/TLS authentication. |
|
Desired state of the storage system choices are Choices:
|
Attributes
Attribute |
Support |
Description |
|---|---|---|
Support: none |
Determines if the module should run in check mode. |
Examples
- name: Configure storage system with write-back cache protection
hitachivantara.vspone_block.sds_block.hv_sds_block_storage_system:
connection_info:
address: "{{ storage_system_ip }}"
username: "{{ username }}"
password: "{{ password }}"
state: present
spec:
enable_write_back_mode_with_cache_protection: true
- name: Import root certificate
hitachivantara.vspone_block.sds_block.hv_sds_block_storage_system:
connection_info:
address: "{{ storage_system_ip }}"
username: "{{ username }}"
password: "{{ password }}"
state: import_root_certificate
spec:
root_certificate_file_path: "/path/to/certificate.pem"
- name: Download root certificate
hitachivantara.vspone_block.sds_block.hv_sds_block_storage_system:
connection_info:
address: "{{ storage_system_ip }}"
username: "{{ username }}"
password: "{{ password }}"
state: download_root_certificate
spec:
download_path: "/local/path/certificates/"
- name: Delete root certificate
hitachivantara.vspone_block.sds_block.hv_sds_block_storage_system:
connection_info:
address: "{{ storage_system_ip }}"
username: "{{ username }}"
password: "{{ password }}"
state: delete_root_certificate
spec:
force: true
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
The storage system information. Returned: always |
|
Free pool capacity in bytes (or unit as returned by API). Returned: success Sample: |
|
Free pool capacity in megabytes. Returned: success Sample: |
|
Storage system UUID. Returned: success Sample: |
|
Internal identifier for the storage system. Returned: success Sample: |
|
Summary value for cache protection metadata redundancy. Returned: success Sample: |
|
Model name of the storage system. Returned: success Sample: |
|
User-friendly name for the storage system. Returned: success Sample: |
|
Number of fault domains. Returned: success Sample: |
|
Number of ready storage nodes. Returned: success Sample: |
|
Number of total servers. Returned: success Sample: |
|
Number of total storage nodes. Returned: success Sample: |
|
Number of total volumes. Returned: success Sample: |
|
Efficiency and saving related metrics. Returned: success |
|
Efficiency data reduction percentage. Returned: success Sample: |
|
Total efficiency metric (as returned by API). Returned: success Sample: |
|
Service identifier if present. Returned: success Sample: |
|
Software version installed on the storage system. Returned: success Sample: |
|
Operational status of the storage system. Returned: success Sample: |
|
Summary of health/status. Returned: success Sample: |
|
Storage device identifier. Returned: success Sample: |
|
Version of the system requirements file. Returned: success Sample: |
|
Total pool capacity in bytes (or unit as returned by API). Returned: success Sample: |
|
Total pool capacity in megabytes. Returned: success Sample: |
|
Total physical capacity of the pool in bytes (or unit as returned by API). Returned: success Sample: |
|
Total physical capacity in megabytes. Returned: success Sample: |
|
Total raw capacity of the pool in bytes (or unit as returned by API). Returned: success Sample: |
|
Total raw capacity in megabytes. Returned: success Sample: |
|
Used pool capacity in bytes (or unit as returned by API). Returned: success Sample: |
|
Used pool capacity in megabytes. Returned: success Sample: |
|
Write-back mode with cache protection status. Returned: success Sample: |