You must configure the vCloud Availability for vCloud Director Service Manager Portal host with both the vCloud Director server and the embedded MongoDB server, and start the system services.

Procedure

  1. To configure vCloud Availability for vCloud Director Service Manager Portal, run the following command.

    Standard Command

    Command Using Registry

    # vcav vcd-ui configure-smp \
    --ui-address=$UI02_ADDRESS \
    --keep-self-signed-certificate \
    --truststore-password-file=~/.ssh/.truststore \
    --vcd-address=$VCD_ADDRESS \
    --vcd-user=$VCD_USER \
    --vcd-password-file=~/.ssh/.vcd \
    --sso-user=administrator@vsphere.local \
    --sso-password-file=~/.ssh/.sso \
    --mongodb-password-file=~/.ssh/.root \
    --amqp-user= $AMQP_USER \
    --amqp-password-file= ~/.ssh/.amqp \
    --tenant-ui-url= tenant-ui-url \
    --max-jvm-memory=1024
    # vcav vcd-ui configure-smp \
    --ui-address=$UI02_ADDRESS \
    --keep-self-signed-certificate \
    --truststore-password-file=~/.ssh/.truststore \
    --vcd=vcd-01-name \
    --mongodb-password-file=~/.ssh/.root \
    --amqp-user= $AMQP_USER \
    --amqp-password-file= ~/.ssh/.amqp \
    --tenant-ui-url=tenant-ui-url \
    --max-jvm-memory=1024

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

    Important:

    To enable tenant impersonation, you must set --tenant-ui-url argument value to the base URL of the tenant vCloud Availability for vCloud Director Portal.

    The --amqp-user and --amqp-password-file argument values are mandatory.

    In the example, the vCloud Availability for vCloud Director Service Manager Portal is configured to operate with a new generated self-signed SSL certificate. You can set up the vCloud Availability for vCloud Director Service Manager Portal to use an externally signed SSL certificate, by replacing the --keep-self-signed-certificate argument with --https-certificate=/file-path-to-certificate-file and --https-key=/file-path-to-certificate-public-key. The vCloud Availability for vCloud Director Service Manager Portal appliance provides the certificate and key files to a java process.

  2. Assign a domain name to your vCloud Availability for vCloud Director Service Manager Portal host. It is a best practice to assign a domain name to your vCloud Availability for vCloud Director Service Manager Portal host for production deployments.
  3. Verify that the vCloud Availability for vCloud Director Service Manager Portal is configured correctly, by running the following command.
    curl -k https://$UI02_ADDRESS:8443/