enfence / enfence.powerha_aix / 1.3.2 / module / mp manage mirror_pool resource in PowerHA cluster | "added in version" 1.3.0 of enfence.powerha_aix" Authors: Andrey Klyachkin (@aklyachkin)enfence.powerha_aix.mp (1.3.2) — module
Install with ansible-galaxy collection install enfence.powerha_aix:==1.3.2
collections: - name: enfence.powerha_aix version: 1.3.2
This module creates/deletes/changes mirror_pool resource in PowerHA cluster.
# create mirror pools for vg01 - name: mirror pool mp1 enfence.powerha_aix.mp: name: mp1 vg: vg01 volumes: - hdisk1 - hdisk2
- name: mirror pool mp2 enfence.powerha_aix.mp: name: mp2 vg: vg02 volumes: - hdisk3 - hdisk4
# delete mirror pool mp1 from volume group vg01 - name: delete mirror pool mp1 enfence.powerha_aix.mp: name: mp1 vg: vg01 state: absent
mode: choices: - sync - async default: sync description: mode of mirroring - synchronous or asynchronous. required: false type: str name: description: name of the mirror pool. required: true type: str state: choices: - present - absent default: present description: - the desired state of the mirror pool - C(present), C(absent). required: false type: str volumes: aliases: - physical_volumes - pv - pvs - volume - disks description: - list of disks to be in the mirror pool. - required if the state is C(present) and no C(volume_group) is specified. elements: str required: false type: list volume_group: aliases: - vg description: - name of the volume group. - required if the state is C(present) and no C(volumes) are specified. required: false type: str async_cache_lv: aliases: - cache_lv - cachelv - cache description: - logical volume to cache data if C(mode) is I(async). - required if C(mode) is I(async). required: false type: str async_cache_hw_mark: aliases: - cache_hw_mark - hwmark - hw_mark description: - specifies the I/O-cache high watermark. - the value is the percent of I/O cache size. - the default value is 100%. required: false type: int
changed: description: set to true if the resource was changed returned: always type: bool msg: description: error and informational messages returned: always type: str rc: description: return code of the last executed command returned: always type: int stderr: description: standard error of the last executed command returned: always type: str stdout: description: standard output of the last executed command returned: always type: str