Showing results for 
Search instead for 
Did you mean: 
Easy, Repeatable InfoScale Installation and Configuration with Ansible

Automating repeatable tasks such as installation and configuration is a smart way to reduce complexity and save time.  With InfoScale, you can easily do this with Ansible1a configuration management and automation tool widely used to reduce the complexity of managing a datacenter. My colleague Vineet Mishra wrote an introductory blog post on Ansible which you can find here2.

Compared to other configuration management and automation tools like Chef and Puppet, Ansible does not require agents. It operates primarily by conducting operations from the central “Control Node” to target nodes via SSH. Ansible is flexible and extensible, supporting a wide array of configuration tasks while also enabling third parties to write modules to support unique applications, such as the installation and configuration of InfoScale.

The Veritas InfoScale module for Ansible provides an interface to Ansible to perform InfoScale related operations. InfoScale related operations for Ansible are specified as "playbooks." When an Ansible "playbook" is run the desired operations are executed via SSH on the target nodes (specified in an Ansible-specific object known as an “inventory”).

See Figure 1 for a block diagram showing how the InfoScale module and InfoScale specific playbooks interact with Ansible. Example playbooks can be found here3.Figure 1 Ansible InteractionFigure 1 Ansible InteractionTo install and configure InfoScale with Ansible, download the InfoScale Ansible module from Veritas SORT4. To install the module, follow the instructions here5.

The following is a series of recorded demonstrations showing the installation and configuration of InfoScale on three RHEL8 VMware Virtual Machine Guests.

  1. VM deployment with Ansible.
  2. Operating System Pre-requisites Installation.
  3. InfoScale Installation.
  4. InfoScale Cluster Configuration using the Storage Foundation Cluster File System High Availability Playbook.
  5. Disk Group creation.
  6. Cluster File System creation.

I have broken up the demonstration into the steps above for the sake of clarity. In practice, all steps can be executed in a single Ansible “play”.

The topology for the demonstration includes the following components:


  • vSphere 6.x
  • 1 control node – RHEL8
  • 3 InfoScale cluster nodes – RHEL8
  • Ansible 1.9.x
  • Python 2.7.x
  • InfoScale 7.4.2
  • 1 public network
  • 2 private networks for InfoScale heartbeat (LLT)
  • 2 data VMDKs per VM

Figure 2 displays the topology.

Figure 2 Ansible Test Environment Block DiagramFigure 2 Ansible Test Environment Block Diagram

VM Deployment with Ansible

The first step in this demonstration is to deploy the required VMs to build the InfoScale cluster. Deployment is performed with Ansible by cloning virtual machines from a VM template, while also configuring them with required IP addresses, connecting data disks, and starting them up. For more information on deploying VMs with Ansible and VMware, please see the Ansible VMware Guide6.

Operating Systems Pre-requisites Installation

This Ansible task installs libraries and pre-requisite software required by InfoScale. In particular, I have included a task to set GRUB to boot the 4.18.0-147 kernel as it is qualified for InfoScale 7.4.2. As well, this playbook adds internal Veritas Redhat repositories for updating and installing software.

InfoScale Installation

Up to this point, no InfoScale specific tasks have been performed. In this task, InfoScale software is installed on the three RHEL8 VMs, but InfoScale is not configured.

InfoScale Configuration

Storage Foundation Cluster File System High Availability (SFCFSHA) Configuration creates an InfoScale cluster from the VMs prepared in the previous Ansible tasks.

Disk Group Creation

Each node of the InfoScale cluster is configured with two VMDK disk devices. These devices are shared with Flexible Storage Sharing (FSS) so that a shared disk infrastructure can be used to create clustered storage.

You may notice that only one node affects a change. The operation to share disks with FSS and create the required disk group only needs to be executed from one node.

Cluster File System Creation

Finally, a Cluster File System is created.


All of these demos combined took about 25 minutes. If this were a 4 node or a 5 node, or any n-node cluster, the duration would still just be about 25 minutes since all the time-intensive operations (including InfoScale Installation) are performed in parallel by Ansible.

For more information on InfoScale, please take a look at the following documents.

Please browse the InfoScale technical library for additional InfoScale resources. 

My example playbooks are available here:








I'm working on getting my playbooks published to the Veritas GitHub space. Please email me if you need them before they are published. My email is 

Update 10/21/20

You can access my example playbooks here:

Hi Matthew,

Thanks for sharing your playbooks that i am trying to use.

Unsuccessfully for the moment, because my platform OS is RHEL 8 update 2 ( kernel 4.18.0-193.el8.x86_64). So basically I need the patch infoscale

I think the ansible module needs an enhancement to handle patch installation alongside the main product, unless it is already there but not invoqued ( because not needed) by your install playbook.

What do you think ?




@ecvng Patch management is coming in InfoScale 7.4.3.

HI Matthew,

I've read the guide and it says that the vxvm_dgvolfs is used to create a dg,volume, etc. I tried to create a diskgroup with 1 volume, but instead of trying to create the diskgroup, it's looking for the diskgroup.

16 Nov 2020 05:22:46 INFO cmd LC_ALL=C LANG=C vxprint -g dg1 -f | /bin/grep ^dg | /bin/awk '{print $2}'
16 Nov 2020 05:22:46 INFO cmd exit=0 (duration: 0 second)
Error:VxVM vxprint ERROR V-5-1-582 Disk group dg1: No such disk group

16 Nov 2020 05:22:46 INFO #Out of if

I don't see a module to perform the disksetup.

The docs also say the following.


The vxvm_dgvolfs module is used to create disk group volumes and file systems in InfoScale.


The fsresource module is used to create file systems in InfoScale.

Is that supposed be "is used to create file systems in Infoscale Availability i.e Cluster Server"?



@RiaanBadenhorst Can you please share your dg create yaml file? Also perhaps this is worth a thread in the forums (if you haven't started one yet)?