[Users] Re: help me ,thanks
Hi, please check your vzlist settings: # vzlist o veid -H to # vzlist -Ho ctid ( Option "veid" can be deprecated in future) # vzlist -H -o ctid Bye, Thorsten On 10/24/2011 01:40 PM, schrieb 张立洪: > dears: > > I want run phoronix-test-suite test all vps performance,and need running > phoronix-test-suite benchmark in vps concurrently. > > commands as follows: > # for i in `vzlist o veid -H`; do \ > echo "VPS $i"; vzctl exec $i phoronix-test-suite run pts/test ; done > > but is shows error "vzlist o veid -H"is "bad CT ID". > > please tell me why? what is posting password? ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] How to identify the physical machine when you are inside the container?
Hi, you can use action scripts mount, see OpenVZ User Guide, p. 89 (-> http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf ) or man page vzctl (8) on ct mount, a ct0 hostname info is writen inside the ct, like: ---8<... ...( file: /etc/vz/conf/vps.mount )... #!/bin/bash # global vps.mount script # write hostname ct0 info from ct0 to ctX # include the ct config . $VE_CONFFILE hostname > $VE_PRIVATE/_to/any/place/where/you/like/it_ exit 0 ---8<... Bye, Thorsten Am 09.05.2011 10:13, schrieb Benjamin Henrion: > Hi, > > Do you have any trick to identify the physical machine (with some kind > of cat /proc/something) when you are inside the container? > > I want to just get the hostname of the HN when I am inside the containers. > > Any simple of doing it? > > Best, > > -- > Benjamin Henrion > FFII Brussels - +32-484-566109 - +32-2-4148403 > "In July 2005, after several failed attempts to legalise software > patents in Europe, the patent establishment changed its strategy. > Instead of explicitly seeking to sanction the patentability of > software, they are now seeking to create a central European patent > court, which would establish and enforce patentability rules in their > favor, without any possibility of correction by competing courts or > democratically elected legislators." > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] /usr/sbin/vzmigrate: line 312: vzctl: command not found
Hi, see http://git.openvz.org/?p=vzctl;a=commit;h=bfa856a9e440d536a4f11e33fe9748863cc85708 or/and upgrade to vzctl 3.0.26.2 see http://wiki.openvz.org/Download/vzctl/3.0.26.3 Bye, Thorsten Am 10.05.2011 15:59, schrieb kna...@gmail.com: > Hi! > > I am trying to migrate a VM from one remote node to another one but > invoking vzmigrate command from third machine (front-end). Something like > [front-end]$ ssh sudo /usr/sbin/vzmigrate --online > > But I am getting the following error when executing the command below as > unprivileged user with permissions in /etc/sudoers file to run > /usr/sbin/vz* scripts: > [front-end]$ ssh sudo /usr/sbin/vzmigrate --online > > Warning: Permanently added 'remote_hostname_1,remote_host_IP_1' (RSA) to > the list of known hosts. > Starting online migration of CT to > /usr/sbin/vzmigrate: line 312: vzctl: command not found > Error: Can't perform online migration of a stopped container > > In 312 line of/usr/sbin/vzmigrate file thevzctl is invoked as > [...] > get_status $($VZCTL status $VEID) > [...] > > and VZCTL is defined in the beginning of that file as > VZCTL=vzctl > > I wonder if there is any reason to define VZCTL as vzctl but not with > absolute path to it (i.e. /usr/sbin/vzctl)? > > Adding /usr/sbin to $PATH in ~oneadmin/.bashrc making the following > command works > $ ssh "which vzctl" > Warning: Permanently added 'remote_hostname_1[2],remote_host_IP_1' (RSA) > to the list of known hosts. > /usr/sbin/vzctl > > but vzmigrate still fails with the error message listed above. > > Any thoughts,hints,ideas on that issue? > > Thanks in advance, > Nikolay. ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Where to upload Squeeze templates?
Hi, please contact k...@openvz.org for include your squeezed debian template to contrib Btw, squeeze is frozen, so some critical bugs are uploaded to squeeze to stablize the testing in the next time, so the template is going to be outdated! And in this script on github, the security repository for squeeze are not included: a line like: (...) deb http://ftp.de.debian.org/debian-security squeeze/updates main non-free [contrib] (...) is missing on apt/sources.list Bye, Thorsten On Tue, 23 Nov 2010 11:32:06 +0100, Benjamin Henrion wrote: Hi, I have done some templates for Debian squeeze with the following script: https://github.com/zoobab/openvz-scripts/blob/master/create-template-debian-squeeze-amd64.sh Do you know where I can upload them? Any incoming directory on ftp.openvz.org? Best, -- Benjamin Henrion FFII Brussels - +32-484-566109 - +32-2-4148403 "In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators." ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Where to upload Squeeze templates?
Hi, please contact k...@openvz.org for include your squeezed debian template to contrib Btw, squeeze is frozen, so some critical bugs are uploaded to squeeze to stablize the testing in the next time, so the template is going to be outdated! And in this script on github, the security repository for squeeze are not included: a line like: (...) deb http://ftp.de.debian.org/debian-security squeeze/updates main non-free [contrib] (...) is missing on apt/sources.list Bye, Thorsten On Tue, 23 Nov 2010 11:32:06 +0100, Benjamin Henrion wrote: Hi, I have done some templates for Debian squeeze with the following script: https://github.com/zoobab/openvz-scripts/blob/master/create-template-debian-squeeze-amd64.sh Do you know where I can upload them? Any incoming directory on ftp.openvz.org? Best, -- Benjamin Henrion FFII Brussels - +32-484-566109 - +32-2-4148403 "In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators." ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Trouble w/ OOM-Killers
Hi, plz show you user_beancounters of this ct (as root)% cat /proc/bc//resources Bye, Thorsten -- Thorsten Schifferdecker OpenVZ Power User On Thu, 30 Sep 2010 18:24:17 +0200, Enrico Weigelt wrote: > Hi folks, > > I'm running a small mail server (sendmail + spamassassin) in an > ovz container, which gives me frequently OOM killers (*much* more > often than a normal setbrk() fails). > > I'd guess certain limits aren't set correctly. > > What could be wrong ? > > > uname -a: > > Linux caprica.metux.de 2.6.32.12-default #6 SMP Mon Jun 7 > 17:19:01 CEST 2010 x86_64 Dual-Core AMD Opteron(tm) Processor > 1218 HE AuthenticAMD GNU/Linux > > > conf: > > KMEMSIZE="84372700:94790164" > LOCKEDPAGES="256:256" > PRIVVMPAGES="25553600:25963200" > SHMPAGES="21504:21504" > NUMPROC="1024:1400" > PHYSPAGES="0:9223372036854775807" > VMGUARPAGES="33792:9223372036854775807" > OOMGUARPAGES="26112:9223372036854775807" > NUMTCPSOCK="2048:2048" > NUMFLOCK="4096:5096" > NUMPTY="28:32" > NUMSIGINFO="256:256" > TCPSNDBUF="2720320:3703360" > TCPRCVBUF="2720320:3703360" > OTHERSOCKBUF="1126080:2097152" > DGRAMRCVBUF="262144:262144" > NUMOTHERSOCK="360:360" > DCACHESIZE="3409920:3624960" > NUMFILE="32000:4" > AVNUMPROC="280:280" > NUMIPTENT="128:128" > DISKSPACE="8048576:9153024" > DISKINODES="40:42" > QUOTATIME="0" > > > thx > -- > -- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > phone: +49 36207 519931 email: weig...@metux.de > mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 > -- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] net.ipv4.ip_forward = 0
Hi, vzctl --version ...? Bye, Thorsten Am 24.05.2010 19:58, schrieb SD :: Ventas: > [r...@denver network-scripts]# /etc/init.d/network restart > Shutting down interface eth0: [ OK ] > Shutting down interface venet0:[ OK ] > Shutting down loopback interface: [ OK ] > Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0 >[ OK ] > Bringing up loopback interface:[ OK ] > Bringing up interface eth0:[ OK ] > Bringing up interface venet0: > Determining IP information for venet0... failed. >[FAILED] > [r...@denver network-scripts]# > > why the server changes from 1 to 0 ??? > > i cant access to my vps, so i do a restart of the networks. ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Capturing the PID of every VE during startup / shutdown.
Hi Daniel, a simple solution can be, take a look to /proc of running contaier from ct0. /proc/1/stat e.g. $ awk '{ print $1 }' /var/lib/vz/root/20123/proc/1/stat 28858 ^_real pid at ct0 Hope this helps. Bye, Thorsten On Sun, 16 May 2010 19:43:58 +1000, Daniel Pittman wrote: > G'day. > > We are currently looking into doing more monitoring and management of our > VEs > from the hardware node, and as part of that we would like to have access > to a > reasonably reliable mapping of VE id to VE init process PID on the host > node. > > (This would be, basically, the equivalent of /var/run/foo.pid, where foo > was > the VEID, and the PID was the host-node PID of the init process.) > >(...) ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] High Load
Hi, ven...@dedicados.com.mx schrieb: > how to know, wich proccess belong to wich container??? simple, check the proc fs: $ grep envID /proc//status $ vzpid (vzpid, part of vzctl, use the "envID" of process) for more about procs and containers, these progs can help: $ htop (config -> add CTID to list, sort colums with CTID) $ vzps -E axf (part of vzprocps) $ vztop -E rpm pkg can be found at: http://download.openvz.org/contrib/utils/ deb pkg cat be found at: http://debian.systs.org/debian/pool/openvz/v/vzprocps/ Bye, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Cannot stop or restart container
Hi, and any entries logged in kern.log/dmesg as well ? Bye, Thorsten Steven Crothers schrieb: > What template are you using and where did you get it from? > > I recently had a similar result from an Archlinux template, however I would > need to know more about the container to be able to relate it to my case. > > Can you vzctl enter it? > > -Original Message- > From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf > Of Gregor at HostGIS > Sent: Tuesday, March 30, 2010 3:53 PM > To: OpenVZ Maling List > Subject: [Users] Cannot stop or restart container > > Hey guys. I reported a bug some months ago, not being able to stop and > restart a container, getting a timeout instead. When I reported the bug > months ago, I was unable to replicate it at the time. But here it is > once again: I cannot stop or restart the VE. > > This clip shows the results which I see: > > # vzctl restart Customer > Restarting container > Stopping container ... > Unable to stop container: operation timed out > > # vzlist Customer > CTID NPROC STATUS IP_ADDR HOSTNAME >84 3 running - Customer > > The 3 processes, I don't know what they are but they may be related to > this, and may be a clue: After the initial vzctl restart, it got down to > 1 process before it timed out. I ran "vzctl exec Customer ps ax" and now > I notice that the NPROC increments each time I do this. However from the > HN, "ps ax | grep ps" only shows the one 'ps' which I am running, not > the ones in the VE. > > Any thoughts on how I can finally stop this thing and restart it? Note > that this is a production HN with production VEs, so rebooting it is not > an attractive option. > > HN OS is Fedora 9 > Kernel is 2.6.24.ovz009.1 > vzctl-3.0.23-1.x86_64 > vzctl-lib-3.0.23-1.x86_64 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Mail server
Hi, can you please post more infos about your configuration, esp. - ct configuration != os template # grep ^OSTEMPLATE /etc/vz/conf/.conf e.g your ct config is used for GNU\Debian System but container holds a CentOS, it's possible you've used a wrong os template for your system. ostmpl = dist-version-arch-info // .tar.gz precreated located in /vz/template/cache - any fails (counter) logged ? # cat /proc/bc//resources - which kind of software are used ? - can you provide any error of relevant logs files ? Bye, Thorsten mattias schrieb: > Don't try to install a mail server based on mysql > You only recive errors like > /etc/network/interfaces no souch file or directory > > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Re: [Debian] Nfs In VE
Hi, Arturas Skauronas wrote: On Fri, Feb 12, 2010 at 12:19 PM, Ola Lundqvist wrote: Hi Greory It's my actual, will it's possible to use better way & locks You can try to include the modules inside the VE but I do not think it is supported in the current kernel. You can also try to load the modules in the main server (VE container) and see if it works. But I have seen a bit to many error reports about this so I can not tell if it works or not. http://bugzilla.openvz.org/show_bug.cgi?id=1406 so as I understand you will have to wait a month or two ... and the vzctl nfsd feature See: http://git.openvz.org/?p=vzctl;a=commit;h=006623ef9b5a19b50c83f53e32fd8bf055dc48bd Bye, Thorsten Schifferdecker ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Setting defaults for templates...
Hi, add capability and more settings to your ct template config file, like: $ echo 'CAPABILITY="SYS_ADMIN:on "' >> /etc/vz/conf/ve-.conf-sample And deploy it ... // some capa need a restart $ vzctl set --applyconfig template_cfg [...] or use on your creation: $ vzctl create --config template_cfg [...] Bye, Thorsten Robert B wrote: > I have a template that I use which needs a certain capability enabled > each time I deploy it. Is there an easy way to set this capability > inside the template itself? > > I am sick of having to use this every time: > > vzctl set # --capa sys_admin:on --save > > If there's a way to script this, that would be even better because I > could automate a few more things... > > Thanks! > > -- Robert ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Seeing Boot Progress for Guest VM
Hi Dietmar, ... have you send the patch to bugzilla ...? Bye, Thorsten Scott Dowdle schrieb: > Greetings, > > Kir, are you reading this? If so, can you state why this patch has been > rejected? Any chance we can get it added to mainline vzctl? > > - "Dietmar Maurer" wrote: >> You can find the current sources at: >> ftp://pve.proxmox.com/sources/vzctl_2009-12-22.tar.gz >> >>> -Original Message- >>> From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On >>> Behalf Of Gordan Bobic >>> Sent: Dienstag, 29. Dezember 2009 11:04 >>> To: users@openvz.org >>> Subject: Re: [Users] Seeing Boot Progress for Guest VM >>> >>> Dietmar Maurer wrote: I have sent a patch to this list a year ago, called >> 'init-logger'. We use it in proxmox ve (pve.proxmox.com) to display init output. >>> Is this the most up to date version? >>> http://www.mail-archive.com/users@openvz.org/msg02191.html ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Openwall Linux (OWL) switches to OpenVZ kernel
Hi, Scott Dowdle schrieb: > Greetings, > > I just noticed this: > > http://www.openwall.com/Owl/ > > I haven't used Openwall myself but I'm guessing someone from Openwall might > be on this mailing list. If so, please introduce yourself. What kernel > version/branch are you guys using? > > TYL, -> http://www.openwall.com/Owl/CHANGES-current.shtml ---8<... The default kernel has been replaced with OpenVZ's latest from their "rhel5" branch, with some modifications of our own (mostly for better compatibility with the Owl userland, as well as for security). Formally, this was forked off Linux 2.6.18 (originally by Red Hat), but the changes are so extensive that this is actually an up-to-date kernel branch/version on its own, including Red Hat's back-ports of security fixes (and a lot more) and OpenVZ's container-based virtualization. This kernel branch is currently maintained by both Red Hat (for RHEL5) and OpenVZ. The specific version number we're currently using is 2.6.18-128.2.1.el5.028stab064.8-owl0.2. ---8<... Seem that the last OpenVZ linux kernel security update to version 028stab066.7 is not yet released in their repository. Bye, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] What happened to the FZA Debian Kernels?
Hi, the fzakernels are not longer supported and removed yesterday after release of the security update of stable OpenVZ Linux kernels. Please use the ovzkernel-2.6.18-686-ent (028stab064.8) : linux-image-2.6.18-20-ovz-686-ent linux-headers-2.6.18-20-ovz-686-ent Thanks, Thorsten JR Richardson schrieb: > deb http://download.openvz.org/debian-systs etch openvz > > I just downloaded these yesterday: > > linux-headers-2.6.18-14-fza-686-bigmem - Header files related to OpenVZ > Linux kernel, specifically, > linux-image-2.6.18-14-fza-686-bigmem - OpenVZ Linux kernel binary image > for version 2.6.18-14-fza-686-bigmem > > They are gone today. Are they moved to another repository or should I > be using linux-headers-2.6.18-20-ovz-686-ent instead? > > Thanks. > > JR > -- > JR Richardson > Engineering for the Masses > > > > > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] OpenVZ on 2.6.31 or newer?
Hi, Carl-Daniel Hailfinger schrieb: > Hi, > > are there any plans to support Linux 2.6.31 (or even 2.6.32)? > I heard that quite a few features provided by OpenVZ (containers, net > namespaces) are now in mainline (well, not the original OpenVZ code, but > stuff developed from scratch) and I'd like to know if vzctl can be used > to control these feature in mainline or if there are any patches to give > mainline an interface which can work with vzctl. > > Regards, > Carl-Daniel ... 2.6.32 ... see more http://forum.openvz.org/index.php?t=msg&th=8077&start=0&; Bye, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Is it possible to use sa inside CT's?
Hi Nick, Nick Knutov schrieb/wrote: > Hello all, > > Is it possible to use sa inside CT's? > > When I do > > # sa -im > > inside CT I get > > sa: ERROR -- print_stats_nicely called with num_calls == 0 > > But all seems to be ok if run on the node. "accton" is not running and has not logged any entries in the logfiles. Afaik accton (=BSD Process Accounting) can't be run in a OpenVZ container. Bye, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
kernel panic // stable OpenVZ kernel 028stab062.3 // Re: [Users] (no subject)
Hi Hans, Hans Zaunere schrieb: > Hello, > > Recently one of our host systems had the following panic and had to be cold > rebooted. > > Nov 3 15:05:40 vzhn1 kernel: general protection fault: [1] SMP > Nov 3 15:05:40 vzhn1 kernel: last sysfs file: > Nov 3 15:05:40 vzhn1 kernel: CPU: 0 > Nov 3 15:05:40 vzhn1 kernel: Modules linked in: vzethdev(U) simfs(U) > vzrst(U) ip_nat(U) vzcpt(U) ip_conntrack(U) nfnetlink(U) vzdquota(U) > xt_tcpudp(U) xt_length(U) ipt_ttl(U) x > t_tcpmss(U) ipt_TCPMSS(U) iptable_mangle(U) iptable_filter(U) > xt_multiport(U) xt_limit(U) ipt_tos(U) ipt_REJECT(U) ip_tables(U) > x_tables(U) vznetdev(U) vzmon(U) ipv6(U) xfrm_nal > go(U) crypto_api(U) vzdev(U) dm_mirror(U) dm_multipath(U) scsi_dh(U) > video(U) hwmon(U) backlight(U) sbs(U) i2c_ec(U) button(U) battery(U) > asus_acpi(U) acpi_memhotplug(U) ac(U) l > p(U) snd_hda_intel(U) snd_seq_dummy(U) snd_seq_oss(U) snd_seq_midi_event(U) > snd_seq(U) snd_seq_device(U) snd_pcm_oss(U) snd_mixer_oss(U) snd_pcm(U) > snd_timer(U) snd_page_alloc(U > ) snd_hwdep(U) parport_pc(U) snd(U) r8169(U) i2c_i801(U) sg(U) e1000e(U) > i2c_core(U) soundcore(U) mii(U) parport(U) pcspkr(U) serio_raw(U) > dm_raid45(U) dm_message(U) dm_region_h > ash(U) dm_log(U) dm_mod(U) dm_mem_cache(U) ahci(U) libata(U) shpchp(U) > aacraid(U) sd_mod(U) scsi_mod(U) ext3(U) jbd(U) uhci_hcd(U) ohci_hcd( > Nov 3 15:05:40 vzhn1 kernel: ) ehci_hcd(U) > Nov 3 15:05:40 vzhn1 kernel: Pid: 309, comm: kswapd0 Tainted: P > 2.6.18-128.1.1.el5.028stab062.3 #1 028stab062 > Nov 3 15:05:40 vzhn1 kernel: RIP: 0060:[] > [] d_free+0x10/0x48 > Nov 3 15:05:40 vzhn1 kernel: RSP: :81022a45fd00 EFLAGS: 00010206 > Nov 3 15:05:40 vzhn1 kernel: RAX: 4000 RBX: 810169bdbb18 > RCX: 810169bdbb30 > Nov 3 15:05:40 vzhn1 kernel: RDX: 8100a935f1c8 RSI: 0282 > RDI: 810169bdbb18 > Nov 3 15:05:40 vzhn1 kernel: RBP: 810169bdbb18 R08: 0282 > R09: 810107c24d00 > Nov 3 15:05:40 vzhn1 kernel: R10: 000a R11: 0282 > R12: 810169bdbb18 > Nov 3 15:05:40 vzhn1 kernel: R13: 0075 R14: 00c8 > R15: 0100 > Nov 3 15:05:40 vzhn1 kernel: FS: () > GS:803b7000() knlGS: > Nov 3 15:05:40 vzhn1 kernel: CS: 0060 DS: 0018 ES: 0018 CR0: > 8005003b > Nov 3 15:05:40 vzhn1 kernel: CR2: b74ac000 CR3: 0001df214000 > CR4: 06e0 > Nov 3 15:05:40 vzhn1 kernel: Process kswapd0 (pid: 309, veid=0, threadinfo > 81022a45e000, task 81022a45abb0) > Nov 3 15:05:40 vzhn1 kernel: Stack: 8100a935f168 800f1017 > 0282 810229bb5470 > Nov 3 15:05:40 vzhn1 kernel: 800f10d4 > 810229bb5470 8002f9c6 > Nov 3 15:05:40 vzhn1 kernel: 81022a45fd40 > 002a570b ac3fb70c > Nov 3 15:05:40 vzhn1 kernel: Call Trace: > Nov 3 15:05:40 vzhn1 kernel: [] d_kill+0x2e/0x43 > Nov 3 15:05:40 vzhn1 kernel: [] > prune_one_dentry+0xa8/0xc2 > Nov 3 15:05:40 vzhn1 kernel: [] prune_dcache+0x10f/0x149 > Nov 3 15:05:40 vzhn1 kernel: [] > shrink_dcache_memory+0x34/0xef > Nov 3 15:05:40 vzhn1 kernel: [] shrink_slab+0x108/0x187 > Nov 3 15:05:40 vzhn1 kernel: [] kswapd+0x37a/0x48f > Nov 3 15:05:40 vzhn1 kernel: [] > autoremove_wake_function+0x0/0x2e > Nov 3 15:05:40 vzhn1 kernel: [] > keventd_create_kthread+0x0/0xc4 > Nov 3 15:05:40 vzhn1 kernel: [] kswapd+0x0/0x48f > Nov 3 15:05:40 vzhn1 kernel: [] > keventd_create_kthread+0x0/0xc4 > Nov 3 15:05:40 vzhn1 kernel: [] kthread+0xfe/0x132 > Nov 3 15:05:40 vzhn1 kernel: [] child_rip+0xa/0x11 > Nov 3 15:05:40 vzhn1 kernel: [] > keventd_create_kthread+0x0/0xc4 > Nov 3 15:05:40 vzhn1 kernel: [] kthread+0x0/0x132 > Nov 3 15:05:40 vzhn1 kernel: [] child_rip+0x0/0x11 > Nov 3 15:05:40 vzhn1 kernel: > Nov 3 15:05:40 vzhn1 kernel: > Nov 3 15:05:40 vzhn1 kernel: Code: 48 8b 40 20 48 85 c0 74 02 ff d0 48 8b > bb a0 00 00 00 48 85 > Nov 3 15:05:40 vzhn1 kernel: RIP [] d_free+0x10/0x48 > Nov 3 15:05:40 vzhn1 kernel: RSP > Nov 3 15:05:40 vzhn1 kernel: Kernel panic - not syncing: Fatal exception > > uname: > Linux xxx.xxx.xxx 2.6.18-128.1.1.el5.028stab062.3 #1 SMP Sun May 10 18:54:51 > MSD 2009 x86_64 x86_64 x86_64 GNU/Linux > > Any thoughts on the cause and preventing this from happening again? Or > ideas on how to trouble shoot further? try to install the security release : 028stab064.7 -> http://wiki.openvz.org/Download/kernel/rhel5/028stab064.7 and see if this error occurs and sumit this bug to bugzilla.openvz.org Bye, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] more filesystems inside a VE
Hi, frank wrote: > Hi, > recently we have had problems because a log file has filled all disk > space inside a VE. To prevent this, it would be good to have a separate > filesystem for log files. We have read the OpenVZ docs and we have only > found how to add NFS,FUSER or bind mounts, all of them externals to VE. > Is there another way to add more filesystems inside a VE ? > You can use the "--devnodes" option of vzctl, give a ct access to an hwdwarenode device # # here example with a logical_volume on lvm2 or use a "free" partion # create lv # lvcreate -L -n examine the major minor numbers # ls -la /dev/mapper/- brw-rw 1 root disk 253, 4 Nov 2 17:42 /dev/mapper/- now let access "devnodes" of your hardwarenode to container # vzctl set --device b:253:4:rw --save create a device, i use "hwdisk-00" as a example # vzctl exec 'mknod -m 660 /dev/hwdisk-00 b 253 4' now you can use the ordinary disktool to access the "hardware" # vzctl enter ctid> fdisk|cfdisk|sfdisk ... mkfs. ctid> mkfs.xfs|ext2|3 ... ctid> mount /dev/hwdisk-00 /mntpoint ctid> edit /etc/fstab or use the /etc/vz/conf/.start "Action Script" execute scripts in ct context on start process ---8<... #!/bin/sh # # start script in containers context # see Action Scripts on OpenVZ User Guide mount /dev/hwdisk-00 /mnt ---8<... !!! Be aware of using the partion on your hardware !!! Bye, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Shutdown problems
Hi, can you please fill a bug at bugzilla.openvz.org and add info about: - what template OS is used - any log entries in syslog (kern|dmesg).log - which raid controller Bye, Thorsten HostGIS Support schrieb: > I emailed on the topic before, and have never found a solution -- nor > indeed, more than one other corroboration of the problem's existence. > But now, I have freed up a while server with OpenVZ where we can > experiment with it at will. > > The problem: Shutting down a VPS gives me a timeout after several > minutes. Although all processes in the container are dead, the container > itself will not finish shutting down. The veth device never goes down, > the container cannot be restarted, the phantom VPS will hang around > until I power-cycle the server. This interrupts shutdowns too: init 0 > and reboot never, ever work; they do nothing, they don't turn anything > off; and I have to pull the plug. > > Worse, this happens reliably -- I don't dare shut down a VPS unless it's > a migration, and I can manually complete the migration and startup, then > power-cycle the origin HN. > > BUT... Now we have a machine and some IPs with OpenVZ, and my current > project is to figure this thing out so we can reboot with confidence. > Where do we start and who's with me? :) ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] chkpnt: Error: d_path is invisible /var/lock
reHi, please post your kernel version and used OS Template. Bye, Thorsten Anthony - wrote: > Hi, > > I'm trying to use the vzctl chkpnt/restore commands. > > Here is what I get : > > 1st chkpnt OK: > > sudo vzctl chkpnt 100 --dumpfile dump1 > Setting up checkpoint... > suspend... > dump... > kill... > VE is unmounted > Checkpointing completed succesfully > > > > restore OK: > > sudo vzctl restore 100 --dumpfile dump1 > Restoring VE ... > Warning: distribution not specified default used /etc/vz/dists/default > Starting VE ... > VE is mounted > undump... > Setting CPU units: 10561 > > Configure meminfo: 138288 > Configure veth devices: hnsTap0 hnsTap1 > resume... > VE start in progress... > Restoring completed succesfully > > > > and the 2nd chkpnt fails: > > sudo vzctl chkpnt 100 --dumpfile dump1 > Setting up checkpoint... > suspend... > dump... > Can not dump VE: Invalid argument > Error: d_path is invisible /var/lock > Checkpointing failed > > > > What is the problem with /var/lock ? > > ls -lh /var/lock > total 0 > drwxr-xr-x 2 www-data root 40 2009-09-10 09:15 apache2 > -rw-r--r-- 1 root root 0 2009-09-10 09:15 vz > > > > Thanks > Anthony > > > > > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] RHEL kernel-rt security update
reHi, see http://wiki.openvz.org/Download/kernel/rhel5/028stab064.7 ---8<... Since 028stab064.4: * Fix for CVE-2009-2692 * Fix for CVE-2009-2698 ---8<... Hope this helps. Bye, Thorsten -- OpenVZ Power User with a swirl http://debian.systs.org/category/openvz/ On Tue, 08 Sep 2009 12:32:01 -0700 Ernesto Ongaro wrote > Hi, > > There's a recent high priority kernel security update to RHEL 3|4|5 that > fixes a bug that allows an unprivilidged local user to escalate their > privilidges. > > More details about the problem and fixes here: > RHEL5: http://rhn.redhat.com/errata/RHSA-2009-1222.html > RHEL4: http://rhn.redhat.com/errata/RHSA-2009-1223.html > RHEL3: http://rhn.redhat.com/errata/RHSA-2009-1233.html > > > Anyone know if there are any plans to include these fixes into the > OpenVZ kernels? > -- > Ernesto Ongaro ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] halting a VE
Hi Daniel, See vzctl man page, subsection "Checkpointing and restore", like: 1) checkpoint container: # vzctl chkpnt [more-options] 2) restore container: # vzctl restore [more-options] Btw. vzmigrate use this feature for zero-down time migration. Bye, Thorsten -- Thorsten Schifferdecker OpenVZ Power User with a swirl http://debian.systs.org/ Daniel Lüdeking schrieb: > Hello, > > i have a simple question about openVZ. > is it possible to halt and resume a virtual service instance? > > Regards, > Daniel ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] global variable for quota files
Hi Frank, nope, is hardcoded in vzquota, see VARDIR in vzquota src : http://git.openvz.org/?p=vzquota;a=blob;f=include/quota_io.h;h=6677a3f463c11090c6fb9d00813694201c789a0f;hb=fe25e9430428c03ba491f1a31f5b23bc5dc352f6 Bye, Thorsten -- Thorsten Schifferdecker OpenVZ Power User with a swirl http://debian.systs.org/ On Fri, 04 Sep 2009 08:47:13 +0200 frank wrote > Hi, > we have OpenVZ running on a cluster with a shared disk for VE data, so > we are interested to put quota files on a shared disk. > We could do a symbolic link, but we would prefer to use a global > variable for that because we think it is more clear and easy > to control. > Does such variable exist? > Regards. > > Frank ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Is this normal
Hi, is is normal, your server/system is a 4 core, so pro core a migration task is used. see: # grep ^proc /proc/cpuinfo processor : 0 processor : 1 processor : 2 processor : 3 Bye, Thorsten -- Thorsten Schifferdecker OpenVZ Poweruser with a swirl http://debian.systs.org/ Ade schrieb: > Hi > > Ive been using OpenVZ for a while now and I really like it, its awesome > > However when doing a ps -a recently I noticed this - is it normal/expected? > > 10438 ?00:00:00 migration/105/0 > 10439 ?00:00:00 migration/105/1 > 10440 ?00:00:00 migration/105/2 > 10441 ?00:00:00 migration/105/3 > 10767 ?00:00:00 init > 10768 ?00:00:00 migration/106/0 > 10769 ?00:00:00 migration/106/1 > 10770 ?00:00:00 migration/106/2 > 10771 ?00:00:00 migration/106/3 > 10826 ?00:00:00 syslogd > 10845 ?00:00:00 klogd > 10933 ?00:00:00 named > 11208 ?00:00:00 syslogd > 11241 ?00:00:00 init > 11242 ?00:00:00 migration/111/0 > 11243 ?00:00:00 migration/111/1 > 11244 ?00:00:00 migration/111/2 > 11245 ?00:00:00 migration/111/3 > > Each container seems to have a 4 processes named migration ? > Everything seems to be working fine. > > Im using Centos 5.3 and this kernel 2.6.18-92.1.18.el5.028stab060.8 #1 > SMP Mon Feb 9 21:44:50 MSK 2009 x86_64 x86_64 x86_64 GNU/Linux > > thanks, AB ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] ubuntu precreated template problem
remove the /etc/network/interfaces.template loopback entries: > auto lo > iface lo inet loopback >address 127.0.0.1 >netmask 255.0.0.0 >broadcast 127.255.255.255 >up ip route replace 127.0.0.0/8 dev lo and restart the container ... or remove entries in /etc/network/interfaces and restart networking or ifup lo Seem to affected all precreated debian and ubunutu distros at http://download.openvz.org/template/precreated/ only Bye, Thorsten -- OpenVZ Power User with a swirl http://debian.systs.org/category/openvz/ dan schrieb: I'm having problems with the precreated 8.04-x86 template. After setting the normal ipaddress/hostname/gateway settings and starting the template, I get no networking. The CentOS template works fine, so its not my networking setup. If I modify the /etc/network/interfaces file to be like a typical system, networking will restart without error, but I cannot access the network still. The host node is Ubuntu 8.04. Ideas? Suggestions? dan == r...@www:/# /etc/init.d/networking restart * Reconfiguring network interfaces... /etc/network/interfaces:14: interface lo declared allow-auto twice ifdown: couldn't read interfaces file "/etc/network/interfaces" /etc/network/interfaces:14: interface lo declared allow-auto twice ifup: couldn't read interfaces file "/etc/network/interfaces" [fail] == r...@www:/# cat /etc/network/interfaces # This configuration file is auto-generated. # WARNING: Do not edit this file, otherwise your changes will be lost. # Please edit template /etc/network/interfaces.template instead. auto lo iface lo inet loopback address 127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255 up ip route replace 127.0.0.0/8 dev lo # Auto generated interfaces auto lo iface lo inet loopback auto venet0 iface venet0 inet static address 127.0.0.1 netmask 255.255.255.255 broadcast 0.0.0.0 up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0 up route add default gw 192.0.2.1 auto venet0:0 iface venet0:0 inet static address 192.168.1.237 netmask 255.255.255.255 broadcast 0.0.0.0 = ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] network card
Hi Matthias, setup containers network $ man vzctl section "Network related parameters" venet(work) : $ vzctl set --ipadd ... \ [--nameserver ] ...\ --save veth(ernet): $ vzctl set --netif_add ... \ [--nameserver ] ...\ --save and more at http://wiki.openvz.org/Category:Networking Bye, Thorsten -- OpenVZ Power User with a swirl http://debian.systs.org/category/openvz/ mattias schrieb: help my ct dosent find any network no lo nothing ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] sshproxy + debian lenny inside openvz container
Pongracz Istvan schrieb: 2009. 01. 22, csütörtök keltezéssel 13.57-kor Scott Dowdle ezt írta: Istvan, My first question would be... are their any container UBC errors? Hi, Scott and other, thank you! Unfortunatelly there are no UBC errors. I already checked it. :( Limits are really high, compared to the maximum used values. I try to compare the working system (inside Virtualbox) with the openvz container. I tried to check the lsof, while running them, maybe I will use strace to track them... What if there is a difference in the /dev between native and VE? Thank you guys! István please post version of this 2.6.24 OpenVZ kernel $ cat /proc/vz/version Bye, Thorsten -- OpenVZ Power User with a swirl http://debian.systs.org/category/openvz/ ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] sshproxy + debian lenny inside openvz container
John Drescher schrieb: My first question would be... are their any container UBC errors? Good advice. cat /proc/user_beancounters easier to debug: $ cat /proc/bc//resources if more then 5 container are running the output is more "unclear" Bye, Thorsten -- OpenVZ Power User with a swirl http://debian.systs.org/category/openvz/ ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] kernel: ioctl32(mount:326): Unknown cmd
Hi Dietmar, i've the same on on a my fza 2.6.24 kernel without your init-logger patched vzctl version, have you some bind mount from ct0 to some containers ? - Thorsten On Thu, 8 Jan 2009 13:53:04 +0100, "Dietmar Maurer" wrote: > Ok, this is not kernel related. Seems to be related to my init-logger > vzctl patch. > > Anyways, can some developer explain the content of this debug message? > > It seem to be related to a mount command used inside a container. > >> Jan 8 10:43:12 oahu kernel: ioctl32(mount:886): Unknown cmd fd(4) >> cmd(80041272){t:12;sz:4} arg(bfaf9f48) on / > > - Dietmar ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] Re: Announcement: Proxmox Virtual Environment 1.0-Firststable release
Hi Dietmar, On Fri, 21 Nov 2008 20:06:25 +0100, "Dietmar Maurer" <[EMAIL PROTECTED]> wrote: >> @Dietmar: Btw can you plz describe where the source is downloadable ? > > ftp://pve.proxmox.com/sources/ > > But before you start the i386 port think twice - there are many useful > things you can do instead ;-) ... ok, what can we i do ;-) Bye, Thorsten -- Thorsten Schifferdecker OpenVZ Power User with a swirl http://debian.systs.org/category/openvz/ ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Re: Announcement: Proxmox Virtual Environment 1.0 -Firststable release
On Fri, 21 Nov 2008 13:34:15 -0500 (GMT-05:00), Scott Dowdle <[EMAIL PROTECTED]> wrote: [...] > since the source is GPLed, if someone wants to grab the ball and run with it, it > is possible. @Dietmar: Btw can you plz describe where the source is downloadable ? Bye, Thorsten -- Thorsten Schifferdecker OpenVZ Power User with a swirl http://debian.systs.org/category/openvz/ ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] Re: Announcement: Proxmox Virtual Environment 1.0 -Firststable release
Hi, it possible to install pve on i386 as well, the minimun packages and the most pve scripts are written in perl, only useing pve with OpenVZ no kvm is needed. On Fri, 21 Nov 2008 17:54:11 +0100, "Dietmar Maurer" <[EMAIL PROTECTED]> wrote: >> what is the minimum HW requirements for Proxmox? >> Can it be installed on an AMD 686 single core CPU? (just for >> testing/learning of course... :-) > > http://pve.proxmox.com/wiki/Installation#System_requirements > > So an old AMD 686 will not work. > > - Dietmar Bye, Thorsten -- Thorsten Schifferdecker OpenVZ Power User with a swirl http://debian.systs.org/category/openvz/ ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] df showing zero space used
Hi, which kind of filesystem is used for /vz, it is not an ext3, right ? On Fri, 21 Nov 2008 16:46:13 +0200, Garith Dugmore <[EMAIL PROTECTED]> wrote: > Hello fellow openvz users, > > Would anyone know why a 'df -h' is showing zero space used? > > proxy:/var/cache# df -h > FilesystemSize Used Avail Use% Mounted on > simfs 100G 0 100G 0% / > tmpfs 2.0G 0 2.0G 0% /lib/init/rw > tmpfs 2.0G 0 2.0G 0% /dev/shm > Bye, Thorsten -- Thorsten Schifferdecker OpenVZ Power User with a swirl http://debian.systs.org/category/openvz/ ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] is vzctl newer than 3.0.22 available?
Hi, see git repository at http://git.openvz.org/?p=vzctl, commit "Add brigde parameter to --netif options", this wiki page add the option, too Regards, Thorsten -- OpenVZ Poweruser with a swirl http://debian.systs.org/category/openvz/ Am Sa, 27.09.2008, 09:16, schrieb Alexander Piavka: > > Hi, I saw there a are serveral references to vzctl newer than 3.0.22, > for > example at > http://wiki.openvz.org/Virtual_Ethernet_device#syntax_vzctl_version_.3E_3.0.22 > But it is not available for download. In the git log > http://git.openvz.org/?p=vzctl;a=shortlog > I see there were no relaeases since 3.0.22, maybe it's time for new > release? > > Meanwhile which url should I specifiy to checkout the latest vzctl > commit? > > Thanks > Alex > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] patch : make webvz more distro independent
Hi, Am Mo, 22.09.2008, 06:31, schrieb Pongracz Istvan: > 2008. 09. 22, hétfÅ keltezéssel 03.48-kor Thorsten Schifferdecker ezt > Ãrta: >> Hi Shuaib, >> >> please add this patch for webvz: >> >> On RPM distros /etc/sysconfig/vz-scripts/ is a symbolic link to >> /etc/vz/conf/ >> other distro use the /etc/vz/conf/ directory. > > Hi Thorsten, > > for gentoo installation, I made a small howto to the gentoo-wiki: > http://gentoo-wiki.com/index.php?title=HOWTO_to_Get_WebVZ_2.0_on_Gentoo_to_Administrate_OpenVZ [...] Perfect, with this patch, step 3 isn't needed anymore! Regards, Thorsten -- Thorsten Schifferdecker OpenVZ Poweruser with a swirl http://debian.systs.org/category/openvz ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
[Users] patch : make webvz more distro independent
Hi Shuaib, please add this patch for webvz: On RPM distros /etc/sysconfig/vz-scripts/ is a symbolic link to /etc/vz/conf/ other distro use the /etc/vz/conf/ directory. See more http://git.openvz.org/?p=vzctl;a=blob;f=vzctl.spec;h=076ed1d894720e9da567b0e2d7c626824a7ac1bb;hb=164d72740e68f53dfae33e30a8bb68d3618c37f3 Regards, Thorsten -- Thorsten Schifferdecker OpenVZ Poweruser with a swirl http://debian.systs.org/category/openvz/diff --git a/app/controllers/configfile_controller.rb b/app/controllers/configfile_controller.rb index 88dd94e..0919178 100644 --- a/app/controllers/configfile_controller.rb +++ b/app/controllers/configfile_controller.rb @@ -27,21 +27,21 @@ class ConfigfileController < ApplicationController def edit_conf_file @file_name = params[:conf_name] - path = "/etc/sysconfig/vz-scripts/[EMAIL PROTECTED]" + path = "/etc/vz/conf/[EMAIL PROTECTED]" cnf = Vps.new @conf_file = cnf.read_sample_conf_file(path) end def delete_conf_file @file_name = params[:conf_name] -`rm -rf /etc/sysconfig/vz-scripts/[EMAIL PROTECTED] +`rm -rf /etc/vz/conf/[EMAIL PROTECTED] flash[:notice] = "[EMAIL PROTECTED] configuration file was deleted." redirect_to :action => :list_conf_file end =begin def validate_conf_file @file_name = params[:conf_name] - output = `vzcfgvalidate /etc/sysconfig/vz-scripts/[EMAIL PROTECTED] + output = `vzcfgvalidate /etc/vz/conf/[EMAIL PROTECTED] flash[:notice] = output redirect_to :action => :list_conf_file end diff --git a/app/models/vps.rb b/app/models/vps.rb index 6fbdebe..416add9 100644 --- a/app/models/vps.rb +++ b/app/models/vps.rb @@ -17,7 +17,7 @@ class Vps < ActiveRecord::Base end def read_conf_file(vps_id) - file = File.open("/etc/sysconfig/vz-scripts/#{vps_id}.conf", "r") + file = File.open("/etc/vz/conf/#{vps_id}.conf", "r") extract_values(file) end @@ -27,7 +27,7 @@ class Vps < ActiveRecord::Base end def write_to_conf_file(name, conf_file) - new_file = File.open("/etc/sysconfig/vz-scripts/ve-#{name}.conf-sample", "w") + new_file = File.open("/etc/vz/conf/ve-#{name}.conf-sample", "w") for k, v in conf_file unless k["\n"] @text = k.to_s+"="+v.to_s___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] New vzpkg, templates and package caching daemon
Hello Robert, i've built a debian vzpkg2 package, but need the source of pkg-cacher as well, but cannot be download from http://gforge.opensource-sw.net/projects/pkg_cacher. So please fix, that the packge depends are working, Thanks and by, Thorsten -- Thorsten Schifferdecker [EMAIL PROTECTED] Am Sa, 6.09.2008, 05:27, schrieb Robert Nelson: > I have a preliminary version of the new vzenpkg utilities ready for testing. > > These new tools support creating templates for 32 and 64 bit flavours of > the following: > Centos 4 and 5, > Fedora 7, 8 and 9, > Debian Sarge and Etch, > Ubuntu Feisty, Gutsy and Hardy. > > They are extensible and will eventually support OpenSUSE and Gentoo. > > In addition, I've created pkg-cacher, a transparent caching proxy daemon > optimized for Debian and RPM packages. It is based on apt-cacher > version 1.6.4 available with Debian. This version has been modified to > understand RedHat RPM repositiories. It also adds support for the HTTP > Range header and deals correctly with files which have the same name but > different content on different distributions or in some cases different > versions of the same distribution. > > The pkg-cacher source is available on > http://gforge.opensource-sw.net/projects/pkg_cacher. > > The source for the new vzpkg and templates is available on > git.opensource-sw.net. You can browse the source using the url > http://git.opensource-sw.net/. In order to clone the updated source use > the command "git clone http://git.opensource-sw.net/git/vzpkg";. The > templates are available using "git clone > http://git.opensource-sw.net/git/vztmpl";. > > In order to make installation easy I've setup repositories for 32 and 64 > bit versions of CentOS 4, 5 and Fedora 7, 8 and 9. I'll be producing > packages for Debian and Ubuntu as HN later. > > Please let me know of any issues or suggestions. > > Step by step installation instructions are below: > > Existing install) > Backup your existing /vz/template directory > Uninstall vzpkg and any vztmpl-* packages. > > New install) > wget http://download.openvz.org/openvz.repo -P /etc/yum.repos.d > Enable appropriate OpenVZ kernel > > yum install vzctl > service vz start > > echo -n 1 > /proc/sys/net/ipv4/ip_forward > > For CentOS: > wget http://repo.opensource-sw.net/ossw_centos.repo -P > /etc/yum.repos.d > > For Fedora: > wget http://repo.opensource-sw.net/ossw_fedora.repo -P > /etc/yum.repos.d > > yum install vzpkg2 vztmpl2-centos vztmpl2-fedora vztmpl2-debian > vztmpl2-ubuntu > yum install pkg-cacher > > Add the following to /etc/vz/vz.conf > > # > # Replace hostname with the IP address or name of the server running > pkg-cacher. > # Don't use localhost, it must be a name resolvable from within the > container. > VZPKG_CACHE_HOST=hostname:3142 > # > # Network information for updating templates for Debian, Ubuntu > # and other distributions that need network access. > # > # Adjust these to suit your network. > # > # Temporary static IP address used by the container while updating the > # cached template. > VZPKG_IPADDR=192.168.1.100 > # > # Default domain suffix to append to host names that aren't fully > qualified. > VZPKG_SEARCH=example.com > # > # List of DNS servers > VZPKG_DNS=192.168.1.2,192.168.1.3 > # > > cd /etc/vz/dists > cp fedora-8.conf fedora-9.conf > > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Official Debian OpenVZ Kernels available
Hi Patrick, on http://forzza.systs.org/tmp/linux-2.6.26-openvz.tar.gz you will find temp. a non-git tree of linux-2.6.26-openvz. Hope this helps. Regards, Thorsten -- Thorsten Schifferdecker [EMAIL PROTECTED] Am Do, 28.08.2008, 16:31, schrieb patrick daures: > Hi, thank you very much ! > But I still have a stupid problem. > I can't use a personal computer to download it, so I can not install "git" > on the computer linked to the web. I would to download the sources without > GIT. Well, is there any "place" where I can simply download the sources, > without Git ? > > Thank you :) > > 2008/8/28, Thorsten Schifferdecker <[EMAIL PROTECTED]>: >> >> Hi, >> >> use the git sources at : >> http://git.openvz.org/?p=linux-2.6.26-openvz;a=summary >> >> Regards, >> Thorsten >> -- >> Thorsten Schifferdecker >> [EMAIL PROTECTED] >> >> Am Do, 28.08.2008, 13:17, schrieb patrick daures: >> >> > Hi, >> > I would like to use the a 2.6.26 OpenVZ kernel on a Mandriva. >> > I'm looking for the sources in order to compile everything by miself. >> > Where could I find the sources ? >> > >> > Thank you ! >> > >> > 2008/8/27, Roberto Mello <[EMAIL PROTECTED]>: >> >> >> >> On Wed, Aug 27, 2008 at 1:28 PM, Suno Ano <[EMAIL PROTECTED]> >> >> wrote: >> >> >> >>> I just wanted to say, starting with 2.6.26, Debian is now providing >> >>> precompiled kernels (as well as user-space tools vzquota and vzctl) >> >>> from >> >>> its official mirrors: >> >>> >> >> >> >> Fantastic news! Thanks for sharing. >> >> >> >> >> >>> For now, precreated OS templates for lenny also known as Debian 5.0 >> can >> >>> be found here http://forzza.systs.org/ostemplates/ >> >>> >> >> >> >> Beauty. >> >> >> >> What scares me about downloading templates is that I don't know how >> to >> >> check whether the template is intact. It would be nice if one could >> >> double >> >> check using Debian's own fingerprints. Anyone know if that can be >> done? >> >> >> >> Roberto >> >> >> >> -- >> >> http://blog.divisiblebyfour.org/ >> >> >> >> ___ >> >> Users mailing list >> >> Users@openvz.org >> >> https://openvz.org/mailman/listinfo/users >> >> >> >> >> > >> > >> > -- >> > Patrick DAURES 4TC >> > >> > Résidence de Staël >> > 17 rue de Bruxelles >> > 69100 Villeurbanne >> > tél: (+33)607267043 >> > ___ >> > Users mailing list >> > Users@openvz.org >> > https://openvz.org/mailman/listinfo/users >> > >> >> >> -- >> >> Gruss / Regards, >> >> Thorsten Schifferdecker >> >> >> ___ >> Users mailing list >> Users@openvz.org >> https://openvz.org/mailman/listinfo/users >> > > > > -- > Patrick DAURES 4TC > > Résidence de Staël > 17 rue de Bruxelles > 69100 Villeurbanne > tél: (+33)607267043 > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: AW: [Users] Iptables problem Debian HN / CentOS VE
Hi Lorenzo, have you restart the container; after the iptables modules are loaded on CT0 (hardwarenode) ? Regards, Thorsten -- Thorsten Schifferdecker [EMAIL PROTECTED] Am Do, 28.08.2008, 17:14, schrieb Lorenzo Quatrini: > Dietmar Maurer ha scritto: >>> by default all iptables modules that are loaded in the host system >> are accessible inside a container >> >> so I guess that will not help? >> > You're right: > I added xt_tcpudp xt_state and also checked that nf_conntrack_ipv4 was > there on > /etc/vz/vz.conf > > Also the above modules are loaded on HN, but still no luck. > > When I try to load a rule wich use "state" I get an error on VM and on HN > an > entry on /var/log/messages: > >> Aug 28 17:09:19 localhost kernel: can't load conntrack support for >> proto=2 > > I googled for the error, but I didn't find any interesting (apart > xt_tcpudp and > nf_conntrack_ipv4) > > Any Idea? > > -- > Regards > Lorenzo Quatrini > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] vzctl start
Hi, Am Do, 28.08.2008, 14:26, schrieb Papp Tamás: > Roberto Mello wrote: >> On Thu, Aug 28, 2008 at 2:57 AM, Papp Tamás <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> >> I mounted a /var partition under /vz/100/root, which should >> contain the /var related files. >> >> vzctl start, and I created a test file under it. But the file was >> not appeared on the partition, but under the private system. >> >> >> How exactly did you mount it? > mount /dev/VG1/var /vz/100/root/var > > vzctl start 100 > > Or what do you mean, "how"? >> >> Also when I start the VE, I see the root with the same size as >> private, but after the I stop it, it's clean. Is this with >> something like mount -o bind? >> >> >> $VZ/root/$VE is populated dynamically when the VE is started. > > What does it mean "populated"? When the container with ID is started, the privat area /vz/private/$ID is "mounted" to /vz/root/$ID and then the container get started. For mounting partion use the /vz/root/$ID/ Tree: like: HW_NODE|CT0 $ mount /dev/VG1/var /vz/root/100/var HW_NODE|CT0 $ vzct exec 100 ls /var (show the content in /dev/VG1/var) > > Thank you, > > tamas > > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > Regards, Thorsten -- [EMAIL PROTECTED] Thorsten Schifferdecker ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Official Debian OpenVZ Kernels available
Hi, use the git sources at : http://git.openvz.org/?p=linux-2.6.26-openvz;a=summary Regards, Thorsten -- Thorsten Schifferdecker [EMAIL PROTECTED] Am Do, 28.08.2008, 13:17, schrieb patrick daures: > Hi, > I would like to use the a 2.6.26 OpenVZ kernel on a Mandriva. > I'm looking for the sources in order to compile everything by miself. > Where could I find the sources ? > > Thank you ! > > 2008/8/27, Roberto Mello <[EMAIL PROTECTED]>: >> >> On Wed, Aug 27, 2008 at 1:28 PM, Suno Ano <[EMAIL PROTECTED]> >> wrote: >> >>> I just wanted to say, starting with 2.6.26, Debian is now providing >>> precompiled kernels (as well as user-space tools vzquota and vzctl) >>> from >>> its official mirrors: >>> >> >> Fantastic news! Thanks for sharing. >> >> >>> For now, precreated OS templates for lenny also known as Debian 5.0 can >>> be found here http://forzza.systs.org/ostemplates/ >>> >> >> Beauty. >> >> What scares me about downloading templates is that I don't know how to >> check whether the template is intact. It would be nice if one could >> double >> check using Debian's own fingerprints. Anyone know if that can be done? >> >> Roberto >> >> -- >> http://blog.divisiblebyfour.org/ >> >> ___ >> Users mailing list >> Users@openvz.org >> https://openvz.org/mailman/listinfo/users >> >> > > > -- > Patrick DAURES 4TC > > Résidence de Staël > 17 rue de Bruxelles > 69100 Villeurbanne > tél: (+33)607267043 > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > -- Gruss / Regards, Thorsten Schifferdecker ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Kernel Developement books?
Hi Dietmar, for a first glance http://git.openvz.org/?p=linux-2.6.24-openvz;a=blob_plain;f=Documentation/cgroups.txt;hb=HEAD Gruss / Regards, Thorsten Schifferdecker Am Di, 10.06.2008, 07:29, schrieb Dietmar Maurer: > Hi all, > > Are there any good books around concerning linux kernel developement - > with > up to date infos for new 2.6 features like cgroups? > > - Dietmar ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Problem starting Ubuntu 8.04
Hi, since ubuntu-7.10 change init to upstart you need vzctl-3.0.22 or greater, see http://wiki.openvz.org/Ubuntu_Gutsy_template_creation#vzctl and http://bugzilla.openvz.org/662 Gruss / Regards, Thorsten Schifferdecker Am So, 25.05.2008, 21:49, schrieb Abhinav Lele: > Hi, > I am trying to run a ubuntu 8.04 template on > > Debian Stable (Etch) with 2.6.18 kernel. > I compiled the kernel with openvz patch and have downloaded > ubuntu-8.04-minimal template from the openvz site. > > I created a new VE by the following commands > > # vzctl create 111 --ostemplate ubuntu-8.04-i386-minimal > # vzctl set 111 --ipadd 10.0.0.1 --save > # vzctl set 111 --hostname u8 --save > # vzctl start 111 > > But i always get > > VPSID 111 exist mounted down > > when i use vzctl status 111 > > What could be the problem ? > > Any help/pointers would be very helpful > > -Abhinav > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Problem with TCP window too large for TCPRCVBUF still present
Hi Vitaly, ovz-028.18-deb.patch -> bases on OpenVZ patch 028test018 from 2007-03-02 Bye, Thorsten Am Fr, 14.03.2008, 17:36, schrieb Vitaliy Gusev: > [...] >> >> | CC kernel/ub/ub_net.o >> | mm/mmap.c: In function âacct_stack_growthâ: >> | mm/mmap.c:1546: warning: label âfail_secâ defined but not used | kernel/ub/ub_net.c: In function âub_sock_tcp_update_rcvbufâ: | kernel/ub/ub_net.c:795: warning: initialization from incompatible pointer type >> | kernel/ub/ub_net.c:805: error: dereferencing pointer to incomplete type >> | kernel/ub/ub_net.c:806: error: dereferencing pointer to incomplete type >> >> I guess this is because the patch is against a different version. I also had to >> tweak the patch by hand so it would apply - looks like top_beancounter() was > > I am wonder as top_beancounter() was introduced at 2007-05-15. > What exactly OpenVZ version do you use? > >> introduced after the version I have. >> >> My version is ovz-028.18-deb.patch (i.e. the version which applies to Debian's >> 2.6.18). >> [...] ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] IPv6 ??
@jan: IPv6 traceroute from noc.sixxs.net @ SixXS NOC, AS12871 to 2001:718:1:e::23:3254 : Hop Node Loss% Sent Last Avg Best Worst StDev ASNOrganisation 1. 2001:838:1:1::1 0.0% 50.5 5.5 0.4 25.5 11.2[.nl] Netherlands, The 12871 Concepts ICT ge-1-3-0.breda.ipv6.concepts-ict.net. 2. 2001:838:0:10::1 0.0% 52.6 3.0 2.4 4.5 0.9[.nl] Netherlands, The 12871 Concepts ICT 3. 2001:7f8:1::a500:3257:1 0.0% 53.1 2.9 2.7 3.2 0.2 ams-ix-1.ip.tiscali.net. 4. 2001:668:0:2::1:272 0.0% 53.2 3.2 3.1 3.3 0.1[.eu] EuropeTiscali International Network B.V. so-6-1-0.ams22.ip6.tiscali.net. 5. 2001:668:0:2::1:121 0.0% 56.2 6.6 6.2 6.8 0.3[.eu] EuropeTiscali International Network B.V. so-4-0-0.dus11.ip6.tiscali.net. 6. 2001:668:0:2::1:401 0.0% 59.8 9.6 9.3 9.8 0.2[.eu] EuropeTiscali International Network B.V. so-5-0-0.fra40.ip6.tiscali.net. 7. 2001:668:0:2::1:292 0.0% 5 17.0 17.3 16.8 17.9 0.4[.eu] EuropeTiscali International Network B.V. so-0-0-0.prg11.ip6.tiscali.net. 8. 2001:7f8:14::1:1 0.0% 5 18.6 41.7 18.2 134.9 52.1 nix2-10ge.ipv6.cesnet.cz. 9. 2001:718:1:e::23:3254 0.0% 5 17.9 17.8 17.4 18.0 0.2[.cz] Czech RepublicCESNET Sub-T work perfectly, btw, you can access the traceroute tool at https://noc.sixxs.net/tools/traceroute/, too Bye, Thorsten -- Thorsten Schifferdecker [EMAIL PROTECTED] Am Fr, 25.01.2008, 08:12, schrieb Jan Tomasek: > Hi, > > Thorsten Schifferdecker wrote: >> @jan: how get your IPv6 connectivity ? > > I've static setup on HW node: > > iface eth0 inet6 static > post-up /sbin/sysctl -w "net.ipv6.conf.eth0.autoconf=0" > post-up /sbin/sysctl -w "net.ipv6.conf.all.forwarding=1" > address 2001:718:1:e::23:3254 > gateway 2001:718:1:e::1 > netmask 64 > > Traceroute from HW node: > >> chlivek:~# traceroute6 2001:838:1:1:210:dcff:fe20:7c7c >> traceroute to 2001:838:1:1:210:dcff:fe20:7c7c >> (2001:838:1:1:210:dcff:fe20:7c7c) from 2001:718:1:e::23:3254, 30 hops >> max, 16 byte packets >> 1 2001:718:1:e::1 (2001:718:1:e::1) 0.983 ms 4.869 ms 2.949 ms >> 2 2001:718:0:607::1 (2001:718:0:607::1) 4.943 ms 4.823 ms 2.895 ms >> 3 2001:718:0:607::2 (2001:718:0:607::2) 4.929 ms 4.867 ms 2.968 ms >> 4 ipv6-ge-2-1-0.prg11.ip.tiscali.net (2001:7f8:14::3:1) 3.359 ms >> 3.328 ms 4.439 ms >> 5 so-5-1-0.fra40.ip6.tiscali.net (2001:668:0:2::1:291) 9.113 ms >> 8.861 ms 14.915 ms >> 6 so-4-1-0.dus11.ip6.tiscali.net (2001:668:0:2::1:402) 12.322 ms >> 12.146 ms 15.893 ms >> 7 so-7-0-0.ams22.ip6.tiscali.net (2001:668:0:2::1:482) 15.88 ms >> 16.848 ms 15.919 ms >> 8 so-6-0-0.ams11.ip6.tiscali.net (2001:668:0:2::1:271) 15.889 ms >> 15.955 ms 14.971 ms >> 9 ge6-2-0.br0.ams3.nl.gbxs.net (2001:7f8:1::a500:9009:1) 15.511 ms >> 15.454 ms 15.972 ms >> 10 ams-ix2.ipv6.concepts.nl (2001:7f8:1::a501:2871:2) 15.437 ms >> 15.937 ms 15.837 ms >> 11 2001:838:0:14::2 (2001:838:0:14::2) 16.108 ms 15.294 ms 16.615 ms >> 12 2001:838:0:10::2 (2001:838:0:10::2) 21.508 ms 21.488 ms 17.428 ms >> 13 noc.sixxs.net (2001:838:1:1:210:dcff:fe20:7c7c) 21.508 ms 21.46 ms >> 18.441 ms > > > From VE (differnet IP, that 3257 was just experiemnt with my trick). > >> [EMAIL PROTECTED]:~# traceroute6 2001:838:1:1:210:dcff:fe20:7c7c >> traceroute to 2001:838:1:1:210:dcff:fe20:7c7c >> (2001:838:1:1:210:dcff:fe20:7c7c) from 2001:718:1:e::23:3248, 30 hops >> max, 16 byte packets >> 1 2001:718:1:e::23:3254 (2001:718:1:e::23:3254) 0.045 ms 0.015 ms >> 0.011 ms >> 2 2001:718:0:607::1 (2001:718:0:607::1) 1.105 ms 0.837 ms 1.381 ms >> 3 2001:718:0:607::2 (2001:718:0:607::2) 0.663 ms 0.44 ms 0.373 ms >> 4 ipv6-ge-2-1-0.prg11.ip.tiscali.net (2001:7f8:14::3:1) 0.566 ms >> 0.529 ms 0.529 ms >> 5 so-5-1-0.fra40.ip6.tiscali.net (2001:668:0:2::1:291) 8.551 ms >> 8.493 ms 8.499 ms >> 6 so-4-1-0.dus11.ip6.tiscali.net (2001:668:0:2::1:402) 11.302 ms >> 11.26 ms 11.256 ms >> 7 so-0-0-0.ams22.ip6.tiscali.net (2001:668:0:2::1:122) 15.086 ms >> 15.044 ms 15.039 ms >> 8 pos-7-5-0.ams11.ip6.tiscali.net (2001:668:0:2::630) 14.943 ms >> 14.945 ms 15.464 ms >> 9 ge6-2-0.br0.ams3.nl.gbxs.net (2001:7f8:1::a500:9009:1) 15.65 ms >> 15.52 ms 16.392 ms >> 10 ams-ix2.ipv6.concepts.nl (2001:7f8:1::a501:2871:2)
Re: [Users] IPv6 ??
Hi, @jan: how get your IPv6 connectivity ? IPv6 traceroute from noc.sixxs.net @ SixXS NOC, AS12871 to 2001:718:1:e::23:3257 : Hop Node Loss% Sent Last Avg Best Worst StDev ASNOrganisation 1. 2001:838:1:1::1 0.0% 50.4 0.4 0.4 0.4 0.0[.nl] Netherlands, The 12871 Concepts ICT ge-1-3-0.breda.ipv6.concepts-ict.net. 2. 2001:838:0:10::1 0.0% 52.3 2.4 2.3 2.4 0.0[.nl] Netherlands, The 12871 Concepts ICT 3. 2001:7f8:1::a500:3257:1 0.0% 52.8 2.8 2.8 2.8 0.0 ams-ix-1.ip.tiscali.net. 4. 2001:668:0:2::1:272 0.0% 52.9 3.0 2.9 3.0 0.0[.eu] EuropeTiscali International Network B.V. so-6-1-0.ams22.ip6.tiscali.net. 5. 2001:668:0:2::1:481 0.0% 56.1 6.4 6.1 6.8 0.3[.eu] EuropeTiscali International Network B.V. so-6-1-0.dus11.ip6.tiscali.net. 6. 2001:668:0:2::1:2 0.0% 59.5 9.4 9.2 9.6 0.2[.eu] EuropeTiscali International Network B.V. so-0-1-0.fra40.ip6.tiscali.net. 7. 2001:668:0:2::1:292 0.0% 5 17.2 18.8 17.2 24.8 3.4[.eu] EuropeTiscali International Network B.V. so-0-0-0.prg11.ip6.tiscali.net. 8. 2001:7f8:14::1:1 0.0% 5 18.0 20.1 18.0 25.4 3.1 nix2-10ge.ipv6.cesnet.cz. 9. ??? 100.0 50.0 0.0 0.0 0.0 0.0 Can you post the output from traceroute6 from your Hardware Node / VE to 2001:838:1:1:210:dcff:fe20:7c7c (noc.sixxs.net) ? Bye, Thorsten -- Thorsten Schifferdecker [EMAIL PROTECTED] Am Do, 24.01.2008, 21:47, schrieb Jan Tomasek: > Hello Benoit, > >> Temporarily giving up messing with veth devices (forgot dhcpd server for >> now), I concentrated on setting up a basic VS with both IPv4 and IPv6 >> addresses, using standard venet device. >> >> [...] > >> Result: >> >> - IPv4 VS works as expected (ping succeeds from hardware node, external >> server in same subnet, external server on another subnet). >> >> - IPv6 VS doesn't work !!! (ping6 works *only* between VS and hardware >> node, not from external sources; VS has IPv6 address correctly defined, >> as per ifconfig). >> >> Am I missing something ? >> >> I suspected it may be useful to set sysctl >> net.ipv6.conf..forwarding to 1, but : >> - this turns the box in "router" mode, disabling RA acceptance from >> default router (annoying) >> - this doesn't work either !! > > Very interesting! I'm having exactly same problem here. IPv6 was working > perfectly for me after some problems before several months. Now I had to > reboot my HW node and IPv6 is gone. > > When I try to ping VE from real world I'm getting: > >> [EMAIL PROTECTED]:~$ ping6 2001:718:1:e::23:3257 >> PING 2001:718:1:e::23:3257(2001:718:1:e::23:3257) 56 data bytes >> From 2001:718:1:101::1 icmp_seq=0 Destination unreachable: Address >> unreachable >> From 2001:718:1:101::1 icmp_seq=3 Destination unreachable: Address >> unreachable > > From HW node to VE or from one VE to another VE is IPv6 working fine. I > think that HW node didn't sent some info to it's IPv6 gateway about > presence of new IPv6 address. Sadly I'm clue less how to better debug > this. But! > > I've discovered trick. Run alternate version of this on your HW node: > >> ifconfig eth0 add 2001:718:1:e::23:3257/64 >> sleep 5 >> ping6 -I 2001:718:1:e::23:3257 -c 1 2001:718:1:e::1 >> ifconfig eth0 del 2001:718:1:e::23:3257/64 > > 2001:718:1:e::23:3257 - IPv6 address of VE > 2001:718:1:e::1 - gateway > > That will cause that router will learn about presence of VE. It lasts > for several hours. I discovered it at about 17 clock and now at 22 are > VE still IPv6 online... but I'm afraid that clearing IPv6 neighbours > table on router will kill this. Something is not working on HW node. > > > I'm running 2.6.18-028stab051 on Debian Etch. Output of sysctl -a |grep > net.ipv6 | sort >/tmp/chlivek.ipv6 is attached. Hope someone will point > out where problem is. Yesterday I've reboot my second HW node... > > -- > --- > Jan Tomasek aka Semik > http://www.tomasek.cz/ > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] IPv6 ??
Hi, for official IPv6 i'm useing sixxs as tunnelbroker, these steps i've done connect a Debian OpenVZ system to a IPv6 Network for the VE with a venet0 interface: 1) Setup an IPv6 Tunnel (-> https://noc.sixxs.net/ ) Relevant IPv6 settings in "/etc/network/interfaces" [...] # device: sixxs ipv6 tunnel with static IPv6 auto sixxs iface sixxs inet6 v4tunnel address netmask 64 endpoint ttl 64 up ip link set mtu 1280 dev sixxs up ip route add default via dev sixxs [...] VE_0$ ifup sixxs 2) Setup OpenVZ with IPv6 : # enable IPv6 forwarding for all Interfaces VE_0$ sysctl -q -w net.ipv6.conf.all.forwarding=1 # enable IPv6 in /etc/vz/vz.conf -> IPV6="yes" # and restart OpenVZ Subsystem, so venet has a IPv6 Address VE_0$ /etc/init.d/vz restart # give a VE an IPv6 address, you need a IPv6 subnet ( https://noc.sixxs.net/ ) VE_0$ vzctl set --ipadd [--yes] 3) Test it If you connected to an official IPv6 network, you can test it, by pinging debian.systs.org ( 2001:6f8:109a::1a01 ) or visit IPv6 sites like http://www.kame.net and see the dancing turtle ;-) Bye, Thorsten -- Thorsten Schifferdecker [EMAIL PROTECTED] ---//--- Am Do, 24.01.2008, 18:29, schrieb Benoit Branciard: > Temporarily giving up messing with veth devices (forgot dhcpd server for > now), I concentrated on setting up a basic VS with both IPv4 and IPv6 > addresses, using standard venet device. > > I'm using Debian Etch hardware node with debian.systs.org packages. > > So I did: > > - install packages and reboot as necessary : > fzakernel-2.6.18-686 vzctl vzctl-ostmpl-debian vzdump vzprocps vzquota > > - ensure /etc/sysctl.conf contains : > > net.ipv4.conf.default.forwarding = 1 > net.ipv4.conf.all.rp_filter = 1 > kernel.sysrq = 1 > net.ipv4.conf.default.send_redirects = 1 > net.ipv4.conf.all.send_redirects = 0 > > - ensure /etc/vz/vz.conf contains: > IPV6="yes" > > - create VS : > vzctl create 112 --ipadd XXX.YYY.ZZZ.12 --ipadd xxx:yyy:::12 > --hostname brahma-vps112 > > (default template is debian-4.0-i386-minimal, hardware node has only one > physical interface activated, on the same subnet as VS) > > - start VS : > vzctl start 112 > > > Result: > > - IPv4 VS works as expected (ping succeeds from hardware node, external > server in same subnet, external server on another subnet). > > - IPv6 VS doesn't work !!! (ping6 works *only* between VS and hardware > node, not from external sources; VS has IPv6 address correctly defined, > as per ifconfig). > > Am I missing something ? > > I suspected it may be useful to set sysctl > net.ipv6.conf..forwarding to 1, but : > - this turns the box in "router" mode, disabling RA acceptance from > default router (annoying) > - this doesn't work either !! ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] vzctl 3.0.22
Hi Darius, it's a debian package problem vzctl-3.0.22-2, see: Debian bug report -> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459717 and OpenVZ bug report -> http://bugzilla.openvz.org/show_bug.cgi?id=780 Please report this bug to debian bts! Regards, Thorsten Am Mo, 21.01.2008, 23:17, schrieb Dariush Pietrzak: > Hi, > I'm getting this after upgrade to 3.0.22 > > srvr:/# vzctl stop testlink > Stopping VE ... > VE was stopped > /usr/lib/vzctl/scripts/vps-functions: line 146: [: del: integer expression > expected > > ii vzctl 3.0.22-2 > server virtualization solution - > control tools > srvr:/# vzctl start testlink > Starting VE ... > VE is mounted > Adding IP address(es): 192.168.99.82 > /usr/lib/vzctl/scripts/vps-functions: line 146: [: add: integer expression > expected > > and this: > [ "$1" -eq "add" ] > (test seems to use = for strings and -eq for integers, which is > strange,since > I do recall using -eq specifically for strings) > > -- > Key fingerprint = 40D0 9FFB 9939 7320 8294 05E0 BCC7 02C4 75CC 50D9 > Total Existance Failure > _______ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > -- Thorsten Schifferdecker email [EMAIL PROTECTED] phone +49 (0) 911 50 63 69 82 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] post-start and stop scripts
Hello Jakob, please read the OpenVZ User Guide, at page 88 "OpenVZ Action Scripts". Bye, Thorsten Am Mi, 9.01.2008, 11:55, schrieb Jakob Goldbach: > Hi, > > I've seached the docs in vain on executing scripts on start or stop of > the VE. > > I'm doing a bind mount on the HN to the mounted VE > ($VZROOT/root/101/mnt/..) as descriped in > http://wiki.openvz.org/Mounting_filesystems. > > I want to automate this during start and stop of the VE. > > Ideally the start script should run after the VPS is mounted but before > it is started. Likewise during stop - an umount after the VPS has > stopped but before it is umounted. > > Is this possible ? > > /Jakob > > # vzctl start 222 > Starting VPS ... > VPS is mounted > --> start hook here <--- > Adding IP address(es): 172.16.4.9 > Setting CPU units: 1000 > Set hostname: test1 > VPS start in progress... > > > # vzctl stop 222 > Stopping VPS ... > VPS was stopped > --> stop hook here <-- > VPS is unmounted > > > _______ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > -- Thorsten Schifferdecker email [EMAIL PROTECTED] phone +49 (0) 911 50 63 69 82 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] a simple utility to execute something on all VEs
Hi Gregor, i suggest to use vzlist, insteed looking to /etc/vz/conf, so only command will execute on running ve's and it's you dont like execute command on VE 0, there's a 0.conf in /etc/vz/conf, too ;-) # for veid in `vzlist -Hoveid`; do vzctl exec $veid ; done Bye, Thorsten Gregor Mosheh wrote: http://wiki.openvz.org/ExecuteInAllVEs Simple but useful. If anybody has further enhancements, that'd be spiffy. ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Live Migration Fails
Hi Pablo, yep, since the last git commit to vzmigrate (-> http://git.openvz.org/?p=vzctl;a=commitdiff;h=ebd5fb00a4eb0134d7ef4ebfdc0b6ae43d07d8fd ), the extended test command was removed, so change at line 382: if [ $? != 20 && $? != 21 && $? != 0 ]; then to: if [[ $? != 20 && $? != 21 && $? != 0 ]]; then Bye, Thorsten Pablo L. Arturi wrote: Hello guys, does anyone knows why while trying to migrate a VE I get this error? [EMAIL PROTECTED] ~]# vzmigrate -r no --online --keep-dst -v 10.0.10.251 111 OPT:-r OPT:--online OPT:--keep-dst OPT:-v OPT:10.0.10.251 Starting online migration of VE 111 on 10.0.10.251 OpenVZ is running... Loading /etc/vz/vz.conf and /etc/vz/conf/111.conf files Check IPs on destination node: 190.2.55.204 10.0.10.204 Preparing remote node Copying config file 111.conf 100% 882 0.9KB/s 00:00 Saved parameters for VE 111 /usr/sbin/vzmigrate: line 382: [: missing `]' Creating remote VE root dir Creating remote VE private dir VZ disk quota disabled -- skipping quota migration Syncing private Live migrating VE Suspending VE Setting up checkpoint... suspend... get context... Checkpointing completed succesfully Dumping VE Setting up checkpoint... join context.. dump... Can not dump VE: Invalid argument iptables-save exited with 255 Checkpointing failed Error: Failed to dump VE Resuming... Running: /usr/lib/vzctl/scripts/vps-net_add put context The migration is from [EMAIL PROTECTED] to [EMAIL PROTECTED] This is HWN configurations: [EMAIL PROTECTED] ~]# uname -a Linux localhost.localdomain 2.6.18-ovz028stab035.1-smp #1 SMP Sat Jun 9 12:15:32 MSD 2007 i686 i686 i386 GNU/Linux [EMAIL PROTECTED] ~]# rpm -qa | grep vz vzrpm44-4.4.1-22.5 vzrpm43-python-4.3.3-7_nonptl.6 vzyum-2.4.0-11 vzpkg-2.7.0-18 vztmpl-fedora-core-3-2.0-2 vztmpl-fedora-core-5-2.0-2 vzctl-3.0.22-1 ovzkernel-smp-2.6.9-023stab032.1 ovzkernel-smp-2.6.16-026test020.1 vzrpm44-python-4.4.1-22.5 vzrpm43-4.3.3-7_nonptl.6 vztmpl-centos-4-2.0-2 vztmpl-fedora-core-4-2.0-2 kernel-smp-2.6.18-ovz028stab035.1 vzctl-lib-3.0.22-1 vzquota-3.0.11-1 [EMAIL PROTECTED] ~]# uname -a Linux ovz98.dnsba.com 2.6.18-53.el5.028stab051.1 #1 SMP Fri Nov 30 03:05:22 MSK 2007 i686 athlon i386 GNU/Linux [EMAIL PROTECTED] ~]# rpm -qa | grep vz ovzkernel-2.6.18-8.1.4.el5.028stab035.1 vzrpm44-4.4.1-22.5 vzrpm43-python-4.3.3-7_nonptl.6 vzyum-2.4.0-11 vztmpl-centos-4-2.0-2 vztmpl-fedora-core-4-2.0-2 vzctl-3.0.22-1 ovzkernel-2.6.18-53.el5.028stab051.1 vzrpm44-python-4.4.1-22.5 vzrpm43-4.3.3-7_nonptl.6 vzpkg-2.7.0-18 vztmpl-fedora-core-3-2.0-2 vztmpl-fedora-core-5-2.0-2 vzctl-lib-3.0.22-1 vzquota-3.0.11-1 Any idea? ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Question on openvz install on ubuntu 7.10
Hi Amba, ok, i've supposed that, the error occured while a non-OpenVZ kernel is booted: ubunutu shipped a kernel version 2.6.22-... and the (stable) OpenVZ Kernel at debian.systs.org is a 2.6.18, so the first kernel to boot is the 2.6.22 and than the "older" 2.6.18 OpenVZ kernel. So please inspect your boot loader config, eg. grub (-> edit /boot/grub/menu.list ) and place the openvz kernel on first boot order and reboot the machine. and voila another OpenVZ node is on the way :-) Bye, Thorsten Amba Giri wrote: Thorsten, The Ubuntu version is 7.10 and the booted linux kernel is 2.6.22-14-server. Thanks Amba On Dec 11, 2007 11:18 PM, Thorsten Schifferdecker <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Can you please post the ubunutu version is used and what linux kernels is booted. Amba Giri wrote: > Thanks Thorsten. Unfortuntely, I am still running into the following problem > > On reboot, iget the error msg 'Statrting OpenVZ: failed to load module > vzmon..failed' > ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Question on openvz install on ubuntu
Can you please post the ubunutu version is used and what linux kernels is booted. Amba Giri wrote: Thanks Thorsten. Unfortuntely, I am still running into the following problem On reboot, iget the error msg 'Statrting OpenVZ: failed to load module vzmon..failed' I also did a 'sudo apt-get install vzctl vzquota vzdump vzctl-ostmpl-debian' but that did not fix above problem. Also, vzctl-ostmpl-debian could not be found. Thanks again for your assistance Amba On 12/11/07, *Thorsten Schifferdecker* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi Amba, for ubunutu, you should use: # wget http://debian.systs.org/dso_archiv_signing_key.asc -q -O - | sudo apt-key add - Bye, Thorsten ___ Users mailing list Users@openvz.org <mailto:Users@openvz.org> https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Question on openvz install on ubuntu
Hi Amba, for ubunutu, you should use: # wget http://debian.systs.org/dso_archiv_signing_key.asc -q -O - | sudo apt-key add - Bye, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Question on openvz install on ubuntu
Hi, Am Di, 11.12.2007, 17:43, schrieb Kir Kolyshkin: > [...] provide separate articles for Sarge and Etch. Can somebody work on it? I' ll do it ;-) Regards, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
amd (automounter) on fza or ovz debian kernels (was: Re: [Users] Kernel 2.6.18-openvz-13-39.1d1-amd64 oops)
Hello Frank, E Frank Ball III wrote: I've had your fzakernel-2.6.18-686 kernel running on two boxes for a month now, and it works great. No more crashes. Perfect! ;-) I'm a little confused by something, your website also has the ovzkernel-2.6.18 kernel that appears to be the same version (028stab48.1) and is 23 minutes newer than the fzakernel. What's the difference? I tried that one, but my automounter (amd) doesn't work on the host anymore (it does work in the VEs). The main difference between fza and ovz: fza used the debian kernel config plus openvz ovz used the orignal kernel config from openvz.org The time difference are releated to the build-queue only. Plz post the loaded modules at your Hdw-Node, on which kernel work the automounter-daemon ? Bye, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] perl LOCALE issue- and solution
Hi, or Disable overideing LC_* variables in /etc/ssh/sshd_config: # Allow client to pass locale environment variables AcceptEnv LANG LC_* to #AcceptEnv LANG LC_* so default LC ist used. Regards, Thorsten Am Mo, 10.12.2007, 12:55, schrieb Kirill Korotaev: > was it -minimal template? > Some of templates AFAIK have removed locales, > since locales take really much space (~20Mb) while not needed in most > cases > (except for the default C one). > > Thanks, > Kirill > > > Michael Klatsky wrote: >> Hello all- >> >> I ran into a puzzling issue and found a solution- but I am wondering >> what the root cause really was, and whether others have run into this: >> >> After create a VE using the repo provided centos-4-i386-default >> template, I entered the VE via ssh. When running perl (any perl >> script), I got the message: >> >> perl: warning: Setting locale failed. >> perl: warning: Please check that your locale settings: >> LANGUAGE = "en_US:en", >> LC_ALL = (unset), >> LANG = "en_US" >> are supported and installed on your system. >> perl: warning: Falling back to the standard locale ("C") >> >> After doing a bit of hunting on methods to set this, including these >> pages: >> http://www.in-ulm.de/~mascheck/locale/#short >> http://perldoc.perl.org/perllocale.html#Permanently-fixing-your-system's-locale-configuration >> >> I started looking closely at glibc-common, as when I did "locale -a" I >> got the message that locale directories could not be found. >> >> I checked, and indeed- rpm -q glibc-common reported that the package >> was installed. However, after checking some of the files included that >> should have existed, I found that the local dirs were not there >> (example: /usr/lib/locale/en_US/LC_TIME). So, I grabbed the >> glibc-common rpm and did a rpm -ivh --force, and voila- all was >> properly installed. >> >> The purpose of my post is to document this for others who may have run >> into this, and t solicit any theories as to why that package was >> "phantomly" installed. Significantly, other than the locale issue- the >> system was operating properly. >> >> Thanks- and so far quite impressed >> >> > > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > -- Thorsten Schifferdecker email [EMAIL PROTECTED] phone +49 (0) 911 50 63 69 82 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] OpenVZ specific patchset
Hi Kirill > Also please note that this is a development branch kernel, so it can be > not that stable for production use. Our main target now is 2.6.24 kernel > for coming Ubuntu server (TLS). http://git.openvz.org/?p=linux-2.6-netns;a=summary ^- git repro for that kernel ? Regards, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] venet0: hw csum failure.
Hi Darius, what OpenVZ kernel is used a pre- or self-built and which version ? Thorsten Am Mo, 19.11.2007, 13:55, schrieb Dariush Pietrzak: > Hi, > I get something like this: > > venet0: hw csum failure. > > Call Trace: > [] __skb_checksum_complete+0x4a/0x62 > [] :ip_conntrack:tcp_error+0x18a/0x26b > [] tcp_rcv_established+0x114/0x9e6 > [] :ip_conntrack:ip_conntrack_in+0xae/0x4f9 > [] nf_iterate+0x41/0x7d > [] ip_rcv_finish+0x0/0x2ca > [] nf_hook_slow+0x78/0xe8 > [] ip_rcv_finish+0x0/0x2ca > [] ip_rcv+0x286/0x58a > [] netif_receive_skb+0x370/0x41d > [] process_backlog+0x84/0x101 > [] net_rx_action+0xa4/0x1b1 > [] __do_softirq+0x98/0x138 > [] call_softirq+0x1c/0x28 > [] do_softirq+0x2c/0x7d > [] do_IRQ+0x144/0x14d > [] mwait_idle+0x0/0x4a > [] ret_from_intr+0x0/0xa > [] mwait_idle+0x36/0x4a > [] cpu_idle+0x60/0x7f > [] start_secondary+0x445/0x454 > > the machine seems to be running perfectly fine, though it is rather > worrying > > venet0: hw csum failure. > > Call Trace: > [] __skb_checksum_complete+0x4a/0x62 > [] :ip_conntrack:tcp_error+0x18a/0x26b > [] __wake_up_common+0x3e/0x68 > [] :ip_conntrack:ip_conntrack_in+0xae/0x4f9 > [] nf_iterate+0x41/0x7d > [] ip_rcv_finish+0x0/0x2ca > [] nf_hook_slow+0x78/0xe8 > [] ip_rcv_finish+0x0/0x2ca > [] ip_rcv+0x286/0x58a > [] netif_receive_skb+0x370/0x41d > [] process_backlog+0x84/0x101 > [] net_rx_action+0xa4/0x1b1 > [] __do_softirq+0x98/0x138 > [] call_softirq+0x1c/0x28 > [] do_softirq+0x2c/0x7d > [] local_bh_enable+0x88/0x9a > [] dev_queue_xmit+0x23b/0x25c > [] ip_output+0x278/0x2a9 > [] ip_queue_xmit+0x403/0x467 > [] ip_output+0x264/0x2a9 > [] ub_sock_tcp_chargesend+0x3d/0x157 > [] tcp_transmit_skb+0x72b/0x763 > [] tso_fragment+0x1b1/0x20f > [] tcp_push_one+0xed/0x11b > [] tcp_sendmsg+0x8d2/0xb8b > [] sock_sendmsg+0xd4/0xec > [] sock_recvmsg+0xde/0xf6 > [] autoremove_wake_function+0x0/0x2e > [] do_sync_read+0xc7/0x104 > [] sys_sendto+0x11c/0x14f > [] autoremove_wake_function+0x0/0x2e > [] __sched_text_start+0x167/0xdf7 > [] system_call+0x7e/0x83 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Another kernel panic, Debian AMD64 with Supermicro hardware
Hi Jim, you need the iscsi kernel modules like iscsi_tcp, libiscsi and scsi_transport_iscsi ? I've built some debian kernel images, see http://debian.systs.org/openvz/166/new-openvz-flavour-added-fzakernel-version-028stab481/ There's the modules built as module like, the original Debian Kernel. Hope this helps, Thorsten Am Fr, 16.11.2007, 07:43, schrieb Jim Archer: > Hi Thorsten, > > Well this is the most recent kernel available from this link: > > http://download.openvz.org/kernel/debian/etch/ > > I use these because they include the iSCSI daemon which I need to talk to > my SAN box. Is there a newer kernel available and if so, where do I get > it? > > Thanks... > > > > > --On Thursday, November 15, 2007 8:15 AM +0100 Thorsten Schifferdecker > <[EMAIL PROTECTED]> wrote: > >> Hi Jim, >> >> can you poste more info, or can it be solved by installing a new kernel, >> maybe this thread helps (-> >> http://forum.openvz.org/index.php?t=msg&th=4186&start=0&; ) >> >> Bye, >> Thorsten >> >> Jim Archer wrote: >>> Oh, and the last message on the console was: >>> >>> Kernel panic - not syncing: Aiee, killing intrrupt handler! >>> >>> >>> --On Monday, November 12, 2007 12:39 PM -0500 Jim Archer >>> <[EMAIL PROTECTED]> wrote: >>> >>>> Hi All... >>>> >>>> I thought this issue was resolved with the last kernel upgrade I did, >>>> but this morning at about 6:25AM Eastern (I think) one of my OpenVZ >>>> machines experienced a kernel panic. >>>> >>>> The kernel is: >>>> >>>> actual:/var/log# uname -a >>>> Linux actual.registrationtek.com 2.6.18-openvz-13-39.1d1-amd64 #1 SMP >>>> Sat Sep 29 15:02:55 MSD 2007 x86_64 GNU/Linux >>>> >>>> This is Debian Etch AMD64 running on Supermicro hardware. >>>> >>>> The messages log is not much help. I rebooted at about noon: >>>> >>>> Nov 12 05:43:37 actual -- MARK -- >>>> Nov 12 06:03:37 actual -- MARK -- >>>> Nov 12 06:23:37 actual -- MARK -- >>>> Nov 12 06:27:29 actual syslogd 1.4.1#18: restart. >>>> Nov 12 12:00:44 actual syslogd 1.4.1#18: restart. >>>> Nov 12 12:00:44 actual kernel: klogd 1.4.1#18, log source = /proc/kmsg >>>> started. >>>> . >>>> . >>>> . >>>> >>>> >>>> Same for syslog. Here are the last few lines: >>>> >>>> >>>> syslog.0: >>>> >>>> Nov 12 06:10:01 actual /USR/SBIN/CRON[30765]: (root) CMD >>>> (/home/jim/check-vps-wrapper.sh) >>>> Nov 12 06:10:01 actual /USR/SBIN/CRON[30763]: (root) CMD >>>> (/usr/share/vzctl/scripts/vpsnetclean) >>>> Nov 12 06:10:01 actual /USR/SBIN/CRON[30761]: (root) CMD >>>> (/usr/share/vzctl/scripts/vpsreboot) >>>> Nov 12 06:15:01 actual /USR/SBIN/CRON[31270]: (root) CMD >>>> (/usr/share/vzctl/scripts/vpsreboot) >>>> Nov 12 06:15:01 actual /USR/SBIN/CRON[31272]: (root) CMD >>>> (/usr/share/vzctl/scripts/vpsnetclean) >>>> Nov 12 06:17:01 actual /USR/SBIN/CRON[31420]: (root) CMD ( cd / && >>>> run-parts --report /etc/cron.hourly) >>>> Nov 12 06:20:01 actual /USR/SBIN/CRON[31566]: (root) CMD >>>> (/usr/share/vzctl/scripts/vpsreboot) >>>> Nov 12 06:20:01 actual /USR/SBIN/CRON[31568]: (root) CMD >>>> (/usr/share/vzctl/scripts/vpsnetclean) >>>> Nov 12 06:20:01 actual /USR/SBIN/CRON[31570]: (root) CMD >>>> (/home/jim/check-vps-wrapper.sh) >>>> Nov 12 06:25:01 actual /USR/SBIN/CRON[409]: (root) CMD (test -x >>>> /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )) >>>> Nov 12 06:25:01 actual /USR/SBIN/CRON[411]: (root) CMD >>>> (/usr/share/vzctl/scripts/vpsreboot) >>>> Nov 12 06:25:01 actual /USR/SBIN/CRON[417]: (root) CMD >>>> (/usr/share/vzctl/scripts/vpsnetclean) >>>> >>>> syslog: >>>> >>>> Nov 12 06:27:29 actual syslogd 1.4.1#18: restart. >>>> Nov 12 12:00:44 actual syslogd 1.4.1#18: restart. >>>> Nov 12 12:00:44 actual kernel: klogd 1.4.1#18, log source = /proc/kmsg >>>> started. >>>> Nov 12 12:00:44 actual kernel: Bootdata ok (command line is >>>> root=/dev/mapper/VG--RAID-LV1 ro ) >> ___ >> Users mailing list >> Users@openvz.org >> https://openvz.org/mailman/listinfo/users > > > > > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > -- Thorsten Schifferdecker email [EMAIL PROTECTED] phone +49 (0) 911 50 63 69 82 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Another kernel panic, Debian AMD64 with Supermicro hardware
Hi Jim, can you poste more info, or can it be solved by installing a new kernel, maybe this thread helps (-> http://forum.openvz.org/index.php?t=msg&th=4186&start=0&; ) Bye, Thorsten Jim Archer wrote: Oh, and the last message on the console was: Kernel panic - not syncing: Aiee, killing intrrupt handler! --On Monday, November 12, 2007 12:39 PM -0500 Jim Archer <[EMAIL PROTECTED]> wrote: Hi All... I thought this issue was resolved with the last kernel upgrade I did, but this morning at about 6:25AM Eastern (I think) one of my OpenVZ machines experienced a kernel panic. The kernel is: actual:/var/log# uname -a Linux actual.registrationtek.com 2.6.18-openvz-13-39.1d1-amd64 #1 SMP Sat Sep 29 15:02:55 MSD 2007 x86_64 GNU/Linux This is Debian Etch AMD64 running on Supermicro hardware. The messages log is not much help. I rebooted at about noon: Nov 12 05:43:37 actual -- MARK -- Nov 12 06:03:37 actual -- MARK -- Nov 12 06:23:37 actual -- MARK -- Nov 12 06:27:29 actual syslogd 1.4.1#18: restart. Nov 12 12:00:44 actual syslogd 1.4.1#18: restart. Nov 12 12:00:44 actual kernel: klogd 1.4.1#18, log source = /proc/kmsg started. . . . Same for syslog. Here are the last few lines: syslog.0: Nov 12 06:10:01 actual /USR/SBIN/CRON[30765]: (root) CMD (/home/jim/check-vps-wrapper.sh) Nov 12 06:10:01 actual /USR/SBIN/CRON[30763]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean) Nov 12 06:10:01 actual /USR/SBIN/CRON[30761]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot) Nov 12 06:15:01 actual /USR/SBIN/CRON[31270]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot) Nov 12 06:15:01 actual /USR/SBIN/CRON[31272]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean) Nov 12 06:17:01 actual /USR/SBIN/CRON[31420]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Nov 12 06:20:01 actual /USR/SBIN/CRON[31566]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot) Nov 12 06:20:01 actual /USR/SBIN/CRON[31568]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean) Nov 12 06:20:01 actual /USR/SBIN/CRON[31570]: (root) CMD (/home/jim/check-vps-wrapper.sh) Nov 12 06:25:01 actual /USR/SBIN/CRON[409]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )) Nov 12 06:25:01 actual /USR/SBIN/CRON[411]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot) Nov 12 06:25:01 actual /USR/SBIN/CRON[417]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean) syslog: Nov 12 06:27:29 actual syslogd 1.4.1#18: restart. Nov 12 12:00:44 actual syslogd 1.4.1#18: restart. Nov 12 12:00:44 actual kernel: klogd 1.4.1#18, log source = /proc/kmsg started. Nov 12 12:00:44 actual kernel: Bootdata ok (command line is root=/dev/mapper/VG--RAID-LV1 ro ) ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Kernel 2.6.18-openvz-13-39.1d1-amd64 oops
Hi Kirill, hi Frank, @Kirill: yes i found a misprint, which affected the debian linux tree only 028stab045, done in my linux-patch-openvz. I can take a look between Ola's 028stab039 and my patches and mail the diff to Alex and you. @Frank: I've built the the OpenVZ kernels called fzakernel, it's the debian kernel config plus OpenVZ support, version 028stab048; see http://debian.systs.org/openvz/166/new-openvz-flavour-added-fzakernel-version-028stab481/ Regards, Thorsten Am Mo, 29.10.2007, 17:34, schrieb Kirill Korotaev: > Thorsten, > > Alexey Dobriyan told me that you said you found some misprint > in OVZ patch ported to debian. > Is it true? Can you please point to this? Any patch? > > to Frank, can you try using 2.6.18-mainstream-OVZ kernel until this is resolved in Debian branch and thus confirm that it's purely > debian-kernel problem? > > Thanks, > Kirill > > > E Frank Ball III wrote: >> On Wed, Oct 24, 2007 at 06:31:39AM +0200, Martin Trtusek wrote: >> > The same kernel on i386 is working without oops (uptime 22 days). >> Should >> > I fulfill a bug ? >> > >> > Unfortunately previous hardware are not available for test now (it is >> in >> > production, with 2.6.18-openvz-13-1etch4 kernel). Probably after next week we will have similar one for 1-2 week testing. >> > >> > Martin Trtusek >> > >> > Martin Trtusek pí?e v St 10. 10. 2007 v 07:54 +0200: >> > > I installed kernel 2.6.18-openvz-13-39.1d1-amd64 from >> > > http://download.openvz.org/debian on Debian Etch one week ago and experienced kernel oops (complete freezing, off/on necessary) after >> 2-3 >> > > days of running (3 times). Oops is always after cron.daily scripts >> (in >> > > my case 06:25) but not everyday. Yesterday I configured netconsole >> for >> > > capturing useful info, enclosed. >> >> >> I've seen three crashes with >> linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb >> >> I changed my production server back to 2.6.18-openvz-12-1etch1-686. >> >> I captured the output this time: >> >> preparing to turn dcache accounting on, size 4294967293 pages, >> watermarks 0 21800 >> UBC: turning dcache accounting on succeeded, usage 1236258, time 0.040 [ cut here ] >> kernel BUG at kernel/sched.c:3798! >> invalid opcode: [#1] >> SMP >> Modules linked in: netconsole tcp_diag inet_diag hp100 nfs simfs vznetdev vzethdev vzrst ip_nat vzcpt ip_conntrack nfnetlink vzdquota vzmon vzdev xt_length ipt_ttl xt_tcpmss ipt_TCPMSS iptable_mangle iptable_filter xt_multiport xt_limit ipt_tos ipt_REJECT ip_tables x_tables nfsd exportfs lockd nfs_acl sunrpc ppdev lp ipv6 nls_iso8859_1 isofs dm_snapshot dm_mirror dm_mod uhci_hcd ehci_hcd usb_storage ide_generic loop snd_cs46xx gameport snd_seq_dummy snd_seq_oss >> snd_seq_midi snd_seq_midi_event snd_seq tsdev snd_rawmidi snd_seq_device snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss i2c_piix4 snd_pcm i2c_core snd_timer parport_pc psmouse rtc serio_raw snd evdev soundcore snd_page_alloc shpchp pci_hotplug parport sworks_agp agpgart floppy pcspkr ide_floppy ext3 jbd mbcache sd_mod ide_cd cdrom ide_disk ohci_hcd usbcore aic7xxx scsi_transport_spi scsi_mod serverworks generic ide_core e100 mii processor >> CPU:1, VCPU: -1.1 >> EIP:0060:[]Not tainted VLI >> EFLAGS: 00010046 (2.6.18-openvz-13-39.1d2-686 #1) >> EIP is at rebalance_tick+0x2fa/0x485 >> eax: 005e ebx: c035c6c0 ecx: 0008 edx: dfb05d94 >> esi: c2214180 edi: dfb99000 ebp: dfb05db0 esp: dfb05d64 >> ds: 007b es: 007b ss: 0068 >> Process swapper (pid: 0, veid: 0, ti=dfb04000 task=dfb01220 >> task.ti=dfb04000) >> Stack: dfb98000 dfb98000 330b1369 0001 0002 0001 >>dfb99000 1fb2c449 dfb99000 0003 00ff 005e >> >>dfb01220 0001 c1f78da4 c012476b dfb05dd0 f524a414 >> 0202 >> Call Trace: >> [] update_process_times+0x52/0x5c >> [] smp_apic_timer_interrupt+0x9b/0xa1 >> [] apic_timer_interrupt+0x1f/0x24 >> [] _spin_unlock_irqrestore+0x8/0x9 >> [] __wake_up_bit+0x29/0x2e >> [] end_buffer_async_write+0xe3/0x105 >> [] mempool_free+0x5f/0x63 >> [] end_bio_bh_io_sync+0x0/0x39 >> [] end_bio_bh_io_sync+0x2e/0x39 >> [] bio_endio+0x50/0x55 >> [] __end_that_request_first+0x11b/0x425 >> [] scsi_end_request+0x1a/0xa9 [scsi_mod] >> [] mempool_free+0x5f/0x63 >> [] scsi_io_completion+0x143/0x2ed [scsi_mod] >> [] sd_rw_intr+0x1eb/0x215 [sd_mod] >> [] scsi_finish_command+0x73/0x77 [scsi_mod] >> [] blk_done_softirq+0x4d/0x58 >> [] __do_softirq+0x84/0x109 >> [] do_softirq+0x36/0x3a >> [] do_IRQ+0x8a/0x92 >> [] common_interrupt+0x1a/0x20 >> [] default_idle+0x0/0x59 >> [] default_idle+0x31/0x59 >> [] cpu_idle+0x5e/0x74 >> Code: 0c 85 c0 0f 84 4e 01 00 00 53 89 c2 8b 4d b8 ff 75 e8 8b 45 dc e8 a7 cf ff ff 89 c3 58 85 db 5a 0f 84 31 01 00 00 39 7d d4 75 0b <0f> 0b 66 b8 d6 0e b8 a3 61 29 c0 39 fb 89 5d d4 0f 84 16 01 00 >> EIP: [] rebalance_tick+0x2fa/0x485 SS:ESP 0068:dfb0
Re: [Users] Kernel 2.6.18-openvz-13-39.1d1-amd64 oops
Hi Martin, have you tried the new 028stab045 OpenVZ linux-kernel ? Regards / Gruss, Thorsten Schifferdecker Am Mi, 10.10.2007, 05:54, schrieb Martin Trtusek: > I installed kernel 2.6.18-openvz-13-39.1d1-amd64 from > http://download.openvz.org/debian on Debian Etch one week ago and > experienced kernel oops (complete freezing, off/on necessary) after 2-3 > days of running (3 times). Oops is always after cron.daily scripts (in > my case 06:25) but not everyday. Yesterday I configured netconsole for > capturing useful info, enclosed. > > Hardware was tested very strong on installation. With stock Debian > kernel (initrd.img-2.6.18-5-amd64) server does not have any problem (3 > months of operation). There are 3 VPS running, without really using. > > Enclosed last entry in syslog (before crash). Looks like problem is > invoking by /usr/share/vzctl/scripts/vpsnetclean > or /usr/share/vzctl/scripts/vpsreboot. Booth scripts are from vzctl > package, I installed it from http://debian.systs.org/ > > # vzctl --version > vzctl version 3.0.18-1dso1 > > I am leaving office now, additional info (if necessary) I can send > tomorrow. > > Martin Trtusek > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] VE stuck when shutting down.
Hi, it's known and resolved bug, see http://bugzilla.openvz.org/show_bug.cgi?id=561 Please install the new Debian OpenVZ kernel; can be downloaded at http://download.openvz.org/debian/dists/etch/main/binary-i386/base/ Regards, Thorsten E Frank Ball III schrieb: I was trying to get OpenVZ running on a Debian etch host (kernel 2.6.18-openvz-13-1etch4-686). I was just about done getting my template setup and when I shut down the VE it got stuck and I got this spew. (see below). This server has been up and running without a fault for 3 years without VZ, so I'm very skeptical that it's a hardware problem. How do I unstick the VE? It won't stop or start. The only vz process I see with ps is this: root 9063 1 0 Sep19 ?00:00:00 [vzmond] It is unkillable, kill -9 does nothing. This isn't a server that I can reboot frequently. How can I recover from this? Thank you, Sep 19 22:34:48 kamajii kernel: BUG: unable to handle kernel NULL pointer dereference at virtual address 0034 Sep 19 22:34:48 kamajii kernel: printing eip: Sep 19 22:34:48 kamajii kernel: d0b9eb54 Sep 19 22:34:48 kamajii kernel: *pde = Sep 19 22:34:48 kamajii kernel: Oops: [#1] Sep 19 22:34:48 kamajii kernel: SMP Sep 19 22:34:48 kamajii kernel: Modules linked in: ip6table_filter ip6_tables simfs vznetdev vzethdev vzrst vzcpt vzdquota vzmon vzdev ipv6 ppdev lp iptable_raw xt_policy xt_multiport ipt_ULOG ipt_TTL ipt_ttl ipt_TOS ipt_tos ipt_TCPMSS ipt_SAME ipt_REJECT ipt_REDIRECT ipt_recent ipt_owner ipt_NETMAP ipt_MASQUERADE ipt_LOG ipt_iprange ipt_hashlimit ipt_ECN ipt_ecn ipt_DSCP ipt_dscp ipt_CLUSTERIP ipt_ah ipt_addrtype ip_nat_tftp ip_nat_snmp_basic ip_nat_pptp ip_nat_irc ip_nat_ftp ip_nat_amanda ip_conntrack_tftp ip_conntrack_pptp ip_conntrack_netbios_ns ip_conntrack_irc ip_conntrack_ftp ts_kmp ip_conntrack_amanda xt_tcpmss xt_pkttype xt_physdev bridge xt_NFQUEUE xt_MARK xt_mark xt_mac xt_limit xt_length xt_helper xt_dccp xt_conntrack xt_CONNMARK xt_connmark xt_CLASSIFY xt_tcpudp xt_state iptable_nat ip_nat ip_conntrack iptable_mangle nfnetlink iptable_filter ip_tables x_tables dm_snapshot dm_mirror dm_mod tsdev snd_mpu401 snd_mpu401_uart parport_pc snd_rawmidi snd_seq_device sn! d soundcore floppy analog gameport parp Sep 19 22:34:48 kamajii kernel: rt psmouse serio_raw rtc i2c_piix4 i2c_core intel_agp agpgart pcspkr shpchp pci_hotplug evdev ext3 jbd mbcache ide_cd cdrom ide_disk 3c59x pcnet32 mii aic7xxx uhci_hcd scsi_transport_spi scsi_mod usbcore piix generic ide_core processor Sep 19 22:34:48 kamajii kernel: CPU:1, VCPU: 0.0 Sep 19 22:34:48 kamajii kernel: EIP:0060:[]Not tainted VLI Sep 19 22:34:48 kamajii kernel: EFLAGS: 00010282 (2.6.18-openvz-13-1etch4-686 #1) Sep 19 22:34:48 kamajii kernel: EIP is at ip6t_unregister_table+0x7/0x14b [ip6_tables] Sep 19 22:34:48 kamajii kernel: eax: ebx: ecx: c847fa98 edx: c847fa98 Sep 19 22:34:48 kamajii kernel: esi: cd8bf000 edi: 0007 ebp: esp: ceb4bf68 Sep 19 22:34:48 kamajii kernel: ds: 007b es: 007b ss: 0068 Sep 19 22:34:48 kamajii kernel: Process vzmond/777 (pid: 22585, veid: 0, ti=ceb4a000 task=c36b93e0 task.ti=ceb4a000) Sep 19 22:34:48 kamajii kernel: Stack: cf2d5640 c12ba200 d0b80f18 0003 cd8bf000 0007 Sep 19 22:34:48 kamajii kernel:d0b80029 d0bbcbb7 cd8bf000 cd8bf028 c02cc100 d0bbe048 Sep 19 22:34:48 kamajii kernel:ceb4bfce cd8bf000 d0bbe11d ceb4bfce ceb4bfce 0012 d0bbfe15 Sep 19 22:34:48 kamajii kernel: Call Trace: Sep 19 22:34:48 kamajii kernel: [] fini_ip6table_filter+0x29/0x43 [ip6table_filter] Sep 19 22:34:48 kamajii kernel: [] do_ve_iptables+0xa95/0xf42 [vzmon] Sep 19 22:34:48 kamajii kernel: [] env_cleanup+0xa3/0x150 [vzmon] Sep 19 22:34:48 kamajii kernel: [] vzmond_helper+0x28/0x34 [vzmon] Sep 19 22:34:48 kamajii kernel: [] vzmond_helper+0x0/0x34 [vzmon] Sep 19 22:34:48 kamajii kernel: [] kernel_thread_helper+0x5/0xb Sep 19 22:34:48 kamajii kernel: Code: 0f 85 e2 fe ff ff 8b 44 24 04 89 38 eb 0c bb fe ff ff ff eb 05 bb b6 ff ff ff 83 c4 10 89 d8 5b 5e 5f 5d c3 55 57 56 53 83 ec 10 <8b> 50 34 89 54 24 08 e8 a9 7e f1 ff 89 04 24 89 e0 25 00 e0 ff Sep 19 22:34:48 kamajii kernel: EIP: [] ip6t_unregister_table+0x7/0x14b [ip6_tables] SS:ESP 0068:ceb4bf68 Sep 19 22:34:48 kamajii kernel: d0b9eb54 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] IPv6 with venet
Hi Jan, Jan Tomasek schrieb: > Vitaliy Gusev wrote: >> Please check /proc/sys/net/ipv6/conf/all/forwarding > [...] > Problem is that when I do: > > echo "1" > /proc/sys/net/ipv6/conf/all/forwarding > > HW node stops responding on IPv6 ping, reason probably is that setting > that removes default GW: "Router Advertisements" (=autoconfiguration) are ignored on setting forward to 1 to IPv6 proc settings and your (automatic) default route ( ::0 ), is set to a RA IPv6 (link-local) address, is gone. for Debian you can set IPv6 (addy and route) on your VE0 (hardware node): --8<--( /etc/network/interfaces )-- [...] iface [...] iface inet6 static address netmask gateway # set IPv6 forwarding here or in /etc/sysctl.conf # read man page of interfaces (5) [...] -->8-- Regards, Thorsten Schifferdecker ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Failed to compile with enabled Checkpointing & restoring Virtual Environments
Hi Jan, Am Mi, 4.07.2007, 09:38, schrieb Jan Tomasek: > [...] > I failed to compile linux-2.6.20-ovz007 with enabled Checkpointing & > restoring Virtual Environments. Compiler says: in version 2.6.20-ovz007 Checkpointing is disabled, see offical kernel config for 2.6.20 at http://download.openvz.org/kernel/branches/2.6.20/current/configs/ but now in git (2.6.20-ovz008) (-> http://git.openvz.org/?p=linux-2.6.20-openvz;a=commit;h=1a0f402ff521b49d4fbb297119239db8f6f2e5779 is turned on. Hope this helps. Regards, Thorsten Schifferdecker ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] kernel errors in syslog
20 [nfs] >> Jul 6 03:05:23 server01 kernel: [] vfs_kern_mount+0x4c/0xa0 >> Jul 6 03:05:23 server01 kernel: [] do_kern_mount+0x42/0x60 >> Jul 6 03:05:23 server01 kernel: [] do_mount+0x26d/0x7a0 >> Jul 6 03:05:23 server01 kernel: [] ub_slab_charge+0x7a/0x140 >> Jul 6 03:05:23 server01 kernel: [] inet_csk_get_port+0x136/0x280 >> Jul 6 03:05:23 server01 kernel: [] inet_bind+0xd9/0x210 >> Jul 6 03:05:23 server01 kernel: [] pb_free+0x1f/0x30 >> Jul 6 03:05:23 server01 kernel: [] __get_free_pages+0x2d/0x50 >> Jul 6 03:05:23 server01 kernel: [] copy_mount_options+0x47/0x130 >> Jul 6 03:05:23 server01 kernel: [] sys_mount+0x98/0xe0 >> Jul 6 03:05:23 server01 kernel: [] syscall_call+0x7/0xb >> Jul 6 03:05:23 server01 kernel: lockd_up: create thread failed, error=-1 >> >> > > some other info: > server01:~# uname -a > Linux server01 2.6.18-028stab035.1-ovz #1 Wed Jun 13 21:25:54 CEST 2007 i686 > GNU/Linux > server01:~# cat /proc/version > Linux version 2.6.18-028stab035.1-ovz ([EMAIL PROTECTED]) (gcc version 4.1.2 > 20061115 (prerelease) (Debian 4.1.1-21)) #1 Wed Jun 13 21:25:54 CEST 2007 > > using debian etch with packages from systs.org - are the CentOS kernels more > stable? Regards, Thorsten Schifferdecker ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
iSCSI kernel mod in precombiled kernel images (was: Re: [Users] Exim 4 crashes kernel on Debian Etch 64bit)
Hi Jim, Jim Archer schrieb: > [...] > I installed this from systs.org, but it seems that when I boot it my > iSCSI daemon no longer works. I was wondering, do you know if iSCSI was > included in this kernel build? It works fine in the prior kernel I was > using. > [...] Can you please post with kernel modules are needed for your iSCSI (deamon) ? Regards, Thorsten Schifferdecker ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] trouble with veth device in combination with long veid
Hi, or export the right VEID from /proc/vz/veth: /proc/vz/veth : MAC_VE0 veth_dev_on_VE0 mac_dev_VE dev_VE VEID deny Attached a workaround patch, to solve this issue. Regards, Thorsten Kristian F. Høgh schrieb: On Thursday den 7. June 2007 11:32:39 Kirill Korotaev wrote: Kristian F. Høgh wrote: On Wednesday den 6. June 2007 17:14:57 Nils Domrose wrote: Hi, we are facing a problem with veth device in combination with long veids. if we configure a veth device as described in the wiki, we are unable to start that VE with the following error: In veth.c a buffer with length 11 is allocated. The buffer is used as follows: snprintf(buf, sizeof(buf), "VEID=%d", veid); As 6 characters are used for static content (VEID= + '\0'), only 5 characters are left. Your VEID (249104) is 6 characters long. Apply the following patch, and you should be running. (An alternative is to limit your VEID in the range 100 to <= 9) --- a/src/lib/veth.c +++ b/src/lib/veth.c @@ -90,7 +90,7 @@ static int veth_dev_remove(vps_handler *h, envid_t veid, veth_dev *dev) static int run_vznetcfg(envid_t veid, veth_dev *dev) { int ret; - char buf[11]; + char buf[12]; char *argv[] = {VZNETCFG, "init", "veth", NULL, NULL}; char *env[2]; (Last line is empty) In kernel if name is limited to 16 bytes, i.e. to 15 chars (plus zero). 4 chars for "veth", I call my veth interfaces ve${VEID}.0, ve${VEID}.1 ... So VEID 1234 will have an interface called ve1234.0 in VE0 (eth0 in VE 1234) so 11 chars for number. VEID is int, so limited to 2^32, which is no more then 10 chars length. So everything should be fine except this silly bug in vzctl. What if I call my veth interfase abcdefghij${VEID} ? (Or do I misunderstand?) Why have you chosen 12 instead of 11? AFAICS it should be sizeof("VEID=") + 10 + 1 (for \0) = 16 I chose 12 because 11 was to small :-) It was ment as a workaround. 16 must be right. Thanks, Kirill Regards, Kristian. ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users --- /usr/sbin/vznetcfg 2007-06-07 16:53:46.728284477 +0200 +++ /usr/sbin/vznetcfg.new 2007-06-07 16:54:20.879074560 +0200 @@ -32,6 +32,7 @@ } # Call the external script if defined if [ -n "${EXTERNAL_SCRIPT}" -a -x "${EXTERNAL_SCRIPT}" ]; then + VEID=`awk "/$3/ {print \\$5}" /proc/vz/veth` export VEID exec ${EXTERNAL_SCRIPT} $@ fi ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] IPv6 support in VE
Hi, adding is ok, but when i want delete a IPv6 with --ipdel, it shows: # vzctl set --ipdel fc00::1 [--save] Warning: ipv6 support disabled <---* Deleting IP address(es): Configure meminfo: 49152 Saved parameters for VE Regards, Thorsten Jan, With venet, you use the same ipadd command, for example: vzctl set VEID --ipadd fc00::01 --save Before that, make sure that * your kernel is compiled with IPv6 * ipv6 module is loaded (if IPv6 is compiled as a module) * IPV6 set to yes in /etc/vz/vz.conf Kirill Korotaev wrote: Jan, venet supports IPv6 addresses as well. it's just an article concerning veth only :) Thanks, Kirill Jan Tomasek wrote: Hello, what is state of IPv6 support inside VE? I found: http://wiki.openvz.org/Virtual_Ethernet_device#Virtual_ethernet_device_with_IPv6 but that looks quite complicated comparing to IPv4 where I just need to use `vzctl --ipadd 1.2.3.4` and that is all. Do I have to go with veth or is there chance how to configure IPv6 on venet? Thanks for sugestions ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Logging traffic stats for VEs
Hi Ian, a) use the /proc/net/dev of your VE: # vzctl exec grep venet0 /proc/net/dev | cut -d":" -f2 | awk '{print $1"\n"$9}' xxx xxx b) or, VE has enabled sysfs: # vzctl exec cat /sys/class/net/venet0/statistics/{r,t}x_bytes xxx xxx a) and b) prints netstats of VE-netdev venet0, in and out in bytes, so you can put these stats in a a rrd or in a sql database, a old howto which use a) can be found at http://forum.openvz.org/index.php?t=msg&th=261&start=0&; Hope this helps, Thorsten Schifferdecker Ian P. Christian schrieb: Hi all, I need to graph the traffic usage for each VE. I've seen on the wiki that I should use iptables for this, but it seems to me that there should be some kind of counter as part of the openVZ counters - is there? My concern with using iptables is that in a situation when you have multiple hosts, the VE could be moved around between hosts a fair amount, and therefore the iptables counters won't be relevant. I'm sure someone must have solved this issue before, care to share? Thanks, ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Need help understanding kernel version numbers
Hi, 028.18.1 -> the digits show me, this is a OpenVZ 028(test0)18.1 patch imho a good overview about 2.6.18 OpenVZ kernelpatches and -images listed at http://download.openvz.org/kernel/branches/2.6.18/ Regards, Thorsten Jim Archer schrieb: Ah, thanks very much Thorsten, I see how it works now. Is there a way to tell from the version number if a deb file has a test kernel or a stable one? --On Wednesday, April 11, 2007 11:44 AM +0200 Thorsten Schifferdecker <[EMAIL PROTECTED]> wrote: Hi Jim, Ola has updated the debianized OpenVZ Linux kernel to new Debian Linux Kernel Source : "linux-image-2.6.18-openvz-amd64_028.18-2.6.18-12-1_amd64.deb" : linux-image-2.6.18-openvz-amd64 ... 028.18.1 \_> OpenVZ Kernel Patch 028test018.1 (-> http://packages.debian.org/stable/devel/kernel-patch-openvz ) 2.6.18-12-1 \_> Debian Linux Kernel Source (-> http://packages.debian.org/stable/devel/linux-source-2.6.18) Regards, Thorsten Jim Archer schrieb: Hi All... I have always been confused by the kernel version numbers and I finally decided to just look stupid and ask. I am currently running: actual:/home/jim/openvz/kernels# uname -a Linux actual.registrationtek.com 2.6.18-openvz-amd64 #1 SMP Mon Mar 12 21:59:13 UTC 2007 x86_64 GNU/Linux actual:/home/jim/openvz/kernels# The file name for the deb package for this version is: linux-image-2.6.18-openvz-amd64_028.18-2.6.18-11-1_amd64.deb I see that there is now: linux-image-2.6.18-openvz-amd64_028.18.1-2.6.18-12-1_amd64.deb This file has a date of April 11, 2007, so I know it's newer. But how can I tell from the version numbers? Both are 028.18 but the newer one has a lower number, .1-2, than the older one, which has 6. So what's the proper way to parse this? Also, is there a posted list of changes? I'm running OpenVZ in production now and so prefer not to risk an upgrade and reboot unless necessary. Thanks! Jim ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Need help understanding kernel version numbers
Hi Jim, Ola has updated the debianized OpenVZ Linux kernel to new Debian Linux Kernel Source : "linux-image-2.6.18-openvz-amd64_028.18-2.6.18-12-1_amd64.deb" : linux-image-2.6.18-openvz-amd64 ... 028.18.1 \_> OpenVZ Kernel Patch 028test018.1 (-> http://packages.debian.org/stable/devel/kernel-patch-openvz ) 2.6.18-12-1 \_> Debian Linux Kernel Source (-> http://packages.debian.org/stable/devel/linux-source-2.6.18) Regards, Thorsten Jim Archer schrieb: Hi All... I have always been confused by the kernel version numbers and I finally decided to just look stupid and ask. I am currently running: actual:/home/jim/openvz/kernels# uname -a Linux actual.registrationtek.com 2.6.18-openvz-amd64 #1 SMP Mon Mar 12 21:59:13 UTC 2007 x86_64 GNU/Linux actual:/home/jim/openvz/kernels# The file name for the deb package for this version is: linux-image-2.6.18-openvz-amd64_028.18-2.6.18-11-1_amd64.deb I see that there is now: linux-image-2.6.18-openvz-amd64_028.18.1-2.6.18-12-1_amd64.deb This file has a date of April 11, 2007, so I know it's newer. But how can I tell from the version numbers? Both are 028.18 but the newer one has a lower number, .1-2, than the older one, which has 6. So what's the proper way to parse this? Also, is there a posted list of changes? I'm running OpenVZ in production now and so prefer not to risk an upgrade and reboot unless necessary. Thanks! Jim ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] OpenVZ vs. vserver
Yes, pre-build debian package of vzprocps can be found at debian.systs.org : i386 and amd64 port: http://debian.systs.org/debian/pool/openvz/v/vzprocps/ Bye, Thorsten Jim Archer schrieb: --On Tuesday, March 27, 2007 10:32 PM +0400 Kir Kolyshkin <[EMAIL PROTECTED]> wrote: You can use vzps/vztop utils from vzprocps (http://download.openvz.org/contrib/utils/), whey show VEID. Hm, can these be installed on a Debian system? ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] VZDump problem
Hi, this one of serveral known bugs, which are fixed in vzdump-0.2-2, so please update to vzdump (0.3-1). Bye, Thorsten Schifferdecker -- [EMAIL PROTECTED] First, I wish to thank the contributor of VZDump, which looks like a fine utility. I am having a little trouble with it though. I am running OpenVZ on a Debian Etch machine with a 2.6.18 kernel. When I try to use VZDump it complains that it can not find the VPS I specified. Am I doing something wrong? Thanks... actual:/etc/vz/conf# vzlist VEID NPROC STATUS IP_ADDR HOSTNAME 101 11 running 72.46.65.29 nsp3.abcde.com 102 11 running 72.46.65.30 nsp4.abcde.com 103 14 running 72.46.65.46 mail6.abcde.com 104 21 running 72.46.65.47 mail5.abcde.com 105 26 running 72.46.65.48 whois.abcde.com 1000 4 running 72.46.66.10 vps1000.abcde.com actual:/etc/vz/conf# vzdump 1000 ERROR: unable to find VPS '1000' usage: /usr/bin/vzdump OPTIONS [--all | VPSID] --compress compress dump file (gzip) --dumpdir DIR store resulting files in DIR --xdeltacreate differential backup using xdelta --mailto EMAIL send notification mail to EMAIL --stop stop/start VPS if running --suspend suspend/resume VPS when running --snapshot use LVM snapshot when running --restore FILENAME restore FILENAME actual:/etc/vz/conf# ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Installing OpenVZ in Ubuntu
Hi, * Sidnei Rodrigo Basei <[EMAIL PROTECTED]> [070218 23:05]: > Hi all, i am trying install the Open VZ in my Ubuntu Server (@home). > > My kernel is > > # uname -a > Linux servidor-ubuntu 2.6.15-28-386 #1 PREEMPT Thu Feb 1 15:51:56 UTC 2007 i686 GNU/Linux > > I am trying with apt-get > > *echo "**deb http://debian.systs.org/ stable openvz**" >> > /etc/apt/sources.list > apt-get update* > > > ERROR: > > W: GPG error: http://debian.systs.org stable Release: As assinaturas a seguir nã o puderam ser verificadas devido a chave pública não estar disponível : NO_PUBKE Y C694690C52A9498A > W: Você terá que executar apt-get update para corrigir esses arquivos faltosos You need the apt-signing key of debian.systs.org: # wget http://debian.systs.org/dso_archiv_signing_key.asc # apt-key add dso_archiv_signing_key.asc # apt-get or aptitude update and fetch the related packages. Regards Thorsten -- Thorsten Schifferdecker <[EMAIL PROTECTED]> Fingerprint: A1F1 F3CC 8E60 DD8A 97A4 7E32 0452 D7B7 EB15 22E1 ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] VPS not isolated
Hi Wolfgang, Wolfgang Schnerring wrote: > Hello! > > I've encountered a rather strange behaviour of OpenVZ: > The host is a Debian Sarge system running a vanilla 2.6.18 kernel that > I've patched with patch-ovz028test010.1-combined. The guest system is > a minimal Debian Sarge image, the config file is below. > > When I vzctl start the VPS, I had expected that the VPS is started in > the background and the command then returns to the shell, but that's > not what happens: Instead I am logged out from the console I just > used, I see messages from init, just like they appear on boot > ("starting sshd... done, starting inetd... done", and so on) and > finally get another login prompt for the HN. > When I then vzctl enter the VPS (which sometimes fails with the error > "cannot open PTY") and do a "ps aux", I see all processes from the HN, > not only those of the VPS. > When I vzctl stop the VPS, I again see messages from init which end in > "sending KILL signal to all processes" -- and then the machine > freezes. > Examining the syslog is not very enlightening, but there are a few > totally garbled entries like this >Jan 19 15:22:29 amun2 kernel: 2: I6 rours esent > (I think that was supposed read "no IPv6 routers present") > > The same guest image and vz-configuration work fine on another machine > (which is Debian Testing instead of Sarge, and runs a Debian kernel > instead of a vanilla one). > To me, the whole thing looks like the VPS is not properly isolated > from the HN, and its init somehow instead is started on the HN or > something. But that's of course just a guess. > > I am rather stumped on how to debug this issue and would greatly > appreciate any help. > > Thanks very much, > Wolfgang > > > # VPS config file, based on ve-vps.basic.conf-sample > ONBOOT="no" > > # UBC parameters (in form of barrier:limit) > # Primary parameters > AVNUMPROC="40:40" > NUMPROC="65:65" > NUMTCPSOCK="80:80" > NUMOTHERSOCK="80:80" > VMGUARPAGES="6144:2147483647" > # Secondary parameters > KMEMSIZE="2752512:2936012" > TCPSNDBUF="319488:524288" > TCPRCVBUF="319488:524288" > OTHERSOCKBUF="132096:336896" > DGRAMRCVBUF="132096:132096" > OOMGUARPAGES="6144:2147483647" > # Auxiliary parameters > LOCKEDPAGES="32:32" > SHMPAGES="8192:8192" > PRIVVMPAGES="49152:53575" > NUMFILE="2048:2048" > NUMFLOCK="100:110" > NUMPTY="16:16" > NUMSIGINFO="256:256" > DCACHESIZE="1048576:1097728" > > PHYSPAGES="0:2147483647" > NUMIPTENT="128:128" > > # Disk quota parameters (in form of softlimit:hardlimit) > DISKSPACE="1048576:1153434" > DISKINODES="20:22" > QUOTATIME="0" > > # CPU fair scheduler parameter > CPUUNITS="1000" > > VE_ROOT="/vm/vm25710/root" > VE_PRIVATE="/vm/vm25710/private" > HOSTNAME="vm0.local" > OSTEMPLATE="debian-sarge" > ORIGIN_SAMPLE="vps.basic" Did you self-create your debian-sarge os-template ? Still exist in this ve some tty dev-files (ls -l /vm/vm25710/private/dev/tty*) Can you execute a ps in your VE, like # vzctl exec ps axf and only the VE process are shown ? Bye Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Warning about resource shortage
Hi Jan, as a startpoint you can use the shell script of nagios plugin (-> http://wiki.openvz.org/Monitoring_openvz_resources_using_nagios_and_snmp ) to monitoring your ubc settings. Remove the nagios spec. settings, like HOST, PORT, USER and PASS, and smpdwalk commands ... to run it locally. Add you should add a inform method like email or icq or what ever ! Regards, Thorsten -- [EMAIL PROTECTED] Am Di, 9.01.2007, 10:32, schrieb Jan Tomasek: > Hello, > > is it possible to get warning when *any* resource shortage happens? I've > seen several times: > > Dec 20 16:04:39 chlivek kernel: Fatal resource shortage: kmemsize, UB > 187033. > Dec 20 16:04:39 chlivek kernel: Fatal resource shortage: kmemsize, UB > 187033. > > But never for something else than kmemsize. I would like to see (have > recorded) warning about any resource shortage counter change. This could > help me decide whatever system need tuning resource or not (depending on > time and state of other systems). > > > Is chance to switch on such feature or have I write myself some script > which will parse /proc/user_beancounters? > > Best regards > -- > --- > Jan Tomasek aka Semik > http://www.tomasek.cz/ ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] hardware clock
Hi Dvorkin Dmitry, > in the host > [EMAIL PROTECTED] dv]# date > Fri Dec 15 14:36:44 MSK 2006 > but in VPS I have: > [EMAIL PROTECTED] ssh]# date > Fri Dec 15 06:37:28 EST 2006 EST => UT-5:00 MSK => UT+3:00 the timezone between VE0 (here: rh0) and VE (here: h0028) differs, look at http://forum.openvz.org/index.php?t=msg&th=1662&start=0&; for setting your right timezone in your VE. Regards, Thorsten Schifferdecker -- [EMAIL PROTECTED] ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] ovzkernel-023stab030
Hi, Soldatov Dmitry wrote: with my own adp94xx or not - it can't be built at all have you read it: http://openvz.org/news/updates/rhel4-kernel-2.6.9-023stab030.1 the patch is included in the current kernel release of ovzkernel! ... and you can use the precompuiled rpm for your hardware: http://download.openvz.org/kernel/stable/023stab030.1/ovzkernel-smp-2.6.9-023stab030.1.x86_64.rpm So thats all, when the Module has a problem: please inform the developers and fill a bug at bugzilla.openvz.org. Regards, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] (was reboot) Framebuffer Device Support in ovzkernel's
Hi, Soldatov Dmitry schrieb: i'm trying to use ovzkernel-2.6.8-022stab078.21.src.rpm and ovzkernel-smp-2.6.8-022stab078.21.x86_64.rpm, but they going to some Frame Buffer video mode and simply reboots just after the GRUB invocation... I tryed to invoke with "vga=ask", but it don't helps. all Mandriva & Redora works good. can anybody say, what's going on? sorry for my english The ovz-kernel haven't enabled the Framebuffer DEVICE in their kernel-config ... Show Framebuffer (CONFIG_FB) in the kernel-config of Mandriva and Fedora : # grep CONFIG_FB and enable it , like "make menuconfig" , in your ovzkernel-config and reBuild your kernel! Regards, Thorsten ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users