The below is what I ended up doing (in a test environment) to migrate the VCenter 5.0 Server to new hardware. Ran through the procedure twice and it worked just fine. I could still recompose/refresh Virtual Desktops. I also had no problem accessing my Virtual Desktops. Hope this procedure helps someone else.
Migrate View VCenter 5.0 to new hardware
- Disable virtual machine provisioning in the vCenter Server instance that is associated with the View Composer service.
- In View Administrator, click View Configuration > Servers.
- In the vCenter Server tab, select the vCenter Server instance and click Disable provisioning.
- Shutdown Virtual Center Services on old VCenter Server
- Export RSA Keys from old server
- On the source computer on which the existing View Composer service resides, open a command prompt and navigate to the %windir%\Microsoft.NET\Framework\v2.0xxxxx directory.
- Type the aspnet_regiis command to save the RSA key pair in a local file.
- aspnet_regiis -px "SviKeyContainer" "keys.xml" -pri
- The ASP.NET IIS registration tool exports the RSA public-private key pair from the SviKeyContainer container to the keys.xml file and saves the file locally.
- On the source computer on which the existing View Composer service resides, open a command prompt and navigate to the %windir%\Microsoft.NET\Framework\v2.0xxxxx directory.
- Backup ADAM Database (see instructions at: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1029864)
- Make a note (screenshot) of your Folder Structure (VM and Templates View) and your Cluster/Resource Pool Configuration (Host and Clusters View)
- Shutdown old VCenter Server
- Backup VCenter and Composer Databases on SQL Server….Restore to New SQL Server (only if you are migrating databases also)
Rename and Re-IP new VCenter Server with same name and IP as the old VCenter Server
- Turn off User Account Control setting (Control Pane) – if required
- Add Service account to Administrators that has access to SQL
- Login as Service Account
- Turn off User Account Control setting (Control Pane) – if required
Migrate RSA Keys to New VCenter Server
- Copy the keys.xml file to the destination computer on which you want to install the new View Composer service.
- On the destination computer, open a command prompt and navigate to the %windir%\Microsoft.NET\Framework\v2.0xxxxx directory.
- Type the aspnet_regiis command to migrate the RSA key pair data.
- aspnet_regiis -pi "SviKeyContainer" "path\keys.xml" –exp
- Copy the keys.xml file to the destination computer on which you want to install the new View Composer service.
- Install SQL Native Client (sqlncli.msi)
- Configure ODBC System DSN Connection for VCenter (Native 64-bit) and View Composer (Native 64-bit).
Install VCenter Server 5.0 (same version as old VCenter Server)
- In Database re-initialization warning, choose: Do not overwrite, leave my existing database in place.
- In Database re-initialization warning, choose: Do not overwrite, leave my existing database in place.
Restore ADAM Database per: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1029864
- NOTE: Restore Instructions are wrong…you should restore to C:\ProgramData\... (not C:\Program Files).
- NOTE: Restore Instructions are wrong…you should restore to C:\ProgramData\... (not C:\Program Files).
- Install View Composer 3.0 (same version as old View Composer Server). The first time you run setup, it might require a reboot before it will completely install (takes a minute or two to tell you). Use same credentials during setup as the ODBC connection used (will need to be an SA Login). NOTE: You will have to manually type in the ODBC Connection name. Reboot after install.
- Install VSphere Client
- Start VSphere Client and connect to your new VCenter Server
- You will probably have to Reconnect your VSphere Host Servers (right click on each Host and Connect)…you will have to run through the wizard. Select a VCenter folder for your VDI virtual machines…it doesn’t seem to matter as they seem to go back to their original folder structure in my testing.
- In View Administrator, you will need to go to the Dashboard and Verify the SSL Certificates for the new VCenter.
Enable Provisioning in View Administrator (shouldn’t have to change anything here)
- In View Administrator, click View Configuration > Servers.
- In the vCenter Server tab, select the vCenter Server instance and click Disable provisioning.
- NOTE: You might have to separately Enable Provisioning on each Pool.
- In View Administrator, click View Configuration > Servers.
In the new VCenter Server, In Customization Specification Manager, Edit the one you use for View Composer. You will get an error indicating “The public key in the specification does not match the VCenter public key. Click OK to open the Customization Specification Wizard, reenter the password and continue the import”.
- Click OK and step through the wizard to put all your settings back in (specifically, the Local Administrator password for your Master Image).
- Click OK and step through the wizard to put all your settings back in (specifically, the Local Administrator password for your Master Image).
- Test Recomposing and Provisioning of new Linked Clones.
- Done.