Forge Home

veritas

Install and configure Veritas products (VCS)

13,004 downloads

8,006 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.0.4 (latest)
  • 0.0.3
  • 0.0.2
released Aug 2nd 2017
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'crayfishx-veritas', '0.0.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add crayfishx-veritas
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install crayfishx-veritas --version 0.0.4

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

crayfishx/veritas — version 0.0.4 Aug 2nd 2017

puppet-veritas

This module manages the installation and initial configuration of Veritas products. Curently only VCS (Veritas Cluster Server) is supported, but the goal is to use the same framework to install other applications from the same application suite.

VCS

Pre-installation requirements

VCS is shipped as a tarball containing RPM packages and an installer tool. There is also a supported method of installing the relevant RPM's from YUM and using the provided configuration tool and a resposne file to finish installation and configure the system. This module assumed you have already copied the RPM's from the tarball into their own YUM repository. In order to do this, follow steps 1 through 3 of the guide; Installing Veritas Cluster Server using yum (Adding an RPM group is optional and does not affect this module). You should not install the modules.

Pre-requisiste packages

A number of system packages are required, these should be installed before running this module

Redhat 6.6

  • glibc-2.12-1.149.el6.i686
  • glibc-2.12-1.149.el6.x86_64
  • ksh-20120801-21.el6.x86_64
  • libgcc-4.4.7-11.el6.i686
  • libgcc-4.4.7-11.el6.x86_64
  • libstdc++-4.4.7-11.el6.i686
  • libstdc++-4.4.7-11.el6.x86_64
  • perl-5.10.1-136.el6.x86_64

Note, for package requirements of other distros you can run installvcs -requirements from the tarball.

Single or multiple installation mode

VCS has the ability to perform installations simultaneously on multiple nodes. This feature requires the ability to ssh between the hosts in the cluster using a root SSH key. Alternativly the software can be installed independantly on each cluster node. This module supports both methods of operation. If you have root SSH key communication between the cluster nodes, then you can define the systems in the cluster using the system[] parameter and run puppet on one of the cluster nodes to configure all of them. Alternativly you can run Puppet on each node in the cluster with the heartbeat_links[] and lopri_link parameters defined. See the following examples:

With SSH keys, running Puppet once

class { 'veritas::vcs':
  systems =>  [
    { 'cluster-node-01' => { 
        'heartbeat_links' => [ 'eth3', 'eth7' ],
        'lopri_link'      => 'eth1',
      },
    },
    { 'cluster-node-02' => {
        'heartbeat_links' => ['eth3', 'eth7' ],
        'lopri_link'     => 'eth1',
      },
    }
  ],
  clustername => 'vcluster01',
  csgnetmask  => '255.255.254.0',
  csgnic      => 'eth1',
  csgvip      => '192.168.22.4',
  smtprecp    => 'craig@enviatics.com',
  smtpserver  => 'smtp.enviatics.com',
}

Without SSH keys, running Puppet on each node

class { 'veritas::vcs':
  heartbeat_links   => [ 'eth3', 'eth7' ],
  lopri_link        => 'eth1'
  clustername       => 'cluster1',
  csgnetmask        => '255.255.254.0',
  csgnic            => 'eth1',
  csgvip            => '192.168.33.4',
  smtprecp          => 'craig@enviatics.com',
  smtpserver        => 'smtp.enviatics.com',
}

In this example, the name of the node will be taken from $::hostname, to override this you can pass in the nodename parameter.