Re: [Vserver] Wiki : HowTo graph vserver usage with cacti

2005-12-17 Thread GarconDuMonde
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

 2005/12/16, Herbert Poetzl [EMAIL PROTECTED]:
 in general, if there is real interest, and folks (at
 least 3 parties) are volunteering to test and add the
 required userspace tools/interfaces, please contact me
 with a wish list (i.e. what kind of information you
 would like to monitor) and we can probably get an
 implementation done ... (of course, funding such
 features migh be an alternative too :)

 Grzegorz Nosek wrote:
 Count me in for testing :)
 My wishes for vserver monitoring include:
 - loadavg and cpu% (somewhat faster than parsing /proc/virtual/*)
 - network traffic (again, somewhat faster than iptables stats, a'la
 /proc/net/dev maybe)
 - reliable memory usage (current implementation apparently doesn't
 account for shared memory, like libraries)
 - disk i/o
 - process-related stuff, like fork rate might be useful (ideally
 per-user but that'd be quite an overhead probably)

Matt Gorecki wrote:
 I would be interested in all of the above.  Particularly in network
 traffic, memory usage and cpu utilization.

and me too! basically, will have a production environment of greater than 1
physical host and many vserver guests with which it would be great to be able to
achieve some kind of balance across the physical hosts of the vservers,
appropriate to their capabilities. i guess that, in particular, the interest
would be:

- cpu usage
- memory usage
- network/bandwidth information
- hard disk usage

all of these on a per-vserver basis (as well as monitoring the physical host,
which it seems i can already do). currently, i am using munin [1], which gives
good reports based on the physical host and also on all the vservers bunched
together as a group, it seems. cacti has been recommended tho, and i don't know
how they compare but first glances at the cacti[2] site seem encouraging.

[1] http://munin.projects.linpro.no/
[2] http://www.cacti.net

in summary, be great to have more monitoring info available, i work in a
production environment predominantly so testing may be limited, but i might be
able to get together a test box to use as well to help with this.

- --

love and solidarity,

--gdm

http://docs.indymedia.org/view/Main/GarconDuMonde

i have a NEW key:
gpg --keyserver pgp.mit.edu --recv-keys 594B97C2
Key fingerprint = 7B70 F22D F275 D111 3A04  F9EE 0E25 4944 594B 97C2



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFDo/N2DiVJRFlLl8IRAvAPAJ9JRWVnVLkdoH8wbrgDq8r4EfWjlgCff6WH
VUR9M1AIP8dvUPazjQR3uzE=
=oPZL
-END PGP SIGNATURE-
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Script testfs.sh on Reiser3

2005-12-17 Thread Michael S. Zick
Group,

I find differences between lsattr and showattr outputs
which the script marks as errors.

Background:
Linux 2.6.14 on x86 with vserver 2.0.1 applied.
util-vserver 0.30.209
ReiserFS 3.6.14
Distribution layout is basicly Debian Sarge

Note 1: script expects a mkfs.reiserfs so I faked it with:
ln -s /usr/sbin/mkreiserfs /sbin/mkfs.reiserfs

Note 2: script calls lsattr (part of e2fsprogs) which
means that versions prior to 1.37 will silently fail.
I built e2fsprogs 1.38 to get past that one.

Here is what I am seeing, all that I can tell is that
the attributes reported are different:

Without the (-o attrs) option to mount command
[mount /dev/loop0 /mnt]

# showattr /mnt
---bui- /mnt
ui- /mnt/file_9079
---bui- /mnt/dir_9079

# ./lsattr /mnt/
./lsattr: Inappropriate ioctl for device While reading flags on /mnt/file_9079
./lsattr: Inappropriate ioctl for device While reading flags on /mnt/dir_9079
(Which seems reasonable)

Note 3: Some of the on-line documentation mentions an xattrs option to
reiserfs - my 3.6.14 only understands attrs (correct in the script).

Next, umount and mount the test file with the attrs option
[mount -o attrs /dev/loop0 /mnt]

Now we have (without any changes to the files)

# showattr /mnt
---bui- /mnt
UI- /mnt/file_9079
---Bui- /mnt/dir_9079

(Notice the changes of case with the addition of attrs
that is going to bite somebody running Reiserfs. )

# ./lsattr /mnt/
i /mnt/file_9079
- /mnt/dir_9079

Which translates as:
# ./lsattr -l /mnt/
/mnt/file_9079   Immutable
/mnt/dir_9079---

The only conclusion I can reach is either
something is broke or incomplete in lsattr
or
Perhaps the script should not be expecting 
that the output of lsattr on a reiser3 filesystem 
to make any sense.

PS: anyone tried this on reiser4?

Mike
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Script testfs.sh on Reiser3

2005-12-17 Thread Joel Soete

Hello Mike,

It's a long time I've got news from you, I was worry you could be lost in such 
'grib matrix' ;-)

Michael S. Zick wrote:

Group,

I find differences between lsattr and showattr outputs
which the script marks as errors.

Background:
Linux 2.6.14 on x86 with vserver 2.0.1 applied.
util-vserver 0.30.209
ReiserFS 3.6.14
Distribution layout is basicly Debian Sarge

Note 1: script expects a mkfs.reiserfs so I faked it with:
ln -s /usr/sbin/mkreiserfs /sbin/mkfs.reiserfs

Note 2: script calls lsattr (part of e2fsprogs) which
means that versions prior to 1.37 will silently fail.
I built e2fsprogs 1.38 to get past that one.

Here is what I am seeing, all that I can tell is that
the attributes reported are different:

Without the (-o attrs) option to mount command
[mount /dev/loop0 /mnt]

# showattr /mnt
---bui- /mnt
ui- /mnt/file_9079
---bui- /mnt/dir_9079

# ./lsattr /mnt/
./lsattr: Inappropriate ioctl for device While reading flags on /mnt/file_9079
./lsattr: Inappropriate ioctl for device While reading flags on /mnt/dir_9079
(Which seems reasonable)

Note 3: Some of the on-line documentation mentions an xattrs option to
reiserfs - my 3.6.14 only understands attrs (correct in the script).

Next, umount and mount the test file with the attrs option
[mount -o attrs /dev/loop0 /mnt]

Now we have (without any changes to the files)

# showattr /mnt
---bui- /mnt
UI- /mnt/file_9079
---Bui- /mnt/dir_9079

(Notice the changes of case with the addition of attrs
that is going to bite somebody running Reiserfs. )

# ./lsattr /mnt/
i /mnt/file_9079
- /mnt/dir_9079

Which translates as:
# ./lsattr -l /mnt/
/mnt/file_9079   Immutable
/mnt/dir_9079---

The only conclusion I can reach is either
something is broke or incomplete in lsattr
or
Perhaps the script should not be expecting 
that the output of lsattr on a reiser3 filesystem 
to make any sense.


PS: anyone tried this on reiser4?


mmm, no (not yet ;-) ) but you had right I forgot to mention that the used 
reiser prgm, in my other report was:
# dpkg -l reiser\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ NameVersion Description
+++-===-===-==
ii  reiserfsprogs   3.6.19-1User-level tools 
for ReiserFS filesystems

but release4 doesn't seems to be already available as debian pkg (even in 
experimental ;-( )

Thanks,
Joel



___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Script testfs.sh on Reiser3

2005-12-17 Thread Michael S. Zick
On Sat December 17 2005 13:49, Joel Soete wrote:
 Hello Mike,
 
 It's a long time I've got news from you, I was worry you could be lost in 
 such 'grib matrix' ;-)
 
I must be using the wrong e-mail address for you Joel,
send me an update off list.

 mmm, no (not yet ;-) ) but you had right I forgot to mention that the used 
 reiser prgm, in my other report was:
 # dpkg -l reiser\*
 Desired=Unknown/Install/Remove/Purge/Hold
 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
 uppercase=bad)
 ||/ NameVersion Description
 +++-===-===-==
 ii  reiserfsprogs   3.6.19-1User-level tools 
 for ReiserFS filesystems

I am trying version 3.6.19 now -

Might be that mkreiserfs-3.6.14 was putting garbage in
the extended attribute bits.  Not sure yet.

- - - -
# ./testfs.sh -t -F reiser -D /dev/loop0 -M /mnt
Linux-VServer FS Test [V0.10] Copyright (C) 2005 H.Poetzl
Linux 2.6.14vs2 i686/0.30.209
VCI:  0002:0001 273 0366 (ugid24)

---
testing reiser filesystem ...
[000]. xattr related tests ...
[101]. [102]. [103]. [104]. [106]. [108]. [109].
[112]. [113]. [114]. [115]. [116]. [117]. [118]. [119].
[121]. [122]. [123]. [124]. [199].
---
But the -v (verbose) is not as pretty as the -t (terse).

I do have a base install of Debian testing/main running
in a vserver - it seems to be happy (after adding an
/etc/hosts file to make apt-setup work).

Mike
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Script testfs.sh on Reiser3

2005-12-17 Thread Michael S. Zick
On Sat December 17 2005 14:08, Michael S. Zick wrote:
 I am trying version 3.6.19 now -
 
 Might be that mkreiserfs-3.6.14 was putting garbage in
 the extended attribute bits.  Not sure yet.
 
 # ./testfs.sh -t -F reiser -D /dev/loop0 -M /mnt
 Linux-VServer FS Test [V0.10] Copyright (C) 2005 H.Poetzl
 Linux 2.6.14vs2 i686/0.30.209 
 VCI:  0002:0001 273 0366 (ugid24)

Documentation induced cockpit error -

Thou shall not use the testfs.sh option:  -l  (ell) 
with this setup.

Mike
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: Why din't I recieved answers from vserver m-l?

2005-12-17 Thread Joel Soete



Joel Soete wrote:

Hello *,

I would like to thanks evrybody's help by reply to their answers but I 
didn't recieved it?


here is my mailman options:
Mail deliveryEnable
Set Digest Mode On

seems to be fixed since I switched to off this 'Set Digest Mode' off?

Hth,
Joel
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Script testfs.sh on Reiser3

2005-12-17 Thread Michael S. Zick
On Sat December 17 2005 14:40, Michael S. Zick wrote:

One more note for other newbees like myself:

Using the Debian Sarge Beecrypt (2.2.0) package with
util-vserver 0.30.209 will result in a make check failure -
the test program called by hashcalc.sh seg faults...

Building version 4.1.2 of Beecrypt from source
fixes that problem.
(I purged the Debian Beecrypt and then
I configured beecrypt with: --prefix=/usr )

Mike
 On Sat December 17 2005 14:08, Michael S. Zick wrote:
  I am trying version 3.6.19 now -
  
  Might be that mkreiserfs-3.6.14 was putting garbage in
  the extended attribute bits.  Not sure yet.
  
  # ./testfs.sh -t -F reiser -D /dev/loop0 -M /mnt
  Linux-VServer FS Test [V0.10] Copyright (C) 2005 H.Poetzl
  Linux 2.6.14vs2 i686/0.30.209 
  VCI:  0002:0001 273 0366 (ugid24)
 
 Documentation induced cockpit error -
 
 Thou shall not use the testfs.sh option:  -l  (ell) 
 with this setup.
 
 Mike
 ___
 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] Script testfs.sh on Reiser3

2005-12-17 Thread Michael S. Zick
On Sat December 17 2005 14:40, Michael S. Zick wrote:
 On Sat December 17 2005 14:08, Michael S. Zick wrote:
  I am trying version 3.6.19 now -
  
  Might be that mkreiserfs-3.6.14 was putting garbage in
  the extended attribute bits.  Not sure yet.
  
Duh... (aka: RTFM)
reiserfsck --clean-attributes device

paraphrase

If the filesystem was used by a kernel that did not support
extended attributes ... you must run this before using
a kernel with extended attributes ...

/paraphrase

Mike
  # ./testfs.sh -t -F reiser -D /dev/loop0 -M /mnt
  Linux-VServer FS Test [V0.10] Copyright (C) 2005 H.Poetzl
  Linux 2.6.14vs2 i686/0.30.209 
  VCI:  0002:0001 273 0366 (ugid24)
 
 Documentation induced cockpit error -
 
 Thou shall not use the testfs.sh option:  -l  (ell) 
 with this setup.
 
 Mike
 ___
 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