Rubrik : How to add Nutanix Cluster

Background

Rubrik can connect to Nutanix clusters running AHV since August 2017. This is a perfect fit mixing simplicity and efficiency from both worlds. To have secured communications between the two platforms, there are some mandatory steps that needs to be done.


Let's add Nutanix AHV

First, we need to extract the SSL key from the Nutanix cluster. Before going further, you need the following information :
  • Cluster IP;
  • Cluster UUID;
  • Service account with admin credentials on the Nutanix Cluster;
  • Nutanix CA certificate
Furthermore, there are some requirements : 
  • Rubrik v 4.0.3 or greater;
  • Nutanix AOS 5.1.x with REST API v3
To extract the Nutanix CA Certificate, connect with ssh to any of the CVMs and issue the following commands :

nutanix@NTNX-15SM15100xxx-B-CVM:192.168.1.1:~$ python
>>>> import ssl
>>> print ssl.get_server_certificate (('192.168.1.2', 9440),ssl_version=ssl.PROTOCOL_TLSv1_2)
-----BEGIN CERTIFICATE-----
MIIDvzCCAqegAwIBAgIJAO4jof8scPpJMA0GCSqGSIb3DQEBCwUAMHYxCzAJBgNV
BAYTAlVTMQswCQYDVQQIDAJDQTERMA8GA1UEBwwIU2FuIEpvc2UxFTATBgNVBAoM
DE51dGFuaXggSW5jLjEWMBQGA1UECwwNTWFuYWdlYWJpbGl0eTEYMBYGA1UEAwwP
Ki5udXRhbml4LmxvY2FsMB4XDTE1MDQwMjAzNTIxMloXDTI1MDMzMDAzNTIxMlow
djELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMREwDwYDVQQHDAhTYW4gSm9zZTEV
MBMGA1UECgwMTnV0YW5peCBJbmMuMRYwFAYDVQQLDA1NYW5hZ2VhYmlsaXR5MRgw
FgYDVQQDDA8qLm51dGFuaXgubG9jYWwwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
ggEKAoIBAQCRECynQq/wGWOO4Y1a/pZu2Hbh0WT2mWZCgczaJ7PSnsHhIMsQAgdR
Eoj85ZEMg86VTPBFFPHq6dOkoz6tnlY7423BWvFQh1UYrEmkoD6n+2C6Huea7B0r
7rBebYTTqM8sIiFB4hFs8aQxaw+h7UGtljJahVCO1IbfEnsQXLqixEqg9TRNSt7M
TjQWkQdin6782PlvFuKo/8icynIOEfzem/DfsYBMQi+DlFAoXoQ2prcsEnmNcDOX
pym+Ycu/Wc59xdfrWmWSmBNngGRgTGImYXryWSvWctWPKkR/F4kOWb3Qg8qCE01e
uGh+QIT/mYU0lgw6sJnas6gjUU5LVyn7AgMBAAGjUDBOMB0GA1UdDgQWBBSR9agN
AlWWTfQw0P50SM7ftWhTETAfBgNVHSMEGDAWgBSR9agNAlWWTfQw0P50SM7ftWhT
ETAMBgNVHRMEBTADAQH/MA0GCSqUHYIb3DQEBCwUAA4IBAQBJF38QZVHoPrRUr4r
CUgmXOgZ4rXnatagJCHQLNTdx37tOIcEbQXuBPvn50aFybWghlF+YT3pNcBN4r7y
zQfkU042tPEVPi80wqyo+TTaPkvsObvpyvYqcFjZizOdCYgWODhA3xESC7yVJXiy
G4Gos4DorX4UEqiCLrQpVPPfhP1UM8HxXWroEszeoRRSNReIOA6jXWXrE4dMxbG1
n/xXS7jWtMk58MnzLGcnlnXZlS4xLUSRtBRB6CC7His/PQVe+HrjcvwYn+DhPiDE
SITehvlhX1H6iYXdxzRIhiLC6fLSR4Q+Lq4ZxkP9/KiIlIuOVTj/DH+fdmDDUkWj
z5J4
-----END CERTIFICATE-----

If you are running Nutanix AOS 5.5 : contact support before adding your cluster, there is something support has to do before being able to add it. This is related to nutanixAosVersionRegexCheck. In my case the value is "^(5\\.(5|1\\.[1-5])(\\..*)?|2017\\..*|2018\\.0[1-4]\\.[0-9]{2})$".
Note : Starting with Atlas v4.1, the parameter changed from nutanixAosVersionRegexCheck to nutanixOsVersionRegexCheck. However, the content remains the same.

From the Rubrik UI, in the gear menu, chose Manage Nutanix Clusters, then Add Nutanix Cluster.




To get the Nutanix Cluster UUID you can have a look at the Prism interface clicking on the cluster name (top left) or using the command ncli cluster info from one of the CVM.

Once your Nutanix Cluster has been added into Rubrik, you will be able to see the VMs and start protecting them by applying the relevant SLA.



Comments

What's hot ?

ShredOS : HDD degaussing with style

Nutanix : CVM stuck into Phoenix

ThingSpeak : Create some useful formulas