ansible-aix / ansible-power-aix

Developer contributions for Ansible Automation on Power
GNU General Public License v3.0
3 stars 1 forks source link

VIOS cluster management module (ibm.power_vios) #81

Open robinvy opened 4 years ago

robinvy commented 4 years ago

Check existing module or create a new module for cluster/ssp management

As endpoint management (in power_vios collection). As NIM management (in power_aix collection).

dberg1 commented 3 years ago

See following VIOS ioscli commands:

See also: https://www.ibm.com/support/knowledgecenter/POWER8/p8hb1/p8hb1_clustervioscli.htm

The idea would be to have something like:

cluster:
  name: mycluster
  state: present
  nodes:
  - hostname1
  - hostname2
  repopvs:
  - hdisk5
  storagepool:
    name: mysp1
    state: present
    tiers:
    - name: mytier1
      pvs:
      - hdisk1
      - hdisk2
      lus:
      - name: lu1
        size: 2G
        state: present
        mapping:
          vadapter: vhost0
      - name: lu2
        state: absent
      snapshots:
      - name: snap1
      failgrps:
      - name: fg1
        pvs:
        - hdisk3

With present/absent to add or remove luns, tiers etc...