United States | How to Speed Up Veritas Infoscale Installation

Join our community of 1,000+ IT professionals, and receive tech tips and updates once a week.

How to Speed Up Veritas Infoscale Installation

United States | How to Speed Up Veritas Infoscale Installation

Problem statement:

Install Infoscale on fifty (50) nodes without copying chunky tar.gz to all of them.

I had an issue some time ago. I needed to install the Infoscale on a large number of nodes and I did not want to do it manually. I like my coffee.

How to approach that problem – create a repository and install required packages using Ansible playbook.

So let’s get to it.

1. I will skip how to install and configure apache server but for your knowledge – once you install httpd on the server, the default path apache is checking is /var/www/html
2. Get the Infoscale package and untar it
3. Copy the directory (or directories if you are planning to install Infoscale on RHEL 6.x) to /var/www/html
4. Ensure that the apache has privileges to read the files
5. Create a small Ansible Playbook to create the repo on the host where the Infoscale supposed to be installed. For example:

– name: Add /etc/hosts entry

lineinfile:

path: /etc/hosts

line: “172.16.36.102 centos”

owner: root

group: root

mode: 0644

seuser: system_u

setype: net_conf_t

– name: Deploy the VRTS repo for Red Hat 7

yum_repository:

name: veritas

description: Veritas YUM repo

baseurl: http://centos/rh7-rpms/

file: veritas_repo

gpgcheck: yes

enabled: yes

gpgkey: http://centos/rh7-rpms/RPM-GPG-KEY-veritas-infoscale7

enablegroups: yes

when: ansible_distribution_major_version|int == 7

– name: Deploy the VRTS repo for Red Hat 6

yum_repository:

name: veritas

description: Veritas YUM repo

baseurl: http://centos/rh6-rpms/

file: veritas_repo

gpgcheck: yes

enabled: yes

gpgkey: http://centos/rh6-rpms/RPM-GPG-KEY-veritas-infoscale7

enablegroups: yes

when: ansible_distribution_major_version|int == 6

6. Create another playbook which the only goal is to install the packages. For example:

– name: Verify if the repo and group exist

shell: $( which yum ) grouplist ENTERPRISE73

register: repocheck

– name: Install Veritas Packages

yum:

name: ‘@ENTERPRISE73’

state: latest

when: repocheck.rc == 0

7. Create another playbook which the only goal is to install the packages. For example:

– name: Verify if the add_install_scripts exists

stat:

path: /opt/VRTS/install/bin/UXRT73/add_install_scripts

register: scriptstate

– name: Run the script to deploy the installer script

shell: /opt/VRTS/install/bin/UXRT73/add_install_scripts

register: status

when: scriptstate.stat.exists

– name: Verify if the installer script exists

stat:

path: /opt/VRTS/install/installer

register: installerstate

8. Make sure the product is properly licensed. Nowadays most of the installation are KEYLESS installation:

—-

– name: License the Enterprise Version using Keyless method

shell: /opt/VRTS/bin/vxkeyless set ENTERPRISE -q

register: licstate

– name: Verify the state of the license

debug:

msg: “License has been successfully set on {{ inventory_hostname }}”

when: licstate.rc == 0

– name: Verify the state of the license

debug:

msg: “License has not been successfully set on {{ inventory_hostname }}”

when: licstate.rc == 1

failed_when: licstate.rc == 1

9. Reference all the playbooks in one playbook or if you want to elaborate, convert them into a role and use tags for your convenience. This is a quick and dirty way of speeding up the work:

– name: Install Infoscale 7.3

hosts: all

tasks:

– name: Include vrts_repo.yml

include: vrts_repo.yml

– name: Include vrts_install.yml

include: vrts_install.yml

– name: Include vrts_license.yml

include: vrts_license.yml

– name: Include vrts_config.yml

include: vrts_config.yml

10. Configure the inventory and run the playbook. Sit back and relax.

Hungry for more?

United States | Why AI Adoption Still Stalls

Why AI Adoption Still Stalls

Despite years of headlines, workshops, training programs, and executive mandates, AI adoption remains stubbornly uneven across many organizations.  The technology is more capable than ever. Investment continues

Read More »

If you’re waiting for a sign, this is it.

We’re a certified amazing place to work, with an incredible team and fascinating projects – and we’re ready for you to join us! Go through our simple application process. Once you’re done, we will be in touch shortly!

Who is Insentra?

Imagine a business which exists to help IT Partners & Vendors grow and thrive.

Insentra is a 100% channel business. This means we provide a range of Advisory, Professional and Managed IT services exclusively for and through our Partners.

Our #PartnerObsessed business model achieves powerful results for our Partners and their Clients with our crew’s deep expertise and specialised knowledge.

We love what we do and are driven by a relentless determination to deliver exceptional service excellence.

United States | How to Speed Up Veritas Infoscale Installation

Insentra maintains ISO/IEC 27001:2022 and ISO/IEC 27701:2019 certifications

We are proud to announce that Insentra has successfully maintained its ISO/IEC 27001:2022 and ISO/IEC 27701:2019 certifications