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] Getting hostname of DomainU from domain0

To: "Nalini Vidapankal" <nvidapan@xxxxxxxxxx>
Subject: Re: [Xen-users] Getting hostname of DomainU from domain0
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Fri, 8 Feb 2008 17:49:35 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Feb 2008 04:20:43 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=NXYInaWtC4DjLePbF+TXcTmQyQacyGjB/gJ/kasjmWY=; b=fQNyjXMWH7bG7RdBIe9cop4uqbdYHu6gjUONlZ5/8hdUSwZAv+f3UFWBP/KuMLd8fWaqmP7Hgdhn/T6tYSkg6L0SiPFc1JipyjWzw47BagzOUaHKRxmwGguUJfgItywAYHlgW0GMx5lb2FIoUHU8U9mY0UIMR7QoAzSLlKqBbBw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=QvABPm1/d/DriUots7NS2Jv5HD8VF4z588eqZZRfo9zKxdG/kWQ+lD1bLX5+0FQlHpnw7aQaMGuaCDoJC5fCLoZSpjFzCNGHqCPkECVni5AZR7hoE39E8fp7iuUWZSXnsqwWExElbaday1n2QOXDFMKgC/H4YzhD457U2/1FfTs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <OF111BF1CC.D1A0CA45-ON652573E9.0041B87B-652573E9.004219C2@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <OF111BF1CC.D1A0CA45-ON652573E9.0041B87B-652573E9.004219C2@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


Could you mount root file system of the guest domain ? If yes then you could mount and can see the /et/hosts file to know the host name, but it should be there.

Else if you know the ip address of the domain, then could ssh and see the hostname  by running hostname command on domU via ssh.

Else you have to see the console of domU and see the ip and hostname via console of domU.

Thanks
Trilok

On Feb 8, 2008 5:23 PM, Nalini Vidapankal <nvidapan@xxxxxxxxxx> wrote:

Hi,

I am a newbee to Xen.. was trying out something on RHEL5.1. I am hosting a VM that is RHEL4 on the dom0. Was looking for how to get the hostname of the domainU from dom0?

Thanks for your help
-N

_______________________________________________
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>