Results 1 to 5 of 5

Thread: Installing CentOS/Cpanel on SSD plus RAID 10 for home directory

  1. #1
    Member
    Join Date
    Sep 2005
    Posts
    6

    Exclamation Installing CentOS/Cpanel on SSD plus RAID 10 for home directory

    I will be using my cpanel server to host one website that will be a video sharing website similar to youtube. I would like to know if what I write below is a good idea.

    Install CentOS 5.7 (64 bit) with Cpanel on the 60GB SSD (solid state) hard drive but while installing Cpanel I want to set the home directory to use my RAID 10 drives. I have four 2TB hard drives which are giving me 3.8TB in total. I also want to make sure that mysql stays on the SSD drive too.

    I want to use those large hard drives to store the home directory since the user account that will be hosting the video website will also be using their home folder to store the videos that will be uploaded as well as streaming.

    If this sounds like a good idea, can you tell me the commands to format and partition my hard drives? I already have the RAID 10 setup and the SSD also. Basically the system sees 2 disks, the SSD and the RAID 10 array.

    Thank you
    Last edited by jsniper; 06-05-2012 at 10:58 AM.

  2. #2
    Member
    Join Date
    Nov 2007
    Posts
    120

    Default Re: Installing CentOS/Cpanel on SSD plus RAID 10 for home directory

    Simply install CentOS as you would normally on the 60GB drive, use fdisk to partition raid array, create a file system on raid array, mount as /home, edit fstab and add /home, run yum update, reboot to be sure /home is mounted on boot

    run install script for cpanel

    I would be scared to use a single 60GB SSD, would be prudent to use two in a mirror.

  3. #3
    Member
    Join Date
    Sep 2004
    Location
    inside a catfish
    Posts
    1,097
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Installing CentOS/Cpanel on SSD plus RAID 10 for home directory

    <deleted due to my erroneous reply>
    Last edited by mtindor; 06-05-2012 at 12:47 PM. Reason: I misunderstood the instructions

  4. #4
    Member
    Join Date
    Sep 2005
    Posts
    6

    Default Re: Installing CentOS/Cpanel on SSD plus RAID 10 for home directory

    Quote Originally Posted by wizzy420 View Post
    Simply install CentOS as you would normally on the 60GB drive, use fdisk to partition raid array, create a file system on raid array, mount as /home, edit fstab and add /home, run yum update, reboot to be sure /home is mounted on boot

    run install script for cpanel

    I would be scared to use a single 60GB SSD, would be prudent to use two in a mirror.

    Thanks for your reply.

  5. #5
    Member
    Join Date
    Nov 2007
    Posts
    120

    Default Re: Installing CentOS/Cpanel on SSD plus RAID 10 for home directory

    If redundant SSD isn't possible here's a thought ... install CentOS on RAID array.

    fdisk & mount SSD on /var/lib/mysql

    Do as above, reboot, make sure mysql still mounted ... install cpanel

    This would get your boot/logs on RAID and SQL on SSD

    then a good backup plan to keep that single SSD database backed up to RAID array

    Still think 2x SSD and mirroring would be best

Similar Threads

  1. Replies: 2
    Last Post: 03-29-2012, 04:58 PM
  2. Installing cPanel 11 on CentOS 5.1
    By bsamson in forum New User Questions
    Replies: 1
    Last Post: 05-29-2008, 01:09 PM
  3. Centos - Cpanel - Raid-1 and partitions
    By xeonia in forum Data Protection
    Replies: 2
    Last Post: 04-04-2008, 10:04 AM
  4. Software RAID 1 (mirror) CentOS 4.2 64bit
    By Tagor in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 02-07-2006, 03:53 AM