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] Run scripts at guest startup

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Run scripts at guest startup
From: Felix Kuperjans <felix@xxxxxxxxxxxxxxxxxx>
Date: Sun, 13 Jun 2010 22:58:32 +0200
Delivery-date: Sun, 13 Jun 2010 14:01:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C153BC1.1020206@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C153525.9080804@xxxxxxxxxxx> <4C153837.9000400@xxxxxxxxxxxxxxxxxx> <4C153BC1.1020206@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100613 Shredder/3.0.4
Hi Jonathan,

I don't know of any tutorial, but I personally found reading the
existing scripts (probably ignore vif-nat and prefer
vif-bridge/vif-route) quite straight forward.
A good start is to copy one of the scripts and extend it to one's own
needs. The XEN Wiki also explains some basics, but I can't remember a
real tutorial or reference. It also depends too much on the specific
situation / needs.

Regards,
Felix

Am 13.06.2010 22:12, schrieb Jonathan Tripathy:
> Hi Felix,
>
> Ah yes of course, I forgot about that!
>
> Do you know any good tutorial on how to make your own vif-scripts?
>
> Btw, thank you for your excellent post before regarding my other
> issue. I will try that out when I get a bit more time.
>
> Thanks
>
> Jonathan
>
> On 13/06/10 20:57, Felix Kuperjans wrote:
>> Hi Jonathan,
>>
>> iptables commands usually go to individual vif-scripts. That will be
>> executed when the vif comes up/down. AFAIK, there is no way to execute a
>> script directly at creation time (but the vif-script is executed before
>> the domain is actually started).
>>
>> Regards,
>> Felix
>>
>> Am 13.06.2010 21:44, schrieb Jonathan Tripathy:
>>   
>>> Hi everyone,
>>>
>>> Hopefully an easy question.
>>>
>>> Is there some way I can execute a generic script on the Dom0 when a
>>> DomU starts up? I have a script which will execute some iptables
>>> commands
>>>
>>> Thanks
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-users
>>>
>>>      
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>    
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

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

<Prev in Thread] Current Thread [Next in Thread>