Skip to content

Latest commit

 

History

History
472 lines (260 loc) · 18.1 KB

File metadata and controls

472 lines (260 loc) · 18.1 KB
title excerpt kb category_l1 category_l2 updated
Configure Veeam Backup for Nutanix
Installing Veeam Backup on a Nutanix cluster
Hosted Private Cloud
Nutanix on OVHcloud
Backups
2022-05-31

Objective

Veeam Backup is a backup software available for Nutanix.

Find out how to install, configure and use Veeam on a Nutanix cluster

Warning

OVHcloud provides services for which you are responsible, with regard to their configuration and management. It is therefore your responsibility to ensure that they work properly.

This guide is designed to assist you as much as possible with common tasks. Nevertheless, we recommend contacting a specialist provider if you experience any difficulties or doubts when it comes to managing, using or setting up a service on a server.

Requirements

  • A Nutanix cluster in your OVHcloud account.
  • Access to the OVHcloud Control Panel.
  • You must be connected to the cluster via Prism Central.
  • Veeam Backup & Replication installed on a virtual machine in your Nutanix cluster via this procedure: Setting up Veeam Backup & Replication.
  • Knowing the public IP address used by Veeam Backup to access the internet.
  • You must have 4 GB of RAM, 60 GB of storage and 4 vCPUs to add an additional virtual machine when configuring extensions for Veeam Backup & Replication.
  • You must have remote storage outside of the cluster, such as OVHcloud Enterprise File Storage.

Instructions

We will customise Veeam Backup & Replication for use on a Nutanix cluster, with a remote repository for this cluster at OVHcloud, using the OVHcloud Enterprise File Storage solution.

Add a user in Prism Element for Veeam Backup

First, you need to create a specific user in Prism Element to use Veeam Backup.

Through Prism Central, connect to Prism Element by clicking on the cluster under Cluster Quick Access.

Create User VEEAM PE 01{.thumbnail}

Once in the Prism Element, go to the settings by clicking on the gear{.action} icon in the top right.

Create User VEEAM PE 02{.thumbnail}

Scroll down the menu on the left using the scroll bar.

Create User VEEAM PE 03{.thumbnail}

Click Local User Management{.action}.

Create User VEEAM PE 04{.thumbnail}

Click the New User{.action} button.

Create User VEEAM PE 05{.thumbnail}

Enter the information:

  • Username: svc_veeam
  • First Name: Veeam
  • Last Name: Backup
  • Email: [email protected]
  • Password: password

[!primary] This data is provided as an example. The email address is mandatory but is not used.

Select the Cluster Admin{.action} checkbox and click Save{.action}

Create User VEEAM PE 06{.thumbnail}

This user account is created and added to the Prism Element user list.

Create User VEEAM PE 07{.thumbnail}

Download and install the extension for a Nutanix cluster under AHV

Log in to the virtual machine where Veeam Backup is located.

From a web browser, download the latest version of the AHV extension for Veeam. You must have a user account on the Veeam website, you can create it freely and free of charge.

Start the installation of the extension.

Warning

Before starting the installation, make sure that the Veeam Backup & replication console is closed.

Open the "NutanixAHPlugin" installer.

Addon Installation 01{.thumbnail}

Accept the General Terms and Conditions of Use and click Next{.action}.

Addon Installation 02{.thumbnail}

Click Next{.action}.

Addon Installation 03{.thumbnail}

Click Install{.action}.

Addon Installation 04{.thumbnail}

Once the installation is complete, click Finish{.action}.

Addon Installation 06{.thumbnail}

Integrate Nutanix cluster in Veeam Backup configuration

When Configuring Veeam Backup for Nutanix, a new virtual machine is added to the cluster, which serves as the interface between the Veeam Backup software and the cluster.

Launch the Veeam Backup console and click Connect{.action}.

Addon Cluster Nutanix to Veeam 01{.thumbnail}

Go to Backup Infrastructure{.action} in the menu at the bottom right, choose Managed Servers{.action} and click Add Server{.action}.

Addon Cluster Nutanix to Veeam 02{.thumbnail}

Click Nutanix AHV{.action}.

Addon Cluster Nutanix to Veeam 03{.thumbnail}

Enter the private IP address{.action} of Prism Element in DNS name or IP address and click Next{.action}.

Addon Cluster Nutanix to Veeam 04{.thumbnail}

Click Add{.action} to add the Prism Element user account

Addon Cluster Nutanix to Veeam 05{.thumbnail}

Enter the information for the account created earlier in Prism Element:

  • Username: svc_veeam
  • Password: Password

Click OK{.action}.

Addon Cluster Nutanix to Veeam 06{.thumbnail}

