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] Fixing Domain ID for DomU

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Fixing Domain ID for DomU
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Fri, 25 Sep 2009 08:58:30 +0700
Delivery-date: Thu, 24 Sep 2009 18:59:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4ABB83990200009900049808@xxxxxxxxxxxxxxxxxxxxx>
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: <4ABB83990200009900049808@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Sep 25, 2009 at 3:35 AM, Nick Couchman <Nick.Couchman@xxxxxxxxx> wrote:
>>>> On 2009/09/24 at 08:12, Antti Kanes <antti.kanes@xxxxxxxx> wrote:

>> Can the domain id be fixed and if so, how? (And if not, why not?)
>>
>> It'd make life much easier with monitoring, say, vif interfaces if
>> they'd stay the same after a reboot of a domU.


> No, you cannot fix the domain ID - this is an auto-incrementing number that 
> Xen assigns at each start.  You should be able to use the information in 
> xenstore to monitor interfaces via the domain name instead of the domain ID.

For vif monitoring you can make it have persistent name using
"vifname" on vif line. See "xm create --help_config"

-- 
Fajar

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

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