Nutanix Guest Tools & File Level Restore

Nutanix guest tools (NGT) is a software bundle that you can install in a guest virtual machine (Microsoft Windows or Linux) to enable the advanced functionality provided by Nutanix.

The NGT bundle consists of the following components:

• Nutanix Guest Agent (NGA) service. Communicates with the Nutanix Controller VM.

• File Level Restore (FLR) CLI. Performs self-service file-level recovery from the VM snapshots.

• Nutanix VM Mobility Drivers. Facilitates by providing drivers for VM migration between ESXi and AHV, in-place hypervisor conversion, and cross-hypervisor disaster recovery (CH-DR) features.

• VSS requestor and hardware provider for Windows VMs. Enables application-consistent snapshots of AHV or ESXi Windows VMs.

• Application-consistent snapshot for Linux VMs. Supports application-consistent snapshots for Linux VMs by running specific scripts on VM quiesce.

General Requirements and Limitations

• Virtual IP address must be configured on the Nutanix cluster.

• VMs must have at least one empty CD-ROM slot to attach the ISO.

• Port 2074 should be open to communicate with the NGT-Controller VM service.

• VMs should to be connected to a network that can be accessed by using the virtual IP of the cluster.

Requirements of Guest VM

· Guest Operating System of VM

Microsoft Windows Server Version: Windows 2008 or later versions.

Microsoft Windows Client Version: Windows 7 or later versions.

· Java Runtime Environment (JRE build 1.8) or later releases http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

· File Systems: NTFS on simple volumes

Procedure

1- Enable Nutanix Guest Tools & File Level Restore

To enable NGT feature for a VM, click the Enable NGT action link under the VM Page.

clip_image001

This displays a dialog box that asks for the confirmation to enable NGT feature for the selected VM.

If you click Yes NGT feature is enabled for the VM and a NGT CD-ROM is mounted.

clip_image002

To enable the File Level Restore, you will need to SSH to the CVM and enable the FLR using the VM-ID

List Virtual Machine: ncli vm list

clip_image003

Get Nutanix Guest Tools: ncli nutanix-guest-tools  get vm-id="vm_id

clip_image005

Enable File Level Restore in Nutanix Guest Tools: ncli nutanix-guest-tools  enable vm-id="vm_id" application-names="File Level Restore"

clip_image007

2- install Nutanix Guest Tools on the Guest VM

Log into the Windows guest VM.

In the explorer window, double-click the Nutanix icon labeled X.

Accept the license agreement and follow the prompts to configure NGT on the virtual machine.

clip_image008

After installation finishes, Nutanix guest agents are installed on the VM and you can use all the NGT features.

clip_image009

3- Restoring a File from a snapshot as a Guest VM User

Run the Command Prompt (CMD) as administrator.

Change the current working directory to “C:\Program Files\Nutanix\ngtcli

Run the command ngtcli.cmd

clip_image010

The ngtcli> help command is used to show available commands

clip_image011

The ngtcli> flr ls-snaps command is used to List the snapshots and virtual disks that are present for the guest VM.

The snapshot ID, disk labels, logical drives, and create time of the snapshot is displayed.

clip_image012

To attach a disk from a snapshots, use the following command.

ngtcli> flr attach-disk disk-label=<disk_label> snapshot-id=<snapshot_id>

example, flr attach-disk disk-label=scsi0:0 snapshot-id=41

clip_image013

After successfully executing the command, a new disk with label "G" is attached to the guest VM.

Navigate to the attached disk label drive and restore the desired files.

clip_image015

To detach the disk, use the following command.

ngtcli> flr detach-disk attached-disk-label=<attached_disk_label>

example, flr detach-disk attached-disk-label=scsi0:1

clip_image016

No comments:

Post a Comment