{"id":19528,"date":"2017-02-20T09:00:18","date_gmt":"2017-02-20T08:00:18","guid":{"rendered":"http:\/\/nolabnoparty.com\/?p=19528\/"},"modified":"2020-03-15T18:02:34","modified_gmt":"2020-03-15T17:02:34","slug":"nakivo-backup-replication-configure-vmware-replication","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/nakivo-backup-replication-configure-vmware-replication\/","title":{"rendered":"Nakivo Backup &#038; Replication: configure VMware Replication"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-19532 size-full\" title=\"nakivoreplication01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/12\/nakivoreplication01.jpg\" alt=\"nakivoreplication01\" width=\"602\" height=\"202\" \/><\/p>\n<p>VMware replication feature allows to create an identical <strong>copy of a source VM<\/strong> on a target ESXi host in a powered off state ready to be powered on in case of a disaster.<\/p>\n<p>Because of its powered off state, the copy of the VM (replica) doesn't consume any resource and it is available\u00a0in VMware vSphere. Up to <strong>30 recovery points<\/strong> can be created for a VM replica and they are available as a <strong>regular VM snapshot<\/strong> allowing the administrators to return back to desired good state even without using Nakivo Backup &amp; Replication.<!--more--><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19533 size-large\" title=\"nakivoreplication02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2016\/12\/nakivoreplication02-600x99.jpg\" alt=\"nakivoreplication02\" width=\"600\" height=\"99\" \/><\/p>\n<p>With replication you can protect the <strong>most critical systems<\/strong> storing the copies of the VMs <strong>locally or offsite<\/strong>. If the source VM fails you can immediately failover from the source VM to the VM replica reducing dramatically the <strong>recovery time<\/strong>.<\/p>\n<p>Compared to the classic restore from backups, replication allows to minimize the <strong>length of downtime<\/strong> causing only a minimal interruption of the network\u00a0services.<\/p>\n<p>Based on VM snapshots technology, the first replica is an <strong>identical copy<\/strong> of the source VM and supports\u00a0sparse, thin, thick, and flat VM disk types. Using the\u00a0<strong>VMware CBT technology<\/strong>, the next replication job is\u00a0forever incremental since it merges only <strong>changed data blocks<\/strong>\u00a0of the source VM since the last checkpoint creating a new recovery point. This process allows to increase dramatically the <strong>replication speed<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<h2>Configure a Replication job<\/h2>\n<p>From the Nakivo <strong>Dashboard<\/strong>, click <strong>Create<\/strong> menu and select <strong>VMware vSphere replication job<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19536 size-large\" title=\"nakivoreplication03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication03-600x459.jpg\" alt=\"nakivoreplication03\" width=\"600\" height=\"459\" \/><\/p>\n<p>Select the VM to replicate and click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19537 size-large\" title=\"nakivoreplication04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication04-600x358.jpg\" alt=\"nakivoreplication04\" width=\"600\" height=\"358\" \/><\/p>\n<p>Specify the <strong>Container<\/strong>, <strong>Datastore<\/strong> and <strong>Network<\/strong> for the replica. Click <strong>Next<\/strong> to continue.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19538 size-large\" title=\"nakivoreplication05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication05-600x216.jpg\" alt=\"nakivoreplication05\" width=\"600\" height=\"216\" \/><\/p>\n<p>Set the schedule for the replication then click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19539 size-large\" title=\"nakivoreplication06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication06-600x285.jpg\" alt=\"nakivoreplication06\" width=\"600\" height=\"285\" \/><\/p>\n<p>Replication can be set to <strong>run every minute<\/strong> to obtain a\u00a0near real time replication.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19540 size-full\" title=\"nakivoreplication07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication07.jpg\" alt=\"nakivoreplication07\" width=\"580\" height=\"163\" \/><\/p>\n<p>Set the <strong>Job name<\/strong>, the retention and the requested parameters. Click <strong>Finish<\/strong> to save the job configuration.\u00a0Using the <strong>App-aware mode<\/strong>\u00a0option as <strong>Enabled<\/strong>, the product ensures that the data in applications and databases is <strong>always consistent<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19541 size-large\" title=\"nakivoreplication08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication08-600x510.jpg\" alt=\"nakivoreplication08\" width=\"600\" height=\"510\" \/><\/p>\n<p>A nice option is <strong>Replica disks<\/strong>\u00a0that allows you to create <strong>thin disks<\/strong> on target VMs to save space.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19542 size-full\" title=\"nakivoreplication09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication09.jpg\" alt=\"nakivoreplication09\" width=\"538\" height=\"280\" \/><\/p>\n<p><strong>Screenshot verification<\/strong> allows to verify the replica integrity to guarantee a successful VM recovery.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19543 size-large\" title=\"nakivoreplication10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication10-600x248.jpg\" alt=\"nakivoreplication10\" width=\"600\" height=\"248\" \/><\/p>\n<p>From the <strong>Dashboard<\/strong>, right click the Replication job just created and select <strong>Run Job<\/strong> to execute the job immediately.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19544 size-full\" title=\"nakivoreplication11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication11.jpg\" alt=\"nakivoreplication11\" width=\"568\" height=\"571\" \/><\/p>\n<p>Click <strong>Run<\/strong> to proceed.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19545 size-large\" title=\"nakivoreplication12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication12-600x329.jpg\" alt=\"nakivoreplication12\" width=\"600\" height=\"329\" \/><\/p>\n<p>The replication is executed.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19546 size-large\" title=\"nakivoreplication13\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication13-600x394.jpg\" alt=\"nakivoreplication13\" width=\"600\" height=\"394\" \/><\/p>\n<p>When the job completes successfully, in the right pane you have all the job related info.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19547 size-large\" title=\"nakivoreplication14\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication14-600x394.jpg\" alt=\"nakivoreplication14\" width=\"600\" height=\"394\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Perform Failover<\/h2>\n<p>When the VM at the primary site fails, you can <strong>move the workload<\/strong> (failover) from production site to a DR site to quickly restore network services.\u00a0The recovered VM from replica will contain all changes since <strong>last replication<\/strong>.<\/p>\n<p>From the Dashboard, click <strong>Recover<\/strong> menu and select <strong>VMs from replica<\/strong> option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19548 size-full\" title=\"nakivoreplication15\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication15.jpg\" alt=\"nakivoreplication15\" width=\"574\" height=\"376\" \/><\/p>\n<p>Select the replica to recover and the desired <strong>recovery point<\/strong>. Click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19549 size-large\" title=\"nakivoreplication16\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication16-600x355.jpg\" alt=\"nakivoreplication16\" width=\"600\" height=\"355\" \/><\/p>\n<p>Specify the <strong>Network<\/strong> to be used and click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19550 size-large\" title=\"nakivoreplication17\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication17-600x192.jpg\" alt=\"nakivoreplication17\" width=\"600\" height=\"192\" \/><\/p>\n<p>Enter the <strong>Job name<\/strong> and click <strong>Finish<\/strong> to save the configuration.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19551 size-large\" title=\"nakivoreplication18\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication18-600x298.jpg\" alt=\"nakivoreplication18\" width=\"600\" height=\"298\" \/><\/p>\n<p>Right click the just create job and select <strong>Run Job<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19552 size-large\" title=\"nakivoreplication19\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication19-600x573.jpg\" alt=\"nakivoreplication19\" width=\"600\" height=\"573\" \/><\/p>\n<p>Click <strong>Run Recovery<\/strong>\u00a0to power on the replica.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19553 size-large\" title=\"nakivoreplication20\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication20-600x343.jpg\" alt=\"nakivoreplication20\" width=\"600\" height=\"343\" \/><\/p>\n<p>The Recovery job is executed.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19555 size-large\" title=\"nakivoreplication21\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication21-600x347.jpg\" alt=\"nakivoreplication21\" width=\"600\" height=\"347\" \/><\/p>\n<p>When the job completes, in the right pane are displayed all the <strong>Job Info<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19556 size-large\" title=\"nakivoreplication22\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication22-600x353.jpg\" alt=\"nakivoreplication22\" width=\"600\" height=\"353\" \/><\/p>\n<p>From the <strong>vSphere Web Client<\/strong> you can verify the running replica.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19557 size-full\" title=\"nakivoreplication23\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication23.jpg\" alt=\"nakivoreplication23\" width=\"467\" height=\"504\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Perform\u00a0Failback<\/h2>\n<p>When the failed VM at the primary site is restored, you perform the <strong>failback process<\/strong> to return workloads to the primary site.<\/p>\n<p>When you failback to production, two scenarios have to be considered:<\/p>\n<ul>\n<li><strong>Discard changes<\/strong> -\u00a0changes in the recovered VM can be discarded<\/li>\n<li><strong>Commit changes<\/strong> - changes occurred in the recovered VM from replica have to be committed and moved to production<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>Discard changes<\/h4>\n<p>To <strong>discard\u00a0changed data<\/strong>,\u00a0from vSphere Web Client right click the recovered VM and select <strong>Power&gt; Shut Down Guest OS<\/strong> option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19586 size-large\" title=\"nakivoreplication24\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication24-600x526.jpg\" alt=\"nakivoreplication24\" width=\"600\" height=\"526\" \/><\/p>\n<p>From Nakivo Dashboard, right click the previously created\u00a0<strong>Recovery job<\/strong> and select <strong>Delete<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19587 size-full\" title=\"nakivoreplication25\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication25.jpg\" alt=\"nakivoreplication25\" width=\"580\" height=\"571\" \/><\/p>\n<p>Select the option\u00a0<strong>Delete job and recovered VMs<\/strong> then click <strong>Delete<\/strong>\u00a0to confirm.\u00a0All changes occurred in the VM are discarded.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19592 size-full\" title=\"nakivoreplication26\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication26.jpg\" alt=\"nakivoreplication26\" width=\"521\" height=\"427\" \/><\/p>\n<p>Power on the source VM in the primary site to <strong>restore the service<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<h4>Commit changes<\/h4>\n<p>If you need to <strong>move all changes<\/strong> back to the production VM, you can replicate the recovered VM to production. From Nakivo Dashboard, right click the previously created\u00a0<strong>Recovery job<\/strong> and select <strong>Delete<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19593 size-full\" title=\"nakivoreplication27\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication27.jpg\" alt=\"nakivoreplication27\" width=\"580\" height=\"571\" \/><\/p>\n<p>Select the option\u00a0<strong>Delete job and keep recovered VMs<\/strong> then click <strong>Delete<\/strong>\u00a0to confirm.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19594 size-full\" title=\"nakivoreplication28\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication28.jpg\" alt=\"nakivoreplication28\" width=\"573\" height=\"432\" \/><\/p>\n<p>Create a <strong>new replication job<\/strong>\u00a0for the VM that you want to permanently recover and\u00a0use the <strong>Use existing VM as a target<\/strong> option on STEP 2. This will transfer all changes to the VM in production.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19595 size-large\" title=\"nakivoreplication29\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication29-600x327.jpg\" alt=\"nakivoreplication29\" width=\"600\" height=\"327\" \/><\/p>\n<p>To ensure <strong>zero data loss<\/strong>, power off the recovered VM in VMware vSphere client and run the VM replication job one\u00a0again.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19596 size-large\" title=\"nakivoreplication30\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication30-600x533.jpg\" alt=\"nakivoreplication30\" width=\"600\" height=\"533\" \/><\/p>\n<p><strong>Power on<\/strong> the VM created by the replication job.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19597 size-large\" title=\"nakivoreplication31\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2017\/01\/nakivoreplication31-600x364.jpg\" alt=\"nakivoreplication31\" width=\"600\" height=\"364\" \/><\/p>\n<p>The VM in the primary site is now up and running with all changes occurred during the failover time.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VMware replication feature allows to create an identical copy of a source VM on a target ESXi host in a powered off state ready to be powered on in case of a disaster. Because of its powered off state, the copy of the VM (replica) doesn't consume any resource and it is available\u00a0in VMware vSphere. Up to 30 recovery points can be created for a VM replica and they are available as a regular VM snapshot allowing the administrators to return back to desired good state even without using Nakivo Backup &amp; Replication.<\/p>\n","protected":false},"author":3,"featured_media":19532,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[903,2138,1697],"tags":[579,1695,582],"class_list":["post-19528","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware-en","category-backup-en","category-nakivo-en","tag-backup-en","tag-nakivo","tag-replication-en","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/19528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=19528"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/19528\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/19532"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=19528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=19528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=19528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}