Rubrik: Difference between revisions
No edit summary |
No edit summary |
||
Line 160: | Line 160: | ||
FileServer02 | FileServer02 | ||
</pre> | </pre> | ||
==Adding more disks to Rubrik Edge (virtual Rubrik) on vmWare== | |||
1. Shut down Rubrik Edge. | |||
2. Launch vSphere Client or vSphere Web Client, and log in to the vCenter Server. | |||
3. Open Manage > VM Hardware > Edit > New device > New Hard Disk. | |||
4. Enter a size for the new hard disk. The size must match the original data disk size. | |||
5. Click Add. | |||
6. In the Edit Settings view, expand the ‘New Hard Disk’ row. | |||
7. Set Disk Provisioning to ‘Thick provision lazy zeroed’. | |||
8. Set Virtual Device Node to ‘SCSI controller’. | |||
9. Select the highest SCSI controller number available. | |||
10. Click OK to save the settings. | |||
11. Power on Rubrik Edge. | |||
12. Log in to the web UI for Rubrik Edge. | |||
Since the disk isn’t ready for use yet, a Disk Down warning appears on the dashboard. This is normal. | |||
13. From the web UI Dashboard, click System. | |||
The System panel appears, listing a single node. | |||
14. In the System panel, click the name of the node. | |||
The node management page appears. | |||
15. In the HDD Status pane of the node management pane, click Set up disk. | |||
The Manage Disk dialog box appears. | |||
16. Click Submit. | |||
Revision as of 09:41, 8 June 2022
Rubrik
Setup
Rubrik install and setup process
Here are the steps for installing and setting up Rubrik backup devices.
- Go to the back of the Rubrik and you should see a serial number sticker with something along the lines of:
RVHM123456789.local
Make a note of this.
- Connect your laptop to the management port on the back of the Rubrik and wait for your laptop to get a DHCP address
- Once you have an IP address open a browser and browse to:
https://RVHM123456789.local
- This should take you to a Rubik setup page.
- You will have a "Welcome to Rubrik page" asking you for your email address and password. Enter these details and continue.
- The Rubrik will now search for other Rubrik nodes on the LAN.
- You will now see a screen asking you to setup IP information. First of all focus on the top section which will be the generic settings, i.e. cluster name, DNS, Gateway, subnet, ntp etc etc
- Now move down to the nodes section, you now need to add a management IP and a Idrac/ilo IP for each Rubrik node it has found. At this stage you can specify a VLAN for data traffic only, specify this if required.
- You will then get a "Setting up system" message followed by a "Setting up encryption" message, this will take some time.
- Once complete you should be able to browse to any of the management IP's and login using "admin" and the password you set at the beginning.
Once you have logged in you will need to:
- Add your vcenter to the Rubrik
- Assign a floating IP (optional)
- Add your storage array if it supports Rubrik storage array integration
- Add LDAP for domain login
- Install the Rubrik backup agent on any physical servers you may wish to backup
- Create some SLA groups with the backup retention etc that meets your needs
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.
Restarting a Rubrik cluster
- SSH To any of the Rubrik nodes in the cluster using the admin account
Example output:
ssh admin@10.10.10.10
- Enter admin password to access the Rubrik CLI prompt
Example output:
~ host$ ssh admin@10.10.10.10 admin@10.10.10.10's password: Last login: Fri Feb 20 16:42:04 2019 from 10.242.100.1
- Type
cluster reboot cluster
Shutting down a Rubrik cluster
- SSH To any of the Rubrik nodes in the cluster using the admin account
Example output:
ssh admin@10.10.10.10
- Enter admin password to access the Rubrik CLI prompt
Example output:
~ host$ ssh admin@10.10.10.10 admin@10.10.10.10's password: Last login: Fri Feb 20 16:42:04 2019 from 10.242.100.1
- Type
poweroff_cluster
if this command doesnt work use:
cluster poweroff_cluster
Example output:
VRSTW4xxxx >> poweroff_cluster Warning: This operation will power off the entire cluster, any running jobs will be terminated!!! Type 'yes' to continue: 4. Specify ‘yes’ at the prompt and then press ENTER to confirm the shutdown command. Type 'yes' to continue: yes Press Enter to shut down the local node VRSTW4xxxx >> Broadcast message from admin@VRSTW4xxxx (/dev/pts/2) at 17:42 ... The system is going down for power off NOW! Connection to 10.10.10.10 closed by remote host. Connection to 10.10.10.10 closed.
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.
Change/set sla of a virtual machine
Get-RubrikVM -name <vm-name-here> | Protect-RubrikVM -SLA "<sla-name-here>"
List all machines in an SLA group
Get-RubrikVM -SLA "<sla-name-here>" | Select -ExpandProperty name
Rubrik check for unassigned servers
Get-RubrikVM -SLAAssignment "Unassigned" | Select -ExpandProperty name
Example output:
Server01 Domain12 FileServer02
Adding more disks to Rubrik Edge (virtual Rubrik) on vmWare
1. Shut down Rubrik Edge. 2. Launch vSphere Client or vSphere Web Client, and log in to the vCenter Server. 3. Open Manage > VM Hardware > Edit > New device > New Hard Disk. 4. Enter a size for the new hard disk. The size must match the original data disk size. 5. Click Add. 6. In the Edit Settings view, expand the ‘New Hard Disk’ row. 7. Set Disk Provisioning to ‘Thick provision lazy zeroed’. 8. Set Virtual Device Node to ‘SCSI controller’. 9. Select the highest SCSI controller number available. 10. Click OK to save the settings. 11. Power on Rubrik Edge. 12. Log in to the web UI for Rubrik Edge. Since the disk isn’t ready for use yet, a Disk Down warning appears on the dashboard. This is normal. 13. From the web UI Dashboard, click System. The System panel appears, listing a single node. 14. In the System panel, click the name of the node. The node management page appears. 15. In the HDD Status pane of the node management pane, click Set up disk. The Manage Disk dialog box appears. 16. Click Submit. <comments />