ValidateConnection

This method validates connections to the vSphere infrastructure. If there is no explicit and valid vcInstanceId in the connection spec, no vCenter validation is done. Only the infranode is validated.

Synopsis

void validateConnection(String adminUser, @secret String adminPassword, ConnectionSpec connection)

ValidateConnection has the following parameters:

Parameter Description
adminUser The name of a user with sufficient privileges to perform configuration tasks on the infrastructure and management nodes and SSO service configuration tasks on the infrastructure node.
adminPassword Password for the administration user.
connection The connection specification. For more inforamtion about ConnectionSpec, see ClearSrmConfiguration.

Faults

  • InvalidArgument
  • InvalidLogin
  • RuntimeFault
  • SsoTokenNotAcquired
  • SystemError

For more information about the faults, see Faults in Site Recovery Manager Appliance Management API.