In the event you have two systems configured with identical UUIDs for their primary/control domain, for example following a disk clone or system duplication, or if you wish to change the UUID for your own reasons, you can use the following procedure to do so.
1. Backup all of your current LDOMs configuration.
2. Switch to the “factory-default” configuration :
primary-domain # ldm set-config factory-default
3. Gracefully shut down the guest domains by logging into each of them and issuing init 0 or the shutdown command.
guest-domain # init 0
4. Stop ldmd from primary domain :
primary-domain # svcadm disable -t ldmd
5. Remove or rename the /var/opt/SUNWldm/ldom-db.xml and /var/opt/SUNWldm/ldom-db-delreconf.bak files in primary domain.
primary-domain # rm /var/opt/SUNWldm/ldom-db.xml primary-domain # rm /var/opt/SUNWldm/ldom-db-delreconf.bak
6. Shutdown the primary domain :
primary-domain # init 0
7. Reset the system from the SC :
-> reset /SYS
8. Boot the system if it is not configured to auto-boot.
9. Verify you now have a new UUID on your primary domain.
10. Restore your domain configuration as per the documentation referenced in point 1 above.