[SURVEY] The results are in from our cyber trends survey! Find out what IT leaders are concerned about most.

Copied!
Author:  Mike Mosley

Date: 

July 14, 2017

DRaaS with Veeam – Creating a Replica Job

CloudIn this article, we will walk through the process of creating a Veeam Replication Job to the 11:11 VCC cloud. There are several options when creating a job, and this guide should help you understand these settings a bit more. This is an overall guide for a typical job; however, you may change the settings to fit your own DR strategy needs.

Now that you have an idea of how you would like to group your VMs and have a retention policy in mind, you are ready to begin creating your replica jobs. Use the guide below to get started:

  1. In your Veeam console, click the “Backup and Replication” tab on the left side, then click the “Replication Job” button near the top of the window.
  2. Give your replica job a name and description. Below, there are three checkboxes you can select:
    1. Low Connection Bandwidth (enable replica seeding): This option is for seeding an existing replica. Use it if you have replicated a server before but have either moved the VM to a new job or removed the VM from replication for any reason. If this is the first time replicating a server, you will not need this enabled.
    2. Separate Virtual Networks (enable network remapping): On the 11:11 side, you will have failover networks that the replica servers connect to during a failover event. You will have already set the subnet mask and default gateway during the Add Service Provider process. This box allows you to map the source and target networks. For instance, if a VM is on the “VM Network” in your production environment, you will map that network to your Hardware Plan network. The actual mapping is configured later in the job wizard.
    3. Different IP Addressing Scheme (enable re-IP): This option is not available when replicating to a VCC Service Provider. If you check this box, it will automatically be disabled when you select a Cloud Host as the target.
Screenshot_1
The Job name and DR Site settings page for a Veeam replica job
  1. Click “Next” to go to the Virtual Machines window. Click “Add” to select VMs from the datacenter browser, or search for a VM in the bar below. Once you have selected one or more VMs, click the “Add” button.
Screenshot_2
Adding VMs to a Veeam replica job
  1. If you would like to replicate from backup files, click the “Source” button on the right side. In Source Repositories, select the “From backup files (latest VM state available in backups)” radio button, then select the backup repositories where the backup files are located. For more information on replicating from a backup, please visit Veeam’s Help Center.
Screenshot_3
Choosing a backup repository to use as a replica source
  1. Click “OK,” then “Next” to go to the Destination window. In the Host or Cluster section, click “Choose” and then “Cloud Host.”
Screenshot_4
Setting the target host to Cloud Host allows replication to a cloud provider

In the Select Host box, expand the Service Provider and select your hardware plan. Note that the URL name may be different from what is shown in my lab. Once selected, click “OK” and then “Next.”

Screenshot_5
Selecting your Hardware Plan
  1. In the Network window, configure the network mapping from the source networks to the target networks on the 11:11 side. Click the “Add” button to open the Network Mapping box.
Screenshot_6
The Network Mapping screen
  1. Click “Browse” on the Source network and expand your hosts to find the network your production servers connect to. In my case, my production servers are connected to the VM Network. If you do not see the network, check under a host that has production machines running on it. When you have selected the right network, click “OK.”
Screenshot_7
Choosing the source network
  1. Now click “Browse” on the Target network to see the networks available on the target side. If you only have one, simply select it. If you have multiple networks, make sure you select the network that corresponds to the mapping you set in the Manage Default Gateway section in our last post. For instance, if your production network uses 192.168.10.1/24 and you set your HW Plan Network 1 to use 192.168.10.1/24, make sure you select that network. Click “OK” when finished.
Screenshot_8
Choosing the failover network from your hardware plan
  1. In this scenario, the VM Network in my production environment now maps to the failover network in my Hardware Plan. This mapping applies to all VMs in the job. If you have multiple networks, repeat the process for the rest of them. Click “Next” when all networks are mapped.
