Configuring Veeam Backup and Replication 9.5 Enterprise Setup

I have previously done a post on setting up Veeam Backup and Replication 9.5 Community edition but I wanted to write what was involved in doing a fully fledged enterprise configuration in accordance with Veeam best practices.  Below I walk through all the necessary steps to get Veeam up and running and also explain any other configuration necessary for equipment and applications involved.

Backup Infrastructure

G Datacenter

Veeam Server VM specs:

Name CPU Memory Hard Disk NIC 1Gb NIC 10Gb
veeamd202 16 Cores 64GB 60GB x3 x2

Physical Backup Storage:

Name CPU Memory NIC 1Gb NIC 10Gb
gqnap01 Intel® Xeon® D-1531 6-core 2.2 GHz 32GB x4 x2

W Datacenter

Veeam Server VM specs:

Name CPU Memory Hard Disk NIC 1Gb NIC 10Gb
veeamd101 16 Cores 64GB 60GB x3 x2

Physical Backup Storage:

Name CPU Memory NIC 1Gb NIC 10Gb
sqnap01 Intel® Xeon® D-1531 6-core 2.2 GHz 32GB x4 x2

Licences:

Name Qty
Veeam Availability Suite Enterprise Plus 20 Sockets

Network Configuration

Overview

As this is an enterprise setup there are two datacenters involved.  The diagram below explains what I had initially designed with the help of some Veeam engineers.  Please see here if you use QNAP backup storage and need to setup multipath MPIO access to the backup device.

When a backup is initiated the process is as follows:
1. User initiates backup using Veeam
2. Veeam contacts vCenter over the 1Gb link to create a VM snapshot. This snapshot is not used it is to prepare the machine for backup using storage snapshots
3. Veeam contacts the NetApp FAS SAN over the 1Gb link to create a storage snapshot.
4. Veeam enumerates all of the VMs in the backup job and proceeds to back them up. Data flows from NetApp FAS – Veeam Backup Server – QNAP NAS which is 10Gb end to end.
5. Backup is complete so storage snapshots and VMware snapshots are deleted
6. Backup data is replicated over to the opposing datacenter.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup

vCenter configuration

Each host in the cluster has a 10Gb adapter for storage traffic

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-3

It also has x2 1Gb adapters for all other traffic

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-4

Multipath access to SAN and QNAP for Veeam

Each host already has multipath access to the NetApp SAN.  Hosts are connected to the SANs using Cisco Nexus 10Gb switches.  For the purpose of the Veeam backups I created a new vSwitch on each host

Each physical HPE ProLiant DL360 G10 host has a x4 port 10Gb NIC.

In VMware these are shown as vmnic4, vmnic5, vmnic6, vmnic7.

vmnic6 and vmnic7 are reserved for the connection to the QNAP backup storage. vmnic4 and vmnic 5 area already in use for multipath access to the SAN.

Path A

The Cisco Nexus switch port that the ESXi host port 6 is connected to is allowed access to the below VLANs.  This is configured on physical switch 1.

20           iSCSI A storage network (NetApp SAN path 1)
22           Storage vmotion
50           QNAP storage traffic

The new Veeam vSwitch is configured with the below port groups.  Only NIC 6 is active on this port group all others are disabled.

Veeam_Backup VLAN50
ISCSI A_Veeam VLAN20
ISCSI vmotion VLAN22

The QNAP NAS has a 10Gb NIC with ports 1 and 2.

The Cisco Nexus switch port that QNAP port 1 connects to is allowed access to the following VLANS:

50           QNAP storage traffic

Path B

The Cisco Nexus switch port that the ESXi host port 7 is connected to is allowed access to the below VLANs.  This is configured on physical switch 2.

21           iSCSI B storage network (NetApp SAN path 2)
22           Storage vmotion
60           QNAP storage traffic

The new Veeam vSwitch is configured with the below port groups.  Only NIC 7 is active on this port group all others are disabled.

Veeam_Backup VLAN60
ISCSI B_Veeam VLAN21
ISCSI vmotion VLAN22

The Cisco Nexus switch port that QNAP port 2 connects to is allowed access to the following VLANS:

60           QNAP storage traffic

 

QNAP

The QNAP NAS has x1 inbuilt 1Gb adapter and 1x 10Gb adapter.

Ethernet 1 is configured as the management interface and as such sits on the management VLAN/Subnet.

