Netbackup, Nutanix AHV

Veritas Netbackup with Nutanix AHV – Restore

Veritas Netbackup with Nutanix AHV – Introduction
Veritas Netbackup with Nutanix AHV – Backup
Veritas Netbackup with Nutanix AHV – Restore (This post)

To continue my previous post here I will show how to restore Nutanix AHV VM,

The below is outline of process of the restore process:

  1. Mount Nutanix container to backup host.
  2. Create a .restore folder on container.
  3. Restore AHV VM disk to .restore folder.
  4. Run nbaapi_ahv_vm_restore
  5. Verify restored VM on Prism Console.

Lets try restore now:

  1. Login to backup client using your choice of SSH client and create a mount point to mount Nutanix Container.
  2. mkdir /nfs1

    Here i had create a mount point as nfs1 at root.

  3. Mount the Nutanix container at /nfs1 directory.
  4. mount -t nfs /nfs1

    change to /nfs1 and list files to verify

  5. Create .restore folder and verify
  6. mkdir .restore

    List to verify its been created.

  7.  ls -ld .?*

    FutureTEC Connect_FT-MGMT_2017-12-18_10

  8. Now go to Backup, Archive and Restore in Netbackup Console and browse for the backed up VM.  Source client will be the VM name and destination client will be the backup host.FutureTEC Connect_FT-MGMT_2017-12-18_11
  9. Select disk image file, metadata file on contents lists and click Restore to select destination folder as .restore directory on the mount point where you have mounted Nutanix Container on backup host. NOTE: the disk image file should be restored on root of to .restored directory.FutureTEC Connect_FT-MGMT_2017-12-18_13
  10. Monitor and wait for the restore to complete from Activity Monitor. the restore process will restore two files metadata.json and disk image file.
  11. In order to restore the VM onto the Nutanix cluster we need to run  nbaapi_ahv_vm_restore whihc is located at /usr/openv/netbackup/goodies.
  12. There are three scenarios to restore based on that we need to update the metadata file.
    1. When original VM is NOT existing or we are restoring the VM to another Nutanix cluster, use the original metadata file.
    2. Restore the VM where the original VM exists and it should be impacted, update the metadata file.
    3. Restore to same cluster or another cluster with different container, update the metadata file. The details are specified in Veritas Netbackup AHV Administrator’s Guide here
  13. Run the command as below to restore the VM according to scenarios above with metadata file.
    /usr/opnev/netbackup/goodies/nbaapi_ahv_vm_restore --metadata_file_path /nfs1/.restore/metadata.json --username  --password  --cluster_name

    This command is going to use Nutanix API to create VM using the restore disk image and specification using metadata.json file

  14. If you are restoring as different VM you have option to use native Prism capabilities without using the above command. Create a new VM and add disk using ADSF file with required specifications without impacting original VM.FutureTEC Connect_FT-MGMT_2017-12-18_14
  15. Power On your restored VM to verify.

Conclusion : Although the overall process is not simple but it great effort to have protecting your Veritas Netbackup investment and adapting Nutanix AHV. Hope Veritas team is going to add more simplicity to the overall process and keep updating for full integration with Nutanix. After having discussion with Veritas Netbackup product team I am very much optimistic with their openness to feedback and wish them to stay ahead in the Backup and Recovery.

Netbackup, Nutanix AHV

Veritas Netbackup with Nutanix AHV – Backup

Veritas Netbackup with Nutanix AHV – Introduction
Veritas Netbackup with Nutanix AHV – Backup  (This post)
Veritas Netbackup with Nutanix AHV – Restore

In my previous post here I had gone through how to verify the prerequisites for integration of Veritas Netbackup to protect Nutanix AHV. In this blog i will go through the policy configuration and backup of Nutanix AHV VMs.

  1. Create a new policy and specify name of the policyFutureTEC Connect_FT-MGMT_2017-12-17_3 FutureTEC Connect_FT-MGMT_2017-12-17_2
  2. On the attributes tab select “BigData” as Policy Type and use your Policy Storage.FutureTEC Connect_FT-MGMT_2017-12-17_5
  3. On Schedule tab create a new schedule for backups using required frequency setting or calendar schedule and backup windows.futuretec-connect_ft-mgmt_2017-12-17_6.png
  4. On next Clients tab specify the AHV Virtual Machine names you need to protect. NOTE: The VM names are case-sensitive, I would recommend to copy and paste the client names from Prism interface. NOTE: The client operating system is NOT automatically detected.FutureTEC Connect_FT-MGMT_2017-12-17_7
  5. The most important configuration is on “Backup Selection” tab. Add the below as
    • Application_Type=Nutanix-AHV
    • Backup_Host=<hostname of your backup host>
    • Application_Server=<ip address or fqdn of Nutanix cluster>FutureTEC Connect_FT-MGMT_2017-12-18_1
  6. Save the policy by click OK

