VMware SRM Windows to SRM Appliance 8.2

The high level steps are laid out in the VMware guide which can be found here.

The main things I wanted to achieve in the upgrade/migration was to test the process, keep the same Names and IP’s and have the bonus of getting rid of another windows based system.

Prerequisites

  1. Check all your compatibility, vCenter to SRM version, SRA array support (check with the array vendor guides as VMware compatibility has a tendency to be out)
  2. Upgrade your Windows based SRM install to 8.2.
  3. Stop the Site Recovery Manager Server on your Windows Host machine
    1. note just stopping the SRM Server service is fine
  4. Rename your SRM virtual server name to SERVERNAME_OLD (note this is not the windows OS name just the VM instance name)
    1. you can do this after the migration is complete if you deploy the new appliance with a diff name
  5. Deploy the SRM appliances to each site using the same name and IP of your existing windows SRM hosts. DO NOT POWER IT ON YET.
  6. Make sure you have the SSO Admin name and password and the DB password for SRM DB, if you dont have either of these you will get stuck at some point.
  7. Download the SRA for your storage array if using Array Replication..if not don’t worry.

Migration

  1. Log into your windows SRM host machines
  2. Open an ADMIN Command Prompt and navigate to your %SRM_INSTALL_DIR%\bin
  3. Run the following script on both your SRM servers,
    1. export-srm-data.bat <export_dir>
  4. You will be prompted for the DB password, enter it
  5. Copy this exported data onto your local machine
    1. make sure you know which export is for which SRM server
  6. Power down or disconnect the NIC on your Windows SRM host servers
  7. Power on your new SRM appliances
  8. Connect to the SRM appliances with SSH
    1. you may need to enable this through the appliance admin page if you did not tick the box during ovf deployment.
  9. Using your preferred program, WINSCP, transfer the appropriate Exported data to the appliance
  10.  run the following script /opt/vmware/srm/bin/import-srm-data.sh <export_dir>
    1. you will be prompted for the SSO admin username and password
    2. you will be prompted for the root/admin password, this is the password you set during OVF deployment
    3. if you set a credential on the exported data you will need to enter that also
    4. you may receive a request for your SRA credentials, even if provided this should fail as you have not installed the SRA into the appliance.
  11. Log into the Appliance web interface and check the Time configuration and set your correct time zone if needed.
  12. SRA Import, this is optional but required in my instance
    1. Login into the appliance admin interface
    2. select Storage Replication Adapters on the left
    3. click new adapter, select the location of your SRA from your storage vendor, be careful here that you have the right file it may be that the storage vendor has buried the file within a ZIP and then within a TAR .
    4. It should upload and install, the SRA will show in the interface as below.app_sra_screen
  13. Log into vSphere client and goto the SRM home page
  14. The site pair should show in error state
  15. Select actions reconnect and follow the bouncing ball.SRM_reconnect
  16. Once complete open the site pair and re-scan for your SRA’s (for storage replication)SRM_SRA_reconnect
  17. Then Edit your local/remote array manager and enter the username and password.srm_disc_arr_pair
  18. Highly recommend to log back into the appliance admin web page and disable SSH login.

You should now be fully working. Highly recommend that you run a test fail-over to ensure functionality, it is your DR after all.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: