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.

Upgrading My Kernel

Discussion in 'General Discussion' started by AmishPatel, Feb 25, 2005.

  1. AmishPatel

    AmishPatel Registered

    Joined:
    Feb 22, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    All,

    been experiencing a lot of problems with my server over the last few days and my host recommended I update my kernel to the latest red hat standard. Now I'm a novice with SSH so would like some help from you guys.

    My server is DELL DUAL XEON - 2.0Ghz - CPanel - (2)73GBHD - 1GBRAM - 1000 Gigs Transfer

    Running WHM 10.0.0 cPanel 10.0.0-R112

    Could anyone be kind enough to provide a step-by-step version of how I'd do this in root/SSH including maybe a backup technique if something goes wrong?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    need operateing system
     
  3. roskopfj

    roskopfj Member

    Joined:
    Dec 7, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I was wondering about this too... Dell servers usually come with Redhat EL3...

    If you run the redhat up2date and update the SMP kernel, is it likely that the performace will suffer compared to the older dell provided kernel?

    I have not updated the kernel on my Dell server either, because I was concerned that my performance would suffer using the default kernel because Dell probably has all the right drivers compiled directly into the kernel that they supplied with the machine, and I don't know enough about kernels to compile my own.
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    RHE dual xeon

    using lilo boot loader
    up2date --download --force kernel-smp
    cd /var/spool/up2date
    rpm -ivh kernel-smp-<latest kernel package>.rpm
    lilo -v -v
    lilo -R <latest kernel package>
    shutdown -r now

    make sure that no errors appear when you run lilo
    The lilo -R command will make it boot once to the new kernel
    if it does not come back on line power cycle the server to reboot to old kernel (if you do not have physical access or a remote reboot port have your data center reboot)

    if server comes on line and runs well with the new kernel edit lilo.conf to boot to the new kernel
    pico /etc/lilo.conf and set "default=" the new kernel label


    GruB loader
    up2date --download --force kernel-smp
    cd /var/spool/up2date
    rpm -ivh kernel-smp-<latest kernel package>.rpm
    pico /etc/grub.conf and add the new kernel above the other kernels listed in same format changing kernel ver
    set your default to to your current working kernel
    save
    grub
    enter "savedefault --default=0 --once" at the promt without the quotes
    exit
    shutdown -r now

    if it does not come back on line power cycle the server to reboot to old kernel (if you do not have physical access or a remote reboot port have your data center reboot)

    if server comes on line and runs well with the new kernel pico /ect/grub.conf and set your default kernel
    default=0
    save

    done :)

    disclaimer if you bork your kernel update do not blame me all info use at your own risk
     
    #4 dalem, Feb 25, 2005
    Last edited: Sep 26, 2005
Loading...

Share This Page