/usr/lib/vmware-vmafd/bin/dir-cli service list
Operation failed: Unable to update machine-<VCenter UUID> solution user certificate in VMDir./etc/vmware-vpx/vpxd.cfg, /etc/vmware/install-defaults/sca.hostid, and Lookup Service (lstool.py) confirmed lingering references to the old machine ID, resulting in the failure of solution user registration and certificate renewal processes./usr/lib/vmware-lookupsvc/tools/lstool.py list --url https://localhost/lookupservice/sdk --no-check-cert > /storage/core/psc.txtawk 'BEGIN{IGNORECASE=1} /Service Type:/ {st=$0; for(i=1;i<=6;i++){ if(getline>0 && $0 ~ /Owner ID:/){ sub(/.Service Type:[ \t]/, "", st); oid=$0; sub(/.Owner ID:[ \t]/, "", oid); key=st "|" oid; counts[key]++; if(length(st)>max) max=length(st); break } }} END {PROCINFO["sorted_in"]="@ind_str_asc"; for(k in counts){ n=counts[k]; split(k, parts, "|"); svc=parts[1]; oid=parts[2]; gsub(/^[ \t]+|[ \t]+$/, "", svc); gsub(/^[ \t]+|[ \t]+$/, "", oid); printf "%-4s Service Type: %-*s | Owner ID: %s\n", n, max, svc, oid } }' /storage/core/psc.txtImportant recommendation which need to be followed and understood before performing the resolution steps :
To resolve the issue, follow the steps below :
/etc/vmware-vpx/vpxd.cfg) with the new machine ID:
/opt/likewise/bin/lwregshell ls "[HKEY_THIS_MACHINE\Services\vmdir]" | grep MachineGuid | awk '{print $2,$NF}'"MachineGuid" "38#######-####-####-####-##########5#7"
cat /etc/vmware-vpx/vpxd.cfg | grep -i "vpxd-" vpxd-32#######-####-####-####-##########d#4
cp /etc/vmware-vpx/vpxd.cfg /storage/core/vpxd.cfgvi /etc/vmware-vpx/vpxd.cfg <name>vpxd-38#######-####-####-####-##########5#[email protected]</name>
/etc/vmware/install-defaults/sca.hostid using the new machine ID after backing up the sca.hostid file :
cp /etc/vmware/install-defaults/sca.hostid /storage/core/sca.hostid ; echo "38#######-####-####-####-##########5#7" > /etc/vmware/install-defaults/sca.hostidRenew the vCenter service registrations using lsdoctor script :
python lsdoctor -r
Reboot the vCenter appliance.
Recreate the solution users on vCenter using:
python lsdoctor -u
3. Manage certificates > 2. Solution User certificates )service-control --stop --all && service-control --start --allNote : Incase assistance is needed with the above steps, reach out to Broadcom support.