The vRealize Automation appliance management interface can help you resolve registration problems with vRealize Automation component services.

Problem

Under normal operation, all vRealize Automation component services must be unique and in a REGISTERED state. Any other set of conditions might cause vRealize Automation to behave unpredictably.

The following are examples of problems that might occur with vRealize Automation component services.

  • A service has become inactive.

  • Server settings caused a service to be in a state other than REGISTERED.

  • A dependency on another service caused a service to be in a state other than REGISTERED.

  • There are duplicate services.

Results

Unregister and, where needed, re-register component services that appear to have problems.

  1. Take a snapshot of the vRealize Automation appliance.

    You might need to revert to the snapshot if you try different service changes, and the appliance ends up in an unpredictable state.

  2. Log in to the vRealize Automation appliance management interface as root.

    https://vrealize-automation-appliance-FQDN:5480

  3. Click Services.

  4. In the list of services, select a service that is a duplicate, is not in the correct state, or has other problems.

  5. At the upper right, click Unregister.

  6. To have vRealize Automation re-register the service, log in to a console session on the vRealize Automation appliance as root, and restart vRealize Automation by entering the following command.

    service vcac-server restart

    If there are services associated with the embedded vRealize Orchestrator instance, enter the following additional command.

    service vco-restart restart

  7. If an unregistered service is the iaas-service, take the following steps to re-register it.

    1. On the primary IaaS Web Server, log in with an account that has Administrator rights.

    2. Open a command prompt as Administrator.

    3. Navigate to the cafe folder:

      cd "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\"

    4. Back up of the configuration data:

      rename Vcac-Config.data Vcac-Config.old

    5. Enter the following commands, where password is the account password that you logged in with:

      Vcac-Config.exe GetServerCertificates -url https://iaas-web-server-FQDN --FileName .\Vcac-Config.data

      Vcac-Config.exe RegisterSolutionUser -url https://iaas-web-server-FQDN --Tenant vsphere.local -cu administrator -cp password --FileName .\Vcac-Config.data -v

    6. Enter the following command, where db-name is the IaaS database name and db-server-name is the IaaS database server name:

      Vcac-Config.exe MoveRegistrationDataToDB -d db-name -s db-server-name -f .\Vcac-Config.data -v

    7. Enter the following command:

      Vcac-Config.exe UpdateServerCertificates -d db-name -s db-server-name -v

    8. Enter the following command:

      Vcac-Config.exe RegisterEndpoint --EndpointAddress https://iaas-web-server-or-load-balancer-FQDN -v

  8. To re-register any services associated with an external system, such as an external vRealize Orchestrator instance, log in to the external system and restart the services there.