Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  tvault_rubrik.egg-info
  etc
  tvault_rubrik
  setup.cfg
  MANIFEST.in
  PKG-INFO
  README.md
  requirements.txt
  setup.py
Size: Mime:
  README.md

1. Introduction

This directory contains rubrik integration related files.

2. Steps to configure the TVO cluster.

Follow the steps to configure TVM cluster. We assume that a managed volume is provisioned in Rubrik cluster and the NFS share is ready to be mounted to TVM nodes and OpenStack compute nodes.

2.1 Change the nova id on a TVM for newly deployed TVM only.

Change nova user_id and group_id to uid & gid present on compute nodes.

Check nova_userid

# id nova

Download nova_userid.sh script

# curl -O https://raw.githubusercontent.com/trilioData/triliovault-cfg-scripts/master/common/nova_userid.sh

Make it executable

# chmod +x nova_userid.sh

Run nova_userid.sh

# ./nova_userid.sh

Verify that 'nova' user and group id has changed to nova user id and group id present on compute node(s).

# id nova

2.2 [Optional] If you dont have rubrik package, generate package from source.

2.2.1 Checkout POCs repo to /home/stack home directory on a TVM.

# cd /home/stack
# git clone https://github.com/trilioData/POCs.git -b rubrik-tvo/hotfix/4.2

2.2.2 Create tvault_rubrik Package

# cd POCs/rubrik
# python3 setup.py sdist
# cd dist
# ls
tvault-rubrik-4.2.64.tar.gz

2.3 Install tvault_rubrik package

# source /home/stack/myansible/bin/activate
# pip install <tvault_rubrik>

2.4 Update /etc/workloadmgr/rubrik.conf file with the required values to match Rubrik cluster information.

[DEFAULT]
backup_target_name = <managed-volume-name>
backup_target_driver = rubrik
rubrik_cdm_node_ip = <cdm-node-IP-Address>
rubrik_cdm_username = <cdm-node-Username>
rubrik_cdm_password = <cdm-node-Password>

Note: You should refer the rubrik server for the necessary details

2.5 Configure TVM appliance and install datamovers on compute nodes.

Restart the tvault-config service by which it will get the rubrik details from rubrik.conf file.

# systemctl restart tvault-config

Then complete the TVM installation including configuring TVM cluster and deploying data movers on compute nodes

2.6 Verify that backup target is mounted on TVM node.

you can use command: df -h

3 [Optional]Steps to verify rubrik code is working or not.

Need to verify, we are able to create a new file.

3.1 Run below command to change managed volume to read/write mode.

# rubrikutil beginsnapshot

3.2 Create a file under NFS mount path

# touch <nfs mount path>/testing.txt

3.3 Run the following command to change managed volume back to readonly.

rubrikutil endsnapshot

3.4 verify the rubrik_variables table, execute below commands on TVM node(s).

# mysql

MariaDB [(none)]> show databases;

MariaDB [(none)]> use workloadmgr;

3.5 Check in the table list rubrik_variables table is presents or not.

MariaDB [workloadmgr]> show tables;

3.6 If rubrik_variables table present execute below command.

MariaDB [workloadmgr]> select * from rubrik_variables;

4 Test changes.

  • Add new license
  • Create new workload
  • Take a snapshot
  • Take another snapshot
  • Restore Snapshot
  • Delete snapshots
  • Reset workload
  • Delete workload

.