Screenshot_9
A mapped network for a Veeam replication job
  1. The “Job Settings” page has a few options to go over:
    1. Repository for replica metadata: This is where Veeam stores the metadata for the VMs being replicated. The metadata folders are generally small (less than 1 GB) and can be stored on the same repository you back up to.
    2. Replica name suffix: By default, this is set to “_replica.” When Veeam creates the replica server on the 11:11 side, it adds this suffix to the VM name in VMware. So, if your server is called FS1 in your vCenter, it will be created as FS1_replica at 11:11. This only applies to the VM label in vCenter, not the actual BIOS or DNS hostname.
    3. Restore points to keep: This sets the number of snapshots kept for a server. Keep in mind that this counts restore points, not days. If you keep seven restore points but run your job every 12 hours, you will only have about 3.5 days of retention.
Screenshot_10
The Job Settings page, including replica suffix and restore point settings
  1. Advanced Settings: Click the “Advanced” button to open the job’s advanced settings. 11:11 recommends changing the Storage Optimization setting to “WAN Target” under the “Traffic” tab. This optimizes compression and deduplication for the best performance when replicating to an offsite target. The LAN and Local target settings are generally used for local replication over Fibre Channel or other Layer 2 connectivity. You can leave the rest of the settings at their defaults.
Screenshot_11
The Advanced Settings in a Veeam replica job
  1. When the job settings are configured, click “Next” to go to the Data Transfer page. If you do not have any extra proxy servers for Veeam replication, click “Next.” If you have built proxies for replication, click the “Choose” button to use all or only specific proxies for this job, then click “Next” to go to the Guest Processing page.
  2. You may want to enable application-aware processing for certain servers or for a whole job. This helps create application-consistent replicas of Exchange, SQL, Active Directory, or other database servers. If you enable this feature, you will need to provide guest OS administrator-level credentials. For more information on application-aware processing, please visit Veeam’s Help Center.
Screenshot_12
The Scheduling settings for a Veeam replica job
  1. The last step is to set the job’s schedule. Check the “Run the job automatically” box to create a scheduled task for the replica job.
    1. Scheduling: You can run the job daily or on specific days, monthly on a particular day, or periodically. You can also schedule the job to run after another job completes.
      1. This is useful if you are replicating from backup files. For instance, say FS1 is backed up in Backup Job 1, and you want to replicate FS1 in Replica Job 1 using those backup files. You can set Replica Job 1 to start after Backup Job 1 completes, so replication only happens after the backup finishes.
    2. Automatic Retries: By default, Veeam retries a failed job up to three times, waiting 10 minutes between attempts. You can adjust both the number of retries and the delay.
    3. Termination Window: Click the “Window” button to configure blocks of time when a replica job is or is not allowed to run. By default, the job can run at any time. In my example, I disabled replication during production hours, 8:00 a.m. to 5:00 p.m., Monday through Friday. If a job runs long for any reason, Veeam will automatically stop replication at 8:00 a.m. This keeps replication from running during production hours and affecting performance or bandwidth for your end users.
Screenshot_13
Setting a Termination Window for a replica job
  1. At this point, you can finish the job wizard and choose to run the job immediately or wait for the next scheduled start time. Keep in mind that the initial replication will take considerably longer than later incremental runs, so leave extra time for the first jobs to finish, and consider staggering the first run of each job.

Now that our jobs are created, we will want to monitor them and make sure we are getting restore points for our replicas in case disaster strikes. In my next post, we will go over Veeam Network Appliances and walk through creating a Failover Plan.

Author: 

Mike Mosley

Mike Mosley is a cloud engineer at 11:11 and has worked at the company for over 3 years. He holds a number of VMware certifications including VCP5 as well as the Veeam VMCE certification. Mike works closely with customers to build cloud solutions that fit their requirements.

RECOMMENDED CONTENT

Cloud over a digital background

Reduce IT Complexity

The Great Infrastructure Reset Executive Guide

Disaster Recovery as a Service (DRaaS)

11:11 DRaaS for Zerto: Resilient recovery made simple