To resolve this issue, follow the steps below, do not skip any step.
1. Export the VUM service to a spec file from a working VCSA with same version or use the attachment Sample spec file_VUM in this article.
2. To export the VUM service to a spec file, use the following command:
/usr/lib/vmidentity/tools/scripts/lstool.py get --url "https://localhost/lookupservice/sdk" --id "########-####-####-####-########4797" --no-check-cert --as-spec > /tmp/spec.txt
3. The serviceID (GUID) can be obtained using the below command:
grep -i integrity /etc/vmware/rereg/*
/etc/vmware/rereg/########-####-####-####-########4797_spec.serviceType.type = vcIntegrity
Note that you will only fill the spec file with the GUID, shown in bold above. Be sure to use the value from your environment, the above is only an example.
Note: You may see two different specs as result of this command. One of the them the serviceType.product is for vcIntegrity and the other one is for com.vmware.vum. We should get the one where the serviceType.product contains vcIntegrity.
4. Fill the spec file with the serviceID, serviceVersion, ownerId, nodeId, ssltrust, and Endpoint URL values that correspond to your environment.
5. The serviceVersion value can be found by running the command below:
cat /usr/lib/vmware-updatemgr/firstboot/updatemgr-h5.properties
6. The ownerID can be found from the lstool.py output. For information on how to run this command,
see KB:
Process to view the List of Services Registered with Single Sign-OnThe
ownerID should be in a format like:
vpxd-extension-<GUID>@<SSO_DOMAIN>Be careful to choose the correct owner in environments with multiple vCenter Server nodes, as there will be multiple values. The GUID should match the machine ID, which you can obtain with the following command:
/usr/lib/vmware-vmafd/bin/vmafd-cli get-machine-id --server-name localhost7. The
nodeID can be obtained from by running the command:
/usr/lib/vmware-vmafd/bin/vmafd-cli get-ldu --server-name localhost8. The
ssltrust value will be the machine SSL certificate, which you can find in the lstool.py output as well.
9. Register the VUM using the spec file by entering the below command:
/usr/lib/vmidentity/tools/scripts/lstool.py register --spec /tmp/spec.txt --url https://localhost/lookupservice/sdk --user [email protected] --password "password" --id "########-####-####-####-########4797" --no-check-cert10. Register VUM with the vCenter using the command below:
/
usr/lib/vmware-updatemgr/bin/updatemgr-utility.py register-vc11. Start the update manager service:
service-control --start vmware-updatemgr