Note
This module is part of the hitachivantara.vspone_block collection (version 3.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.vsp.hv_shadow_image_group.
New in hitachivantara.vspone_block 3.2.0
The below requirements are needed on the host that executes this module.
Parameter | Comments |
|---|---|
connection_info dictionary / required | Information required to establish a connection to the storage system. |
|
address string / required |
IP address or hostname of the Hitachi storage system . |
|
api_token string |
This field is used to pass the value of the lock token to operate on locked resources. |
|
password string |
Password for authentication. This is a required field if api_token is not provided. |
|
username string |
Username for authentication. This is a required field if api_token is not provided. |
spec dictionary / required | Specification for the Shadow Image Group task. |
|
copy_group_name string / required |
Copy group name, required for all operations. |
|
copy_pace integer |
Specify the copy pace. |
|
force_delete boolean |
Specify whether force delete. Choices:
|
|
force_suspend boolean |
Specify whether force suspend. Choices:
|
|
primary_volume_device_group_name string |
Specify the P-VOL device group name . |
|
quick_mode boolean |
Specify whether quick mode. Choices:
|
|
secondary_volume_device_group_name string |
Specify the S-VOL device group name . |
|
should_force_split boolean |
Specify whether to force split. Choices:
|
state string | The level of the Shadow Image Group pairs task. Choices are Choices:
|
Attribute | Support | Description |
|---|---|---|
check_mode | Support: none | Determines if the module should run in check mode. |
Note
gateway was removed starting from version 3.4.0. Please use an earlier version if you require this connection type.- name: Split local copy group
hitachivantara.vspone_block.vsp.hv_shadow_image_group:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: split
spec:
copy_group_name: remote_copy_group_copy_group_name_1
primary_volume_device_group_name: remote_copy_group_local_device_group_name_1
secondary_volume_device_group_name: remote_copy_group_remote_device_group_name_1
quick_mode: true
copy_pace: 100
force_suspend: true
- name: Resync local copy group
hitachivantara.vspone_block.vsp.hv_shadow_image_group:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: sync
spec:
copy_group_name: remote_copy_group_copy_group_name_1
primary_volume_device_group_name: remote_copy_group_local_device_group_name_1
secondary_volume_device_group_name: remote_copy_group_remote_device_group_name_1
quick_mode: true
copy_pace: 100
- name: Restore local copy group
hitachivantara.vspone_block.vsp.hv_shadow_image_group:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: swap_split
spec:
copy_group_name: remote_copy_group_copy_group_name_1
primary_volume_device_group_name: remote_copy_group_local_device_group_name_1
secondary_volume_device_group_name: remote_copy_group_remote_device_group_name_1
quick_mode: true
copy_pace: 100
- name: Delete local copy group
hitachivantara.vspone_block.vsp.hv_shadow_image_group:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: absent
spec:
copy_group_name: remote_copy_group_copy_group_name_1
primary_volume_device_group_name: remote_copy_group_local_device_group_name_1
secondary_volume_device_group_name: remote_copy_group_remote_device_group_name_1
force_delete: true
- name: Migrate local copy group
hitachivantara.vspone_block.vsp.hv_shadow_image_group:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: migrate
spec:
copy_group_name: remote_copy_group_copy_group_name_1
- name: Cancel migration of local copy group
hitachivantara.vspone_block.vsp.hv_shadow_image_group:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: split
spec:
copy_group_name: remote_copy_group_copy_group_name_1
should_force_split: true
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
|---|---|
data dictionary | Newly created remote copy group object. Returned: success |
|
copy_group_name string |
Copy group name. Returned: success Sample: |
|
copy_pairs list / elements=dictionary |
List of copy pairs in the copy group. Returned: success |
|
consistency_group_id integer |
Consistency group ID. Returned: success Sample: |
|
copy_group_name string |
Copy group name. Returned: success Sample: |
|
copy_mode string |
Copy mode. Returned: success Sample: |
|
copy_pair_name string |
Copy pair name. Returned: success Sample: |
|
copy_progress_rate integer |
Copy progress rate. Returned: success Sample: |
|
local_clone_copypair_id string |
Local clone copy pair ID. Returned: success Sample: |
|
pvol_difference_data_management string |
PVOL difference data management. Returned: success Sample: |
|
pvol_ldev_id integer |
PVOL LDEV ID. Returned: success Sample: |
|
pvol_mu_number integer |
PVOL MU number. Returned: success Sample: |
|
pvol_processing_status string |
PVOL processing status. Returned: success Sample: |
|
pvol_status string |
PVOL status. Returned: success Sample: |
|
replication_type string |
Replication type. Returned: success Sample: |
|
svol_difference_data_management string |
SVOL difference data management. Returned: success Sample: |
|
svol_ldev_id integer |
SVOL LDEV ID. Returned: success Sample: |
|
svol_processing_status string |
SVOL processing status. Returned: success Sample: |
|
svol_status string |
SVOL status. Returned: success Sample: |
|
local_clone_copy_group_id string |
Local clone copy group ID. Returned: success Sample: |
|
primary_volume_device_group_name string |
P-VOL device group name. Returned: success Sample: |
|
secondary_volume_device_group_name string |
S-VOL device group name. Returned: success Sample: |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/hitachivantara/vspone_block/vsp.hv_shadow_image_group_module.html