Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    10

    Default Upgrade to New Server Seeking Advice

    Hi,
    I'm thinking of upgrading to a new Server
    Can the existing Hard drive on the old server be cloned over to the new servers Hard Drive?
    Running CentOS4 & WHM 11

    Any advice would be much appreciated

    Thanks
    Tony

  2. #2
    Member LiNUxG0d's Avatar
    Join Date
    Jun 2003
    Location
    Gatineau, Quebec, Canada
    Posts
    206

    Default

    Hey Tony,

    Technically, if you're running CentOS 4, you should be able to just take the drive and plug it in to the new server and it will work. I mean, I had a power supply die on me the other day and had no spares, so I took the drive (which was on an older P4 1.8) and moved it into a Core 2, and it worked... it detected a bunch of different hardware upon boot but it worked.

    This is what I did during an emergency.

    I could have also transferred the backups from one server to the other, did a mass restore and swapped the IPs, which would also work. I think this is the best way of doing it. I mean, if you get a new OS going too, like CentOS 5.1 or something, then you'd be running latest everything!

    Sometimes fresh installs + backup restores are the way to go as they give you fresh everything.

    If anyone here has a quicker technique using cloning technology like G4L, do let us know.

    My 0.02$ for you Tony,
    http://www.okteck.com/
    The best web hosting, reseller hosting and dedicated server packages!

  3. #3
    Member
    Join Date
    Aug 2004
    Posts
    472

    Default

    Quote Originally Posted by Aushops View Post
    Hi,
    I'm thinking of upgrading to a new Server
    Can the existing Hard drive on the old server be cloned over to the new servers Hard Drive?
    Running CentOS4 & WHM 11

    Any advice would be much appreciated

    Thanks
    Tony
    Yes this would be possible. Mount the directories properly.
    www.cliffsupport.com
    i WebManager | Access WHM from your iPhone

  4. #4
    Member
    Join Date
    Nov 2007
    Posts
    10

    Default

    Hi Guys,

    Thanks for replying to my question
    I have been thinking as my situation is not critical I do have a little time to plan the move to the new server.
    There is only six Joomla sites there to move (Will take this opportunity to Change to Joomla 1.5)
    The Current Server which is working OK has only one 160gig HDD Centos4, I am doing ftp backups at present.
    The New Server will have 2x500gig hard drives, Is Software Raid1 the best way so as to have the 2nd drive mirrored? or have the 2nd drive as a backup via WHM?
    On the New Server would I Stay with Centos4 or have a fresh CentoS5 Setup?
    Will be usin WHM eleven of Course.
    After all that rambling above, I'm thinking I can get the New Server Setup then get accounts moved or no real big deal to do them all from fresh. Then I could have the 2nd Server decomissioned when all is working on new server. Both Servers in the same Data Center & they will give me 5-7 days grace.
    Anyway thanks heaps

    Regards
    Tony

  5. #5
    Member LiNUxG0d's Avatar
    Join Date
    Jun 2003
    Location
    Gatineau, Quebec, Canada
    Posts
    206

    Red face

    Quote Originally Posted by Aushops View Post
    Hi Guys,

    Thanks for replying to my question
    I have been thinking as my situation is not critical I do have a little time to plan the move to the new server.
    There is only six Joomla sites there to move (Will take this opportunity to Change to Joomla 1.5)
    The Current Server which is working OK has only one 160gig HDD Centos4, I am doing ftp backups at present.
    The New Server will have 2x500gig hard drives, Is Software Raid1 the best way so as to have the 2nd drive mirrored? or have the 2nd drive as a backup via WHM?
    On the New Server would I Stay with Centos4 or have a fresh CentoS5 Setup?
    Will be usin WHM eleven of Course.
    After all that rambling above, I'm thinking I can get the New Server Setup then get accounts moved or no real big deal to do them all from fresh. Then I could have the 2nd Server decomissioned when all is working on new server. Both Servers in the same Data Center & they will give me 5-7 days grace.
    Anyway thanks heaps

    Regards
    Tony
    Hey Tony,

    May I geek rant out to you here?

    500 GB drives? If it was me, and it's not, I would consider staying away from them right now. I operate a DC with about 250 boxes, and 500 GB is what's failing lots as of late. I spoke to a local data recovery guru, here in Ottawa (http://www.capitaldatarecovery.com/) and he told me 500's are what he's getting the most of. He explained that when Seagate commissioned these new drives, they added an extra platter inside, but didn't upgrade the spindle they sit on and so, they're more susceptible to damage as the spindle has trouble handling the extra weight. I have had 3 drive failures in the last 2 months, all 500 GB Seagate SATA's. My 120's and 200's are all AOK though. Obviously just giving you a heads up. Maybe get 3 x a smaller caliber drive instead... just thoughts, don't have to listen to me though. Pro-action vs. reaction here.

    Go to CentOS 5, 100%. It's supported for many many many years still. It's worth going to, I love it.

    Software RAID1 is good... I mean, it's mirroring right, so it's not really bad. If failure happens on the array and it doesn't rebuild properly... well, you're in a pickle. The other way though, if the main drive fails, so what... you have the backups on the other drive, and the chances that they will both fail is really low... probably lower than the RAID1 setup, and also, if you set your backups to Incremental Backups, you'll have less I/O on the drive as only files that need backing up will be backed up, and not ALL files + a tar... less reading and writing is good for the servers soul.

    If you think YOU were rambling, man...

    Let me know if you have any other questions Tony,
    http://www.okteck.com/
    The best web hosting, reseller hosting and dedicated server packages!

  6. #6
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default

    Quote Originally Posted by LiNUxG0d View Post
    Hey Tony,

    May I geek rant out to you here?

    500 GB drives? If it was me, and it's not, I would consider staying away from them right now. I operate a DC with about 250 boxes, and 500 GB is what's failing lots as of late. I spoke to a local data recovery guru, here in Ottawa (http://www.capitaldatarecovery.com/) and he told me 500's are what he's getting the most of. He explained that when Seagate commissioned these new drives, they added an extra platter inside, but didn't upgrade the spindle they sit on and so, they're more susceptible to damage as the spindle has trouble handling the extra weight. I have had 3 drive failures in the last 2 months, all 500 GB Seagate SATA's. My 120's and 200's are all AOK though. Obviously just giving you a heads up. Maybe get 3 x a smaller caliber drive instead... just thoughts, don't have to listen to me though. Pro-action vs. reaction here.

    Go to CentOS 5, 100%. It's supported for many many many years still. It's worth going to, I love it.

    Software RAID1 is good... I mean, it's mirroring right, so it's not really bad. If failure happens on the array and it doesn't rebuild properly... well, you're in a pickle. The other way though, if the main drive fails, so what... you have the backups on the other drive, and the chances that they will both fail is really low... probably lower than the RAID1 setup, and also, if you set your backups to Incremental Backups, you'll have less I/O on the drive as only files that need backing up will be backed up, and not ALL files + a tar... less reading and writing is good for the servers soul.

    If you think YOU were rambling, man...

    Let me know if you have any other questions Tony,
    I have to agree with this advise as well. I have a desktop box that's 3 months old and 10% of the sectors are marked bad ..i replaced it. I use tools like SpinRite and it finds and recovers new sectors all the time and marks more bad. It's a hunk of junk and it's a Segate. I also helped a guy rebuild from a cPanel restore in Jan and both his main drive and his backup drive was failing and both were 2-3 month of Segate 500's. So stay away from those. The 250GB WD drives seem to be ok ..not sure about their 500's.

    As for the OS, ..RHEL5 or CentOS5 is a great way to go also I would presonally get the new OS and box setup and just pack and rsync ..and YES the incremental backups on a couple hundred gigs of userdata will typically take 10-20 minutes after the first run happens.
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  7. #7
    Member
    Join Date
    Nov 2007
    Posts
    10

    Default

    Hi Guys,
    Nothing like reading a good rant it's a classic
    Great advice & that's why we come to these forums
    Ok, so far have decided after to taking the advice given
    2 x 250Gig drives using one as a backup, not mirrored
    CentoS 5 on the new server then move the other accounts etc over.
    So if the main drive failed & I have the 2nd drive backed up using WHM, is it major work & downtime to get back online again?
    I just wish I knew more about Centos etc.
    If it was windows well no dramas as that's my full time job being in hardware & software, I know where everything lives & what's involved it getting things up & running ASAP.
    But I wouldn't dream of having a Windows based Server.
    I have always been a big fan of Seagate & haven't seen any failures as yet but mostly in the 200-320Gig range. WD used to be the worst, but things change.
    I better stop the rant & look forward to some more chit chat

    Cheers
    Tony

  8. #8
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default

    Quote Originally Posted by Aushops View Post
    Hi Guys,
    Nothing like reading a good rant it's a classic
    Great advice & that's why we come to these forums
    Ok, so far have decided after to taking the advice given
    2 x 250Gig drives using one as a backup, not mirrored
    CentoS 5 on the new server then move the other accounts etc over.
    So if the main drive failed & I have the 2nd drive backed up using WHM, is it major work & downtime to get back online again?
    I just wish I knew more about Centos etc.
    If it was windows well no dramas as that's my full time job being in hardware & software, I know where everything lives & what's involved it getting things up & running ASAP.
    But I wouldn't dream of having a Windows based Server.
    I have always been a big fan of Seagate & haven't seen any failures as yet but mostly in the 200-320Gig range. WD used to be the worst, but things change.
    I better stop the rant & look forward to some more chit chat

    Cheers
    Tony
    at the DC where I have my boxes I have exactally what you just mentioned. I have dual 250GB drives and the second holds the nightly, weekly and monthly backups. I then have separate boxes that I use for remote backups. This particular DC I use will slave both drives and install a new drive in 10 minutes for me and in their control center I can select any of about 9 different OS's and watch from a KVM on the IPMI cards. You can even boot from remote DVD drive across the VPN. What I normally do is restore from the still working main drive except when it crashes so bad it won't read. Then I use WHM backup restore feature to rebuild from the backup drive. You are still looking at a couple hours including the OS install and all of that. But having a backup drive I feel is a better solution than raid. The reason why I say that is because it holds a snap shot that may protect you from security problems like possible roots and compromised OS. A raid system can give you speed and hardware redundancy but I can't see where it would help in a hack restore. That why I like backups on separate drives. my 2cents
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  9. #9
    Member LiNUxG0d's Avatar
    Join Date
    Jun 2003
    Location
    Gatineau, Quebec, Canada
    Posts
    206

    Red face

    Quote Originally Posted by rpmws View Post
    at the DC where I have my boxes I have exactally what you just mentioned. I have dual 250GB drives and the second holds the nightly, weekly and monthly backups. I then have separate boxes that I use for remote backups. This particular DC I use will slave both drives and install a new drive in 10 minutes for me and in their control center I can select any of about 9 different OS's and watch from a KVM on the IPMI cards. You can even boot from remote DVD drive across the VPN. What I normally do is restore from the still working main drive except when it crashes so bad it won't read. Then I use WHM backup restore feature to rebuild from the backup drive. You are still looking at a couple hours including the OS install and all of that. But having a backup drive I feel is a better solution than raid. The reason why I say that is because it holds a snap shot that may protect you from security problems like possible roots and compromised OS. A raid system can give you speed and hardware redundancy but I can't see where it would help in a hack restore. That why I like backups on separate drives. my 2cents
    That's some good 0.02$ big g-eye!

    Oh I'm so punny.

    We do incremental local and incremental across our LAN to archives. Basically REALLY fast and not time consuming or bandwidth intensive, at all. If only cPanel would add the --delete (hint hint) option, it'd be flawless. Right now, we can't. So basically, if you have a index.html, and it's backed up, then you delete it tomorrow and add index.php, it will also be backed up so you'll have both index.html and index.php present. So if you restore, guess what shows up? Yeppo, index.html. Bad behavior. Should have a config, "Delete files that no longer exist from destination folder? (incremental only)" or something.

    I fully agree about RAID1 btw; a rooted box running RAID1 will become a mirrored... rooted... box... which is bad.

    Hehehehe, I'm dealing with a box that was rooted with the "aliens" rootkit now. The asses.

    Regards,
    http://www.okteck.com/
    The best web hosting, reseller hosting and dedicated server packages!

  10. #10
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default

    Quote Originally Posted by LiNUxG0d View Post
    That's some good 0.02$ big g-eye!

    Oh I'm so punny.

    We do incremental local and incremental across our LAN to archives. Basically REALLY fast and not time consuming or bandwidth intensive, at all. If only cPanel would add the --delete (hint hint) option, it'd be flawless. Right now, we can't. So basically, if you have a index.html, and it's backed up, then you delete it tomorrow and add index.php, it will also be backed up so you'll have both index.html and index.php present. So if you restore, guess what shows up? Yeppo, index.html. Bad behavior. Should have a config, "Delete files that no longer exist from destination folder? (incremental only)" or something.

    I fully agree about RAID1 btw; a rooted box running RAID1 will become a mirrored... rooted... box... which is bad.

    Hehehehe, I'm dealing with a box that was rooted with the "aliens" rootkit now. The asses.

    Regards,
    i think i will mention that rsync --delete option to Nick see what he thinks. I didn't even notice it worked that way.
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  11. #11
    Member LiNUxG0d's Avatar
    Join Date
    Jun 2003
    Location
    Gatineau, Quebec, Canada
    Posts
    206

    Red face

    Quote Originally Posted by rpmws View Post
    i think i will mention that rsync --delete option to Nick see what he thinks. I didn't even notice it worked that way.
    To Nick? No way. I guess I'm speaking to the right guy.

    As per the man pages:

    Code:
         --delete                delete extraneous files from dest dirs
         --delete-before         receiver deletes before transfer (default)
         --delete-during         receiver deletes during xfer, not before
         --delete-delay          find deletions during, delete after
         --delete-after          receiver deletes after transfer, not before
         --delete-excluded       also delete excluded files from dest dirs
    The solution is more than ideal, and if it could --delete too... oh wow.

    If you spoke of this to Nick, DannyBlaze and I would be more than happy!

    Yeah, "more than happy". Sounds like a mental condition huh?

    Take care,
    http://www.okteck.com/
    The best web hosting, reseller hosting and dedicated server packages!

  12. #12
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default

    Quote Originally Posted by LiNUxG0d View Post
    To Nick? No way. I guess I'm speaking to the right guy.

    As per the man pages:

    Code:
         --delete                delete extraneous files from dest dirs
         --delete-before         receiver deletes before transfer (default)
         --delete-during         receiver deletes during xfer, not before
         --delete-delay          find deletions during, delete after
         --delete-after          receiver deletes after transfer, not before
         --delete-excluded       also delete excluded files from dest dirs
    The solution is more than ideal, and if it could --delete too... oh wow.

    If you spoke of this to Nick, DannyBlaze and I would be more than happy!

    Yeah, "more than happy". Sounds like a mental condition huh?

    Take care,

    i sent him an email earlier. actually next time I talk to him I will ask him about this. Until you mentioned this I had no realized the issue you are describing may be exactally what caused a restored site I did to behave the way you mentioned about the index and index. I can see where emails also could be an issue also. hummm
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  13. #13
    Member
    Join Date
    Aug 2007
    Posts
    53

    Default

    Just my bit...

    I use rsnapshot for my backups. Basically it uses rsync and hard links to accomplish the task of keeping 7 dailies, 4 weeklies, and 3 monthly backups. Because of the hard links, the backups take little more space than the data drive I'm backup up. Essentially I have 4 months of backups...

    Now if I could just figure out what I need to backup cpanel wise so that I can restore settings as well....

Similar Threads & Tags
Similar threads

  1. MySQL Upgrade and Backup Advice
    By Doug E in forum Data Protection
    Replies: 6
    Last Post: 11-02-2007, 10:20 AM
  2. Advice on OS and Server (looking to upgrade)
    By KirkColvin747 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-28-2007, 04:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube