Changing the Target Host for a Protected Virtual Machine
You can change the host used to recover protected virtual machines when the host cannot continue to be used, for example when it requires maintenance. If you don’t know which virtual machines are being recovered to a specific host, you can retrieve this information using the
Get-VmsReplicatingToHost cmdlet, described in
Retrieving a List of Virtual Machines Recovering to a Host.
To change a target host:
1. Run the Set-ChangeRecoveryHost cmdlet from the PowerShell prompt.
PS C:\Windows\SysWOW64\WindowsPowerShell\v1.0> Set-ChangeRecoveryHost |
2. You are prompted for the virtual machine for which to change the recovery host.
3. You are prompted for the new recovery host IP or domain name.
4. You are prompted for the current recovery host IP or domain name.
5. You are prompted for the IP address of the Zerto Virtual Manager site where the virtual machine is recovered, for the HTTP port used for inbound communication with that Zerto Virtual Manager and a valid username and password, defined in the
users.txt file for the Zerto Virtual Manager where the cmdlet is run, as described in
“Defining Credentials to Run Zerto Virtual Replication Cmdlets”, on page 7.
After the Set-ChangeRecoveryHost cmdlet completes the command task identifier and site identifier are returned.