Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery...

16
Upgrade Site Recovery vault to Recovery Service vault guide for VMware Site to Site Replication (ASR Scout)

Transcript of Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery...

Page 1: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

Upgrade Site Recovery vault to Recovery Service vault guide

for VMware Site to Site Replication (ASR Scout)

Page 2: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

Contents

OVERVIEW ............................................................................................................................................................. 3

1. APPLY RX UN-REGISTRATION PATCH ............................................................................................................. 3

2. UNREGISTER CX/RX SERVER FROM THE SITE RECOVERY VAULT/RECOVERY SERVICE VAULT. ........................ 4

2.1. UNREGISTER CX ................................................................................................................................................ 4 2.2. UNREGISTER RX ................................................................................................................................................ 5

3. INSTALL THE HOTFIX ON YOUR CX/RX SERVER .............................................................................................. 6

3.1. WINDOWS CX: ................................................................................................................................................. 6 3.2. LINUX RX ........................................................................................................................................................ 7

4. CREATE A NEW RECOVERY SERVICE VAULT ................................................................................................... 7

5. DOWNLOAD VAULT REGISTRATION KEY ...................................................................................................... 10

6. REGISTER YOUR CX OR RX SERVER .............................................................................................................. 13

6.1. REGISTER CX TO RECOVERY SERVICE VAULT .......................................................................................................... 13 6.2. REGISTER RX TO RECOVERY SERVICE VAULT .......................................................................................................... 15 6.2.1. REVERT THE RX UN-REGISTRATION PATCH........................................................................................................ 16

Page 3: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

Overview This document provides the detailed steps to upgrade your vault to new Recovery Service vault for

VMware Site to Site scenario (ASR Scout). Your existing ASR Scout component either CX or RX is

registered to either a Site Recovery vault (classic Azure portal) or to a Recovery Service vault (new Azure

portal). In both the cases you need to re-register your CX or RX.

If your existing vault is Site Recovery vault, you need to unregister CX or RX from the current vault,

create a new Recovery Service vault in the new Azure portal in your desired Azure region, and register

your CX or RX to the new vault.

If your existing vault is Recovery Service vault, you can use the same vault and re-register CX or RX with

a new registration key. If you want to register to a new vault on a different Azure region then you need

to unregister from the current vault, create a new Recovery Service vault in the new region and register

CX or RX to the new vault.

Below are the details steps that you need to follow in the given order.

1. Apply RX un-registration patch This step is to be performed on RX server. If you have only CX server, directly move to Step 2.

NOTE: If RX is unregistered without applying the RX un-registration patch, all the CX servers which are

registered to RX need to be manually re-registered again once RX registration to new Recovery Service

vault is completed.

To apply RX un-registration path, follow steps as below:

a. First Download the hotfix CX-RX_8.0.1.1_GA_HotFix_1_1529814_14May18.zip. It is a .zip file

contains three files:

• CX_Windows_8.0.1.1_GA_HotFix_1_1529814_27Dec17.exe (CX registration hotfix)

• RX_8.0.1.1_GA_HotFix_1_1529814_28Dec17.tar.gz (RX registration hotfix)

• Rx.php (RX un-registration patch)

b. Unzip to store the files into the local folder.

c. Follow below steps to apply un-registration patch on RX server before you start unregistering RX

server.

i. Login to RX machine. First backup the existing file "/home/rx/admin/app/Rx.php" file as

"/home/rx/admin/app/Rx_org.php" by running following command.

ii. Now copy Rx.php un-registration file that is part of the download hotfix to

/home/rx/admin/app location of RX server and give executable permission to the Rx.php

file.

cp Rx.php /home/rx/admin/app/

chmod 0755 /home/rx/admin/app/Rx.php

mv /home/rx/admin/app/Rx.php /home/rx/admin/app/Rx_org.php

Page 4: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

d. Now you can procced with un-registration of RX server step as below.

NOTE: After RX registration is completed, you need to revert Rx.php (un-registration patch) as

mentioned in Revert RX un-registration patch.

2. Unregister CX/RX server from the Site Recovery vault/Recovery

Service vault. If your CX is registered to Site Recovery or Recovery vault, follow unregister CX steps. If you have RX, follow unregister RX steps. No action required on CX which is registered to RX.

2.1. Unregister CX a. Login to CX UI → Http://<CX IP>:<port> or Https://<CX IP>:<port>. Go to “Settings” tab and click on

“Unregister Server” as below.

b. It redirects to the registration details page. In that page click on “Unregister” button.

c. It will unregister CX from Site Recovery or Recovery Service vault whichever vault you have used.

d. Then proceed to the next step to install the hotfix.

Page 5: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

2.2. Unregister RX a. Login to RX UI → Http://<RX IP>:<port> or Https://<RX IP>:<port>. Go to “Settings” tab and click on

“Azure Site Recovery Unregister RX” as below.

b. It redirects to the registration details page. In that page click on “Unregister” button.

c. It will unregister RX the from Site Recovery or Recovery Service vault whichever vault you have

used.

d. Then proceed to the next step to install the hotfix.

Page 6: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

NOTE: Don’t install the hotfix on CX or RX until you unregister your existing CX/RX from Azure Site

Recovery vault else un-registration will fail.

3. Install the hotfix on your CX/RX server 1. Download the hotfix CX-RX_8.0.1.1_GA_HotFix_1_1529814_25Jan18.zip. It is a .zip file contains

three files:

