Before you can back up VMs using the vSphere Agent, you must register the Agent with the vCenter Server where you want to back up VMs. You cannot connect to the vSphere Agent using Portal unless you register the Agent with vCenter Server.
To register the Agent with vCenter Server, enter the following command in the Agent CLI:
vcenter register [<vCenter> [<backupUserName>]]
Where:
• <vCenter> is the name or IP address of the vCenter where you are registering the vSphere Agent.
• <backupUserName> is the name of the user for performing backups and restores. You must use a vCenter or domain account that is mapped to a vCenter role with full administrator permissions.
A Windows domain account is used to register the vSphere Agent with vCenter Server. Full Administrator rights are the minimum requirements for the account that the vSphere Agent uses to back up and restore VMs. To create a vCenter role with the required permissions and assign it to a user, see Create a vCenter Role for a User and Assign a vCenter Role to a User.
If you do not include the <vCenter> or <backupUserName> in the command, you are prompted for the information when you run the command.
You are prompted for the following information when you run the command:
• Communication port. Port used by the vCenter to listen for connections from the vSphere Client, the vSphere Web Access Client, and other SDK clients. To specify the default port (443) when prompted for the communication port, press Enter.
• Data port. Port used by the vCenter to send data to managed hosts. To specify the default port (902) when prompted for the data port, press Enter.
• User password. Password for the backupUserName.