To update the Cassandra server certificate, you must generate a new certificate, register every Cassandra instance, and restart the hcs service on every vSphere Replication Cloud Service Host.

Procedure

  1. Recreate the Cassandra server certificate. For more information, see Install and Configure a Cassandra Server.
  2. Restart the Cassandra service by running the following command.
    # service cassandra restart
  3. Register the new certificate for each Cassandra host by running the following command on the vCloud Availability Installer Appliance.

    Standard Command

    Command Using Registry

    # vcav cassandra register \
    --hcs-address=$HCS01_ADDRESS \
    --cassandra-address=$CASSANDRA_ADDRESS \
    --cassandra-port=9042 \
    --vcd-address=$VCD_ADDRESS \
    --vcd-user=$VCD_USER \
    --vcd-password-file=~/.ssh/.vcd \
    --sso-user=$SSO_USER \
    --sso-password-file=~/.ssh/.sso
    # vcav cassandra register \
    --hcs-address=hcs-IP-address \
    --cassandra-address=$CASSANDRA_ADDRESS \
    --cassandra-port=9042 \
    --vcd=vcd-01-name
  4. Run the following command to verify that the hcs service starts successfully.

    Standard Command

    Command Using Registry

    # 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 \
    # vcav hcs wait-for-extension \
    --hcs-address=hcs-IP-address \
    --vcd=vcd-01-name

    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.