Check that the account you have created has been selected in the "Credentials" field, then click Next{.action}.

Addon Cluster Nutanix to Veeam 07{.thumbnail}

Click Continue{.action} to validate the certificate warning message.

Addon Cluster Nutanix to Veeam 08{.thumbnail}

Check Use the following IP address{.action} and choose an unused private IP address (this address is used when backing up and restoring files), then click Next{.action}.

Addon Cluster Nutanix to Veeam 09{.thumbnail}

Click Next{.action}.

Addon Cluster Nutanix to Veeam 10{.thumbnail}

Click Finish{.action}.

Addon Cluster Nutanix to Veeam 11{.thumbnail}

Click Yes{.action}.

Addon Cluster Nutanix to Veeam 12{.thumbnail}

Select Deploy a new proxy{.action} and click Next{.action}.

Addon Cluster Nutanix to Veeam 13{.thumbnail}

Name the VM in the “Name” field, then click Next{.action}.

Addon Cluster Nutanix to Veeam 14{.thumbnail}

Click Configure{.action}.

Addon Cluster Nutanix to Veeam 15{.thumbnail}

Choose an unused IP address{.action} on the LAN for the virtual machine and click OK{.action}.

Addon Cluster Nutanix to Veeam 16{.thumbnail}

Click Next{.action}.

Addon Cluster Nutanix to Veeam 17{.thumbnail}

Click on Add{.action} to add and create the NUTANIX-PROXY VM login account. This VM is added when a Nutanix cluster is added to the Veeam Backup and replication console.

Warning

Take note of the user account and password created. These credentials allow you to connect to the new virtual machine via the web browser, without going through the Veeam backup software. The URL will be similar to https://privateipaddress:8100.

Addon Cluster Nutanix to Veeam 18{.thumbnail}

Enter the information for the account you created earlier in Prism Element:

  • Username: proxy_user
  • Password: password

Click OK{.action}.

Addon Cluster Nutanix to Veeam 19{.thumbnail}

Check the user account in the "Credentials" field and click Next{.action}.

Addon Cluster Nutanix to Veeam 20{.thumbnail}

Check the box Allow access to all backup repositories{.action} and click Next{.action}.

Addon Cluster Nutanix to Veeam 21{.thumbnail}

Wait a few minutes.

Addon Cluster Nutanix to Veeam 22{.thumbnail}

The installation ends with a warning message. Please ignore this, as it is the public DNS server that cannot resolve the Veeam server name.
Click Next{.action}.

Addon Cluster Nutanix to Veeam 23{.thumbnail}

Modifying the interface virtual machine host file

[!primary]

This operation is required if you do not use an internal DNS server to resolve VM names. Notably the VM that is used for the Veeam Backup software.

Via Prism Central, connect to the NUTANIX-PROXY virtual machine.

Open the main menu at the top left and choose VMs{.action}.

Configure Nutanix PROXY HOST 01{.thumbnail}

Click on the NUTANIX-PROXY virtual machine.

Configure Nutanix PROXY HOST 02{.thumbnail}

Click Launch console{.action}.

Configure Nutanix PROXY HOST 03{.thumbnail}

Log in with the user account you created earlier and the password associated with that account.

Configure Nutanix PROXY HOST 04{.thumbnail}

From the console, edit the /etc/hosts file:

proxy_user@NUTANIX-PROXY~$sudo nano /etc/hosts
[sudo] password for proxy_user:

Add this information, which corresponds to the IP address and name of the virtual machine where Veeam Backup is installed:

192.168.0.245 VEEAM-BACKUP 

Save the file and run this command:

proxy_user@NUTANIX-PROXY~$sudo /etc/init.d/networking restart
[sudo] password for proxy_user:

Creating the Enterprise File Storage volume via the OVHcloud Control Panel

Log in to the OVHcloud Control Panel. In the Bare Metal Cloud{.action} tab, go to Storage and Backup{.action}. Select Enterprise File Storage{.action}, then the service that will be used for the Veeam Backup.

Create Enterprise Storage Volume 01{.thumbnail}

In the Volumes{.action} tab, click Create a volume{.action}.

Create Enterprise Storage Volume 02{.thumbnail}

Choose these options to create a 500 GB volume.

  • Volume name (optional): BACKUP
  • Description (optional): BACKUP
  • Volume size: 500

Create Enterprise Storage Volume 03{.thumbnail}

Modify the settings of the new volume by clicking on the ...{.action} button. Choose Modify Volume{.action}.

Create Enterprise Storage Volume 04{.thumbnail}

In the Access Control (ACL){.action} tab, click Add a new access{.action}.

Create Enterprise Storage Volume 05{.thumbnail}

In the “Access to” field, enter the public IP address used on the VM Veeam Backup that serves as an internet gateway. In the “Access permissions” field, choose Read and write{.action}.

Create Enterprise Storage Volume 06{.thumbnail}

Once validated, a message will appear informing you that the access control has been created.

Create Enterprise Storage Volume 07{.thumbnail}

In the General Information{.action} tab, click the Copy{.action} icon to copy the "Mount path".

[!primary] The copied item is the repository that is used by Veeam Backup. The syntax should be similar to: ipaddress://share_name.

Create Enterprise Storage Volume 08{.thumbnail}

Add Enterprise File Storage repository in Veeam Backup

Via the Veeam Backup console, click on Backup Infrastructure{.action} at the bottom right, choose Backup Repositories{.action} and click on Add repository{.action}.

Add Enterprise File Storage repository 01{.thumbnail}

Choisissez Network attached storage{.action}.

Add Enterprise File Storage repository 02{.thumbnail}

Click on NFS share{.action}.

Add Enterprise File Storage repository 03{.thumbnail}

Name the repository and click Next{.action}.

Add Enterprise File Storage repository 04{.thumbnail}

In the “Shared folder” field, type or paste the name of the shared volume and click Next{.action}.

[!primary] Enter the "Mount path" copied from the OVHcloud Control Panel.

Add Enterprise File Storage repository 05{.thumbnail}

Click Next{.action}.

Add Enterprise File Storage repository 06{.thumbnail}

Click Next{.action}.

Add Enterprise File Storage repository 07{.thumbnail}

Click Apply{.action}.

Add Enterprise File Storage repository 08{.thumbnail}

Click Next{.action}.

Add Enterprise File Storage repository 09{.thumbnail}

Click Finish{.action}.

Add Enterprise File Storage repository 10{.thumbnail}

Setting up an automated backup

In Veeam backup, open the Home{.action} menu (bottom left), then the Backup Job{.action} menu and choose Nutanix AHV{.action}.

Create Backup JOB 01{.thumbnail}

The AHV Proxy web interface opens.

Name the task you want to create, tick the Backup job{.action} option, and click Next{.action}.

Create Backup JOB 02{.thumbnail}

Click Add{.action}.

Create Backup JOB 03{.thumbnail}

Select the virtual machines you want to back up and click Add{.action}.

Create Backup JOB 04{.thumbnail}

Click Next{.action}.

Create Backup JOB 05{.thumbnail}

Select the repository in Backup repository{.action} and click Next{.action}.

Create Backup JOB 06{.thumbnail}

Select the Run the job automatically{.action} check box, set the frequency, and click Next{.action}.

Create Backup JOB 07{.thumbnail}

Click Finish{.action} to save the backup job.

Create Backup JOB 08{.thumbnail}

The backup is visible through the AHV Proxy web interface.

Create Backup JOB 09{.thumbnail}

Return to the Veeam Backup console via the Home{.action} menu (at the bottom left). Click Jobs{.action} to view the backup job you created.

Create Backup JOB 10{.thumbnail}

Restoring a Virtual Machine

To test that backups are working properly, we will run a recovery task.

Click on Home{.action} in the bottom left. In the Restore{.action} option, select Nutanix AHV{.action}.

Restore VM 01{.thumbnail}

Click Restore from AHV backup{.action}.

Restore VM 02{.thumbnail}

Click Entire VM restore{.action}.

Restore VM 03{.thumbnail}

Click Add{.action}.

Restore VM 04{.thumbnail}

Select a virtual machine and click Add{.action}.

Restore VM 05{.thumbnail}

Click Next{.action}.

Restore VM 06{.thumbnail}

Choose Restore to a new location, or with different settings{.action} and click Next{.action}.

Restore VM 07{.thumbnail}

Click Next{.action}.

Restore VM 08{.thumbnail}

Click Next{.action}.

Restore VM 09{.thumbnail}

Rename the VM in New name{.action} and click Next{.action}.

Restore VM 10{.thumbnail}

Click Disconnect{.action} to isolate the restored VM from the network.

Restore VM 11{.thumbnail}

Click Next{.action}.

Restore VM 12{.thumbnail}

Click Next{.action}.

Restore VM 13{.thumbnail}

Click Finish{.action}.

Restore VM 14{.thumbnail}

A preview of the status of the restoration is launched, it takes some time depending on the size of the virtual machine.

Restore VM 15{.thumbnail}

Go further

VEEAM documentation on installing VEEAM Backup for Nutanix AHV

OVHcloud storage solutions

If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.

Join our community of users on https://community.ovh.com/en/.