Results 1 to 13 of 13
  1. #1
    Join Date
    Apr 2009
    Location
    Egypt
    Posts
    39

    Exclamation Xen Kernel UpDate

    Hello,

    i use the solusvm

    my node is xen

    I update the xen kernel to the last

    [[email protected] ~]# uname -a
    Linux Xen.X*********** 2.6.18-348.16.1.el5xen #1 SMP Wed Aug 21 04:45:07 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

    but the kernel in the VPS in the Node is

    -bash-3.2# uname -a
    Linux server.X*********** 2.6.18-348.12.1.el5xen #1 SMP Wed Jul 10 06:13:22 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

    How to solve this problem?

    I want to run VPS on the last kernel that install on the Node

    Thanks.

  2. #2
    Join Date
    Apr 2006
    Location
    United Kingdom
    Posts
    609

    Xen Kernel UpDate

    Did you reboot after updating the kernel?
    John Slane | Systems Administrator

  3. #3
    Join Date
    Apr 2009
    Location
    Egypt
    Posts
    39
    Quote Originally Posted by [JSH]John View Post
    Did you reboot after updating the kernel?
    yes

    and i checked after reboot

    [[email protected] ~]# uname -a
    Linux Xen.X*********** 2.6.18-348.16.1.el5xen #1 SMP Wed Aug 21 04:45:07 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

  4. #4
    Join Date
    Apr 2006
    Location
    United Kingdom
    Posts
    609

    Xen Kernel UpDate

    Have a look at your /etc/grub.conf and see if it is set to the correct kernel. Reply with the content if you aren't sure and I'll have a look.
    John Slane | Systems Administrator

  5. #5
    Join Date
    Apr 2009
    Location
    Egypt
    Posts
    39
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,0)
    # kernel /vmlinuz-version ro root=/dev/sda3
    # initrd /initrd-version.img
    #boot =/dev/sda
    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title CentOS (2.6.18-348.16.1.el5xen)
    root (hd0,0)
    kernel /xen.gz-3.4.4 dom0_mem=4096M
    module /vmlinuz-2.6.18-348.16.1.el5xen ro root=LABEL=/ nodmraid
    module /initrd-2.6.18-348.16.1.el5xen.img

    title CentOS (2.6.18-348.16.1.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-348.16.1.el5 ro root=LABEL=/ nodmraid
    initrd /initrd-2.6.18-348.16.1.el5.img

    and
    [[email protected] ~]# uname -a
    Linux Xen.X*********** 2.6.18-348.16.1.el5xen #1 SMP Wed Aug 21 04:45:07 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

    but in any VPS
    -bash-3.2# uname -a
    Linux server.X*********** 2.6.18-348.12.1.el5xen #1 SMP Wed Jul 10 06:13:22 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

  6. #6
    Join Date
    Mar 2005
    Location
    Maine, USA
    Posts
    302
    Correct me if I am wrong, but updating the node's kernel when running Xen doesn't update the guest VMs' kernels automatically, unlike OpenVZ. You have to log into each VM and update them manually (or use some type of automated process like puppet or shell script).

  7. #7
    Join Date
    Apr 2009
    Location
    Egypt
    Posts
    39
    I Tested

    -bash-3.2# yum list | grep kernel
    kernel-headers.x86_64 2.6.18-348.16.1.el5 installed
    kernel-xen.x86_64 2.6.18-348.16.1.el5 installed
    kernel-xen-devel.x86_64 2.6.18-348.16.1.el5 installed
    kernel.x86_64 2.6.18-348.16.1.el5 updates
    kernel-debug.x86_64 2.6.18-348.16.1.el5 updates
    kernel-debug-devel.x86_64 2.6.18-348.16.1.el5 updates
    kernel-devel.x86_64 2.6.18-348.16.1.el5 updates
    kernel-doc.noarch 2.6.18-348.16.1.el5 updates
    yum-kernel-module.noarch 1.1.16-21.el5.centos base

    but look
    -bash-3.2# uname -a
    Linux server.*****.com 2.6.18-348.12.1.el5xen #1 SMP Wed Jul 10 06:13:22 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

    How fixed this ?

  8. #8
    Join Date
    Apr 2006
    Location
    United Kingdom
    Posts
    609

    Xen Kernel UpDate

    Have you ran a yum update in the VPS and rebooted? Upgrading the kernel on the node doesn't update the kernel in a Xen VPS.
    John Slane | Systems Administrator

  9. #9
    Join Date
    Apr 2009
    Location
    Egypt
    Posts
    39
    yes

    i rebooted the node and update vps kernel and reboot the vps

  10. #10
    yum install centos-release-xen
    Once that is done, we can now install xen itself:

    yum install xen
    The Xen hypervisor runs above the linux kernel, and we need to tell grub to boot it first and then chain boot the linux kernel for our dom0. In order to do that, a script is provided as part of the centos-release-xen rpm, lets run that now:

    /usr/bin/grub-bootxen.sh
    At this point if you look at your /boot/grub/grub.conf it should have something like this:


    title CentOS (3.4.46-8.el6.centos.alt.x86_64)
    root (hd0,0)
    kernel /xen.gz dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=all
    module /vmlinuz-3.4.46-8.el6.centos.alt.x86_64 ro root=/dev/mapper/vg_xen01-lv_root rd_LVM_LV=vg_xen01/lv_swap rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk rd_NO_MD LANG=en_GB rd_LVM_LV=vg_xen01/lv_root SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_DM rhgb quiet
    module /initramfs-3.4.46-8.el6.centos.alt.x86_64.img
    and this should be set as your default boot kernel. Once you reboot, verify that the 3.4 kernel is running with:

    uname -r
    and verify that xen is running with:

    xm info

  11. #11
    Join Date
    Apr 2009
    Location
    Egypt
    Posts
    39
    I Tested

    -bash-3.2# yum list | grep kernel
    kernel-headers.x86_64 2.6.18-348.16.1.el5 installed
    kernel-xen.x86_64 2.6.18-348.16.1.el5 installed
    kernel-xen-devel.x86_64 2.6.18-348.16.1.el5 installed
    kernel.x86_64 2.6.18-348.16.1.el5 updates
    kernel-debug.x86_64 2.6.18-348.16.1.el5 updates
    kernel-debug-devel.x86_64 2.6.18-348.16.1.el5 updates
    kernel-devel.x86_64 2.6.18-348.16.1.el5 updates
    kernel-doc.noarch 2.6.18-348.16.1.el5 updates
    yum-kernel-module.noarch 1.1.16-21.el5.centos base

    but look
    -bash-3.2# uname -a
    Linux server.*****.com 2.6.18-348.12.1.el5xen #1 SMP Wed Jul 10 06:13:22 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

    How fixed this ?

  12. #12
    Join Date
    Mar 2006
    Location
    Servers
    Posts
    1,588
    On the VPS hardware node with SolusVM try this:

    php /usr/local/solusvm/includes/xenkernel.php
    QHoster.com - Web Hosting with DDoS Protection | Shared & Reseller in Europe/North America
    Linux/Windows RDP VPS 13 Locations : UK, US (5 states), Mexico, Canada, Bulgaria, Lithuania,
    Italy, France, Germany,Netherlands, Switzerland, Rissia, Singapore | OpenVPN/PPTP Enabled
    INSTANT | PayPal, Skrill, Payza, Bitcoin, WebMoney, Perfect Money, Ukash, CashU, paysafecard

  13. #13
    Join Date
    Apr 2009
    Location
    Egypt
    Posts
    39
    this command is work and the error fixed it now

    Thanks .

Similar Threads

  1. update kernel
    By mixmox in forum Hosting Security and Technology
    Replies: 5
    Last Post: 03-22-2013, 04:33 PM
  2. After update xen kernel xen vps not booting
    By suvro in forum Hosting Software and Control Panels
    Replies: 3
    Last Post: 10-11-2012, 07:20 AM
  3. Replies: 0
    Last Post: 08-03-2010, 01:35 AM
  4. kernel update
    By AndyJ in forum Hosting Security and Technology
    Replies: 2
    Last Post: 03-31-2005, 10:11 PM
  5. Replies: 0
    Last Post: 03-15-2004, 04:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •