Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 4 of 4 FirstFirst ... 2 3 4
Results 46 to 57 of 57
  1. #46
    Member
    Join Date
    Oct 2003
    Location
    Romania
    Posts
    25

    Default

    Has anyone tried this with cPanel 11.25.0?

    Regards!

    Later edit: I would use the "Transfer multiple accounts..." but this is messy if you want to retain the original IPs as it changes the IPs from the original ones to the temporary IPs and then you have to migrate your old IPs back (I imagine all these IP changes back and forth would generate propagation issues).
    Last edited by AndyB78; 02-15-2010 at 04:10 AM.

  2. #47
    Member
    Join Date
    Feb 2005
    Posts
    80

    Default

    I tried doing it and worked fine for me.... was trying to do it through copy accounts but the process was breaking up again and again.... this worked good

  3. #48
    Registered User
    Join Date
    Mar 2010
    Posts
    4

    Default Please Help!!

    I've read through this thread and need advice. I currently have cPanel running on Server A and want it transferred over to Server B. Both servers are running RHEL 5.2. The steps I took were to power off Server A, and set the IP of server B to the same as server A was (Let's Say 1.1.1.1). Then installed cPanel on Server B and ran the online web configuration. I then powered on and put server A on a different IP and used WHM Multiple account transfer to get the accounts copied from Server A to Server B, then shut down server A and rebooted server B. Both servers are behind a Firebox Firewall that routes the traffic to 1.1.1.1. All of the account IP's are set to 1.1.1.1 and our external IP is set as the main shared IP in basic WHM settings which is exactly how it was set up when working on Server A.

    My question then becomes:

    What can I do to get this current setup working (Did i miss something?) aside from starting all over and using this script?

  4. #49
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    There not enough information for anyone to really answer that question accurately, but the simple answer without getting into what you did wrong and trying to fix it, would be to install cpanel on both boxes and get them both online first.

    Then run the script as advised, after you have read the entire thread for updates, since it is several years old, reboot the machines so the IPs are swapped.
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

  5. #50
    Member
    Join Date
    Nov 2007
    Posts
    114

    Default

    Quote Originally Posted by AdamHahn View Post
    Both servers are running RHEL 5.2
    Are you morally opposed to security updates or something?

    5.3 was release over a year ago. You haven't ran "yum update" or had your servers update themselves in like a minimum of 14 months, possibly longer?
    Last edited by wizzy420; 03-29-2010 at 01:06 PM.

  6. #51
    Registered User
    Join Date
    Mar 2010
    Posts
    4

    Default

    Well I already have everything up and working on Server A, I just need it copied over to Server B. What more information would you need? I'm really trying to avoid reinstalling the OS and cPanel again.

  7. #52
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Well, as the original post regarding the script states, and I mentioned in my last post, both servers should be online.

    Why would you need to reinstall cPanel or the OS? All the script does is copy the cPanel user accounts, user settings and other settings required to make the transfer. Though you might want to be running a newer OS on server B...

    So if server A is online and working, get Server B online and working. Then run the script and follow the destructions. If it doesn't work, try it again until you understand the process. Server A won't vanish off the face of the planet, all you need to do is change the IPs back to how they were before the transfer. Everything will be where it was before you started the attempt to copy.

    That or you could just pay someone to do it for you.
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

  8. #53
    Registered User
    Join Date
    Mar 2010
    Posts
    4

    Default

    Ok I'll remove the accounts that were copied over using whm and attempt using the script.

  9. #54
    Registered User
    Join Date
    Mar 2010
    Posts
    4

    Thumbs up Update

    Just an update for anyone who reads this in the future..

    I tried using the script and it did work successfully, but I had some interesting problems. All of the accounts seemed to copy over correctly and were live on the web like they should've been, but in WHM none of the accounts showed up when I would click list accounts. While the script was running I noticed a couple of the rsyncs failed and I'm sure that is why.

    My final solution was to remove everything and use the WHM multiple account copy once again. One very important step I did this time and left out last time was running
    Code:
    chkconfig ipaliases off
    on both of the machines prior to restarting after the transfer was complete.

    Anyway it's all working now and I thank everyone who helped me try to resolve this

  10. #55
    Registered User
    Join Date
    Apr 2010
    Posts
    1

    Default Two additional steps and it worked for my cPanel 11.25.0-R44718

    I had to edit my post, as it turns out, four additional steps were needed FTW.

    1) An additional folder was in need of migration (add to script for others, please!), since I am using SSL certs:

    /etc/ssl


    2) AFTER the migration, Cpanel and WHM were slightly broken on the destination server, for example:

    ** Pages in WHM looked slightly abnormal, for example, Server Configuration actually appeared to be spelled TServer TConfiguration.
    ** Features like File Manager did not work right.

    These two errors alone prompted me to try the following on the destination server.

    Code:
    /scripts/upcp --force
    I ran this after trying without the --force modifier and a reboot.

    3) Domains were not properly showing up in some lists in WHM as assigned to accounts/resellers. I decided to try creating a new account with reseller privileges (a test account I could delete later) and see what happened. After this, all the accounts/resellers magically were linked to the proper domains, just like on the original server.

    4) I had to reassign hosting packages to all the sites, as many accounts were showing up as unknown package, resulting in unlimited bandwidth and unlimited quota, I believe by default.

    Now, sites/cPanel are running smoothly, after an additional hour of "tinkering"

    cPanel 11.25
    CentOS 5.4 x64 (Xen Kernel)
    Citrix XenServer 5.5
    Last edited by ceesco53; 04-16-2010 at 01:44 PM.

  11. #56
    Member
    Join Date
    May 2004
    Location
    Eindhoven
    Posts
    57

    Default

    Do you have your own DNS running? How did you go about moving the DNS?

  12. #57
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Dec 2002
    Location
    Kungsbacka, Sweden
    Posts
    103

    Default

    had used that script about 20 times and it workes fine, ssl dir & ssh keys should be moved also.

    We run this script several times on live server, last time before the move we kill the mysql on the old server and sync the last mysql changes before ip change.

+ Reply to Thread
Page 4 of 4 FirstFirst ... 2 3 4
Similar Threads & Tags
Similar threads

  1. Filed with Developers Clone Server Configuration [Case 42206, Case 55507]
    By cPanelDavidG in forum Feature Requests for cPanel/WHM
    Replies: 95
    Last Post: 05-11-2012, 02:54 PM
  2. Clone WHM/cPanel Config Settings to New Server(s)
    By Sir William in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-21-2011, 12:53 AM
  3. FormMail Clone using 'From:' webmaster@hostname.server.com
    By scorpio1 in forum E-mail Discussions
    Replies: 1
    Last Post: 08-03-2008, 05:01 AM
  4. Clone a cPanel server
    By SeanLee in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-06-2004, 12:43 PM
  5. Change master name server from server 1 to server 4
    By Curt in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-16-2002, 01:45 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube