[Vserver] Acceptable characters in a vserver name?

2007-05-10 Thread Guillaume Pratte

Hello,

A quick question. What are the acceptable characters in a vserver name?

I would suppose [a-z][A-Z] + '_' and '-' are ok, but are accents, spaces 
and other characters acceptable?


--
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont 
celles de son auteur et ne répresentent pas nécessairement celles de Révolution 
Linux.

Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.




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


Re: [Vserver] [Release] Stable 2.2.0 : where is the changelog?

2007-04-04 Thread Guillaume Pratte

Thanks for the change log Daniel.

Something is solliciting my curiosity though:

 - privacy for guests, which will hide things from xid 1

I am not sure I am found of that privacy thing. Isn't xid 1 the 
monitoring context? Isn't supposed to be able to see everything in the 
system? For instance, if I remember correctly, vserver-stat uses xid 1 
to mesure the memory usage of each vserver...


Maybe it's an irrational fear, but it seems to me like an invitation to 
root kits... With this privacy option, how will we be able to precisely 
account the memory usage of each vserver?


Guillaume Pratte

Daniel Hokka Zakrisson a écrit :


The major changes are:
- COW link breaking
- 2.6.19+ support (i.e. using the mainline namespaces)
- capability masking, allowing things like bind9 to run unmodified in 
guests
- artificially advancing idle time, allowing fair sharing of CPU 
resources among guests

- accounting APIs, making it easier to write monitoring programs

And a few of the rather minor/less useful changes:
- allows raising the bcapabilities of a guest while it's running
- virtualized time
- the ability to create private guests, that cannot be easily 
administered from the host
- warnings without CONFIG_VSERVER_DEBUG (so Debian users will see them 
too...)

- legacy disabled by default (so util-vserver 0.30.213+ recommended)
- privacy for guests, which will hide things from xid 1
- a scheduling monitor




--
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont 
celles de son auteur et ne répresentent pas nécessairement celles de Révolution 
Linux.

Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.




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


Re: [Vserver] [Release] Stable 2.2.0 : where is the changelog?

2007-04-04 Thread Guillaume Pratte

Daniel Hokka Zakrisson a écrit :

Guillaume Pratte wrote:
Maybe it's an irrational fear, but it seems to me like an invitation 
to root kits... With this privacy option, how will we be able to 
precisely account the memory usage of each vserver?
vserver-stat in util-vserver 0.30.213 doesn't use xid 1 anymore (if 
you have a recent enough kernel that has the accounting APIs).
Can you tell me in which version of the patch the accounting APIs where 
introduced? (Is it in the just-released 2.2.0?)


Can you point me toward the documentation of these APIs?

--
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont 
celles de son auteur et ne répresentent pas nécessairement celles de Révolution 
Linux.

Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.




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


Re: [Vserver] [Release] Stable 2.2.0 : where is the changelog?

2007-04-02 Thread Guillaume Pratte

Hello,

Where can I find the change log from version 2.02? I don't see it linked 
from http://www.13thfloor.at/vserver/s_rel26/v2.2.0/


Thanks!

Guillaume

Herbert Poetzl a écrit :

Greetings Community!

after a longer rc stage, to get rid of all the
minor issues, we proudly present the first release
of the new stable 2.2 branch, which includes all
the 'considered stable' features of the previous
devel branch (2.1.x) which has been superceded by
the 2.3.x devel branch ...

http://www.13thfloor.at/vserver/s_rel26/v2.2.0/
(tools supposed to work fine on Mandriva 2007.x)

thanks to all who helped in development and did
test the release candidates ...

enjoy,
Herbert

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

--
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont 
celles de son auteur et ne répresentent pas nécessairement celles de Révolution 
Linux.

Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.




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


Re: [Vserver] OCS Inventory

2007-03-23 Thread Guillaume Pratte

Herbert Poetzl a écrit :

you might want to check with the source (of OCS Agent)
what the application actually does with /dev/mem
  
As far as I know, OCS only uses /dev/mem to check if the script has root 
access. Commenting the lines in the script enable the agent to run in a 
vserver without the security implications of giving access to the guest 
to that device.


We use OCS in vservers at Revolution Linux and with that small patch it 
is working pretty well.


--
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont 
celles de son auteur et ne répresentent pas nécessairement celles de Révolution 
Linux.

Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.


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


[Vserver] An efficient solution to monitor disk space, swap and memory of vservers with Nagios

2007-01-03 Thread Guillaume Pratte

Hello,

If you use Nagios to monitor your vservers, you might be tired of always 
having to change Nagios' configuration each time you add a new LVM for 
vserver. Or maybe you just want something simple to configure that 
monitors ALL mount point without having to configure the alert thresold 
for each.


If this is the case, I developped a plugin that will interest you! With 
the release of vsmon-0.5, which include many improvements (see 
http://vsmon.revolutionlinux.com/Virtual_server_monitor:Change_log), 
comes a new Nagios plugin to automatically monitor all mount points of 
the host plus the memory and the swap, using the vsmon backend. vsmon is 
licensed under the GPL.


Details about this new plugin are available here :
http://vsmon.revolutionlinux.com/Virtual_server_monitor:Nagios_plugin

I am using the plugin with dozens of hosts at Révolution Linux, even via 
VPN connections to clients. You can also use the plugin/backend 
combination on hosts that don't have the Linux-VServers tools installed.


vsmon-0.5's frontend also includes a new search field that allows for 
live query to search for the location of a particular vserver in the park.


Hoping this mail was not too much off-topic :-) For more informations, 
see this URL : http://vsmon.revolutionlinux.com


Thanks,

--
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont 
celles de son auteur et ne répresentent pas nécessairement celles de Révolution 
Linux.

Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.

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


Re: [Vserver] memory usage

2006-10-13 Thread Guillaume Pratte

Chuck a écrit :

is there a way to see how much memory a particular guest is using? maybe 
something similar to the free command? i have no memory limitations on these 
first few.


I humbly suggest that you also look at vsmon, which displays in a web 
page the equivalent of vserver-stat, and more :


http://vsmon.revolutionlinux.com/

--
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont 
celles de son auteur et ne répresentent pas nécessairement celles de Révolution 
Linux.

Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.




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


Re: [Vserver] Virtual server monitor

2006-09-28 Thread Guillaume Pratte




Tom Laermans a crit:

  On Tue, 2006-09-26 at 22:38 -0400, Guillaume Pratte wrote:
  
  
Hello,

I would like to have the opinion of the mailing list about a tool I just 
released called 'Virtual server monitor' or 'vsmon' for short : 

http://vsmon.revolutionlinux.com/

  
  
Looks great! Once you have some .deb's I'll have to try it out ;)
  

Please help yourself : 

http://vsmon.revolutionlinux.com/Virtual_server_monitor:Installation#Debian_testing.2Funstable

The packages are far from beeing perfect, but they work :-)

-- 
Guillaume Pratte
Recherche et dveloppement
Rvolution Linux

Toutes les opinions et les prises de position exprimes dans ce courriel sont celles de son auteur et ne rpresentent pas ncessairement celles de Rvolution Linux.

Any views and opinions expressed in this email are solely those of the author and do not necessarily represent those of Revolution Linux.



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


Re: [Vserver] Virtual server monitor

2006-09-27 Thread Guillaume Pratte

Tom Laermans a écrit :


I was planning to make something similar like this, but with a different
sort of backend, being an extension into snmpd. I've made different
scripts already to be able to monitor daemon stuff through cacti, and
was planning on making on one side some nice graphs about load and
memory and such, and otherwise an overview page with all the info on it.
 


I would suggest you look at collectd :

http://collectd.org/

It collects system information every 10 seconds and writes it into an 
RRD database. It is implement in C and seems to consume almost nothing 
in term of ressources on the host. It can monitor vservers too! And it 
is dead simple to configure.


It comes with a simple Perl CGI script to display the graphs. Have a 
look at these examples :


http://tokkee.org/cgi-bin/collection.cgi
http://tokkee.org/cgi-bin/collection.cgi/vserver-42097
http://zethradon.no-ip.org:36987/cgi-bin/collection.cgi

The first two links point to the server of the author of collectd 
(Sebastien Harl). The second is an example of vserver monitoring. The 
third link is my personnal machine.


I plan to integrate collectd to vsmon eventually.

--
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont 
celles de son auteur et ne répresentent pas nécessairement celles de Révolution 
Linux.

Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.


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


[Vserver] Virtual server monitor

2006-09-26 Thread Guillaume Pratte
Hello,

I would like to have the opinion of the mailing list about a tool I just 
released called 'Virtual server monitor' or 'vsmon' for short : 

http://vsmon.revolutionlinux.com/

It is a web-based interface with the primary feature to list all vservers 
running on all hosts visible by the interface. It also displays some basic 
statistics such as uptime, memory usage, number of process, etc. Basically, 
it is a distributed vserver-stat on steroids :-)

It was developed to answer the question Where the heck is that vserver 
running?, and thus offer a web page where it is possible to use the find 
dialog of the web browser to trace back on which host a particular vserver 
guest is running.

It is developped entirely using Python. The web frontend uses Django [1], one 
of the best Python-based web framework currently available. Communication 
between the backend and the frontend is assured by Pyro [2].

[1] http://www.django-project.com/
[2] http://pyro.sf.net/

I am aware of the existance of OpenVCP, but I chose to write my own 
application, one reason being that I wanted to develop using Python all the 
way and not C and PHP. 

For now, the only easy way to install vsmon is by running Mandriva 2006, but I 
hope to support Debian also in the future. Installing by source is possible, 
but not easy. However, I will provide support to people posting on the vsmon 
mailing list (https://lists.sourceforge.net/lists/listinfo/vsmon-users).

Feedback is appreciated :-)

Thanks,

Guillaume Pratte
Software engineer
Revolution Linux
http://vsmon.revolutionlinux.com/

--
Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver