hitachivantara.vspone_block.sds_block.hv_sds_block_journal_facts module – Retrieve journal information from storage SDS Block storage system
Note
This module is part of the hitachivantara.vspone_block collection (version 4.6.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_journal_facts.
New in hitachivantara.vspone_block 4.6.0
Synopsis
Collects journal details from the storage SDS Block storage system.
For usage examples, refer to https://github.com/hitachi-vantara/vspone-block-ansible/blob/main/playbooks/sds_block_direct/sdsb_journal_facts.yml
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. |
|
Filter criteria for retrieving journal information. |
|
Journal number to filter journals. |
|
The ID of the storage controller to filter journals. |
|
The ID of the virtual private storage (VPS) to filter journals. |
|
The name of the virtual private storage (VPS) to filter journals. |
Attributes
Attribute |
Support |
Description |
|---|---|---|
Support: full |
Determines if the module should run in check mode. |
Examples
- name: Get all journal
hitachivantara.vspone_block.sds_block.hv_sds_journal_facts:
connection_info:
address: sdsb.company.com
username: "admin"
password: "password"
- name: Get journal by VSP ID
hitachivantara.vspone_block.sds_block.hv_sds_journal_facts:
connection_info:
address: sdsb.company.com
username: "admin"
password: "password"
spec:
vsp_id: "system"
- name: Get journal by Storage Controller ID
hitachivantara.vspone_block.sds_block.hv_sds_journal_facts:
connection_info:
address: sdsb.company.com
username: "admin"
password: "password"
spec:
storage_controller_id: "f330c421-5c9b-4f3a-8b4f-12268053dc60"
- name: Get journal by number
hitachivantara.vspone_block.sds_block.hv_sds_journal_facts:
connection_info:
address: sdsb.company.com
username: "admin"
password: "password"
spec:
number: "0"
Returned Facts
Facts returned by this module are added/updated in the hostvars host facts and can be referenced by name just like any other host fact. They do not need to be registered in order to use them.
Key |
Description |
|---|---|
List of journal. Returned: success |
|
The number of journal volume blocks. Returned: success Sample: |
|
Journal volume capacity. Returned: success Sample: |
|
Monitoring time for data overflow. Returned: success Sample: |
|
Journal ID. Returned: success Sample: |
|
Indicates whether the cache mode setting is enabled. Returned: success Sample: |
|
Indicates whether to restrict update I/O inflow to a journal volume. Returned: success Sample: |
|
Journal number. Returned: success Sample: |
|
A list of mirror units of the volumes registered in a journal. Returned: success |
|
Consistency group ID. Returned: success Sample: |
|
Copy speed. Returned: success Sample: |
|
Data-transfer speed. Returned: success Sample: |
|
The journal status of a mirror. Returned: success Sample: |
|
The mirror number (MU number). Returned: success Sample: |
|
The number of paths of an active link. Returned: success Sample: |
|
The number of qMarkers remaining in the master journal volume. Returned: success Sample: |
|
The latest sequence number written to the cache. Returned: success Sample: |
|
Journal status. Returned: success Sample: |
|
Storage controller ID. Returned: success Sample: |
|
Usage of a journal volume. Returned: success Sample: |
|
A list of IDs of the volumes composing a journal volume. Returned: success Sample: |
|
The ID of a virtual private storage (VPS) to which the resource to be obtained belongs. Returned: success Sample: |
|
The name of the virtual private storage (VPS) to which the resource to be obtained belongs. Returned: success Sample: |