WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Limit the BW and control trafic of a guest

On Mon, 2007-06-11 at 07:08 +0200, Pascal wrote:

> Hmmm, I see the concept but don't understant the .sh suffix, on what
> do you set this .sh suffix ?

By saying .sh , I just meant a shell script parsed with whatever /bin/sh
happens to be pointing to. 

I run shell scripts upon startup and shutdown of all guests. This is
easly done by modifying xendomains to run a script with a name identical
to the dom-u config file, but ending in something like .sh

I then use scripts to call XM, which also run the per-guest scripts. 

My scripts are convenient, but I will be switching over to Xen's new API
soon because its now senseless not to do so. However, just because I use
the API doesn't mean you should. You should find a method that all of
your techs are comfortable with. There's no sense in using the API if
nobody on your team understands XML. Likewise, having stuff nobody knows
how to fix is bad.


Best,
--Tim



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users