Running CloudLinux 7 with OVH server

Servers from OVH can require additional configurations after converting to CloudLinux 7.

Also, use this KB article if you are getting the following warning with cldeploy:

Complete checklist to successfully run CloudLinux 7 kernel.

1. Check for proper UUIDs and correct mdadm.conf file formatting

Take UUIDs for RAID devices with mdadm utility:

Modify /etc/mdadm.conf file to make it look like in the example below. Note that AUTO command is required.

2. Check for the proper command line in grub.cfg file

Check if “net.ifnames=0 rd.auto=1” are present in grub.cfg file:

If no output returned, you have to edit default grub:

And add those options to cmdline:

Regenerate grub.cfg:

3. Check if RAID drivers added

Make sure raid.conf contains all the required options. In most cases $add_drivers is missing:

It should look as follows:

Regenerate initramfs file, change kernel version in the example above to the latest one installed on your server:

4. Optional, switch to UUIDs in /etc/fstab

Take block IDs for md devices:

Open /etc/fstab and replace md* with UUIDs:

5. Check if CloudLinux kernel is going to be booted with grub

If needed – choose CloudLinux kernel. Please follow http://kb.cloudlinux.com/2015/05/how-do-i-choose-which-kernel-to-boot-on-cloudlinux-7/

If you experience any issues during server boot with CloudLinux 7 kernel – reboot the server into rescue console and create a ticket at https://helpdesk.cloudlinux.com .

Leave a Reply

Your email address will not be published. Required fields are marked *