ibm / ibm.storage_virtualize / 2.3.1 / module / ibm_sv_manage_replication_policy This module configures and manages replication policies on IBM Storage Virtualize family systems | "added in version" 1.10.0 of ibm.storage_virtualize" Authors: Sanjaikumaar M (@sanjaikumaar)ibm.storage_virtualize.ibm_sv_manage_replication_policy (2.3.1) — module
Install with ansible-galaxy collection install ibm.storage_virtualize:==2.3.1
collections: - name: ibm.storage_virtualize version: 2.3.1
Ansible interface to manage mkreplicationpolicy, chreplicationpolicy, and rmreplicationpolicy commands.
This module manages policy based replication.
This module can be run on all IBM Storage Virtualize systems with version 8.5.2.1 or later.
- name: Create replication policy ibm.storage_virtualize.ibm_sv_manage_replication_policy: clustername: "{{cluster}}" username: "{{username}}" password: "{{password}}" name: replication_policy0 topology: 2-site-async-dr location1system: x.x.x.x location1iogrp: 0 location2system: x.x.x.x location2iogrp: 0 rpoalert: 60 state: present
- name: Delete replication policy ibm.storage_virtualize.ibm_sv_manage_replication_policy: clustername: "{{cluster}}" username: "{{username}}" password: "{{password}}" name: replication_policy0 state: absent
name: description: - Specifies the name of the replication policy. required: true type: str state: choices: - present - absent description: - Creates, updates (C(present)), or deletes (C(absent)) a replication policy. required: true type: str token: description: - The authentication token to verify a user on the Storage Virtualize system. - To generate a token, use the M(ibm.storage_virtualize.ibm_svc_auth) module. type: str domain: description: - Domain for the Storage Virtualize system. - Valid when hostname is used for the parameter I(clustername). type: str log_path: description: - Path of debug log file. type: str password: description: - REST API password for the Storage Virtualize system. - The parameters I(username) and I(password) are required if not using I(token) to authenticate a user. type: str rpoalert: description: - Specifies the RPO alert threshold in seconds. The minimum value is 60 (1 minute) and the maximum value is 86400 (1 day). - The value must be a multiple of 60 seconds. type: int topology: choices: - 2-site-async-dr - 2-site-ha description: - Specifies the policy topology. type: str username: description: - REST API username for the Storage Virtualize system. - The parameters I(username) and I(password) are required if not using I(token) to authenticate a user. type: str clustername: description: - The hostname or management IP of the Storage Virtualize system. required: true type: str location1iogrp: description: - Specifies the ID of the I/O group of the system in location 1 of the topology. type: int location2iogrp: description: - Specifies the ID of the I/O group of the system in location 2 of the topology. type: int validate_certs: default: false description: - Validates certification. type: bool location1system: description: - Specifies the name or ID of the system in location 1 of the topology. type: str location2system: description: - Specifies the name or ID of the system in location 2 of the topology. type: str