At this point you are ready to test your Nutanix AHV policy. Right click the policy you created and click “Manual Backup” and click OKFutureTEC Connect_FT-MGMT_2017-12-18_2FutureTEC Connect_FT-MGMT_2017-12-18_3

Go to Activity Monitor and the policy process, you can also see in Prism snapshot creation task before backup has started and snapshot deletion when backup finished.

FutureTEC Connect_FT-MGMT_2017-12-18_7

FutureTEC Connect_FT-MGMT_2017-12-18_8

Looking at the backup speed I was really impressed, while I was uploading the above image the backup was already finished. In order to verify the speed I did run a full backup of a VM having 50Gb of data and was completed in ~8 minutes and consecutive backups in ~3 minutes. NOTE: Although statistics may vary based on real environment.

In continuation next post here I will cover how to restore the VM to Nutanix Cluster.



Netbackup, Nutanix AHV

Veritas Netbackup with Nutanix AHV – Introduction

Veritas Netbackup with Nutanix AHV – Introduction (This post)
Veritas Netbackup with Nutanix AHV – Backup
Veritas Netbackup with Nutanix AHV – Restore

As Nutanix AHV is getting more attention in enterprise data center it had started to get more recognition from supporting ecosystem. One of the most important support for any hypervisor is backup integration, although the native Data Protection are in most case fully sufficient a third-party backup solution is equally important to have improve adaptability in enterprises.

Within the core enterprise backup provider Veritas Netbackup was recently to onboard the hyperconverged journey into data center.

With the release of Veritas Netbackup 8.1, Parallel Streaming Framework (PSF) was introduced. PSF is an integration of distributed kind of workload like Hadoop, HBase etc, kind of bigdata or distributed application and obviously Nutanix platform which service multi-PBs of data. More about PSF is available here at Veritas Blog.

As this is first release of integration Veritas Netbackup is currently supporting full VM backups only and expected to support Nutanix change block tracking in upcoming release.

I appreciate Veritas Netbackup Product Management and Engineering Team who openly accepted my feedback and jumped immediately to address the concerns.

In the first blog i will go through the requirements about configuration of VM backups using Veritas Netbackup.

Requirements or can call as pre-requisites:

  1. Firstly Veritas Netbackup version 8.1 should be already installed and configured.
  2. Media server should be configured with backup target, tape volume pool or storage pool.
  3. Linux-based backup host with Nutanix AHV plugin installed, it can be Master, Media or a client (appliance is also supported). Currently backup host is supported on RHEL and SUSE Linux, although i had tested successfully on CentOS 7.4. The plug-in installation is straight forward and required no input or configuration, just extract the package downloaded from MyVeritas and install using command
  4.  ./install -EULAAccepted
  5. Make sure NFS client is already installed on backup host, try mount/unmount Nutanix container to verify.
  6. A Nutanix AHV cluster with version 5.1.x and above. I had tested with AOS 5.5 and AHV 20170830.58
  7. If you use the default selft-signed certificates from Nutanix, NetBackup may fail SSL validation. To disable SSL validations, edit the nb_nutanix-ahv.conf file located on backup host in /usr/openv/netbackup and set the enable_ssl_validations to false.
  8. Nutanix cluster name is successfully able to resolve from master, media and backup host, unless you want to use IP address of Nutanix Cluster.
  9. Add backup host to Nutanix global whilelist.
  10. Add backup to VMware Access Host from Netbackup Console -> Host Properties – > Master Server  ->    Properties (Right Click or Double Click) -> VMware Access Host.  Add the fqdn or shortname of backup host (i preer to add both). NOTE: Do not confuse with the name “VMware Access Host”.
  11. Add Nutanix cluster credentials to Netbackup, using Netbackup Console -> Media Device Management -> Credentials -> Virtual Machine Servers
    Enter the name or IP address with username and password of Nutanix cluster. i would recommend to have a dedicated prism account for the purpose as using admin account will always trigger an alert in Prism when is used to call remote api.

Once the above prerequisites are verified we are good to create Nutanix AHV policy in next blog here.