Here is a procedure that I have come across, note that this is not tested or supported:
Migrate View VCenter 5.0 with View Composer 3.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
6.
- 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.
- Turn off User Account Control setting (Control Pane) – if required
- Add Service account to Administrators that has access to SQL
- Login as Service Account
- 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
- 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
- In Database re-initialization warning, choose: Do not overwrite, leave my existing database in place.
- 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)
- 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).
- 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.
- 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 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).
- Test Recomposing and Provisioning of new Linked Clones.
- Done.