1249689846 Q * dowdle Remote host closed the connection 1249690270 J * mcs ~x3node@121-73-162-25.dsl.telstraclear.net 1249690306 M * mcs hey.. i have been using openvz but im not satisfied.. now i am exploring linx-vserver.. just created a centos vserver 1249690318 M * mcs how do i limit resources like ram and disk space? 1249690459 M * Bertl http://linux-vserver.org/Disk_Limits_and_Quota 1249690469 M * Bertl http://linux-vserver.org/Memory_Limits 1249690485 M * Bertl http://linux-vserver.org/Resource_Limits (in general) 1249690673 M * mcs Bertl, it doesnt show on free -m ? inside the guest it shows the host's ram 1249690760 M * Bertl http://linux-vserver.org/Capabilities_and_Flags (see VIRT_MEM) 1249690785 M * Bertl but probably we should start with you kernel/util-vserver version, just to check that you are not using outdated versions 1249690839 M * mcs 2.6.22.19-vs2.3.0.34.1 1249691038 M * Bertl and util-vserver? 1249691344 M * mcs i think its the last one 1249691347 M * mcs installed via yum 1249691353 M * mcs form your repository 1249691366 M * Bertl try vserver-info - SYSINFO (upload to paste.linux-vserver.org) 1249691403 M * mcs util-vserver: 0.30.216-pre2793; Oct 11 2008, 15:49:2 1249691474 M * Bertl well, not the latest but should be fine 1249691822 M * mcs and is it possible to install like debian, slackware on a centos host Bertl ? 1249691882 M * Bertl sure, the guest distro does not depend on the host one 1249691890 M * mcs cool 1249691912 M * Bertl debian can be built via network, for slackware you have to check the wiki 1249691923 M * mcs alright 1249691972 M * Bertl but if all else fails, you can simply tar up an existing system (or use the rsync build method) 1249692026 M * mcs AndrewLee, is there any control panel available for vserver? 1249692034 M * mcs for admin or end user 1249692311 J * kgoetz kgoetz@203.209.167.143 1249692340 Q * kgoetz 1249692496 J * Kamping_Kaiser kgoetz@203.209.167.143 1249692843 P * Kamping_Kaiser 1249693518 Q * docelic Quit: http://www.spinlocksolutions.com/ 1249694717 Q * SauLus Ping timeout: 480 seconds 1249694921 J * saulus ~saulus@c192050.adsl.hansenet.de 1249696785 J * vargadanis ~vargadani@catv-89-135-31-112.catv.broadband.hu 1249696942 M * vargadanis good evening... I suppose it is possible I just don't know how - yet. Is it possible to set up containers with complelty virtual IPs? Eg in 10.0.0.0/8? and then use nat or pat to redirect all incoming traffic based on domain name or port or whatever to a specific virtual IP? 1249696978 M * vargadanis I suppose I will have to use iptables for that, right? 1249697381 M * Bertl yes, actually this is a quite common and secure setup 1249697396 M * vargadanis http://linux-vserver.org/Networking_vserver_guests on this site there are 3 possibilities listed how one can solve a similar problem to mine... which solution is shown here after all? O_o 1249697415 M * Bertl you can then use SNAT and DNAT to map public IP/port pairs to your guests 1249697507 M * Bertl the problem with 'based on domain name' isn't easily solved via iptables though, as this requires a service to terminate on the public ip, and be proxied to a guest 1249697848 M * mcs Bertl, what is the difference between vserver and openvz ? 1249697982 M * vargadanis doh... 1249698001 M * vargadanis Bertl, I c... thank you 1249698016 M * Bertl mcs: well, Linux-VServer aims to be lightweight, unintrusive, fast and portable 1249698025 M * Bertl vargadanis: you're welcome! 1249698025 M * vargadanis mcs, I know what is the different between vserver and bsd jail :) vserver is jail on drugs :) 1249698058 M * Bertl mcs: it is also not tied to a company which tries to sell their commercial products :) 1249698077 M * mcs humm 1249698097 M * mcs how many guests do you think i could run on a quad core 2.4 8gb ram ? 1249698121 M * Bertl mainly depends on the guests, and your host kernel setup 1249698141 M * Bertl the range is probably between 10 and 10.000 1249698156 M * mcs hum 1249698160 M * mcs good 1249698185 M * mcs I am about to setup a vps company.. have tried xen and openvz.. now trying vserver 1249698211 M * vargadanis Bertl, you'll luv vserver :) I fall in luv with it ... (also used openvz and xen) 1249698228 A * vargadanis isn't that super geniuos computer geek tho 1249698231 M * Bertl I already do :) 1249698252 M * mcs im just finding it harder to manage resources 1249698264 M * Bertl how so? 1249698309 M * vargadanis Bertl, so if I follow this tutorial: http://linux-vserver.org/Networking_vserver_guests and apply the iptables rules, what happens to the services that are running on the host os? are they gonna be still avaliable? 1249698334 M * vargadanis Bertl, eg: I am planning to run 3 apaches in 2 vps and on the host 1249698371 M * Bertl how many public IPs? 1249698378 M * vargadanis Bertl, 1 1249698382 M * vargadanis I only got one 1249698391 M * Bertl then you have to either use different ports, or a proxy 1249698424 M * Bertl there is no way that iptables can 'know' which IP the request is targeted to 1249698439 M * vargadanis getting complicated :) yes, that is what I have thought 1249698458 M * vargadanis alright, installing squid 1249698469 M * vargadanis or would you pick another proxy? 1249698473 M * Bertl a simple proxy, or even the apache on the host will do nicely 1249698501 M * Bertl just forward requests (going to the host apache, but with the wrong domain) to the guest IPs 1249698524 M * mcs does vserver use swap ? 1249698583 M * vargadanis i think it's the host OS's task 1249698592 M * mcs hum 1249698605 M * vargadanis to determine how much of the swap is being used... I think it's transparent for vserver guests 1249698624 M * vargadanis just like to any other processes on linux.. they think thats memory too 1249698640 M * mcs alright.. 1249698651 M * vargadanis or did I say something stupid this time, Bertl 1249698655 M * vargadanis ? 1249698687 M * mcs suppose I dont set any limits for cpu usage.. it will then be equal shared between the guests? 1249698751 M * Bertl reg swap: yes, swap is handled on the host, in a globally optimal way 1249698793 M * vargadanis mcs, I'd say that CPU usage will be divided up by the host OS again as if vps were processes 1249698793 M * Bertl without any limits (cpu wise) or assignments to a scheduler class, the processes will compete in a normal way (as on any linux system) 1249698827 M * vargadanis hehh :) I guess I got the feeling of vserver :) 1249698857 M * Bertl depending on the kernel version, you either use the TB extensions or the CFS to schedule guests (according to soft/hard limits or fair scheduling) 1249698885 M * mcs yes actually it seems that vserver is more flexible 1249698979 M * vargadanis Bertl, I suppose I don't need to set up dummy interfaces for each one of the guests on the host OS, right? the one dummy interface I set up serves as a 'gateway'? 1249698987 M * Bertl it is not just limited to VPS hosting, although that is one of the main usage cases 1249699045 M * Bertl vargadanis: there is no gateway, and none is needed .. traffic between guests (on the same host) or between host and guest will use 'lo' and the connection is direct (i.e. no additional network stack involved) 1249699110 M * vargadanis understood 1249699497 Q * vargadanis Read error: Connection reset by peer 1249701011 M * mcs Bertl, is there any panel/script to create and manage vservers? 1249701339 M * Bertl there are some projects listed on the wiki 1249701416 M * Bertl but as a management interface usually is part of the 'business concept' each company does their own adaptation 1249701429 M * mcs hum rite 1249701513 M * mcs would you recommend to compile the kernel manually Bertl ? instead of using yum 1249701547 M * mcs I mean, I want to make my server use all the resources so the guests can run smoothly 1249701553 M * mcs or there isn't a difference 1249701618 M * Bertl yep, building the kernel youself is the advised way to go, this way you can adjust it to your needs (and even fine tune it) 1249701635 M * Bertl i.e. you do not want to include stuff you do not use ever for example 1249701672 M * mcs is there any reference on how to do this on the wiki? 1249701679 M * mcs sorry about these lame questions :P 1249701972 M * Bertl well, that depends on your host machine and hardware ... but usually walking through the kernel config (via make menuconfig) and selecting the things you need/want/have and removing the other junk is the way to go 1249701994 M * mcs i will give it a try :D 1249702006 M * Bertl will probably need one or two iterations to optimize the kernel for your system, but once it is done, you can use that config for upcoming kernels too 1249702023 M * mcs sweet 1249702217 M * Bertl off to bed now ... have a good one everyone! cya! 1249702224 N * Bertl Bertl_zZ 1249702274 M * mcs cya 1249706664 J * doener ~doener@i59F565F1.versanet.de 1249706768 Q * doener_ Ping timeout: 480 seconds 1249709211 Q * DreamerC Quit: leaving 1249709231 J * DreamerC ~DreamerC@122-116-181-118.HINET-IP.hinet.net 1249709317 P * mcs Leaving 1249709419 Q * DreamerC 1249709435 J * DreamerC ~DreamerC@122-116-181-118.HINET-IP.hinet.net 1249709588 Q * DreamerC 1249709604 J * DreamerC ~DreamerC@122-116-181-118.HINET-IP.hinet.net 1249710856 Q * DreamerC Quit: leaving 1249710872 J * DreamerC ~DreamerC@122-116-181-118.HINET-IP.hinet.net 1249710934 Q * DreamerC 1249710949 J * DreamerC ~DreamerC@122-116-181-118.HINET-IP.hinet.net 1249711263 Q * DreamerC Quit: leaving 1249711278 J * DreamerC ~DreamerC@122-116-181-118.HINET-IP.hinet.net 1249711423 Q * FireEgl Quit: Leaving... 1249711463 Q * DreamerC 1249711478 J * DreamerC ~DreamerC@122-116-181-118.HINET-IP.hinet.net 1249712771 J * FireEgl FireEgl@173-16-9-10.client.mchsi.com 1249714303 Q * ghislainocfs21 Read error: Connection reset by peer 1249717053 M * nkukard daniel_hozac, around? 1249718197 J * geb ~geb@46.4.82-79.rev.gaoland.net 1249718845 J * philippe_De_Beste ~info@78-21-32-192.access.telenet.be 1249719118 J * Kmos ~gothicx@kmos.user.oftc.net 1249719119 J * Philippe2 ~info@78-21-32-192.access.telenet.be 1249719355 Q * philippe_De_Beste Ping timeout: 480 seconds 1249720420 J * bonbons ~bonbons@2001:960:7ab:0:2c0:9fff:fe2d:39d 1249721301 Q * Kmos Read error: Connection reset by peer 1249721398 Q * geb Ping timeout: 480 seconds 1249722013 J * Kmos ~gothicx@kmos.user.oftc.net 1249722296 J * krystian_ ~krystek_@ehg63.neoplus.adsl.tpnet.pl 1249722298 M * krystian_ good morning! 1249722363 Q * Philippe2 Ping timeout: 480 seconds 1249724556 M * theocrite Hi all. 1249724606 M * theocrite How does vserver ... rsync do exactly ? Does it just makes a rsync of /etc/vservers and /var/lib/vservers ? Or are there extra actions ? 1249724653 M * theocrite What if a command vserver ... rsync got interrupted, is there a way to recover it (like we do with rsync) ? With the same command ? 1249724682 M * theocrite And what if the command succeed, but there are updates on the source, should we use the same command to sync the datas or just a rsync ? 1249725207 Q * derjohn_foo Remote host closed the connection 1249726226 J * dothebart ~willi@xdsl-81-173-226-249.netcologne.de 1249726229 M * dothebart hy.. 1249726512 M * dothebart i've got a problem with vserver enter/start not working for me anymore.. 1249726552 M * dothebart its telling me Error: an inet prefix is expected rather than "192.168.40.60/var/lib/vservers/dns". 1249726577 M * dothebart and... 'vserver ... suexec' is supported for running vservers only; aborting... 1249727466 M * krystian_ something is wrong in /etc/vservers//interfaces 1249727481 Q * bonbons Quit: Leaving 1249727962 M * krystian_ sshd[3589]: error writing /proc/self/oom_adj: Permission denied, doh .. 1249728138 Q * nenolod Read error: Operation timed out 1249728225 J * nenolod nenolod@petrie.dereferenced.org 1249728268 M * dothebart krystian_: http://paste.debian.net/43664/ 1249728288 M * dothebart was there a syntax change in these files? 1249728360 M * krystian_ hehe 1249728369 M * krystian_ should be 192.168.40.60/24 1249728377 M * krystian_ in 'ip' file 1249728386 M * krystian_ i guess.... 1249728439 M * krystian_ it should be inet prefix, not prefix where you have your vserver ;) 1249728726 J * dna ~dna@55-197-103-86.dynamic.dsl.tng.de 1249729175 M * dothebart ah, gracias. 1249729343 M * krystian_ :) 1249729460 M * dothebart hm. Error: an inet prefix is expected rather than "192.168.40.60/24/dns". 1249729460 M * dothebart chbind: kernel does not provide network isolation 1249729559 M * krystian_ no idea, where "dns" did came from? 1249729890 M * krystian_ o 1249730458 M * dothebart its the name of the vserver... 1249730549 M * dothebart its inside of 1/prefix 1249730570 M * dothebart or should the 24 be in prefix? 1249730897 M * krystian_ i have /24 only and it works 1249730983 Q * krystian_ 1249731195 N * Bertl_zZ Bertl 1249731201 M * Bertl morning folks! 1249731273 M * Bertl dothebart: 'ip' gets an 'ip' no netmask or prefix, those go into 'netmask' or 'prefix' ... understood? 1249731337 M * dothebart ok. hope so. 1249731346 M * Bertl and no, there was no change in what those files should contain, and yes, your setup looks _very_ weird :) 1249731349 M * dothebart it had been working like that for a while now... 1249731359 M * Bertl probably by accident :) 1249731391 M * Bertl http://www.nongnu.org/util-vserver/doc/conf/configuration.html 1249731471 M * dothebart now I get https://tar.gzipped.org/webcit/readfwd 1249731478 M * dothebart ahgr.sanotreh 1249731481 M * dothebart http://paste.debian.net/43667/ 1249732305 M * Bertl your upload showed that you have put the guest path in one of the interface files 1249732340 M * Bertl did you fix that already? 1249732363 M * Bertl also, what util-vserver version do you use? 1249732386 M * Bertl (and what kernel/patch version) 1249733776 J * geb ~geb@46.4.82-79.rev.gaoland.net 1249734305 M * geb hi 1249734357 M * Bertl hi geb! 1249734446 M * geb :) 1249735128 Q * nenolod Ping timeout: 480 seconds 1249735147 J * nenolod nenolod@petrie.dereferenced.org 1249735171 Q * nenolod 1249735180 J * nenolod nenolod@petrie.dereferenced.org 1249735274 Q * nenolod 1249735302 J * nenolod nenolod@petrie.dereferenced.org 1249739451 Q * balbir_ Ping timeout: 480 seconds 1249740229 Q * geb Quit: / 1249742947 J * derjohn_mob ~aj@e180192065.adsl.alicedsl.de 1249743869 Q * derjohn_mob Remote host closed the connection 1249743910 M * theocrite So does anyone know if there is a way to resume a "vserver [something] build -m rsync" command aborted before it ended ? 1249743980 M * Bertl well, it is not 'planned' but there are ways 1249744012 M * Bertl the process consists of an rsync, the config creation and a guest cleanup 1249744045 M * Bertl depending on what failed, you can always rsync manually, then do the cleanup and/or create a template guest config 1249744048 M * theocrite So another rsync from /etc/vservers and another from /var/lib/vserver should be fine ? 1249744069 M * Bertl if you just want to 'move' a guest, that's the best way to do it anyways 1249744077 M * theocrite It may fail cause I'm running out of time or out of space so i'll have to continue later :) 1249744089 M * theocrite You mean the -m rsync is the best way ? 1249744096 M * Bertl nope, manual rsync 1249744104 M * theocrite Ah ? Ok thank you. 1249744108 M * Bertl the rsync build method is not designed to move guests 1249744115 M * theocrite So i'll stop the vserver rsync then 1249744129 M * Bertl it is (as the 'build' part implies) designed to create a new guest from 'some' source 1249744136 M * theocrite Oh ? What is it for then ? 1249744137 M * theocrite Ok 1249744142 M * theocrite Thank you then. 1249744150 M * Bertl e.g. to build guests from 'real' systems 1249744153 M * theocrite I didn't use it that way :/ 1249744167 M * theocrite Thank you very much for the info ! 1249744176 M * Bertl I thought so, and I was surprised that it worked for you that well (as guest move mechanism :) 1249744227 M * Bertl nevertheless, a cross host guest move might be something daniel_hozac would consider worth adding (at some point), so maybe talk to him when he's around ... 1249744338 J * derjohn_mob ~aj@e180192065.adsl.alicedsl.de 1249744473 M * theocrite I'm not sure how well it works. I only used it to "clone" servers from a place wher I have Internet to a place where I don't have Internet. So from my lappy I can show "here is what the website (or whatever) will look like when you'll have Internet". I'm not sure if it's suitable for a production environement though. 1249744488 M * theocrite But I think some of my colleagues use it that way. I'll warn them. 1249744586 M * theocrite I'll talk to daniel_hozac when i'll have the chance to see (well through irc i man) him indeed. I do think this is a very useful feature. 1249744706 M * Bertl yes, I think a 'move' could work if util-vserver works on both ends, via some rsync-like protocol 1249744756 M * Bertl i.e. it could handle host-host differences (pathes, arch, etc) and ensure that the guest is moved properly .. but definitely needs some work 1249744840 Q * harry Remote host closed the connection 1249745144 J * mxs mxs@p4FCCAF10.dip.t-dialin.net 1249745226 M * Bertl welcome mxs! 1249745445 Q * mxs_ Ping timeout: 480 seconds 1249748245 Q * pmenier_off Remote host closed the connection 1249748823 J * pmenier ~pmenier@ACaen-152-1-17-115.w83-115.abo.wanadoo.fr 1249748840 N * pmenier pmenier_off 1249749442 J * ousado_ ~johnny@p5B3C227B.dip0.t-ipconnect.de 1249749855 Q * ousado Ping timeout: 480 seconds 1249751456 J * bonbons ~bonbons@2001:960:7ab:0:2c0:9fff:fe2d:39d 1249756868 Q * derjohn_mob Ping timeout: 480 seconds 1249761024 J * tudenbart ~willi@xdsl-81-173-226-191.netcologne.de 1249761442 Q * dothebart Ping timeout: 480 seconds 1249762366 J * docelic ~docelic@78.134.194.164 1249762858 Q * bonbons Quit: Leaving 1249763347 J * derjohn_mob ~aj@p5B23EF8B.dip.t-dialin.net 1249764846 Q * uva Read error: Operation timed out 1249766325 Q * derjohn_mob Ping timeout: 480 seconds 1249766386 Q * puck Ping timeout: 480 seconds 1249766599 J * puck ~puck@leibniz.catalyst.net.nz 1249768465 Q * Kmos Ping timeout: 480 seconds 1249771972 Q * dna Quit: Verlassend 1249773633 N * DoberMann DoberMann[ZZZzzz]