Rubrik

From roonics
Revision as of 14:37, 13 August 2019 by Jlambert (talk | contribs)
Jump to navigation Jump to search

Rubrik

Useful Commands

Connecting to Rubrik via Powershell

  • Download and install the Rubrik PowerShell addon:
https://www.rubrik.com/blog/get-started-rubrik-powershell-module/
  • Once downloaded, open PowerShell and connect to your Rubrik:
$Cred = Get-Credential
Connect-Rubrik -Server x.x.x.x -Credential $Cred

Editing Enable storage array integration on all virtual machines

Connect to the Rubrik run the command below to enable storage array integration on all virtual machines:

Get-RubrikVM | Set-RubrikVM -UseArrayIntegration 1
  • If you wish to disable storage array integration on all virtual machine run the following command:
Get-RubrikVM | Set-RubrikVM -UseArrayIntegration 0

Depending on how many virtual machines you are backing up this may take some time.

Factory reset entire Rubrik

Should you need to reset your Rubrik you can follow the steps below.

WARNING: THIS WILL COMPLETELY WIPE YOUR RUBRIK DEVICE AND THE BACKUPS STORED ON IT.!

  • Using Putty SSH to the Rubrik node you wish to factory reset.
  • Type:
reset

and press enter

  • You will them be prompted with the below, if you still wish to continue type "yes" and press enter:
Warning: This operation will erase all the data on the filesystem!!!
Type 'yes' to continue: yes
  • You will then see a lot of messages similar to the below:
2019-07-11T12:01:13+0000 INFO <12973.MainThread> [reset_node.pyc] Starting sdreset
2019-07-11T12:01:13+0000 INFO <12973.MainThread> [reset_node.pyc] Running sdreset_internal
2019-07-11T12:01:20+0000 INFO <12973.MainThread> [reset_node.pyc] 2019-07-11T12:01:20+0000 INFO <12976.main> [sdreset_internal.sh] svscan is already running with pid 18986
2019-07-11T12:01:20+0000 INFO <12973.MainThread> [reset_node.pyc] 2019-07-11T12:01:20+0000 INFO <12976.main> [sdreset_internal.sh] Waiting for svc lock

Let these continue, you are waiting until you see the below message:

2019-07-11T12:03:43+0000 INFO <12973.MainThread> [reset_node.pyc] Ran sdreset successfully
RVM123456789 >> 

Once you see this message you can reboot the Rubrik and start the setup process again, obviously if you have more than one Rubrik node you will need to repeat the above for each node.