The vRealize Automation appliance management interface can help you resolve registration problems with vRealize Automation component services.
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.
Unregister and, where needed, re-register component services that appear to have problems.
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.
Log in to the vRealize Automation appliance management interface as root.
In the list of services, select a service that is a duplicate, is not in the correct state, or has other problems.
At the upper right, click Unregister.
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
If an unregistered service is the
iaas-service, take the following steps to re-register it.
On the primary IaaS Web Server, log in with an account that has Administrator rights.
Open a command prompt as Administrator.
Navigate to the cafe folder:
cd "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\"
Back up of the configuration data:
rename Vcac-Config.data Vcac-Config.old
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
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
Enter the following command:
Vcac-Config.exe UpdateServerCertificates -d db-name -s db-server-name -v
Enter the following command:
Vcac-Config.exe RegisterEndpoint --EndpointAddress https://iaas-web-server-or-load-balancer-FQDN -v
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.