[Vserver] Vservers and RAID (5 hard)
Hello,Jacques, hello all! I have set up a few vservers for hosting different web sites on the same machine and keep a separate control of each, and so far I'm happy, thanks! Time comes to get it running for the public, and as the server has a RAID controler (it is Dell's Megaraid), I'm about to get a few disks ordered. The normal setup would be : 2 * 36 Go for the system, 3 * 73 or 4 * 73 for the data. Meaning the contents of /var, with the vservers in it. So I would welcome any advice about what to purchase and how to use the disks, especially if there is some verser peculiarities. Thanks in advance, -- Odile Bénassy, ingénieure informaticienne Service de la Recherche et des Études Doctorales Faculté Jean Monnet, Université Paris Sud 11 54 bd Desgranges, 92331 Sceaux Cedex tél : +33 (0)1 40 91 18 77 - fax : +33 (0)1 40 91 18 56 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] some confusions about cache an vdlimit
Hello List! I'm trying to set up a new host with the actual state-of-the-arrt (stable , of course :-) vserver-version 2.01. I got a vanilla kernel 2.6.15.3 applied the patches and everything is nice up to now. I even succeeded in compiling and installing the util-vserver-0.30.210 tools Great! But then i ran into some problems, that confused me beyond normal: What is the purpose of this cache-directory, that shows up in the horrible flower page ? Is it necessary? When I tried to remember the usage of vdlimit typing vdlimit --help gave this: vdlimit --xid xid [--flags flags] (--set limit=value|--remove) mount point But previous versions of vdlimit were to be applied to a directory on the file system (that was mounted with the tagxid option) not to a mount point. Did this change back to pre-vdlimit-style? I anybody could help me with this? Thanx in advance Alexander Goeres -- netzwerk- systemadministrator --- agoeres at lieblinx. net tel.: +49 (0)30 / 61 20 26 87 fax: +49 (0)30 / 69 00 46 03 --- lieblinx.net we do software --- reichenberger straße 125 10999 berlin http://lieblinx.net --- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers and RAID (5 hard)
On Tue, Feb 14, 2006 at 09:57:28AM +0100, Odile Bénassy wrote: Hello,Jacques, hello all! I have set up a few vservers for hosting different web sites on the same machine and keep a separate control of each, and so far I'm happy, thanks! glad to hear! you're welcome! Time comes to get it running for the public, and as the server has a RAID controler (it is Dell's Megaraid), I'm about to get a few disks ordered. depending on your 'need for speed' or desire for stability, I'd suggest to make some tests with linux software raid vs. hardware raid, and/or try to figure optimal settings for the controller ... The normal setup would be : 2 * 36 Go for the system, 3 * 73 or 4 * 73 for the data. Meaning the contents of /var, with the vservers in it. well, only on debian the vservers dir goes to /var on all other distros, it's /vservers :) So I would welcome any advice about what to purchase and how to use the disks, especially if there is some verser peculiarities. nope, nothing vserver related here, just keep in mind that many guests will be I/O bound not CPU bound, so it makes sense to optimize for I/O ... best, Herbert Thanks in advance, -- Odile Bénassy, ingénieure informaticienne Service de la Recherche et des Études Doctorales Faculté Jean Monnet, Université Paris Sud 11 54 bd Desgranges, 92331 Sceaux Cedex tél : +33 (0)1 40 91 18 77 - fax : +33 (0)1 40 91 18 56 ___ 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] some confusions about cache an vdlimit
On Tue, Feb 14, 2006 at 01:43:34PM +0100, alexander goeres - lieblinx.net wrote: Hello List! I'm trying to set up a new host with the actual state-of-the-arrt (stable , of course :-) vserver-version 2.01. I got a vanilla kernel 2.6.15.3 applied the patches and everything is nice up to now. I even succeeded in compiling and installing the util-vserver-0.30.210 tools Great! watch out for the upcoming 2.0.2 stable :) But then i ran into some problems, that confused me beyond normal: What is the purpose of this cache-directory, that shows up in the horrible flower page ? Is it necessary? When I tried to remember the usage of vdlimit typing vdlimit --help gave this: vdlimit --xid xid [--flags flags] (--set limit=value|--remove) mount point But previous versions of vdlimit were to be applied to a directory on the file system (that was mounted with the tagxid option) not to a mount point. Did this change back to pre-vdlimit-style? well, that one goes to Enrico, but I'd guess the mount point is actually 'somewhere in the mount' best, Herbert I anybody could help me with this? Thanx in advance Alexander Goeres -- netzwerk- systemadministrator --- agoeres at lieblinx. net tel.: +49 (0)30 / 61 20 26 87 fax: +49 (0)30 / 69 00 46 03 --- lieblinx.net we do software --- reichenberger straße 125 10999 berlin http://lieblinx.net --- ___ 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] Release Candidates ...
Hi Folks! we've finally reached a point where we started to settle down development and focus on finalizing the upcoming stable and devel releases. here are the release candidates for both of them, please give 'em a spin and let us know if something fails or doesn't work as expected. (they will be updated on a regular basis, so check if you've got the latest *-rc) http://vserver.13thfloor.at/Experimental/patch-2.6.15.4-vs2.0.2-rc5.diff http://vserver.13thfloor.at/Experimental/patch-2.6.16-rc2-vs2.0.2-rc1.diff http://vserver.13thfloor.at/Experimental/patch-2.6.15.4-vs2.1.1-rc6.diff http://vserver.13thfloor.at/Experimental/patch-2.6.16-rc2-vs2.1.1-rc3.diff thanks in advance, Herbert ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers and RAID (5 hard)
On Tuesday 14 February 2006 13:44, HP wrote: well, only on debian the vservers dir goes to /var on all other distros, it's /vservers :) Also on Gentoo ;) -- Christian Heim [EMAIL PROTECTED] Gentoo Linux Developer - vserver pgplF41IUZAfl.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] vserver heartbeat?
Hi all! What is a good haresources-script for vserver? Or can I just use /etc/init.d/vservers? (I have a Gentoo-system) Greetings, Evert ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver heartbeat?
Hi Evert, I just linked /usr/sbin/vserver to /etc/ha.d/resource.d and put into my haressources file: vserver::mail Works for me (gentoo, too ;) Oliver -- Diese Nachricht wurde digital unterschrieben oliwel's public key: http://www.oliwel.de/oliwel.crt Basiszertifikat: http://www.ldv.ei.tum.de/page72 smime.p7s Description: S/MIME Cryptographic Signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers and RAID (5 hard)
Odile Bénassy wrote: Hello,Jacques, hello all! I have set up a few vservers for hosting different web sites on the same machine and keep a separate control of each, and so far I'm happy, thanks! Time comes to get it running for the public, and as the server has a RAID controler (it is Dell's Megaraid), I'm about to get a few disks ordered. The normal setup would be : 2 * 36 Go for the system, 3 * 73 or 4 * 73 for the data. Meaning the contents of /var, with the vservers in it. If you've got the option of buying 4 disks, have you considered just using software RAID 1? You only end up with one disk's worth less space than a 4 disk raid 5 set, but you gain an awful lot in terms of stability and performance. IMHO RAID controllers were a nice idea, but I've now seen two of them simply shaft a raid set, and they were name brand, battery backed, etc. One of them was only a RAID 1 set yet the controller still seemed to be capable of getting its on-disk state so confused it would crash (blocking all SCSI I/O after that) during a resync. Even after replacing the motherboard, backplanes, etc. My advice for Dell systems is to pull the RAID key out, or at the very least, disable write caching when you create the volumes in the BIOS. So I would welcome any advice about what to purchase and how to use the disks, especially if there is some verser peculiarities. You might like to consider using the LVM for partitioning such a system. It's generally more managable than a single massive filesystem. With a system like that I'd normally set up a couple of 1-2GB partitions on the root set, one for a root FS and the other for swap (or emergency reinstall space), then just throw the rest of it into a single LVM Volume Group. Even if some of it is RAID 5 and some of it RAID 1, you can easy control through LVM which physical volumes the partitions you create live on, or move them later (without unmounting). Sam. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers and RAID (5 hard)
Christian Heim wrote: well, only on debian the vservers dir goes to /var on all other distros, it's /vservers :) Also on Gentoo ;) I hate that! Such a deep directory... besides, the unix conventions of var, /usr, etc, were made before this use case was considered (/com, anyone?). I think it deserves its own TLD (top level directory). Perhaps something more in the unix spirit: get /chld added to the FHS? Sam. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers and RAID (5 hard)
I recently purchased a Dell PowerEdge 2850 that I'm using for vservers. I'm using Gentoo for the host and guests. Seems to work really great so far. I purchased 4 10k rpm 73G u320 drives and use them in a single raid5 partition. I then used LVM2 to partiion up the space. Here's the output of fdisk -l : Disk /dev/sda: 219.8 GB, 219823472640 bytes 255 heads, 63 sectors/track, 26725 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 12 96358+ de Dell Utility /dev/sda2 * 13 21 72292+ 83 Linux /dev/sda3 22 508 3911827+ 82 Linux swap / Solaris /dev/sda4 509 26725 210588052+ 5 Extended /dev/sda5 509 752 1959898+ 83 Linux /dev/sda6 753 26725 208628091 8e Linux LVM As you can see, I have a partition for /boot, /, and swap. The rest is for LVM. I then divided up the LVM for the remainder of the system. Here's what lvdisplay shows: --- Logical volume --- LV Name/dev/vg/usr VG Namevg LV UUID**I LV Write Accessread/write LV Status available # open 1 LV Size10.01 GB Current LE 2563 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:0 --- Logical volume --- LV Name/dev/vg/home VG Namevg LV UUID** LV Write Accessread/write LV Status available # open 1 LV Size5.00 GB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:1 --- Logical volume --- LV Name/dev/vg/opt VG Namevg LV UUID** LV Write Accessread/write LV Status available # open 1 LV Size5.00 GB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:2 --- Logical volume --- LV Name/dev/vg/var VG Namevg LV UUID** LV Write Accessread/write LV Status available # open 1 LV Size10.00 GB Current LE 2560 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:3 --- Logical volume --- LV Name/dev/vg/tmp VG Namevg LV UUID** LV Write Accessread/write LV Status available # open 1 LV Size2.00 GB Current LE 512 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:4 --- Logical volume --- LV Name/dev/vg/vservers VG Namevg LV UUID** LV Write Accessread/write LV Status available # open 1 LV Size30.00 GB Current LE 7680 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:5 I still have lots of unused LVM space. I just expand my /vserver volume and any others as needed. Performance is great. Hope this helps your decision. On 2/14/06, Lars Hallberg [EMAIL PROTECTED] wrote: Sam Vilain wrote: I hate that! Such a deep directory... besides, the unix conventions of var, /usr, etc, were made before this use case was considered (/com, anyone?). I think it deserves its own TLD (top level directory). /var/lib/vservers ... Have no problems with that... but i symlink it as 'v' from /root :-) ... and /etc/vservers as 'e' :-) Thats Ubuntu... same as Debian I asume. /LaH ___ 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] Vservers and RAID (5 hard)
On Tuesday 14 February 2006 05:41 pm, John Alberts wrote: I agree 100% that is what I am using on my vserver host as well and I have enough free space unassigned to last several years at this point. LVM2 should actually become a permanent built-in part of all file systems :) As I re-do my home workstations, I am changing them over to LVM2 as well. I will not install linux now without it unless it is an extremely specific installation that will not allow it (which I have yet to encounter) (romable code is the only thing I can think of ). Chuck I recently purchased a Dell PowerEdge 2850 that I'm using for vservers. I'm using Gentoo for the host and guests. Seems to work really great so far. I purchased 4 10k rpm 73G u320 drives and use them in a single raid5 partition. I then used LVM2 to partiion up the space. Here's the output of fdisk -l : Disk /dev/sda: 219.8 GB, 219823472640 bytes 255 heads, 63 sectors/track, 26725 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 12 96358+ de Dell Utility /dev/sda2 * 13 21 72292+ 83 Linux /dev/sda3 22 508 3911827+ 82 Linux swap / Solaris /dev/sda4 509 26725 210588052+ 5 Extended /dev/sda5 509 752 1959898+ 83 Linux /dev/sda6 753 26725 208628091 8e Linux LVM As you can see, I have a partition for /boot, /, and swap. The rest is for LVM. I then divided up the LVM for the remainder of the system. Here's what lvdisplay shows: --- Logical volume --- LV Name/dev/vg/usr VG Namevg LV UUID**I LV Write Accessread/write LV Status available # open 1 LV Size10.01 GB Current LE 2563 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:0 --- Logical volume --- LV Name/dev/vg/home VG Namevg LV UUID** LV Write Accessread/write LV Status available # open 1 LV Size5.00 GB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:1 --- Logical volume --- LV Name/dev/vg/opt VG Namevg LV UUID** LV Write Accessread/write LV Status available # open 1 LV Size5.00 GB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:2 --- Logical volume --- LV Name/dev/vg/var VG Namevg LV UUID** LV Write Accessread/write LV Status available # open 1 LV Size10.00 GB Current LE 2560 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:3 --- Logical volume --- LV Name/dev/vg/tmp VG Namevg LV UUID** LV Write Accessread/write LV Status available # open 1 LV Size2.00 GB Current LE 512 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:4 --- Logical volume --- LV Name/dev/vg/vservers VG Namevg LV UUID** LV Write Accessread/write LV Status available # open 1 LV Size30.00 GB Current LE 7680 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:5 I still have lots of unused LVM space. I just expand my /vserver volume and any others as needed. Performance is great. Hope this helps your decision. On 2/14/06, Lars Hallberg [EMAIL PROTECTED] wrote: Sam Vilain wrote: I hate that! Such a deep directory... besides, the unix conventions of var, /usr, etc, were made before this use case was considered (/com, anyone?). I think it deserves its own TLD (top level directory). /var/lib/vservers ... Have no problems with that... but i symlink it as 'v' from /root :-) ... and /etc/vservers as 'e' :-) Thats Ubuntu... same as Debian I asume. /LaH ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers and RAID (5 hard)
On Tuesday 14 February 2006 21:40, you wrote: I hate that! Such a deep directory... besides, the unix conventions of var, /usr, etc, were made before this use case was considered (/com, anyone?). I think it deserves its own TLD (top level directory). Perhaps something more in the unix spirit: get /chld added to the FHS? Sam, Ignore my comment. I was mislead by my own directory structure ... If you take a look at the ebuild [1], you will see that the default is /vservers. [1]http://www.gentoo-portage.com/ebuild?e=sys-cluster%2Futil-vserver%2Futil-vserver-0.30.210-r1.ebuildbrowse=true -- Christian Heim [EMAIL PROTECTED] Gentoo Linux Developer - vserver pgpX4WyKjIy4l.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver