Skip to main content

How migrate cPanel&WHM on new hardware?

Comments

24 comments

  • ffeingol
    Yes, it's called the cPanel system requirements)
    0
  • quietFinn
    You can't install cPanel in Red Hat 9:
    0
  • Elizabeta
    Hello, Thank you all for your answers! We have to install new machine with CloudLinux 8, Rocky Linux or AlmaLinux 8 then migrate cPanel accounts on this new machine. Which operating system do you recommend, which is more similar to Red Hat? Which operating system is recommended to install for cPanel&WHM? cPanel Transfer Tool helps us to migrate also DNSonly? Best regards, Elizabeta
    0
  • quietFinn
    Which operating system is recommended to install for cPanel&WHM?

    At the moment I'd recommend AlmaLinux 8/CloudLinux 8.
    cPanel Transfer Tool helps us to migrate also DNSonly?

    No, and there is really nothing to migrate, set it up, connect to the cluster and that's it :rolleyes:
    0
  • Elizabeta

    Hello,

    I have one more question about existing license for cPanel. When I install a new os on new hardware what ip address should I put (I guess new)?
    Which license can I choose? Do I also transfer the existing license from old hardware to a new hardware?

    Best regards,
    Elizabeta

     
    0
  • cPRex Jurassic Moderator

    Our team would be able to issue you a temporary license for 15 days while you perform the migration.  Once everything is moved over to the new machine you could order a full license for that system and cancel the license on the old machine.  There is no link between the licenses of the machines at all.

    You would use the main IP of the server when ordering the license.

    0
  • Elizabeta

    Hello,

    So, when I install cPanel on new machine (new hardware) then I should use new IP address? And ask cPanel for temporary license? Also I must use new IP adress on new another machine for DNS Only?
    When the account migration is complete then I should order a full license for that system and cancel the license on the old machine?

    Best regards,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    That is all correct.

    0
  • Elizabeta

    Hello,

    I must ask one more question.
    So, when I install cPanel on new machine (new hardware) and DNS Only on other machine then I should use new IP address on both machine. And ask cPanel for temporary license for 15 days.
    When the account migration is complete, I must shut down old server (source) and on new server change IP address (put again IP address of the source).
    My question is:
    Will I automatically get the already existing license from cPanel back or do I have to ask for a new license again?

    Thank you!

    Best regards,
    Elizabeta

     



    0
  • cPRex Jurassic Moderator

    You would only need to do that if you plan to move the IP address to the new machine.  Most users don't, and just continue with the new IP.

    The license *could* potentially lock if it gets moved to a new IP as part of a fraud detection system, but a quick message to our Technical Support or Customer Service teams would take care of that.

    0
  • Elizabeta

    Hello,

    We plan to move the IP address to the new machine, new hardware with new OS, because old OS is RedHat. So, IP address remains same.
    First, I must get Trial licence on target server, but when migration is complete, old source server shut down, I change IP address on new target machine (same IP address like before migration), what about the license. Will the old license be valid?

     



     

    0
  • cPRex Jurassic Moderator

    The old license will still be valid as the licenses are IP-based.  You'll just need to run the following command to force a license update:

    /usr/local/cpanel/cpkeyclt

    and then be prepared to contact us if it doesn't refresh.

    0
  • Elizabeta

    Hello,

    cPRex thank you!

    Best regards,
    Elizabeta

    0
  • Elizabeta

    Hello,

    So, first I must install cPanel& WHM on target server. On source server there is cPanel version 110.0.24.
    I read that "The replacement cPanel & WHM server should contain identical software to the old source server". How can we install cPanel version 110.0.24 on target server?
    I read installation guide and command is "

    To install cPanel & WHM on your server, run the following command:
    cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

    Also, I read that I should have Alma Linux 8 for version cPanel under 114. Is this correct?

     
    0
  • cPRex Jurassic Moderator

    You should install the latest stable version of cPanel, which is 118 right now.  That will work just fine for the migration.

    0
  • Elizabeta

    Hello,

    I read documentation https://docs.cpanel.net/knowledge-base/transfers-and-restores/how-to-move-all-cpanel-accounts-from-one-server-to-another 
    There are instruction ""The replacement cPanel & WHM server should contain identical software to the old source server"
    So, now my cPanel&WHM are on version 110.0.24 . Which version of cPanel can I use on the target server? You said that I should use latest 118 version??

    Best regards,
    Elizabeta

     
    0
  • Elizabeta

    Hello,

    To confirm, I should do migration of cPanel accounts from one hardware to another newer hardware.

    Best regards,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    Yes

    0
  • Elizabeta

    Hello,

    I did not understand, If is my cpanel version 110.0.24, which cpanel version I should install on target server (the migration cpanel will be done to that target server)?
    In documentation there is : "The replacement cPanel & WHM server should contain identical software to the old source server. This includes MySQL® or MariaDB®, PHP, PHP extensions, Apache®, Apache extensions, and other software options..."

    Best regards,
    Elizabeta


    0
  • cPRex Jurassic Moderator

    You can install version 118.  it will be just fine.

    0
  • Elizabeta

    Hello,

    Thank you cPRex! So, this sentence from documentations : "The replacement cPanel & WHM server should contain identical software to the old source server. This includes MySQL® or MariaDB®, PHP, PHP extensions, Apache®, Apache extensions, and other software options..."
    means that I can install cPanel 118, but I must install same version of MySQL, PHP, PHP extensions, Apache, Apache extensions like on old server?

    BR,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    It doesn't mean you *have* to install the same versions, but it means that you could run into compatibility issues if you don't.

    0
  • Elizabeta

    Hello,

    Thank you very much! I have noticed that my MySql version is 5.7, so I must first upgrade MySql on newer version on old cPanel server and continue process of migration.

    Best regards,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    It would be ideal if the MySQL versions matched, yes.

    0

Please sign in to leave a comment.