vSphere Replication for Disaster Recovery to Cloud vSphere Replication 5.8 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
vSphere Replication for Disaster Recovery to Cloud You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com Copyright © 2014, 2015 VMware, Inc. All rights reserved. Copyright and trademark information. VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com 2 VMware, Inc.
Contents About vSphere Replication for Disaster Recovery to Cloud Documentation 5 Updated Information 7 1 About Disaster Recovery to Cloud 9 2 Disaster Recovery to Cloud System Requirements and Compatibility 11 Roles and Permissions that Disaster Recovery to Cloud Requires 11 3 Installing and Configuring vSphere Replication to Cloud 13 Installing vSphere Replication for Disaster Recovery to Cloud 13 Upgrading from Earlier Product Versions 14 How vSphere Replication Connects to Cloud 14 Configuring the
vSphere Replication for Disaster Recovery to Cloud 4 VMware, Inc.
About vSphere Replication for Disaster Recovery to Cloud Documentation The Disaster Recovery to Cloud Documentation supplements the vSphere Replication Administration document to provide information about configuring your instance of vSphere Replication to allow replications to and from cloud.
vSphere Replication for Disaster Recovery to Cloud 6 VMware, Inc.
Updated Information This vSphere Replication for Disaster Recovery document is updated with each release of the product or when necessary. This table provides the update history of the vSphere Replication for Disaster Recovery document. Revision Description 001502-01 Updated topic Chapter 1, “About Disaster Recovery to Cloud,” on page 9 to clarify that vSphere Replication for Disaster Recovery works with vCloud Air. 001502-00 Initial release. VMware, Inc.
vSphere Replication for Disaster Recovery to Cloud 8 VMware, Inc.
About Disaster Recovery to Cloud 1 ® You can subscribe to the VMware vCloud Air™ Disaster Recovery service to protect your vSphere workloads. vCloud Air Disaster Recovery lets administrators of small sites to protect their vSphere virtual workloads from a wide class of disasters by replicating those workloads into the cloud.
vSphere Replication for Disaster Recovery to Cloud 10 VMware, Inc.
Disaster Recovery to Cloud System Requirements and Compatibility 2 To enable replications to the cloud, your environment must meet certain requirements in terms of additional configuration and specific versions of the VMware products that you use. System Requirements Disaster Recovery to Cloud has the same requirements to the environment as vSphere Replication. In addition, Disaster Recovery to Cloud requires that ports 10000 to 10010 of ESXi hosts are open for outgoing traffic .
vSphere Replication for Disaster Recovery to Cloud vCloud User Credentials When you create a connection to the target virtual data center, you provide two pairs of credentials. Connection Credentials Used to authenticate within the cloud organization, these credentials initiate a user session with your cloud provider. The privileges for your user account are managed by your cloud provider. n com.vmware.hcs.{com.vmware.hcs}:ManageRight n com.vmware.hcs.{com.vmware.hcs}:ViewRight n Organization.
Installing and Configuring vSphere Replication to Cloud 3 Before you configure replications to the cloud, you must deploy the vSphere Replication appliance on the source site and set up your environment to enable connections to the cloud.
vSphere Replication for Disaster Recovery to Cloud Upgrading from Earlier Product Versions You can upgrade vSphere Replication 5.5.x and 5.6 to vSphere Replication 5.8. To upgrade a previously installed version of vSphere Replication to vSphere Replication for Disaster Recovery to Cloud, you must mount the vSphere Replication ISO file in your environment and apply the update through the virtual appliance administration interface (VAMI) on port 5480.
Chapter 3 Installing and Configuring vSphere Replication to Cloud 2 Create a custom firewall rule on each ESXi server that hosts replication source machines. See Creating custom firewall rules in VMware ESXi 5.0 (KB 2008226). 3 Enable the custom firewall rule that you created on each ESXi host. See Allow or Deny Access to an ESXi Service or Management Agent with the vSphere Web Client. What to do next Configure the vCloud Tunneling Agent to use the ports that you configured on ESXi hosts.
vSphere Replication for Disaster Recovery to Cloud Configuring the Connection to the Cloud In addition to installing and configuring the vSphere Replication appliance, you must configure the connection to your cloud provider. You can configure a connection to the cloud provider before you start the Configure Replication wizard or while you configure a replication task.
Chapter 3 Installing and Configuring vSphere Replication to Cloud Select Recovery Networks on the Target Virtual Data Center To finalize the configuration of a connection to the target site, you must specify the networks that the Disaster Recovery to Cloud service should use for tests and recovery operations. When you add a new connection to the cloud, at first it appears in Missing network settings status.
vSphere Replication for Disaster Recovery to Cloud Table 3‑2. Connection States Icon 18 Status Description Remediation Connected The connection between the source site and the target site is working properly. Not needed. Not authenticated The remote site is online, but your user session to the cloud has expired. In this state, you need to provide credentials to manage replication tasks. Already configured replications are running in the background.
Chapter 3 Installing and Configuring vSphere Replication to Cloud Table 3‑2. Connection States (Continued) Icon Status Description Remediation Missing network settings You have not selected the networks to use for recovery and test recovery operations on the target site. In this state, when you start the configure replication wizard, you are prompted to configure the networks on the target site first. Configure the network settings .
vSphere Replication for Disaster Recovery to Cloud The connection state changes to Connected. Configure NTP Synchronisation in Your Environment To ensure that logs on the source site are easily correlated with the logs on the cloud site, you must synchronize the time on the vSphere Replication appliance in your environment with an NTP server. By default, the vSphere Replication appliance is synchronized with the ESXi host on which it resides.
Replicating Virtual Machines to Cloud 4 You can configure replications from vSphere environments to cloud for a single virtual machine or for multiple virtual machines. To replicate virtual machines to cloud, you must deploy the vSphere Replication 5.6 appliance at the source site, and your cloud provider must enable replications to the cloud in your cloud organization. The source and target sites must be connected so that you can configure replications.
vSphere Replication for Disaster Recovery to Cloud Prerequisites n Verify that the vSphere Replication appliance is deployed in your environment. n Verify that the Disaster Recovery to Cloud service is enabled in your environment and in the target cloud organization. n Configure a connection to the cloud organization to which you want to replicate data. See “Connect to a Cloud Provider Site,” on page 16.
Chapter 4 Replicating Virtual Machines to Cloud A virtual machine configuration task appears in the Recent Tasks list in the upper right of the vSphere Web Client. A progress bar indicates that the source virtual machine is being configured for replication. If the configuration completes successfully, the replication task that you created appears in the list of outgoing replications on the vSphere Replication tab under Monitor.
vSphere Replication for Disaster Recovery to Cloud 4 Right-click the virtual machines and select All vSphere Replication Actions > Configure Replication. The Configure Replication wizard opens and Disaster Recovery to Cloud validates the virtual machines that can be configured for replication. 5 Verify the validation results and click Next. 6 Select Replicate to a cloud provider and click Next. 7 Select the target site to which you want to replicate the virtual machine.
Chapter 4 Replicating Virtual Machines to Cloud What to do next On the vSphere Replication tab under Monitor, you can check the status of each replication. See “States of Replication Tasks,” on page 29. You can click a replication task in the list and use the tabs in the bottom of the vSphere Web Client to view details about the replication, the recovery status, and the latest performed test, if test results are not cleaned up yet.
vSphere Replication for Disaster Recovery to Cloud 26 VMware, Inc.
Reconfiguring Replications to the Cloud 5 You can reconfigure cloud replication tasks to change the quiescing method for the guest operating system, the RPO, and other parameters of the replication. Reconfigure a Replication to Cloud You reconfigure a replication to change the RPO settings, the number of replication instances to keep, or the quiescing method that is applied when synchronizing the replication source virtual machine to your cloud organization.
vSphere Replication for Disaster Recovery to Cloud 28 VMware, Inc.
6 Monitoring and Managing Replication Tasks Outgoing replications are listed on the vSphere Replication tab under Monitor. You can monitor the state of replications to the cloud, control their running state, or stop them if you no longer need them.
vSphere Replication for Disaster Recovery to Cloud Table 6‑1. Replication States (Continued) Status Description Possible Cause Error The replication is not running at the moment. n n Status (RPO violation) For replication status OK, Sync, or Full Sync, the replication is running, but the RPO that is set for the replication is not met and is violated. For replication status Not Active or Error, the replication is not running, and the RPO that is set for the replication is violated.
Chapter 6 Monitoring and Managing Replication Tasks If the target site is offline, you can force stop the replication task from the source site. When you force stop a replication, you remove the replication task only from the source site. The data on the target site remains intact. When the target site becomes available, you must delete the replication artifacts from the target site manually or contact your cloud provider.
vSphere Replication for Disaster Recovery to Cloud 32 VMware, Inc.
Recovering Virtual Machines to Cloud 7 You can check if virtual machines are properly replicated in the cloud, and migrate replicated virtual machines to your cloud organization. This chapter includes the following topics: n “Test Recovery to Cloud,” on page 33 n “Planned Migration to Cloud,” on page 34 Test Recovery to Cloud Test recoveries allow you to verify that source data is replicated correctly on the target site.
vSphere Replication for Disaster Recovery to Cloud n Verify that the status of the replication task allows running test recoveries. Note By default, the Test Status column is not visible in the list of outgoing replications. To display the column, right-click the table header, select Show/Hide Columns, select the Test Status check box, and click OK. n If you have run test recoveries for the replication that you want to test, verify that you cleaned up the test results.
Chapter 7 Recovering Virtual Machines to Cloud Migrate a Virtual Machine to Cloud You can run a planned migration to move your workload from the vCenter Server to your cloud organization. You might want to migrate replicated virtual machines to cloud if you plan maintenance on the source site. Prerequisites n Verify that the source site and the target site are online. n Verify that you have enough privileges to initiate migrations to cloud.
vSphere Replication for Disaster Recovery to Cloud 36 VMware, Inc.
Troubleshooting vSphere Replication for Disaster Recovery to Cloud 8 Known troubleshooting information can help you diagnose and correct problems that occur while using vSphere Replication for Disaster Recovery to Cloud. vSphere Replication UI is Missing After a vCenter Server Upgrade After you upgrade the vCenter Server that contains the vSphere Replication 5.6 virtual appliance, the vSphere Replication user interface is no longer visible in the vSphere Web Client.
vSphere Replication for Disaster Recovery to Cloud 38 VMware, Inc.
Index A I about disaster recovery 9 installation 13 intended audience 5 B batch replications 23 C changing the RPO 27 changing the quiescing method 27 cloud pairing 16 cloud permissions 11 cloud replications multiple VMs 23 single VM 21 troubleshooting 37 cloud connections 16 compatibility 11 configuring connections 16 connection issue 17 connection status connection issue 17 missing network settings 17 not authenticated 17 connections, configuring 16 credentials 11 D default ports 14 definition of t
vSphere Replication for Disaster Recovery to Cloud recovery point objective 21 recovery to the cloud 33 replication seeds 21, 25 replication status 29 replications management 29 monitoring 29 pausing 30 resuming 30 stopping 30 replications to cloud 21 requirements 11 resume replications 30 RPO 21, 27 S secure tunnel 14 security note 14 seed vApp 25 snapshots 21 sneakernet 21, 25 status, replications 29 synchronize recent 33 system requirements 11 T test failover 33 test cleanup 34 test migration 33 test