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] Get parameters from dom0 to domu on domu start

To: "eugene.istomin" <eugene.istomin@xxxxxxxxx>
Subject: Re: [Xen-users] Get parameters from dom0 to domu on domu start
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Thu, 28 Jul 2011 15:20:09 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 28 Jul 2011 08:21:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Jvj87E38ut0BhdbKFM5M8QmR6w6DmellE7/j6fiaXXQ=; b=K9a6aBQXAPfjebQvhj636tJnQ2VqRyrOsg1cfb9XG2KVs9eExCRnytfVycWrgDLWp1 /cm8SByrH3nyFxitR+k1gYPC2YE9429tEOstIjJZ9OAdEE6C4lQkTk8aUicto/r76pZr 0flIu7TeTD2JRZZbo3liMzs9gbgKInnpi24UI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1311755230836-4637969.post@xxxxxxxxxxxxx>
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: <1311755230836-4637969.post@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jul 27, 2011 at 8:27 AM, eugene.istomin
<eugene.istomin@xxxxxxxxx> wrote:
> Hello,
>
> I have a question about dom0<->domu xenstore interaction.
>
> Assume, we have some pv domu with some logic inside
> (like
> "if grep -Fxq "echo noop > \/sys\/block\/$DISK\/queue\/scheduler"
> $INIT_BOOTLOCAL
> then
>  echo "$DISK exist in $INIT_BOOTLOCAL"
> else
>  echo "echo noop > \/sys\/block\/$DISK\/queue\/scheduler" >>
> $INIT_BOOTLOCAL
> fi "
> )
>
> 'Cos of many gw/mtu/zabbix/bacula parameters we need to know all of this
> parameters on domu side before init 1. Assume we have some xenstore custom
> structure in xenstore, that describes thoose parameters.
>
> Is it possible to run some custom script from dom0 on domu start which:
> 1) get some extra info form config file (network name, domain name, etc)
> 2) copy some parameters from one xenstore tree (custom) to another
> (/local/$domid)?
>
> AFAK 1) is resolved by extra=".." in xm/xl config
> What about 2)?
>

To me this sounds like a better xen-devel question, see:
http://wiki.xensource.com/xenwiki/AskingXenDevelQuestions

Thanks,
Todd

-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

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

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