You must enable a vCloud Director organization VDC for replication before you start using the vCloud Availability for vCloud Director solution.

Prerequisites

Verify that you have assigned vSphere Replication Cloud Service rights to the vCloud Director organization administrator role for the organization. For more information, see the vcav hcs add-rights-to-role command in Assign vSphere Replication Cloud Service Rights to the vCloud Director Organization Administrator Role.

Procedure

  1. Create an SSH connection to the vCloud Availability Installer Appliance.
  2. To enable a vCloud Director organization VDC for replication, run the following commands.

    Standard Command

    Command Using Registry

    # vcav org list \
    --vcd-address=$VCD_ADDRESS \
    --vcd-user=$VCD_USER \
    --vcd-password-file=~/.ssh/.vcd
     
    # vcav org-vdc list \
    --vcd-address=$VCD_ADDRESS \
    --vcd-user=$VCD_USER \
    --vcd-password-file=~/.ssh/.vcd \
    --org=org1
     
    # vcav org-vdc enable-replication \
    --vcd-address=$VCD_ADDRESS \
    --vcd-user=$VCD_USER \
    --vcd-password-file=~/.ssh/.vcd \
    --org=org1 \
    --vdc=vdc_org1
    # vcav org list \
    --vcd=vcd-01-name
     
    # vcav org-vdc list \
    --vcd=vcd-01-name \
    --org=org1
     
    # vcav org-vdc enable-replication \
    --vcd=vcd-01-name \
    --org=org1 \
    --vdc=vdc_org1

    After the process finishes, you get an OK message.