Establish a trusted connection between the vCloud Availability Installer Appliance and the remaining vCloud Availability for vCloud Director components.

Prerequisites

Verify that you have installed and configured the following vCloud Availability for vCloud Director components to support all vCloud Availability for vCloud Director services.

  • vSphere Replication Manager

  • vSphere Replication Cloud Service Host

  • vSphere Replication Server

  • Cassandra Host

  • RabbitMQ Host

Procedure

  1. Connect to vSphere Replication Manager.

    Repeat the step for every vSphere Replication Manager in your environment.

    1. Configure the SSH connectivity.

      Standard Command

      Command Using Registry

      # vcav vsphere trust-ssh \
      --vsphere-address=$VSPHERE01_ADDRESS \
      --vsphere-user=$SSO_USER \
      --vsphere-password-file=~/.ssh/.sso \
      --vm-name=HMS01-name \
      --root-password-file=~/.ssh/.root \
      --vm-address=HMS01-address
      
      # vcav vsphere trust-ssh \
      --vsphere=vsphere-o1-name \
      --vm-name=HMS01-name \
      --root-password-file=~/.ssh/.root \
      --vm-address=HMS01-address
    2. Connect to vSphere Replication Manager.
      # vcav hms connect \
      --root-password-file=~/.ssh/.root \
      --vm-address=HMS01-address
    3. Verify that the connection is successfully established.

      Standard Command

      Command Using Registry

      # vcav hms check \
      --hms-address=HMS01-address \
      --vsphere-address=$VSPHERE01_ADDRESS \
      --vsphere-user=$SSO_USER \
      --vsphere-password-file=~/.ssh/.sso \
      --vcd-address=vcd-01-address \
      --vcd-user=root@system \
      --vcd-password-file=~/.ssh/.vcd \
      --sso-user=administrator@vsphere.local \
      --sso-password-file=~/.ssh/.sso
      # vcav hms check \
      --hms-address=HMS01-address \
      --vsphere=vsphere-o1-name \
      --vcd=vcd-01-name

      If the connection is successfully established, the system returns an OK message.

  2. Create a trusted connection with your RabbitMQ host.
    # vcav trust add --address=amqp-address --port=5671 --accept-all
  3. Create a trusted connection with your Cassandra host.
    # vcav trust add --address=cassandra-address --port=9042 --accept-all
  4. Connect to vSphere Replication Cloud Service Host.

    Repeat the step for every vSphere Replication Cloud Service host in your environment.

    1. Configure the SSH connectivity.

      Standard Command

      Command Using Registry

      # vcav vsphere trust-ssh \
      --vsphere-address=mgmt-vsphere-address \
      --vsphere-user=mgmt-vsphere-user \
      --vsphere-password-file=~/.ssh/.vsphere.mgmt \
      --vm-name=HCS01-address \
      --root-password-file=~/.ssh/.root \
      --vm-address=HCS01-address
      # vcav vsphere trust-ssh \
      --vsphere=mgmt-vsphere-name \
      --vm-name=HCS01-name \
      --root-password-file=~/.ssh/.root \
      --vm-address=HCS01-address
    2. Connect to vSphere Replication Cloud Service Host.
      # vcav hcs connect --root-password-file=~/.ssh/.root --vm-address=HCS01-address
    3. Verify that the connection is successfully established.

      Standard Command

      Command Using Registry

      # vcav hcs check \
      --hcs-address=HCS01-address \
      --vcd-address=vcd-01-address \
      --vcd-user=root@system \
      --vcd-password-file=~/.ssh/.vcd \
      --sso-user=administrator@vsphere.local \
      --sso-password-file=~/.ssh/.sso \
      --vsphere-address-list=vsphere-01-address
      # vcav hcs check \
      --hcs-address=HCS01-address \
      --vcd=vcd-01-address \
      --vsphere-registry-list=vsphere-01-address

      If the connection is successfully established, the system returns an OK message.

  5. Connect to vSphere Replication Server.
    1. Configure the SSH connectivity.

      Repeat this step for every vSphere Replication Server in your environment.

      Standard Command

      Command Using Registry

      # vcav vsphere trust-ssh \
      --vsphere-address=$VSPHERE01_ADDRESS \
      --vsphere-user=$SSO_USER \
      --vsphere-password-file=~/.ssh/.sso \
      --vm-name=HBR01-name \
      --root-password-file=~/.ssh/.root \
      --vm-address=HBR01-address
      # vcav vsphere trust-ssh \
      --vsphere=vsphere-o1-name \
      --vm-name=HBR01-name \
      --root-password-file=~/.ssh/.root \
      --vm-address=HBR01-address
    2. Connect to vSphere Replication Server.
      # vcav hbr connect --root-password-file=~/.ssh/.root --vm-address=HBR01-address