i have a question regarding migration a complete site to a new VM.
One VM, three sites on it, distributed setup. Since the VM is now on the edge concerning ressorces (22k Hosts, 160k services, 24 vCPUs, 128GB RAM), i want to migrate the two slave sites to separate VMs for better load and scalability.
Since RRD are the biggest directories i came up with rsync.
I.e. create site with new name, copy files incremental serveral times, change IP for distributed setup in webinterface and go.
My question is: must the user and group id (i.e. the ones to be found in /etc/passwd and /etc/group) on the newly created VMs be the same? Or does it only have to be the same user/group name. Because changing the IDs on the new VMs afterwards (after creating site with same name) to the same IDs which tey have on the source machine makes OMD unusable.
Maybe someone has a best practice for me?