The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by jsniper, Jun 5, 2012.

  1. jsniper

    jsniper Member

    Joined:
    Sep 8, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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
     
    #1 jsniper, Jun 5, 2012
    Last edited: Jun 5, 2012
  2. wizzy420

    wizzy420 Well-Known Member

    Joined:
    Nov 13, 2007
    Messages:
    125
    Likes Received:
    2
    Trophy Points:
    18
    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. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    <deleted due to my erroneous reply>
     
    #3 mtindor, Jun 5, 2012
    Last edited: Jun 5, 2012
  4. jsniper

    jsniper Member

    Joined:
    Sep 8, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1

    Thanks for your reply.
     
  5. wizzy420

    wizzy420 Well-Known Member

    Joined:
    Nov 13, 2007
    Messages:
    125
    Likes Received:
    2
    Trophy Points:
    18
    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
     
Loading...

Share This Page