• CX_Windows_8.0.1.1_GA_HotFix_1_1529814_27Dec17.exe (CX registration hotfix)

• RX_8.0.1.1_GA_HotFix_1_1529814_28Dec17.tar.gz (RX registration hotfix)

• Rx.php (RX un-registration patch)

2. Unzip to store the files into the local folder.

3. Follow below step to Install CX hotfix on CX server to install RX hotfix on RX serve.

NOTE:

1. If you have registered your CX to RX then you don’t need to install the hotfix on the CX. In this

case install the hotfix on RX.

2. You can install the hotfix on any Scout 8.0.1 CX/RX update, not just latest update.

3.1. Windows CX: a. Copy “CX_Windows_8.0.1.1_GA_HotFix_1_1529814_27Dec17.exe” executable file to CX server

which is registered with Site Recovery/Recovery Service vault.

b. Double click on it and click on install button as shown below.

Page 7: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

c. After installation proceed to the next step to create a Recovery Service vault.

3.2. Linux RX a. Copy “RX_8.0.1.1_GA_HotFix_1_1529814_28Dec17.tar.gz” file to RX server and execute the

following commands.

b. After installation proceed to the next step to create a Recovery Service vault.

4. Create a new Recovery Service vault If your existing vault is Site Recovery vault, you need to create a new Recovery Service vault in the

new Azure portal in your desired Azure region as mentioned in the section.

If your existing vault is Recovery Service vault, you can use the same vault. In this case you can skip

this step and go to step 4 Download vault registration key. But if you want to register to a new vault

on a different Azure region then what you have, you need to create a new Recovery Service vault in

the new region as mentioned in this section.

a. Sign in to the new Azure Portal.

b. Click + Create a resource on the right top of the page.

c. Under New, search for Backup and Site Recovery (OMS).

d. Click Create button.

tar -xvzf RX_8.0.1.1_GA_HotFix_1_1529814_28Dec17.tar.gz

./install

Page 8: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

e. In Name, specify a friendly name to identify the vault. If you have more than one subscription,

select one of them.

f. Create a new resource group or select an existing one. Specify an Azure region to complete the required fields.

g. If you want to quickly access the vault from the Dashboard click Pin to dashboard and then click Create.

Page 9: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

h. The new vault will appear on the Dashboard.

i. Now download the vault registration key as mentioned in the next step (Download vault registration key).

Page 10: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

5. Download vault registration key

a. Click on the vault that you have created above. It must be in Dashboard or search the name in the search box. Your Recovery Services vaults blade will be opened.

b. In the vault, In GETTING STARTED click Site Recovery > Step 1: Prepare Infrastructure > Protection goal.

c. In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK.

Page 11: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

d. In Step 2 Capacity planning replication select I will do it later for profiling question and click OK.

Page 12: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

e. In Scout setup install and configure, Click Download to download the vault registration key.

f. Use this vault registration key to register your CX or RX to Recovery Service vault as below.

NOTE:

1. You can use the same registration key to register your multiple CX or RX servers to the same vault.

2. If you have multiple CX or RX servers which are registered to different vault in different Azure region, then download a registration key from each vault and use the respective registration key to register to the corresponding Recovery Service vault.

Page 13: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

6. Register your CX or RX server

6.1. Register CX to Recovery Service vault Follow the below steps to register CX to the Recovery Service vault.

a. Login to CX/RX UI → Http://<CX or RX IP>:<port> or Https://<CX or RX IP>:<port>.

b. Click on Register to an Azure Site Recovery vault

NOTE: Ensure CX server time must be in sync with an internet time else registration will fail.

Page 14: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

c. Click on “Browse” button and select registration key file that was downloaded in above step. Then

click on “Register” button

d. Registration status is shown in the next page. It takes a couple of minutes to complete the

registration.

NOTE: If registration fails, download a new vault registration key one again from the vault and retry the registration.

e. One registration status shows successful registration, click OK. You can now see you CX Dashboard. f. Now, your CX registration is successfully completed.

Page 15: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

6.2. Register RX to Recovery Service vault Follow the below steps to register RX to the Recovery Service vault.

a. Login to RX UI → Http://<RX IP>:<port> or Https://<RX IP>:<port>. b. Click on Register to an Azure Site Recovery vault

NOTE: Ensure RX server time must be in sync with an internet time else registration will fail.

c. Click on “Browse” button and select vault registration key file that was downloaded in above step.

Then click on “Upload” button

Page 16: Upgrade Site Recovery vault to Recovery Service vault ... · In Protection goal select To recovery site, and select Yes, with VMware vSphere Hypervisor. Then click OK. d. In Step

d. Registration status is shown in the next page. It takes a couple of minutes to complete the

registration.

NOTE: If registration fails, download a new vault registration key one again from the vault and retry the registration.

e. One registration status shows successful registration, click OK. You can now see you RX Dashboard. f. Now, your RX registration is successfully completed.

6.2.1. Revert the RX un-registration patch Once your RX registration to Recovery Service vault is over, revert the RX un-registration patch.

Run the following commands to revert the patch:

NOTE: If RX is unregistered without applying the RX un-registration patch, all the CX servers which are

registered to RX need to be manually re-registered again once RX registration to new Recovery Service

vault is completed.

rm -rf /home/rx/admin/app/Rx.php

mv /home/rx/admin/app/Rx_org.php /home/rx/admin/app/Rx.php

chmod 0755 /home/rx/admin/app/Rx.php