You can add a new vCenter Server to the Service Provider environment.

A use case for the --reconfigure argument is adding vCenter Server to the vCloud Availability for vCloud Director solution.

Procedure

  1. Add the new vCenter Server instance to your existing vCloud Director appliance, to make its resources available for use. For more information, see https://kb.vmware.com/kb/1026866.

  2. Deploy vSphere Replication Manager and vSphere Replication servers to your new vCenter Server instance. For more information, see Installing vCloud Availability for vCloud Director.

  3. Configure your new vSphere Replication Management server. For more information, see Configure vSphere Replication Manager.

  4. Configure vSphere Replication Cloud service host, to add the new vCenter Server in your vsphere-address-list.

    1. You must run vcav hcs configure command with an extra --reconfigure argument.

      # vcav hcs configure \
      --reconfigure \
      --hcs-address=HCS-address \
      --amqp-password-file=~/.ssh/.amqp \
      --cassandra-replication-factor=number-of-Cassandra-nodes \
      --vcd-address=VCD-address \
      --vcd-user=VCD-User \
      --vcd-password-file=~/.ssh/.vcd \
      --sso-user=SSO-User \
      --sso-password-file=~/.ssh/.sso \
      

      The system returns an OK message, after the process finishes.

    2. Run the following command to verify that the hcs service starts successfully.

      # vcav hcs wait-for-extension \
      --hcs-address=$HCS01_ADDRESS \
      --vcd-address=$VCD_ADDRESS \
      --vcd-user=$VCD_USER \
      --vcd-password-file=~/.ssh/.vcd \
      --sso-user=$SSO_USER \
      --sso-password-file=~/.ssh/.sso 

      If the hcs service starts successfully, the system displays an ОК message.

      If the system returns an error, or there is no output in 5 minutes, check the /opt/VMware/logs/hms/hcs.log file for errors.

    3. Assign vSphere Replication Cloud Service rights to the vCloud Director Organization Administrator role.

      • For vCloud Director 8.10 and earlier, you assign vSphere Replication Cloud Service rights to the Organization Administrator role and it applies to all organizations.

        Standard Command

        Command Using Registry

        # vcav hcs add-rights-to-role \
        --vcd-address=$VCD_ADDRESS \
        --vcd-user=$VCD_USER \
        --vcd-password-file=~/.ssh/.vcd \
        "--role=Organization Administrator"
        # vcav hcs add-rights-to-role \
        --vcd=vcd-01-name \
        "--role=Organization Administrator"
      • For vCloud Director 8.20 and above, you assign vSphere Replication Cloud Service rights to the Organization Administrator role for each organization or for all organizations.

        Standard Command

        Command Using Registry

        for each organization

        # vcav hcs add-rights-to-role \
        --vcd-address=$VCD_ADDRESS \
        --vcd-user=$VCD_USER \
        --vcd-password-file=~/.ssh/.vcd \
        "--role=Organization Administrator" \
        --org=org-name
        # vcav hcs add-rights-to-role \
        --vcd=vcd-01-name \
        "--role=Organization Administrator" \
        --org=org-name

        for all organizations

        # vcav hcs add-rights-to-role \
        --vcd-address=$VCD_ADDRESS \
        --vcd-user=$VCD_USER \
        --vcd-password-file=~/.ssh/.vcd \
        "--role=Organization Administrator" \
        --org=*
        # vcav hcs add-rights-to-role \
        --vcd=vcd-01-name \
        "--role=Organization Administrator" \
        --org=*

        Note:

        You do not need to restart any component for the changes to take effect.