1221784016 J * ntrs__ ~ntrs@77.29.79.249 1221784050 Q * dowdle Remote host closed the connection 1221784502 Q * ntrs__ Ping timeout: 480 seconds 1221784553 J * laptopnenolod- ~nenolod@pool-71-241-203-18.port.east.verizon.net 1221784806 Q * laptopnenolod Ping timeout: 480 seconds 1221785401 J * almak ~almak@proxy-sjc-1.cisco.com 1221785419 M * almak hi 1221785434 M * Bertl hey 1221785564 M * almak I would like to setup openvpn inside a vserver context. I tried creating the tun interface in the vsever context with NET_ADMIN capability. But the I get SIOCSIFADDR: Cannot assign requested address. Can I not create the interface in vserver? 1221785587 M * Bertl you can, but you shouldn't 1221785614 M * Bertl http://linux-vserver.org/Frequently_Asked_Questions#Can_I_run_an_OpenVPN_Server_in_a_guest.3F 1221785664 M * daniel_hozac that's not really up-to-date though. 1221785664 M * almak I undersand but trying to get around config issue. I have Utilvserver 0.30.210 and 26.14.3 kernel and vsever patch 2.0.1 1221785700 M * daniel_hozac ... but neither are you :) 1221785707 M * Bertl well, it that case you _really_ want to upgrade :) 1221785708 M * almak Following the FAQ work but do not want to config on the host side. 1221785753 M * Bertl networking is host business, especially for Linux-VServer <= 2.4 :) 1221785825 M * almak Are you saying there is 2.4 vserver available? 1221785835 M * Bertl not yet ... 1221785882 M * almak does this have to do with vserver NG network? 1221785964 M * Bertl not really, it got more to do with ongoing mainline network stack virtualization 1221785977 M * almak cool. 1221786010 M * Bertl so, for 2.0, I'm not really sure it works at all 1221786010 M * almak For my immediate problem, is there a work around for to get interface configured inside vserver? 1221786027 M * Bertl for 2.2/2.3 we know it can be done properly with the host config 1221786072 M * Bertl if you want the guest to be able to do network manipulations on the host, you have to disable the network context 1221786105 M * almak how do you do it? 1221786132 M * daniel_hozac not possible. 1221786151 M * Bertl well, you can call the commands manually, and leave out the chbind part 1221786165 M * daniel_hozac but assigning 0.0.0.0 as the first IP address should work. 1221786192 M * almak not sure I understand 1221786235 M * almak not sure I understand either comments... 1221786413 M * Bertl okay, you have two options: 1221786432 M * Bertl 1) remove the chbind part from the guest startup sequence 1221786446 M * Bertl 2) try with 0.0.0.0 as only IP assigned to the guest 1221786670 M * almak I tried assigning 0.0.0.0 to the guest using naddress. However, after creating a tun interface in the guest. I cannot assign an IP address to the IF 1221786784 M * daniel_hozac uh... 0.30.210 does not have naddress. 1221786813 M * almak we ported the command :) 1221786831 M * daniel_hozac "ported"? 1221786854 M * daniel_hozac why don't you just get recent utils, if you have no problems building it? 1221786966 M * almak We added the command in to enable dynamic binding of interface. The remove and modify command does not work with our vserver patch but add seems to work ok. 1221786990 M * Bertl 'our vserver patch' it's getting better :) 1221787073 M * almak our version of vserver patch is 2.0.1. 1221787256 M * Bertl fine for you .. so what was the reason for not using 0.30.215/316 again? 1221787371 M * almak Will be moving to 0.30.215 pretty soon. But for older software we are stuck with what we have. 1221787620 M * almak I do not see 316 from the util vserver ftp site, 215 is the latest. 1221787885 M * Bertl there are pre-releases for 0.30.216 1221787900 M * almak ok 1221787957 M * daniel_hozac should be released soon enough. 1221788007 M * almak Tried removing chbind in vserver.start, still cannot create interface. 1221788057 M * daniel_hozac huh? your guest has CAP_NET_ADMIN, runs without chbind, and you still can't assign addresses? 1221788573 M * almak seems to be. Comment out chbind in vsever.start, did vserver stop and start, also tried restart. Still cannot assign address 1221788693 M * daniel_hozac you're not using enter, right? 1221788712 M * almak yes. 1221788745 M * daniel_hozac "yes"? 1221788798 M * almak Yes, use vserver enter after the restart, then did the interface config 1221788856 M * daniel_hozac so you removed chbind from vserver.suexec too? 1221788872 M * almak let me try 1221789160 M * almak OK. It works. 1221789203 M * Bertl and now, repeat after me: one should not do that :) 1221789225 M * almak Yes. one should not do that, one should not do that :) 1221789236 M * almak Thanks! 1221789241 M * Bertl you're welcome! 1221790311 Q * laptopnenolod- Ping timeout: 480 seconds 1221790904 J * laptopnenolod- ~nenolod@pool-70-105-239-206.port.east.verizon.net 1221791331 Q * quinq Remote host closed the connection 1221795477 Q * derjohn_mob Ping timeout: 480 seconds 1221798761 Q * laptopnenolod- Read error: Connection reset by peer 1221798882 J * laptopnenolod- ~nenolod@pool-70-105-239-206.port.east.verizon.net 1221799548 M * Bertl okay, off to bed now ... have a good one everyone! 1221799560 N * Bertl Bertl_zZ 1221801012 J * kir ~kir@swsoft-msk-nat.sw.ru 1221802074 J * ntrs ~ntrs@77.29.71.11 1221802202 Q * Guy- Ping timeout: 480 seconds 1221803926 Q * ntrs Ping timeout: 480 seconds 1221803971 Q * infowolfe Quit: infowolfe 1221804003 Q * almak Remote host closed the connection 1221804026 J * almak ~almak@proxy-sjc-1.cisco.com 1221804099 J * cryptronic ~oli@p4FD2FA5C.dip.t-dialin.net 1221804388 J * laptopnenolod ~nenolod@pool-64-222-203-14.ptldme.east.verizon.net 1221804679 M * ard [17:32] i guess adding kernel.panic in /etc/sysctl.conf works fine too? 1221804682 Q * laptopnenolod- Ping timeout: 480 seconds 1221804703 M * ard I should remember that when I want to make fun of a newb on my work :-) 1221804772 Q * nenolod Ping timeout: 480 seconds 1221806299 Q * larsivi Quit: Konversation terminated! 1221806416 Q * hparker Quit: Read error: 104 (Peer reset by connection) 1221806423 J * ktwilight_ ~ktwilight@87.66.197.109 1221806642 Q * ktwilight Ping timeout: 480 seconds 1221807339 J * nenolod ~nenolod@ip70-189-74-62.ok.ok.cox.net 1221807828 J * loddafni1 ~mike@chello080108111137.5.11.univie.teleweb.at 1221807877 P * loddafni1 1221808421 J * Bruno ~Bruno@dsl-10-129-13.b2b2c.ca 1221808685 Q * BrunoXLambert Ping timeout: 480 seconds 1221809654 J * larsivi ~larsivi@85.221.53.194 1221809676 J * Guy- ~korn@elan.rulez.org 1221810083 J * derjohn_mob ~aj@e180203166.adsl.alicedsl.de 1221811336 J * infowolfe ~infowolfe@c-67-160-149-42.hsd1.or.comcast.net 1221815847 Q * derjohn_mob Ping timeout: 480 seconds 1221817772 Q * esa Ping timeout: 480 seconds 1221817793 J * esa bip@62.123.8.12 1221819090 Q * laptopnenolod Ping timeout: 480 seconds 1221819656 J * laptopnenolod ~nenolod@pool-71-241-200-239.port.east.verizon.net 1221820078 J * quinq ~quinq@quinq.eu.org 1221820414 J * benl ~ben@cpc3-stre3-0-0-cust635.bagu.cable.ntl.com 1221820433 M * benl Hi guys, I'm having a little trouble with one of my Vservers again 1221820476 M * benl I'm running version 2.6.18-6-vserver-686, and the network interface will just disappear from the vserver after around 12 hours 1221820486 M * benl but resetting it fixes the issue 1221820490 M * quinq Hi 1221820520 M * benl but obviously I can't keep resetting the server. Any thoughts on nwhat might be causing it 1221820997 M * ktwilight_ $ cat /proc/sys/net/ipv4/ip_forward 1221820997 M * ktwilight_ 1 1221821001 M * ktwilight_ benl, ^ you need that 1221821005 M * ktwilight_ IIRC 1221821298 J * derjohn_mob ~aj@80.69.42.51 1221821327 J * vserveruser ~ben@cpc3-stre3-0-0-cust635.bagu.cable.ntl.com 1221821728 Q * benl Ping timeout: 480 seconds 1221821810 J * padde_ ~padde@patrick-nagel.net 1221821811 Q * padde Read error: Connection reset by peer 1221821816 N * padde_ padde 1221821816 Q * bzed Remote host closed the connection 1221821819 J * bzed_ ~bzed@devel.recluse.de 1221821836 N * bzed_ bzed 1221822422 M * hijacker benl seemed to be so impatient ;-) 1221822821 M * vserveruser No, i had to reset my modme 1221822828 M * vserveruser I got kicked off :( 1221822838 M * vserveruser was still waiting for a reply :) 1221822863 M * vserveruser I'm going to grab a newer kernel version and run that in, im on Etch atm, so I'm looking through the etch branches 1221822873 M * vserveruser what does the big-mem offer over standard 1221822882 M * vserveruser I'm runing an Intel Atom with 2GB ram 1221822996 Q * __gh__ Ping timeout: 480 seconds 1221823060 Q * Bruno Quit: Leaving 1221823760 M * vserveruser Ok jumped in with 2.6.26 1221823767 M * vserveruser will run it through and see how it functions 1221824295 Q * Aiken Remote host closed the connection 1221824776 N * Bertl_zZ Bertl 1221824780 M * Bertl morning folks! 1221825336 M * vserveruser hello 1221825345 M * vserveruser I think I was speaking to you yesterday Bertl 1221825365 M * vserveruser I got the 2.6.26 backports build and it appears to run well 1221825373 M * vserveruser for the last 20mins anyway ;) 1221825390 M * vserveruser what does the big-mem version offer over standard 1221825425 M * vserveruser is it just for systems with more than 4gb ram? 1221825609 M * Bertl no idea _why_ the debian folks chose to build a bigmem one 1221825652 M * Bertl personally I suggest to avoid highmem and go for proper splits on 32bit amchines, and use 64bit kernels wherever you can 1221826112 Q * cehteh Ping timeout: 480 seconds 1221826175 J * cehteh ~ct@pipapo.org 1221827437 M * vserveruser I'm running an Intel Atom 1221827445 M * vserveruser which supports IA64 1221827466 J * lilalinux ~plasma@80.69.41.3 1221827472 M * FaUl nope IA64 is only supportet by intel Itanium 1221827497 M * FaUl you mean EMT64 which is almost the same to amd64 (x86_64) 1221827504 M * FaUl i think 1221827510 M * vserveruser my apologies, I mean x86-64 1221827518 M * Bertl yep, so you should be running a 64bit kernel on that machine 1221827541 M * vserveruser However...when the server was suppplied, the hosts couldn't manage to get a 64bit distro to run 1221827568 M * Bertl hosts? 1221827569 M * vserveruser so it was previously running Etch -2.6.24.7 1221827578 M * vserveruser webserver host 1221827614 M * vserveruser 386 iirc 1221827647 M * vserveruser to run x64, should it just be a matter of getting the 64bit kernel? 1221828055 M * vserveruser it seems not (http://www.linuxquestions.org/questions/debian-26/how-to-install-64-bit-kernel-661566/) 1221828374 Q * laptopnenolod Quit: this sh scripting is the language of the future 1221828723 Q * vserveruser 1221828737 J * vserveruser ~ben@cpc3-stre3-0-0-cust635.bagu.cable.ntl.com 1221828746 M * Bertl well, you can run a 64bit kernel and 32bit userspace 1221828761 M * Bertl but it is probably simpler to install a 64bit distro 1221828763 M * vserveruser probably not worth the effort tho 1221828767 M * vserveruser yeah i can imagine 1221828785 M * vserveruser and last I heard apache/php5 etc. weren't particulary optmised for x64 1221829225 M * Bertl well, the benefit from the 64bit kernel is obvious, and mainly the fact that memory can be directly addressed 1221829370 M * Bertl doesn't matter if you run 32bit or 64bit guests 1221829439 M * vserveruser Bear in mind I'm very new to linux, but if our initial install was 32bit - its not a simple case of just replacing the kernel is it? 1221829448 M * vserveruser Surely we'd have to do a full reinstall 1221829472 M * Bertl a 64bit kernel with 32bit compatibility enabled can boot a 32bit userspace quite fine 1221829499 M * vserveruser Would it give any real performance benefits? 1221829501 M * Bertl so yes, you can get away with 'just' installing a 64bit kernel :) 1221829525 M * Bertl yep, the memory management benefits from that, when you have more than 3GB memory 1221829534 M * vserveruser We only have 2GB 1221829540 M * vserveruser so pointless I guess? 1221829548 M * Bertl so no need for a bigmem kernel in the first place :) 1221829556 M * vserveruser Yup 1221829559 M * vserveruser just checking 1221829561 M * vserveruser :D 1221829593 M * vserveruser don't suppose you know a shell command to check if a website is accessible, similar to file() in php 1221829608 M * Bertl lynx? 1221829639 M * vserveruser not a browser 1221829648 M * vserveruser more to act as a watchdog facility 1221829663 M * Bertl lynx/wget/curl 1221829675 M * vserveruser oh yeah wget 1221829676 M * vserveruser lol 1221829677 M * vserveruser doh 1221830909 J * lucrus ~lucrus@host-84-223-101-74.cust-adsl.tiscali.it 1221831466 J * yarihm ~yarihm@whitehead2.nine.ch 1221832232 Q * ktwilight_ Remote host closed the connection 1221832273 J * ktwilight_ ~ktwilight@87.66.197.109 1221832791 Q * larsivi Ping timeout: 480 seconds 1221833876 M * ghislainocfs21 hello there 1221833881 J * _gh_ ~gerrit@67.170.155.50 1221833901 M * ghislainocfs21 on the 2.3 is the quota hash working for ext3 ? 1221833958 M * Bertl quota hashes have been removed a longer time ago 1221833966 M * Bertl but disk limits will work fine 1221833979 J * BrunoXLambert ~Bruno@modemcable188.10-70-69.static.videotron.ca 1221834252 M * ghislainocfs21 ah this is because the site list it in the 2.3 capability 1221834257 M * ghislainocfs21 so i wondered :) 1221834279 M * ghislainocfs21 thanks :) 1221834334 M * Bertl ah, right, have to adjust that ... 1221834360 M * Bertl it didn't turn out to be a feature worth the maintainance 1221834505 M * Bertl nap attack ... bbl 1221834511 N * Bertl Bertl_zZ 1221835365 Q * _gh_ Ping timeout: 480 seconds 1221835652 M * ghislainocfs21 :) 1221835846 J * ntrs ~ntrs@77.29.70.199 1221835939 J * dowdle ~dowdle@scott.coe.montana.edu 1221836795 J * hparker ~hparker@linux.homershut.net 1221838589 Q * kiorky Ping timeout: 480 seconds 1221839965 Q * lilalinux Remote host closed the connection 1221841327 J * SlackLnX ~Lee@bl7-132-210.dsl.telepac.pt 1221842113 Q * yarihm Quit: Leaving 1221844078 Q * derjohn_mob Ping timeout: 480 seconds 1221844343 N * Bertl_zZ Bertl 1221844346 M * Bertl back now ... 1221844808 J * cga ~weechat@host-84-221-254-115.cust-adsl.tiscali.it 1221844924 J * larsivi ~larsivi@169.80-202-217.nextgentel.com 1221845499 J * _gh_ ~gerrit@129.33.192.254 1221845848 Q * SlackLnX Quit: I'll by back 1221846321 Q * vserveruser 1221847915 J * vserveruser ~ben@cpc3-stre3-0-0-cust635.bagu.cable.ntl.com 1221847921 M * vserveruser Hello again guys 1221847931 M * vserveruser anyone here familiar with vhashify? 1221848319 M * Bertl daniel_hozac is an expert on vhashify, but what's your problem? 1221848353 M * vserveruser just getting started with it. I followed the instructions in the FAQ 1221848372 M * vserveruser and ran vserver hashify 1221848380 M * vserveruser it runs quite quickly? 1221848405 M * vserveruser is it a gradual process that runs over time? 1221848426 M * vserveruser i ran du -hs in the /vserver/ dir and it still returns as the same folder size as before 1221848431 M * vserveruser perhaps I'm missing something? 1221848569 M * Bertl how many guests did you hashify? 1221848624 M * vserveruser 2 1221848821 M * Bertl and they are reasonably similar, yes? 1221848831 M * vserveruser very much so 1221848839 M * vserveruser almost identical 1221848848 M * vserveruser bar about 2 packages 1221848860 M * Bertl okay, good, and you are doing du -hs /vservers ? 1221848888 M * vserveruser I'm cd /vservers/ && du -hs . 1221848893 M * vserveruser so effectly, yes 1221848944 M * Bertl check for a file you know to be common between both guests, e.g. /bin/bash with `ls -la /path/to/guest/bin/bash` 1221849038 M * vserveruser -rwxr-xr-x 1 root root 677184 2006-12-11 21:20 mail/bin/bash 1221849050 M * vserveruser -rwxr-xr-x 1 root root 677184 2006-12-11 21:20 www/bin/bash 1221849055 M * Bertl so that one was not hashified 1221849071 M * vserveruser I take it, it becomes a symbolic link when hashified? 1221849079 M * Bertl nope, a hardlink 1221849098 M * vserveruser Ok. How would I tell if a dir/file was hard linked 1221849113 M * vserveruser Eg. for a symlink, it displays it on ls -l 1221849115 M * Bertl via the link count, the '1' in your example 1221849145 M * Bertl did you create the .hash directory and the links? 1221849183 M * vserveruser I created... 1221849190 M * vserveruser mkdir /vserver/.hash 1221849218 M * vserveruser mkdir /etc/vservers//apps/vunify 1221849236 M * vserveruser mkdir /etc/vservers/.defaults/apps/vunify/hash 1221849277 M * Bertl okay, what about the symbolic link? 1221849281 J * geb ~geb@36.170.100-84.rev.gaoland.net 1221849302 M * Bertl ln -s /vservers/.hash /etc/vservers/.defaults/apps/vunify/hash/root 1221849313 M * geb hi 1221849320 M * Bertl hi geb! 1221849375 M * vserveruser ln -s /vservers/.hash /etc/vservers/.defaults/apps/vunify/hash/root 1221849384 M * vserveruser lol, yeah, done that too. 1221849450 M * geb hello Bertl :) 1221849513 M * Bertl vserveruser: and your guests are running, yes? what util-vserver version and what guest system do you use? 1221849560 M * vserveruser Guests are running, vserver 0.30.215 -- manages the state of vservers, 2.6.26-bpo.1-vserver-686 1221849924 M * Bertl so host is debian, I take it? 1221849951 M * Bertl the util-vserver version should be fine, btw 1221850083 M * vserveruser Yeah thats right 1221850089 M * vserveruser I'm running both off backports 1221850125 M * Bertl let's run the hashify again, this time with --debug 1221850135 M * Bertl and upload the output to paste.linux-vserver.org 1221850415 M * vserveruser Erm /usr/lib/util-vserver/vhashify: unrecognized option `--debug' 1221850452 M * Bertl what is the command you are executing? 1221850460 M * vserveruser vserver mail hashify 1221850548 M * Bertl and 'vserver --debug mail hashify' gives you that error? 1221850590 M * vserveruser no but `vserver mail hasify --debug` did 1221850593 M * vserveruser whoops 1221850604 M * Bertl okay, that's fine 1221850691 M * vserveruser http://paste.linux-vserver.org/12494 1221850732 M * Bertl okay, let's try 1221850745 M * Bertl vserver mail hashify -v 1221850760 M * vserveruser very verbose 1221850762 M * vserveruser skipping almost everything 1221850767 M * vserveruser if not everything 1221850780 M * vserveruser skipped everything 1221850786 M * Bertl aha, so, did you create a skip list? 1221850793 M * vserveruser No ? 1221850813 M * Bertl that's strange, by default only a few 'identified' config files are skipped 1221850837 M * Bertl well, I guess you have to wait for daniel_hozac on that one 1221850860 M * vserveruser would it have made a difference if i created the vserver using an older version of util-vserver 1221850898 M * vserveruser then upgrader util-vserver and the kernel at a later date? 1221850904 M * Bertl could be, could also be that the debian version has a few modifications 1221851244 Q * geb Remote host closed the connection 1221851343 J * ntrs_ ~ntrs@77.29.66.82 1221851767 Q * ntrs Ping timeout: 480 seconds 1221852923 M * vserveruser Is it possible to mount a filesystem on two vserver's simultaneously 1221853083 M * Bertl yes, sure 1221853113 M * lucrus samba on host, I need to mount it from the guest: I get "Operation not permitted". Normal? 1221853120 M * Bertl yep 1221853132 M * lucrus solutions? 1221853143 M * Bertl you definitely don't want to 'mount' a network filesystem from the host 1221853154 M * lucrus how do I share files then? 1221853158 M * Bertl because the files are already somewhere on the host 1221853173 M * Bertl use a --bind mount to provide access in the guests 1221853200 M * Bertl but if you really want to do an smb mount for the guest, you can do that too, but you better do it from the fstab.remote (config) 1221853239 M * lucrus mount --bind, wow wonderful. I wonder how I didn't think about it! 1221853265 M * Bertl yeah, put an appropriate mount entry in the guest's config fstab, and you should be fine 1221853280 M * lucrus in the guest? 1221853314 M * lucrus shouldn't I put the fstab row in the host instead? 1221853317 M * Bertl in the guest's config (i.e. /etc/vservers/...) 1221853360 M * Bertl http://www.nongnu.org/util-vserver/doc/conf/configuration.html 1221853369 M * lucrus thx 1221853708 M * Bertl np 1221854353 J * bonbons ~bonbons@2001:960:7ab:0:2c0:9fff:fe2d:39d 1221854387 J * mase ~mase@77.20.146.216 1221856033 J * Radiance ~Radiance@193.16.154.187 1221856812 Q * BrunoXLambert Quit: Leaving 1221856860 J * derjohn_mob ~aj@e180203166.adsl.alicedsl.de 1221857416 Q * _gh_ Ping timeout: 480 seconds 1221858535 Q * ntrs_ Ping timeout: 480 seconds 1221860450 J * Aiken ~Aiken@ppp118-208-28-181.lns2.bne1.internode.on.net 1221860986 Q * bonbons Quit: Leaving 1221861730 Q * lucrus Quit: Sto andando via 1221861747 J * lucrus ~lucrus@host-84-223-101-74.cust-adsl.tiscali.it 1221861752 J * doener ~doener@i577B8E9B.versanet.de 1221861758 Q * lucrus 1221861858 Q * doener_ Ping timeout: 480 seconds 1221862023 J * BrunoXLambert ~Bruno@dsl-10-129-13.b2b2c.ca 1221865609 J * mategabri ~mategabri@catv-80-99-5-229.catv.broadband.hu 1221865628 M * mategabri hey There 1221865638 M * Bertl hey 1221865665 M * mategabri i'd like to ask for some help with vserver+keepalived, i get some errors and i can't find a way to solve the problem 1221865690 M * Bertl well, what's keepalived and what errors do you get? 1221865730 M * mategabri keepalived is like carp under *BSD, it takes a virtual ip address and shares them through hosts for HA 1221865766 M * mategabri here's there error: 1221865767 M * mategabri Keepalived_vrrp: cant open raw socket. errno=1 1221865776 M * mategabri Keepalived_vrrp: Netlink: error: Operation not permitted, type=(20), seq=1221864648, pid=0 1221865787 M * Bertl well, sounds like below IP layer, so you want to put that on the host 1221865812 M * mategabri i'd like to run keepalived in a vserver guest system 1221865820 M * mategabri something is missing from the kernel so i assume 1221865832 M * Bertl what is it supposed to do inside a guest? 1221865879 M * mategabri two guests on two different machines will take the same IP in HA mode through keepalived, or at least i hope so 1221865903 M * Bertl you can't change IPs or modify networking _inside_ a guest 1221865912 M * Bertl so you want to put that on the host 1221865926 M * Bertl there the keepalived can do what you plan to do 1221865940 M * Bertl the services can still be inside the guest 1221865961 M * mategabri yep thats true, but the virtual IP will be outside of the guest running the service 1221865975 M * Bertl which is, where it belongs 1221865999 M * mategabri but that way how can i assign that virtual IP with the guest? 1221866021 M * Bertl you simply assign it to the guest via the config 1221866041 M * Bertl doesn't need to be available when the guest is started 1221866069 M * Bertl or you can add it dynamically when the guest is running, if you prefer that 1221866074 M * mategabri but that IP is not a real one, its just a virtual one, so the guest can't really take it 1221866083 M * mategabri so keepalived manages that IP 1221866101 M * mategabri anyway, as i see theres no way to manage the IP layer from within a guest 1221866104 M * Bertl that's fine too, then simply do not assign it to the guest 1221866118 M * Bertl IP layer yes, below IP no 1221866196 M * mategabri i see 1221866227 M * mategabri and how can i assign an IP from the host to the guest? 1221866228 M * Bertl note that HA setups, e.g. with heartbeat work perfectly fine with Linux-VServer guests 1221866265 M * mategabri ah thats great news 1221866268 M * Bertl either via the config, or with naddress 1221866295 M * Bertl in all HA setups, the management is done on the host 1221866318 M * mategabri so i have to setup another interface in the config section 1221866318 M * Bertl but that can control guest startup or shutdown, or address changes 1221866341 M * Bertl if you want to assign an IP address to the guest, yes 1221866369 M * mategabri i see, and how can i use the same device? 1221866392 M * Bertl the config is quite simple: 1221866408 M * Bertl you put ip/prefix in the config files, without 'dev' entry 1221866421 M * Bertl util-vserver will not add/remove the address 1221866446 M * Bertl if you specify the 'dev' the address will be added on startup and removed on shutdown 1221866512 M * mategabri i see 1221866519 M * mategabri ill try it out 1221866528 M * mategabri now the host has the virtual ip from keepalived 1221866596 M * mategabri hm, it says that 1221866601 M * mategabri No device specified for '/etc/vservers/pgsql02/interfaces/1' 1221866621 M * Bertl yes, just touch a file called 'nodev' 1221866628 M * mategabri eh thanks :) 1221866659 M * mategabri hm 1221866668 M * mategabri well, now the eth0 interface has the virtual ip 1221866818 M * mategabri is there a way to define a real ip and this virtual ip on the same interface in the guest? 1221866871 M * Bertl forget the guest for whatever you want to do 1221866884 M * Bertl your setup is completely on the host (IP wise) 1221866896 M * Bertl once all you want is working as expected, the guest comes in 1221866913 M * mategabri sorry, i was mistaken 1221866916 M * Bertl and you can 'assign' a subset of the 'host' IPs, to the guest 1221866939 M * mategabri i'd like to give the guest a real ip and this virtual ip on the same device 1221866945 M * mategabri like an alias 1221866948 M * Bertl so do that 1221866969 M * mategabri so do i just need to write eth0:0 in dev? 1221866972 M * Bertl but you don't really need aliases nowadays 1221866994 M * Bertl but if you prefer, you put the '0' of eth:0 in 'name' 1221867028 M * mategabri well, i'll run pgsql and pgpool in two guests, i need an HA IP for pgpool and two fix ips for pgsql 1221867054 M * Bertl okay, so? 1221867075 M * mategabri right now i'm trying what youve suggested now 1221867167 M * mategabri hm the alias get created 1221867177 M * mategabri but the two interfaces in the guest has the same ip 1221867195 M * Bertl hmm? 1221867249 M * mategabri eth0 Link encap:Ethernet HWaddr 00:30:48:32:69:90 1221867250 M * mategabri inet addr:192.168.100.252 Bcast:0.0.0.0 Mask:255.255.255.255 1221867250 M * mategabri UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 1221867250 M * mategabri RX packets:45098369 errors:0 dropped:0 overruns:0 frame:0 1221867250 M * mategabri TX packets:25093320 errors:0 dropped:0 overruns:0 carrier:0 1221867251 M * mategabri collisions:0 txqueuelen:1000 1221867251 M * mategabri RX bytes:67462723304 (62.8 GiB) TX bytes:2086554762 (1.9 GiB) 1221867252 M * mategabri Base address:0x2000 Memory:c8200000-c8220000 1221867252 M * mategabri eth0:eth0 Link encap:Ethernet HWaddr 00:30:48:32:69:90 1221867254 M * mategabri inet addr:192.168.100.252 Bcast:192.168.100.255 Mask:255.255.255.0 1221867254 M * mategabri UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 1221867256 M * Bertl (please use paste.linux-vserver.org for everything longer than 3 lines) 1221867257 M * mategabri Base address:0x2000 Memory:c8200000-c8220000 1221867262 M * mategabri ah, sorry for that copy-paste 1221867317 M * Bertl well, a) funny alias name (eth0..) b) you probably assigned that ip to both 1221867334 M * Bertl forget ifconfig, check with 'ip addr ls' 1221867338 M * mategabri yes, i screwed something up in the host 1221867378 M * mategabri hm 1221867458 M * mategabri well, it shows the virtual ip 1221867469 M * mategabri but keepalived isn't running lol 1221867609 M * mategabri anyway, i appreciate your help, i got a picture of how the networking is in vserver 1221867633 M * Bertl it is like on any Linux system 1221867676 M * mategabri yeah, but i thought that the vservers have indepentent networking 1221867707 M * Bertl mainline is working on virtual network stacks, so that will soon be an option too 1221867709 J * ntrs_ ~ntrs@77.29.66.82 1221867714 M * Bertl but usually you want to avoid the overhead 1221867821 M * mategabri yes, somehow i'll figure this out 1221867844 M * vserveruser Can i harrass you guys again 1221867898 M * vserveruser I've got mounted file systems on the host (for quota purposes), and then I am bind mounting the parent dir on a vserver 1221867921 M * vserveruser it mounts, and shows the directories within - but they are all empty 1221867931 M * vserveruser is it possible to bind mount a mount ? 1221867937 M * daniel_hozac rbind 1221867937 M * Bertl well, --bind doesn't mount submounts 1221867949 M * vserveruser ahah, that might explain my issue 1221867982 M * vserveruser so a mounted virtual fs can't be bind mounted 1221868001 M * daniel_hozac anything can be bind mounted. 1221868013 M * vserveruser :confused: 1221868079 M * Bertl /mnt with /mnt/disk1 and /mnt/disk2 1221868091 M * Bertl if you --bind mount /mnt to /data 1221868109 M * Bertl you'll see two empty dirs there, /mnt/disk1 and /mnt/disk2 1221868125 M * vserveruser yeah, thats exactly what's happening to me 1221868142 M * Bertl if you want the two mounts to be bind mounted there too 1221868152 M * Bertl you can either use rbind instead of bind 1221868160 M * Bertl (which means recursive bind) 1221868164 M * vserveruser ohok 1221868165 M * mategabri Bertl: thank You again, it is working perfectly 1221868176 M * Bertl vserveruser: or you --bind mount the submounts too 1221868185 M * vserveruser So currently I'm mounting with - /www /mail bind defaults,loop,bind 0 0 1221868186 M * Bertl mategabri: you're welcome! 1221868190 Q * ntrs_ Ping timeout: 480 seconds 1221868226 M * daniel_hozac loop and bind are pretty contradictory options. 1221868228 M * mategabri good bye 1221868231 Q * mategabri Quit: mategabri 1221868258 M * vserveruser oh yeah, that was me trying to whack in random bits from the original mount fstab incase i missed something 1221868327 J * _gh_ ~gerrit@67.170.155.50 1221868341 M * vserveruser Ok, I tried - /www /mail rbind defaults,bind 0 0 1221868349 M * vserveruser still the same, shows empty dirs 1221868386 M * daniel_hozac the option is still bind... 1221868405 M * Bertl and the filesystem part is ignored anyway 1221868417 M * daniel_hozac yep. 1221868445 M * vserveruser So this would be right - /www /mail rbind defaults,rbind 0 0 1221868453 M * Bertl so maybe put something like 'ignored' or 'auto' there 1221868458 M * vserveruser woo hoo 1221868462 M * vserveruser that one worked ;) 1221868474 M * vserveruser you guys have saved me hours of googling again 1221868479 M * vserveruser where the donate button... 1221868498 M * Bertl http://www.13thfloor.at/vserver/donate/ 1221868498 M * vserveruser much appriciated!! 1221868528 M * Bertl you're welcome! 1221868581 Q * PowerKe Ping timeout: 480 seconds 1221868692 J * PowerKe ~tom@d5153A1EB.access.telenet.be