Ethernet 7-8 appear as the 10Gb ethernet NICs.  In this case each is configured with its own IP and the MTU is set to 9000.

Ethernet 7 is set to VLAN 50

Ethernet 8 is set to VLAN 60

The default gateway should use the settings from Ethernet 1.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-11

Configure the DNS server settings:

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-12

QNAP Backup Storage

The model used in both datacenters is a QNAP TES-3085U.  They are filled with x24 Seagate ST5000LM000-2AN170 disks.

 

The QNAP NAS in G datacenter has x2 Storage Pools configured as below.  The Storage Pool used for Veeam Backup and Replication is the VeeamBackupRepo pool which is 76.40TB in size.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-18

If you need to create a new Storage Pool go to the Storage Manager>Click Storage Space and click Create and click New Storage Pool as below.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-20

You then need to select how many disks you want to assign and choose a RAID level

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-21

We are using RAID6 and 5TB disks in the demonstration

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-22

Remove the reserved snapshot space and then click Create when ready

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-23

Once the storage space is created you need to create an iSCSI Target with a mapped LUN.  Below you can see the current one.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-24

To create a new one open the Storage Manager and click iSCSI Storage.  Then click Create and select iSCSI Target with a mapped LUN and click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-25

Give the target a name and Alias then click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-26

Don’t enable CHAP authentication

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-27

Select the Portal Setting to be the interfaces on the storage network.  You will need a separate mapped iSCSI LUN for each of the NICs ethernet 7 and ethernet 8.

Enable host access for the Veeam VM (click create host to add a new host)

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-29

Give the LUN a name then enable Instant Allocation, choose a storage group (LUN Location), choose a size, change performance profiling to customised 64k and disable compression.  Then click Next and Next again.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-30

The LUN is now ready to be accessed from the hosts.

The Volumes/LUNS are configured as below.

G datacenter
Storage Pool Name Capacity RAID
VeeamBackupRepo 76.40TB 6
iSCSI LUN Name Capacity
VeeamBackupRepo_0 74TB
W datacenter
Storage Pool Name Capacity 6
VeeamBackupRepo 91.17TB 6
iSCSI LUN Name Capacity
VeeamBackupRepo_0 88.3TB

 

The QNAP LUNs are connected to the Veeam Backup & Replication servers using the Microsoft iSCSI initiator.  To connect a LUN open the iSCSI initiator by clicking Start>Run and type iscsicpl.exe

Type in the IP address of the QNAP portal (as configured earlier) in the Target box then click Quick Connect.  Select the Discovered Target and then click Connect.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-31

You should then see you connected targets

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-32

Once this is done you can open Windows disk management (Start>Run diskmgmt.msc) and configure the disk.  For Veeam we need to configure the disk with 64k block size and format with ReFS

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-33

Veeam Backup Strategy

Goals

The main goals for the implementation of the Veeam backup were:

1.  Fast 10Gb backups and restores
2. Backup all VMs in important VM folders within VMWare
3. Keep as much data on disk to be restored at 10Gb as possible
4. Keep 1 year of archived data on disk
5. Replicate the entire datacenter backup to the opposing datacenter (for use in the case of a complete datacenter loss)

The main aims for the backup strategy were to have:

1. A weekly full backup of all VMs and the file server
2. A daily incremental backup of all VMs and the file server
3. A job that copies these full backups and their daily increments to the opposing datacenter
4. A monthly job that keeps a full backup as an archive and to retain this on disk for a year
5. Move off any backups older than a year to slower more permanent storage (AWS/Azure)

 

Veeam Backup Repositories

This step assumes that Veeam has been installed and is ready to be configured.

The first stage in configuring Veeam is to create your backup repositories.  Open the Veeam console and click Backup Infrastructure> Backup Repositories.  You should see all your current configured repositories. A backup repository is basically a location that you intend to store your backup data in.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-34

To create a new Backup Repository right click on Backup Repositories and click Add Backup Repository

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-35

We are using an iSCSI disk connected to the QNAP so select Direct attached storage

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-36

Select Microsoft Windows, note that the disk should be formatted with ReFS

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-37

Give the repository a name and click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-38

Choose the repository server you want to use

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-39

Enter the path where the backup files will be stored and leave the maximum concurrent tasks 4.  The path should be 64k block size formatted with ReFS, then click Advanced

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-40

Select Align backup file data blocks and click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-41

Leave the below settings as the defaults and click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-42

Click Next and then Finish

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-43

 

Veeam configuration backups

Veeam backs up the Veeam backup and replication server settings daily.  The backups are stored offsite in the opposing datacenter.  The reason for this is that if we have a site failure and need to recover the VMs we can quickly have a Veeam server up and running ready to restore.

To configure the backup job click the Veeam settings button and then click Configuration Backup

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-44

Configure the backup repository as the repository in the opposing datacenter.  Enable backup file encryption and select the existing password.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-45

 

Protection groups for physical servers

In order to backup a group of physical machines you need to create a protection group.  To do this go to Inventory> Physical & Cloud Infrastructure> Create Protection Group

 

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-46

Give the Protection group a name and click Next

 

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-47

Select the type as Individual Computers then click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-48

 

Click Add then type in the IP address of the physical machine that you want to backup.  Select the Credentials as the Windows admin credentials you setup earlier then click Next

 

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-49

Select a time that Veeam should scan for any additions to the protection group (i.e. you add more physical servers).  Then check Install backup agent automatically and to auto-update the agent.  Hen click Next, Next and Finish.  The agent will then be installed on the physical server.  This will require a reboot of the physical server.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-50

 

Manage Veeam credentials

In order for Veeam to connect to interact with the various systems it backs up and to make sure they are in the correct state for the back some credentials are needed.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-51

I needed to add credentials for the following systems:

  • Local Veeam account
  • vSphere administrator
  • AWS SES (or whatever email system you use)
  • NetApp storage system

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-52

To create a new credential click Add then choose the account type.  You can then fill in the details as necessary.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-53

Veeam API connection to SAN storage

We can create a connection between a SAN and the Veeam server so that Veeam can backup VMs directly from storage snapshots.

To create a new connection click Storage Infrastructure then Add Storage.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-54

Choose your SAN storage system

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-55

We use NetApp Data ONTAP so selected that

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-56

Enter the IP of the SAN and click next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-57

 

Select the SAN credentials and click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-58

Accept the certificate alert

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-59

Specify how the storage can be accessed by Veeam.  We select iSCSI only, then click Next and Finish.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-60

Connect Veeam to VMware vCenter

To connect Veeam with vCenter click Backup Infrastructure> VMware vSphere then right click in the VMware vSphere window and click Add Server.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-61

Enter the IP address of your vCenter server

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-62

Select the credential for vCenter that you entered earlier, then click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-63

Accept the certificate alert by clicking Continue, then click Next and Finish.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-64

Create an encryption password

It is a requirement that all backup files be encrypted.  To do this click the Veeam options menu and click Manage Passwords.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-65

Once you have done this click Add and enter a strong password.  This is now ready to be used in your backup jobs

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-66

Veeam backup jobs

Virtual machines

After you have your backup repositories configured you can create a backup job.  To do this click home and then click Backup.  Then right click in the backup window and click Backup> Virtual machine

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-67

Give the backup job a name and click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-68

Click Add to select what you want to backup.  We keep all of our VMs inside of categorised folders so we just need to select a folder in order to backup all the VMs inside it.

 

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-69

Click Exclusions to add any VMs that you do not want to be backed up within the folder.  Then click Next.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-70

Leave the Backup proxy as the Automatic selection.  Change the Backup repository to one of the repositories that you have created, this will dictate where the backup data is stored.  Choose how many restore points you want to keep then click Advanced.  A restore point is simply a backup job – so if you have one full backup on a Saturday and then incrementals for the rest of the week you will have 7 restore points.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-71

Select the Backup tab then Incremental backups and check Create synthetic full backups periodically – then choose the day that you want the synthetic backups created.  Synthetic backups are full backups that are created using the existing incremental backups.  It basically saves you having to run a separate full backup after a week of incrementals.  You do not need to run full backups and synthetic full backups.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-72

Select the storage tab and select the data reduction options as below.  Select the Compression Level as Extreme and select Enable backup file encryption using the password that you created earlier.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-73

Select the vSphere tab and select the below Changed block tracking options

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-74

 

Select Integration and check Enable backup from storage snapshots.  This enables Veeam to use the API connection to the NetApp SAN to back it up using storage snapshots over the 10Gb network.  Click Ok then Next.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-75

There is usually nothing to select on the application aware settings.  Please check the manual to see if there is a specific need you have which requires these settings to be changed.  Change the Guest OS credentials to the Windows administrator credentials you setup earlier then click Next.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-76

Select a schedule for the job and then click Apply then Finish.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-77

Physical Servers

To backup a physical server go to Home> Backup and right click in the backup window, then select Windows Computer.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-78

Select Server and the Mode as Managed by backup server then click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-79

Give the backup job a name and click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-80

Click Add then select the Physical Servers protection group we created earlier and click Ok.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-81

Select the type of backup that you want to perform, as I am backing up a Windows DFS fileserver I select File level backup.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-82

Click The following file system objects and then click Add.  Add the path to the files you want to backup.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-83

You can also add exclusions to any of these paths by clicking advanced and adding them as below.  Click Ok and then Next.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-84

Select the Backup Repository and how many Restore points you want to keep.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-85

Click Advanced and check create synthetic full backups periodically.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-86

Select to perform a health check on the backup files

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-87

Select the Compression level as Extreme and enable backup file encryption using the saved password.  Click Ok then Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-88

Enable application-aware processing and then click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-89

Create a schedule then click Apply then Finish

 

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-90

Veeam backup copy jobs

Veeam handles replication of backup data using backup copy jobs.  The backup jobs look for new restore points and them copy them to the desired location.  The changes are all block level so the copy jobs will only copy the backup data for a VM if it has changed.

To setup a backup copy job click Home> Backup Copy then select either Virtual machine or Windows computer backup (for physical machines)

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-91

 

Give the copy job a name and set the copy interval.  This is when the job will check for the presence of new restore points and start the copy.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-92

From the Objects section click Add and then select From jobs.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-93

Select the backup job you want to copy and click Ok then click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-94

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-95

Select the backup repository, you may be replicating a job for offsite backup or you may just be keeping archive copies locally.  If the copy job is to serve as an archive select to Keep the following restore points for archival purposes.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-96

Click Advanced and enable Extreme compression and Encryption

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-88

Leave the Data Transfer option as Direct

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-97

Leave the data transfer timings as Any time unless you have any strict time-based bandwidth requirements, then click Apply and Finish.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-98

 

Restoring virtual machines

To restore a virtual machine is quite simple you first select the backup data source.  So go to Home then Backups> Disk> Right click on a virtual machine and choose a restore mode.  Recent jobs (last 14 days will be in the Disk backups and older backup files will be in the Disk (Copy) location.  Generally we are only going to use Restore entire VM and Restore guest files restore modes but I’ll explain each below.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-99

 

Restoring an entire VM

As above right click on the VM you want to restore and click Restore entire VM as below

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-100

Click Point to select the restore point you want to use to restore the VM from.  As in this example we have several copy jobs we have a few options:

  • Select Veeam Short-Term Storage for a recent restore point on local storage
  • Select Veeam Long-Term Storage for an older restore point on local storage
  • Select Short-Term Storage S if you have lost the local storage and need to access a recent restore point from remote storage

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-101

In this example we select Veeam Long-Term Storage and select a restore point from one day ago.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-102

 

Select a restore mode, generally it is best to choose Restore to a new location, or with different settings so that you aren’t touching the original VM.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-103

Either accept the current host the VM is on or change the host to a new one by clicking the Host button

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-104

Leave the VM resource pool as the default and click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-105

Leave the datastore and disk type the same unless you do not have space to restore to the same datastore.  You could then change this using the Datastore button.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-106

Leave the VM folder and Tags the same unless you have a requirement to change it

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-107

You will need to change the VM name at this stage though so click Name and check the Add suffix box to add _restored to the name.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-108

Leave the network setting as the same

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-109

Unless you are suspicious about viruses leave the scan option off

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-110

Then click Next and Finish and the machine will be restored.

Restoring Guest machine files

In this example we will restore guest files from the physical fileserver.  To do this find the backup data you require as described above and right click> Restore guest files> Microsoft Windows

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-111

Choose a restore point and click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-112

Type a reason for the restore and click Next

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-113

Click Finish and the backup browser will open and allow you to choose the files you want to restore

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-114

You should now be able to browse the backup contents for the fileserver.  Find the files/folders you want to restore and then right click and click Restore.  You can choose to put a copy in the original location by clicking keep which will restore the file with a _Restored prefix.  You can also click Copy To and put the file in a new location.  See here for any confirmation on the actions from Veeam.

Configuring Veeam Backup and Replication 9.5 Enterprise Setup-115

 

Leave a Reply

Your email address will not be published. Required fields are marked *