Re: [Vserver] Linux-VServer Live CD?
On Fri, Apr 20, 2007 at 01:27:42AM -0400, Daniel Clark wrote: Has anyone made a LiveCD for Linux-VServer? as mentioned on IRC, Knoppix should have some support for booting a Linux-VServer enabled kernel, although I do not have the details and/or know what version ... If not, any hints/tips/warnings/recommendations for an OS base? I am looking for a way to demo a client/server application, and Linux-VServer with the vunify functionality at first glance looks like it could be ideal. The CD itself would have the minimal OS and vserver-enabled kernel, and vunifiy-ed filesystems of the server and clients (which wouldn't differ by that much), and any changes during the run would be written to ramdisk. Based on a previous thread it sounded like Linux-VServer has its own Copy-on-Write (CoW) functionality, removing the need for unionfs/aufs for the virtual machines themselves (although I assume you'd still want it enabled in a small ram disk for the rest of the CD). yes and no, CoW Link Breaking is there, which is probably not what you have in mind when you talk about unionfs ... i.e. it allows you to have hard linked files on a read-write filesystem which will be copied (on demand) by the kernel when written to ... nevertheless, I can easily imagine having a tmpfs based demo setup with a bunch of Linux-VServer guests (they can be as small as 20MB, but usually will take 180-220MB) utilizing unification to run a number of them (10-30) completely from RAM ... so keep brain storming/asking/checking ... best, Herbert -- Daniel Clark # http://dclark.us # http://opensysadmin.com ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Linux-VServer Live CD?
On Fri, 20 Apr 2007 07:06:01 +0100, Herbert Poetzl [EMAIL PROTECTED] wrote: Has anyone made a LiveCD for Linux-VServer? as mentioned on IRC, Knoppix should have some support for booting a Linux-VServer enabled kernel, although I do not have the details and/or know what version ... According to this release announcement, the 5.2 release comes with vserver. http://www.knopper.net/knoppix/knoppix52-en.html Not sure if the vserver kernel is booted by default or needs a cheatcode. The only source for the DVD image is here SFAIK: http://www.linuxtracker.org/download.php?id=3759name=Knoppix_5.2.iso.torrent -- From Ben Green ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Linux-VServer Live CD?
Daniel Clark schrieb: Has anyone made a LiveCD for Linux-VServer? yup, a colleague of mine did so..(building liveCDs is his primary hobby ;) i can make it available for ftp/http downloading for you on our companys server, if you want, but just temporarily for 1 to 2 days it is based on gentoo 2006.1 build for i686 kernel utils: 2.6.20-vs2.3.0.11-gentoo sys-cluster/util-vserver-0.30.212-r2 Mit freundlichen Grüßen / best regards Michael Luksch - perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Linux-VServer Live CD?
On 4/20/07, Michael Luksch [EMAIL PROTECTED] wrote: Daniel Clark schrieb: Has anyone made a LiveCD for Linux-VServer? yup, a colleague of mine did so..(building liveCDs is his primary hobby ;) i can make it available for ftp/http downloading for you on our company's server, if you want, but just temporarily for 1 to 2 days Thanks, that would be great - I could also give you a place to ftp it to if that would be easier. If not making it more publicly available is just a matter of bandwidth, I'd be willing to host it on my website (at least unless/until it gets me over 2TB/month of traffic - I redirect large downloads using Coblitz - http://codeen.cs.princeton.edu/coblitz/ - so that is highly unlikely). it is based on gentoo 2006.1 build for i686 kernel utils: 2.6.20-vs2.3.0.11-gentoo sys-cluster/util-vserver-0.30.212-r2 Mit freundlichen Grüßen / best regards Michael Luksch - perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' -- Daniel Clark # http://dclark.us # http://opensysadmin.com ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] anybody has experience for Vserver on ARM
Hi All, Anybody has experiences for Vserver on ARM? I have lots of problems for this. Firstly I compiled the kernel with Vserver, then compiled the util-vserver. However I haven't made the util-vserver run on my Arm phone. The first reason is my arm phone doesnot support Bash while vserver script is based on Bash. Then I installed the Arm Bash on my phone. The next problem is getopt. 'Getopt' is required for Vserver script, but I cannot find a good Getopt source and compile it on Arm. And I also noticed duing Vserver setup phase, the program need connect with outside to download some package. I still haven't find an easy way to connect the Arm phone with internet. I am still thinking.. Anybody can share some experiences for this? thanks! Wenbin ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] anybody has experience for Vserver on ARM
On Fri, Apr 20, 2007 at 09:35:13AM -0400, Wenbin Zhang wrote: Hi All, Anybody has experiences for Vserver on ARM? I have lots of problems for this. yep, seems to works fine here ... Firstly I compiled the kernel with Vserver, then compiled the util-vserver. However I haven't made the util-vserver run on my Arm phone. The first reason is my arm phone doesnot support Bash while vserver script is based on Bash. Then I installed the Arm Bash on my phone. The next problem is getopt. 'Getopt' is required for Vserver script, but I cannot find a good Getopt source and compile it on Arm. the getopt is a standalone tool which is part of util-linux (so it should be easy to rebuild that for arm) alternatively you can use the bash bult- in getopts ... And I also noticed duing Vserver setup phase, the program need connect with outside to download some package. not really, but it depends on the build method e.g. template based build methods will not need any network access, while network :) based ones will I still haven't find an easy way to connect the Arm phone with internet. should be fairly trivial via bluetooth, just make a pairing with a laptop and configure the network to route over it, and masquerade the phone's ip (probably private) ... I am still thinking.. Anybody can share some experiences for this? thanks! best, Herbert Wenbin ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] anybody has experience for Vserver on ARM
On Fri, 2007-04-20 at 09:35 -0400, Wenbin Zhang wrote: Hi All, Anybody has experiences for Vserver on ARM? I have lots of problems for this. Firstly I compiled the kernel with Vserver, then compiled the util-vserver. However I haven't made the util-vserver run on my Arm phone. The first reason is my arm phone doesnot support Bash while vserver script is based on Bash. Then I installed the Arm Bash on my phone. The next problem is getopt. 'Getopt' is required for Vserver script, but I cannot find a good Getopt source and compile it on Arm. On my Debian system, getopt(1) is in util-linux, which it claims is ported to ARM. getopt(3) in in glibc, and should also work on ARM. Sorry; that probably doesn't help. Cheers, - Martin ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] suse/fedora on a as a VPS
On Fri, Apr 20, 2007 at 04:58:56PM +0200, Daniel wrote: Hi all, i tryid to install fedora for a vps on my host. I do i like: vhost04:~# vserver test0 build -m apt-rpm --hostname test0.nowhe.re --interface 10.0.1.0 --netdev eth0 --netprefix 23 --context 42 -- -d fc4 then i get follwing errors: *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** ~~ *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** ~~ rpm-fake-resolver: vc_ctx_migrate(): No such process rpm-fake.so: failed to initialize communication with resolver any1 know how i can fix it? what part of 'please do not report errors before trying a dietlibc version' was hard to understand? best, Herbert -- Mit freundlichen Grüßen Daniel mailto:[EMAIL PROTECTED] ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] suse/fedora on a as a VPS
Hi there, on Friday, April 20, 2007 at 4:58:56 PM there was posted: D i tryid to install fedora for a vps on my host. D I do i like: ... D eth0 --netprefix 23 --context 42 -- -d fc4 D then i get follwing errors: ... D any1 know how i can fix it? Not particulary your error - but have you tried the recommended installation of FC4 using yum method instead? = http://oldwiki.linux-vserver.org/VServer+installation+Fedora+Core+4#g5 -- regards 'n greez, Guenther Fuchs (aka muh and powerfox) ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] anybody has experience for Vserver on ARM
Hi Herbert and Martin, Now I solved the getopt problem with recompiling the util-vserver package for ARM, thanks! Now The vserver script seems can run, [EMAIL PROTECTED]:/sbin# vserver Usage: /sbin/vserver vserver {start|stop|suexec|restart|condrestart|exec|enter|chkconfig|running|status|delete} However, I tried to run #vserver va780 build -m yum --context 43 --hostname=va780 --interface va7800=eth0:192.168.1.2/24 --rootdir /vserver1 --pkgbase /vserver1/.pkg -- -d gpe to create a vserver, it told me: ERROR: Can not find configuration for the distribution 'a780'; please read http://linux-vserver.org/HowToRegisterNewDistributions for information how to add support for your own distribution. However, if I remove the -d option, it told me: ERROR: Can not determine distribution; please specify it manually with the '-d' option. Any ideas? What distribution should be used for Arm? thanks! Wenbin On 4/20/07, Herbert Poetzl [EMAIL PROTECTED] wrote: On Fri, Apr 20, 2007 at 09:35:13AM -0400, Wenbin Zhang wrote: Hi All, Anybody has experiences for Vserver on ARM? I have lots of problems for this. yep, seems to works fine here ... Firstly I compiled the kernel with Vserver, then compiled the util-vserver. However I haven't made the util-vserver run on my Arm phone. The first reason is my arm phone doesnot support Bash while vserver script is based on Bash. Then I installed the Arm Bash on my phone. The next problem is getopt. 'Getopt' is required for Vserver script, but I cannot find a good Getopt source and compile it on Arm. the getopt is a standalone tool which is part of util-linux (so it should be easy to rebuild that for arm) alternatively you can use the bash bult- in getopts ... And I also noticed duing Vserver setup phase, the program need connect with outside to download some package. not really, but it depends on the build method e.g. template based build methods will not need any network access, while network :) based ones will I still haven't find an easy way to connect the Arm phone with internet. should be fairly trivial via bluetooth, just make a pairing with a laptop and configure the network to route over it, and masquerade the phone's ip (probably private) ... I am still thinking.. Anybody can share some experiences for this? thanks! best, Herbert Wenbin ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] anybody has experience for Vserver on ARM
On Fri, Apr 20, 2007 at 12:01:26PM -0400, Wenbin Zhang wrote: Hi Herbert and Martin, Now I solved the getopt problem with recompiling the util-vserver package for ARM, thanks! Now The vserver script seems can run, [EMAIL PROTECTED]:/sbin# vserver Usage: /sbin/vserver vserver {start|stop|suexec|restart|condrestart|exec|enter|chkconfig|running|status|delete} However, I tried to run #vserver va780 build -m yum --context 43 --hostname=va780 --interface ~~~ va7800=eth0:192.168.1.2/24 --rootdir /vserver1 --pkgbase /vserver1/.pkg -- -d gpe you probably have to 'define' that distro first, at least I don't think it is present in the defaults to create a vserver, it told me: ERROR: Can not find configuration for the distribution 'a780'; please read http://linux-vserver.org/HowToRegisterNewDistributions for information how to add support for your own distribution. However, if I remove the -d option, it told me: ERROR: Can not determine distribution; please specify it manually with the '-d' option. Any ideas? What distribution should be used for Arm? thanks! you could try debian? best, Herbert Wenbin On 4/20/07, Herbert Poetzl [EMAIL PROTECTED] wrote: On Fri, Apr 20, 2007 at 09:35:13AM -0400, Wenbin Zhang wrote: Hi All, Anybody has experiences for Vserver on ARM? I have lots of problems for this. yep, seems to works fine here ... Firstly I compiled the kernel with Vserver, then compiled the util-vserver. However I haven't made the util-vserver run on my Arm phone. The first reason is my arm phone doesnot support Bash while vserver script is based on Bash. Then I installed the Arm Bash on my phone. The next problem is getopt. 'Getopt' is required for Vserver script, but I cannot find a good Getopt source and compile it on Arm. the getopt is a standalone tool which is part of util-linux (so it should be easy to rebuild that for arm) alternatively you can use the bash bult- in getopts ... And I also noticed duing Vserver setup phase, the program need connect with outside to download some package. not really, but it depends on the build method e.g. template based build methods will not need any network access, while network :) based ones will I still haven't find an easy way to connect the Arm phone with internet. should be fairly trivial via bluetooth, just make a pairing with a laptop and configure the network to route over it, and masquerade the phone's ip (probably private) ... I am still thinking.. Anybody can share some experiences for this? thanks! best, Herbert Wenbin ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver