After you have configured SSO between the recovery site Symantec High Availability Console and the protected site virtual machines, you must modify the SRM recovery plan to define the action for application monitoring continuity. This action is defined in the form of an Symantec High Availability recovery command that must be added to the SRM recovery plan.
To update the SRM recovery plan
In the left pane, select Recovery Plan.
Select Command on SRM Server
In the Name text box, specify a name for the command step to be added
In the Content text box, specify the following command
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted c:\setSiteID.ps1 -vCenter <IP address> -SiteId <ID> -VM 'VirtualMachine HostName' -U Administrator -P Password -UseFileCred 0/1 -CredPath CredFilePath
Where,
IP address = The IP address of recovery site vCenter Server. If you do not specify the IP address, then the vCenter Server hostname is considered by default.
ID= Specify an ID for the recovery site
This is required when you modify the vcs_site_info.xml file.
If you do not specify an ID, the hostname of recovery site SRM Server is used.
VirtualMachine HostName= Host name of the local machine as that specified in the vCenter server inventory
Administrator= User account name for the recovery site vCenter Server
Password= Password for the user account specified
UseFileCred= Specify a value for this argument depending on whether or not you have encrypted the vCenter Server user account password, using the encryptVCenterPassword.ps1 script.
0= The vCenter Server password is not encrypted and you need to specify the password in the command.
1= The vCenter Server password is encrypted and is saved at a temporary location.
CredFilePath= File path where the vCenter Server user account credentials are saved
You need to specify this variable only if you have specified '1' for UseFileCred variable.
Click Ok.