Veritas InfoScale™ Installation and Configuration Using Ansible - Windows

Last Published:
Product(s): InfoScale & Storage Foundation (7.4.2)
Platform: Windows

Ansible modules for configuring features in InfoScale

Use the following Ansible modules in your playbooks to perform feature configuration-related operations. Refer to the following table for a list of modules, along with a sample playbook, used for each of the operations:

Table: Feature configuration-related keywords

Operation

Required modules

Sample playbook

Veritas Volume Replicator (VVR)

  • site_facters

  • vvrresource

---
- hosts: win_vvr_clus1
  gather_facts: False
  tasks:
  - name: Facters
    veritas_infoscale_win:
     module: site_facters
    register: facts
  - name: Vvr Resource
    veritas_infoscale_win:
     module: vvrresource
     aws: 0
     seednode:VVRW2K12R2-N1
     primaryip: 10.217.56.108
     secondaryip:10.209.119.59
     dgname: DG1
     datavolname: Volume1
     srlvolname: srl
     rdsname: rds2
     rvgname: rvg_vvrstest3
     vxsasuser:'winvm\administrator'
     vxsaspassword: cvm
     agentinfo:
        clusterlist:
            - CampusCluster1
            - CampusCluster2
        mountpath: 'E:\'
        sharename: FS1
        sharePathname: '\FS'
        lanman_virtualname: swv16vip5
        operators: 'ADMINISTRATOR@WINVM'
        primary:
            primaryvip: xx.xxx.xx.xxx
            fileshare_vip: xx.xxx.xx.xxx
            nic:
                - xxxxxxxxx-xx: 'xx-xx-xx-xx-xx-xx'
                - xxxxxxxxx-xx: 'xx-xx-xx-xx-xx-xx'
            netmask: 255.255.252.0
        secondary:
            secondaryvip: xx.xxx.xxx.xxx
            fileshare_vip: xx.xxx.xxx.xxx
            nic:
                - xxxxxxxxx-xx: 'xx-xx-xx-xx-xx-xx'
                - xxxxxxxxx-xx: 'xx-xx-xx-xx-xx-xx'
            netmask: 255.255.252.0
     state: present
     facters: "{{ groups['all'] |map('extract', 
hostvars, ['facts','infoscale_facts'])| select()|list }}"