Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Dec 2007
    Posts
    6

    Default cPanel Server Migration

    Hello All,

    I run a dedicated server, and am learning......

    Our current server has been phuched by a few "expert" server admins, who charged us for securing the server. Now server performance is 25% of what it was initially. No there wasn't any additions to the server in the way of more accounts, or sw installed. They did a server hardening.

    To "fix" the problem, my server farm is willing to give us a newer server in a new subnet with a clean OS install.

    Question: has anyone run the site/server migration utility in cPanel. Our server runs DNS as well. Does the account migration utility work ok? Are there any bugs, or things we have to watch for, OR would you suggest cleanly setting up all the accounts (75 sites) and emails by hand, indivually?

    OR

    Have any other suggestions on migrating accounts from one server to another within the same server farm?

    Thanks in advance...

    skullguy

  2. #2
    Registered User
    Join Date
    Jan 2008
    Posts
    3

    Default just did a few last night with NO problem

    Skullguy,

    I just migrated 35 sites under 5 different Cpanel users (primary and addon domains) last night with no problems at all. I just changed the nameserver pointers when I was done and that was it.

    Here are the details on the distro I'm running:

    WHM 11.15.0 cPanel 11.17.0-R19434
    CENTOS Enterprise 5 i686 on xen - WHM X v3.1.0

    I used the 'copy account from another server with password' option.

    I hope that helps,

    Chris
    Corodyne Web Services

  3. #3
    Member nyjimbo's Avatar
    Join Date
    Jan 2003
    Location
    New York
    Posts
    1,105

    Default

    Quote Originally Posted by skullguy View Post
    Hello All,
    ..... Now server performance is 25% of what it was initially. No there wasn't any additions to the server in the way of more accounts, or sw installed. They did a server hardening.

    To "fix" the problem, my server farm is willing to give us a newer server in a new subnet with a clean OS install.
    This is bizarre. Didn't they at least try to figure out what they did?. If something is slowing the machine down it's likely to either be something new running on the system OR they "tweaked" something else and it's eating up cpu or i/o. It should be pretty easy to spot especially with the kind of impact you are seeing now. Hardening the system shouldnt slow anything down unless they added something or implemented features that are wasting cpu or i/o and probably are a minor fix rather that moving an entire server.
    "A dog has raised it’s hind leg on the age of nevermore !"
    -- Rolf

  4. #4
    Member SuperBaby's Avatar
    Join Date
    Nov 2003
    Location
    Malaysia
    Posts
    306

    Default

    I just migrated 35 websites from my old server (RH9/cPanel) to the new server (RHEL5/cPanel) last week.

    Here are some tips:

    1) To use "Copy an account from another server" with root + password, you must enable direct SSH login. Most servers would have direct root login disabled.

    2) I find "Copy an account from another server with account password" very reliable although many said otherwise. According to WHM, it should not be used to transfer sites larger than 250Mb. Last week I have used it to transfer sites up to 550Mb. No problem at all. I think as long as both your servers are in the same data center, it should be OK for up to 500Mb.

    3) For large account, use http://forums.theplanet.com/index.php?showtopic=62173

    So far I have only found a Perl script not functioning well after the migration. If you ask me, I would say it is highly (but not absolutely) reliable.
    SuperBaby

  5. #5
    Member
    Join Date
    Mar 2004
    Location
    Maui
    Posts
    9

    Default Migrating the nameserver

    I'm also trying to move a cpanel server to new hardware. This server is only for name service for all the other cPanel machines. Has anyone done this and if so, how do I go about this move?

    Thanks in advance,

    TR

  6. #6
    Registered User
    Join Date
    Dec 2007
    Location
    PA
    Posts
    4

    Default

    Quote Originally Posted by nyjimbo View Post
    This is bizarre. Didn't they at least try to figure out what they did?. If something is slowing the machine down it's likely to either be something new running on the system OR they "tweaked" something else and it's eating up cpu or i/o. It should be pretty easy to spot especially with the kind of impact you are seeing now. Hardening the system shouldnt slow anything down unless they added something or implemented features that are wasting cpu or i/o and probably are a minor fix rather that moving an entire server.
    If I had to guess I would say they might have enabled mod_security.
    I have read that can cause a noticeable increase of load on a server, depending on the ruleset used.

  7. #7
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    Quote Originally Posted by HH-Mike View Post
    If I had to guess I would say they might have enabled mod_security.
    I have read that can cause a noticeable increase of load on a server, depending on the ruleset used.
    I second HH-Mike's view, a lot of the rulesets that are commonly recommended here and on other forums are riddled with conflicting/slow rules, most of which serve no purpose on 95% of servers, when I first installed mod_security a few years back I used a recommended ruleset, and my server load trippled, try disabling the SecFilterScanPost option and see if your load drops, if it does, then its your ruleset

  8. #8
    Member
    Join Date
    Dec 2007
    Posts
    6

    Default Thanks

    Thanks to everyone who answered here.

    I was able to migrate the accounts.

    Thanks for all the great info.

    skullguy

Similar Threads & Tags
Similar threads

  1. Replies: 6
    Last Post: 06-29-2011, 03:56 AM
  2. Migration of cpanel server from old to new server
    By benjo11111 in forum Migrate to cPanel
    Replies: 5
    Last Post: 04-21-2011, 10:27 AM
  3. cpanel server migration
    By tratti in forum Data Protection
    Replies: 3
    Last Post: 03-17-2011, 06:25 PM
  4. server migration cpanel servers script
    By mojamoi in forum Migrate to cPanel
    Replies: 2
    Last Post: 12-03-2010, 10:00 AM
  5. Cpanel DNS server IP migration not working
    By ed.kalk in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-27-2008, 09:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube