Please enter search query.
Search <book_title>...
Veritas InfoScale™ Installation, Upgrade, and Configuration Using Ansible - Linux
Last Published:
2023-08-01
Product(s):
InfoScale & Storage Foundation (8.0.2, 8.0, 7.4.3, 7.4.2, 7.4.1)
Platform: Linux
Ansible modules for installing InfoScale
Use the following Ansible modules in your playbooks to perform installation-related operations in the InfoScale environment. Refer to the following table for a list of modules, along with a sample playbook, used for each of the operations:
Table: Installation-related operations
Operation | Required modules | Sample playbook |
---|---|---|
Installation |
| Sample playbook - YAML --- - hosts: cpicluster11 gather_facts: false any_errors_fatal: true tasks: - name: Facters veritas_infoscale: module: site_facters release_matrix_path: <URL> register: facts - name: Install InfoScale veritas_infoscale: module: yum repository_name: repo_infoScale742 repository_baseurl: "http://xx.xxx.xx.xx/\ Infoscale/7.4.2/rhel7_x86_64/rpms/" gpgcheck: 1 gpgkey: "http://xx.xxx.xx.xx/\ Infoscale/7.4.2/rhel7_x86_64/rpms/\ RPM-GPG-KEY-veritas-infoscale7" product: ENTERPRISE product_version: '7.4.2' facters: "{{ ansible_play_hosts_all | map('extract', hostvars, ['facts','infoscale_facts']) | select()|list }}" state: present |
Sample playbook - JSON [ { "hosts": "cpicluster11", "gather_facts": false, "any_errors_fatal": true, "tasks": [ { "name": "Facters", "veritas_infoscale": { "module": "site_facters", "release_matrix_path": "<URL>" }, "register": "facts" }, { "name": "Install InfoScale", "veritas_infoscale": { "module": "yum", "repository_name": "repo_infoScale742", "repository_baseurl": "http://xx.xxx.xx.xx/\ Infoscale/7.4.2/rhel7_x86_64/rpms/", "gpgcheck": 1, "gpgkey": "http://xx.xxx.xx.xx/\ Infoscale/7.4.2/rhel7_x86_64/rpms/\ RPM-GPG-KEY-veritas-infoscale7", "product": "ENTERPRISE", "product_version": "7.4.2", "facters": "{{ ansible_play_hosts_all | map('extract', hostvars, ['facts','infoscale_facts']) | select()|list }}", "state": "present" } } ] } ] | ||
Installation | site_facters InstallPackages (SLES 15 SP3 / SP4) | Sample playbook - YAML - hosts: cluster gather_facts: false any_errors_fatal: true tasks: - name: Facters veritas_infoscale: module: site_facters register: facts - name: Install InfoScale veritas_infoscale: module: InstallPackages repository_name: repo_infoScale742 repository_baseurl: http://xx.xxx.xx.xx/\ Infoscale/7.4.2/rhel7_x86_64/rpms/ gpgcheck: 0 gpgkey: product: ENTERPRISE product_version: 7.4.2 facters: "{{ ansible_play_hosts_all |map('extract', hostvars, ['facts','infoscale_facts']) | select()|list }}" state: present ignore_required_patch: 0 ignore_patchid_check: 0 patch_repo_list: |
Sample playbook - JSON [ { "hosts": "cluster", "gather_facts": false, "any_errors_fatal": true, "tasks": [ { "name": "Facters", "veritas_infoscale": { "module": "site_facters" }, "register": "facts" }, { "name": "Install InfoScale", "veritas_infoscale": { "module": "InstallPackages", "repository_name": "repo_infoScale742", "repository_baseurl": "http://xx.xxx.xx.xx/\ Infoscale/7.4.2/rhel7_x86_64/rpms/", "gpgcheck": 0, "gpgkey": null, "product": "ENTERPRISE", "product_version": "7.4.2", "facters": "{{ ansible_play_hosts_all | map('extract', hostvars, ['facts','infoscale_facts'])| select()|list }}", "state": "present", "ignore_required_patch": 0, "ignore_patchid_check": 0, "patch_repo_list": } } ] } ] | ||
Licensing |
| Sample playbook - YAML --- - hosts: cpicluster11 gather_facts: false any_errors_fatal: true tasks: - name: Facters veritas_infoscale: module: site_facters release_matrix_path: <URL> register: facts - name: License veritas_infoscale: module: licensing state: present product_version: 7.4.2 license: 'ENTERPRISE' facters: "{{ ansible_play_hosts_all |map('extract', hostvars, ['facts','infoscale_facts']) | select()|list }}" |
Sample playbook - JSON [ { "hosts": "cpicluster11", "gather_facts": false, "any_errors_fatal": true, "tasks": [ { "name": "Facters", "veritas_infoscale": { "module": "site_facters", "release_matrix_path": "<URL>", }, "register": "facts" }, { "name": "License", "veritas_infoscale": { "module": "licensing", "state": "present", "product_version": "7.4.2", "license": "ENTERPRISE", "facters": "{{ ansible_play_hosts_all |map('extract', hostvars, ['facts','infoscale_facts']) | select()|list }}" } } ] } ] | ||
Uninstall |
| Sample playbook - YAML --- - hosts: cpicluster11 gather_facts: False any_errors_fatal: true tasks: - name: Facters veritas_infoscale: module: site_facters release_matrix_path: <URL> register: facts - name: Uninstall InfoScale Enterprise veritas_infoscale: module: yum product: 'ENTERPRISE' product_version: 7.4.2 state: absent facters: "{{ ansible_play_hosts_all |map('extract', hostvars, ['facts','infoscale_facts']) | select()|list }}" |
Sample playbook - JSON [ { "hosts": "cpicluster11", "gather_facts": false, "any_errors_fatal": true, "tasks": [ { "name": "Facters", "veritas_infoscale": { "module": "site_facters", "release_matrix_path": "<URL>", }, "register": "facts" }, { "name": "Uninstall InfoScale Enterprise", "veritas_infoscale": { "module": "yum", "product": "ENTERPRISE", "product_version": "7.4.2", "state": "absent", "facters": "{{ ansible_play_hosts_all |map('extract', hostvars,['facts','infoscale_facts']) | select()|list }}" } } ] } ] |