After setting up the ISPConfig cluster using the howto guide and re-syncing everything, the "mirror" server is using different guid/uid than the primary. This is causing problems when syncing the directories using unison. IE; Primary: web36(5028)/client12(5014) Mirror: web36(5007)/client12(5007) So when a change is made in the /var/www directory then it gets the permissions (guid/uid) from which ever server it made the change from. How do i go about syncing the guid/uid from the primary to the mirror?
You probably missed to enable "connect user id to web id" under System > server config > web as this setting ensures that new websites always get the same uid on all mirrors.
I see that now, I have made the change. Is there any documentation of correcting this retrospectively?
No. The only ay might be to manually alter the passwd, shadow, group and gshadow files on the second node and then try a chown of all files owned by the old uid to the new in /var/www to the new user / uid.