On Sat, Jan 26, 2013 at 9:32 AM, Axton <[email protected]> wrote:
> On Sat, Jan 26, 2013 at 9:09 AM, Axton <[email protected]> wrote:
>> Thanks for the info.  I will update the kernel and report back.  For
>> your information, I am running Debian Lenny and using the latest
>> kernel from Debian packages.

This appears to have addressed the issue.  Thanks for the help.  I'm
including verbose information on the steps I performed in the event
someone runs into the same issue.

*** I updated the kernel and related utilities to the following versions:
  vzkernel-2.6.32-042stab072.10.x86_64
  vzkernel-devel-2.6.32-042stab072.10.x86_64
  vzkernel-headers-2.6.32-042stab072.10.x86_64
  vzkernel-firmware-2.6.32-042stab072.10.noarch
  vzctl-4.1.2-1.x86_64
  vzctl-core-4.1.2-1.x86_64
  ploop-1.6-1.x86_64
  ploop-devel-1.6-1.x86_64
  ploop-lib-1.6-1.x86_64
  vzquota-3.1-1.x86_64

*** I used the following steps to install the kernel and related utilities:

- Install dependencies
        apt-get install libcgroup1 libcgroup-dev
- Run Commands to install RHEL kernel
        apt-get install fakeroot alien
        mkdir -p /root/openvz/042stab072.10
        cd /root/openvz/042stab072.10
        wget 
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab072.10/vzkernel-2.6.32-042stab072.10.x86_64.rpm
        wget 
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab072.10/vzkernel-devel-2.6.32-042stab072.10.x86_64.rpm
        wget 
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab072.10/vzkernel-headers-2.6.32-042stab072.10.x86_64.rpm
        wget 
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab072.10/vzkernel-debug-2.6.32-042stab072.10.x86_64.rpm
        wget 
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab072.10/vzkernel-debug-devel-2.6.32-042stab072.10.x86_64.rpm
        wget 
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab072.10/vzkernel-firmware-2.6.32-042stab072.10.noarch.rpm
        wget 
http://download.openvz.org/utils/vzctl/4.1.2/vzctl-4.1.2-1.x86_64.rpm
        wget 
http://download.openvz.org/utils/vzctl/4.1.2/vzctl-core-4.1.2-1.x86_64.rpm
        wget http://download.openvz.org/utils/ploop/1.6/ploop-1.6-1.x86_64.rpm
        wget 
http://download.openvz.org/utils/ploop/1.6/ploop-devel-1.6-1.x86_64.rpm
        wget 
http://download.openvz.org/utils/ploop/1.6/ploop-lib-1.6-1.x86_64.rpm
        wget 
http://download.openvz.org/utils/vzquota/3.1/vzquota-3.1-1.x86_64.rpm
        fakeroot alien --to-deb --scripts --keep-version vz*.rpm ploop*.rpm
        dpkg --force-overwrite -i vz*.deb ploop*.deb
- manually update /etc/vz/vz.conf (add/alter parameters where it makes sense)
        root@cluster-02:/# diff -ub /etc/vz/vz.conf.bak /etc/vz/vz.conf
        --- /etc/vz/vz.conf.bak 2013-01-26 12:30:09.767485596 -0600
        +++ /etc/vz/vz.conf     2013-01-26 12:32:02.122986236 -0600
        @@ -3,6 +3,7 @@
         LOCKDIR=/var/lib/vz/lock
         DUMPDIR=/var/lib/vz/dump
         VE0CPUUNITS=1000
        +VE_STOP_MODE=suspend
        
         ## Logging parameters
         LOGGING=yes
        @@ -14,7 +15,7 @@
         DISK_QUOTA=yes
         VZFASTBOOT=no
        
        -# Disable module loading. If set, vz initscript do not load any 
modules.
        +# Disable module loading. If set, vz initscript does not load any 
modules.
         #MODULES_DISABLED=yes
        
         # The name of the device whose IP address will be used as source IP 
for CT.
        @@ -35,12 +36,14 @@
         VE_PRIVATE=/var/lib/vz/private/$VEID
         CONFIGFILE="basic"
         DEF_OSTEMPLATE="centos-5"
        +## Filesystem layout for new CTs: either simfs (default) or ploop
        +#VE_LAYOUT=ploop
        
         ## Load vzwdog module
         VZWDOG="no"
        
        -## IPv4 iptables kernel modules
        -IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter
iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"
        +## IPv4 iptables kernel modules to be enabled in CTs by default
        +IPTABLES_MODULES="$IPTABLES"
        
         ## Enable IPv6
         IPV6="yes"
- update /etc/sysctl.conf (added)
        # On Hardware Node we generally need
        # packet forwarding enabled and proxy arp disabled
        net.ipv4.ip_forward = 1
        net.ipv6.conf.default.forwarding = 1
        net.ipv6.conf.all.forwarding = 1
        net.ipv4.conf.default.proxy_arp = 0
        
        # Enables source route verification
        net.ipv4.conf.all.rp_filter = 1
        
        # Enables the magic-sysrq key
        kernel.sysrq = 1
        
        # We do not want all our interfaces to send redirects
        net.ipv4.conf.default.send_redirects = 1
        net.ipv4.conf.all.send_redirects = 0
- set default boot image
        vi /etc/default/grub
                set default image=6
        update-grub
- make openvz boot automatically
        update-rc.d vz defaults
        update-rc.d vzeventd defaults
- reboot


*** System Information, Post-Installation
        root@cluster-02:~/openvz/042stab072.10# uname -a
        Linux cluster-02 2.6.32-042stab072.10 #1 SMP Wed Jan 16 18:54:05 MSK
2013 x86_64 GNU/Linux

        root@cluster-02:~/openvz/042stab072.10# vzctl --version
        vzctl version 4.1.2

Regards,
Axton Grams
_______________________________________________
Users mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/users

Reply via email to