I know year ago Bluehost upgraded their centos5 servers to centos6, and they announced that work is done in 2 hours (per server). Does anybody know how they did it? I doubt this (as is usually recommended) is migration to other server/hw via pkgacct/restorepkg, or multiple accounts copy, because moving so much users/gigabytes (per server) could take much more hours.
I just want on same hardware server to have centos6 after (most painless way preferrable) upgrade anybody could suggest. Main requirement is that cpanel does not change dns records of all clients in crazy way (i.e. ruin) and most important is that IP addresses of clients do not change and process does not take whole day (few hours is ok). If php/apache/etc change version this is ok too.
I tried mass move clients from older centos server to other centos6 server but it had many problems which I want to avoid next time. That is what I did before:
1. useradd all client accounts to the new server.
2. rsync each client homedir from old server to the new. I thought this will be much faster that pkgacct zip/copy/unzip every client homedir.
3. pkgacct --skiphomedir for each client account on old server.
4. ip addr del for each ip in the old server ip pool.
5. Add old IPs to the new server.
6. scp cpmove-*.tar.gz to the new server.
7. Then I attempt to restorepkg --force --ip=x.x.x.x cpmove-$client.tar.gz on the new server.
This is failed because restorepkg didn't liked --ip=x.x.x.x
8. restorepkg --force cpmove-$client.tar.gz for each $client username.
This of course assigned wrong IPs to clients, but I planned to reassign them later. This somehow led to mess in dns records.
9. Disable DNS clustering on old server.
10. Change Multiple Sites’ IP Addresses onnew server to proper (old) IP.
There I forced to play with main shared IP address to finally set correct IPs for these clients, otherwise it didn't work.
Then I found that some domains are empty (as of no client's php/html), it seems that restorepkg cleared subdomain directories. To fix that I rsynced homedirs again.
And tons of other mess, like fixing dns records (it somehow did not updated them correctly so many clients still got wrong IPs), and fixing soa records.
This was very painful, plus this time I need to stay on the same hardware.
So, how is recommended (or someone succeeded) to upgrade to centos6 w/o change client IPs and too much downtime?
I just want on same hardware server to have centos6 after (most painless way preferrable) upgrade anybody could suggest. Main requirement is that cpanel does not change dns records of all clients in crazy way (i.e. ruin) and most important is that IP addresses of clients do not change and process does not take whole day (few hours is ok). If php/apache/etc change version this is ok too.
I tried mass move clients from older centos server to other centos6 server but it had many problems which I want to avoid next time. That is what I did before:
1. useradd all client accounts to the new server.
2. rsync each client homedir from old server to the new. I thought this will be much faster that pkgacct zip/copy/unzip every client homedir.
3. pkgacct --skiphomedir for each client account on old server.
4. ip addr del for each ip in the old server ip pool.
5. Add old IPs to the new server.
6. scp cpmove-*.tar.gz to the new server.
7. Then I attempt to restorepkg --force --ip=x.x.x.x cpmove-$client.tar.gz on the new server.
This is failed because restorepkg didn't liked --ip=x.x.x.x
8. restorepkg --force cpmove-$client.tar.gz for each $client username.
This of course assigned wrong IPs to clients, but I planned to reassign them later. This somehow led to mess in dns records.
9. Disable DNS clustering on old server.
10. Change Multiple Sites’ IP Addresses onnew server to proper (old) IP.
There I forced to play with main shared IP address to finally set correct IPs for these clients, otherwise it didn't work.
Then I found that some domains are empty (as of no client's php/html), it seems that restorepkg cleared subdomain directories. To fix that I rsynced homedirs again.
And tons of other mess, like fixing dns records (it somehow did not updated them correctly so many clients still got wrong IPs), and fixing soa records.
This was very painful, plus this time I need to stay on the same hardware.
So, how is recommended (or someone succeeded) to upgrade to centos6 w/o change client IPs and too much downtime?