All SRM Commands


DescriptionCommand
Register new host / host reservation for vra vms protected by specifed srm protection plan     srm protected vra vms register
Start datacollection on the vra hosts for srm protection plan     srm protected vra vms start datacollection
Stop datacollection on the vra hosts for srm protection plan     srm protected vra vms stop datacollection
Test connection to the given SRM server     srm test connection
Register machine into the vRA Inventory     vra machines unmanaged register

Register new host / host reservation for vra vms protected by specifed srm protection plan

srm protected vra vms register

Parameter--recoveryplan (Recovery Plan name for the SRM server)
Mandatorytrue


Start datacollection on the vra hosts for srm protection plan

srm protected vra vms start datacollection

Parameter--recoveryplan (Recovery Plan name)
Mandatorytrue

Parameter--recoverymode (Recovery Mode for the SRM server)
Mandatorytrue

Parameter--vcenterinfo (Custom property on the endpoint to identify which endpoint is now active)
Mandatorytrue


Stop datacollection on the vra hosts for srm protection plan

srm protected vra vms stop datacollection

Parameter--srmserver (Name of SRM Server (IP or FQDN))
Mandatorytrue

Parameter--srmuser (Username for the SRM server)
Mandatorytrue

Parameter--srmpassword (Password for the SRM server)
Mandatorytrue

Parameter--recoveryplan (Recovery Plan name)
Mandatorytrue

Parameter--recoverymode (Recovery Mode for the SRM server)
Mandatorytrue


Test connection to the given SRM server

srm test connection

Parameter--server (Name of SRM Server (IP or FQDN))
Mandatorytrue

Parameter--user (Username for the SRM server)
Mandatorytrue

Parameter--password (Password for the SRM server)
Mandatoryfalse


Register machine into the vRA Inventory

srm vra failover machine

Parameter--name (Provide a valid Machine Name)
Mandatorytrue

Parameter--moRef (Enter Managed Object Reference or unique vCAC ID)
Mandatorytrue

Parameter--export (Provide a file to export all results)
Mandatoryfalse

Parameter--format (Supported formats include: TABLE, JSON, CSV)
Mandatoryfalse

Parameter--clusterName (Name of cluster machine resides on)
Mandatoryfalse


Copyright 2016 VMware, Inc. All rights reserved.