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] Unable to ping guest hostname

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Unable to ping guest hostname
From: Stephen Liu <satimis@xxxxxxxxx>
Date: Thu, 18 Sep 2008 10:34:38 +0800 (CST)
Delivery-date: Wed, 17 Sep 2008 19:35:17 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=cWe+YaD0iLpQp9Ql/scU7bKyd/yA7EOuzL2ujy4AyadDf/s3GlQScukXHqKcBIkZMuUUtooOzxCRS+JBEar3DtbKjzEvyrtmcrUDe5CsQVAIyW40UuMJ1JzoMKaZ+4/phFLawdcDRLeG47MbBLiHf7PP00AFf1wA8YKgLyeU4k8=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <000c01c91904$f897c7b0$e9c75710$@Henning@prd-inc.com>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
--- Dustin Henning <Dustin.Henning@xxxxxxxxxxx> wrote:

>       I really don't know, but perhaps they are in the xenstore I see
> mentioned every so often (maybe xm new can put them in there where xm
> create
> doesn't, I don't know).  In this case, according to another ticket
> that may
> be wrong, xm delete should remove them.  If it doesn't, you might try
> xm
> shutdown before xm delete (or do they disappear when you do xm
> shutdown?).
> Did you install them using virt-install?  Perhaps some command from
> the same
> package as virt-install would remove them in that case.  These are
> stabs in
> the dark, but perhaps one of them will get you where you're looking
> to go.


Hi Dustin,


I solved my problem already.


Before switching off the PC OR rebooting PC all running Guests must be
stopped with;

# xm shutdown xen1...
# xm shutdown xen2...
etc.


If without running above step on next boot/reboot all previous running
Guest will be started automatically.  It is NOT necessary creating a
symbolic link;

# ln -s /etc/xen/xen1.example.com.cfg /etc/xen/auto
etc.

to start the Guests at boot.


I have 4 Guests created on the PC, xen1, xen2, xen3 and xen4.  xen1 and
xen2 were built with "xen-create-image".  xen3 was cloned on xen2 after
its creation.  xen4 was also cloned on xen2 but after building a mail
server on it.  All of them are working and can be ssh-connected on IP
and hostname except xen4 which can be ssh-connected on IP but NOT on
domain, complaining domain not found.  I don't know its cause.  I'll
leave it for the time being.  The problem, I suppose, is caused by
cloning a running mail server.


Are you aware is there a Xen command to update and upgrade globally,
i.e. running the Xen command on Host will automatically update/upgrade
guests of same Linux distro, similar to "vapt-get" on "Vserser". 
Thanks


B.R.
Stephen L



> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Stephen
> Liu
> Sent: Wednesday, September 17, 2008 12:34
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Unable to ping guest hostname
> 
> Hi Nemeth,
> 
> 
> I found the cause.
> 
> 
> To make "xm console hostname" work it must be executed following "xm
> create /path/to/hostname.cfg"
> 
> 
> On starting PC I found;
> 
> # xm list
> Name              ID   Mem VCPUs      State   Time(s)
> Domain-0          0  3417     2     r-----     40.7
> xen1.satimis.com  1    32     1     -b----      0.0
> xen3.satimis.com  2    32     1     -b----      0.0
> xen4.satimis.com  3    32     1     -b----      0.0
> 
> 
> They are already running.  Why and How?  I have no idea.
> 
> 
> # ls -l /etc/xen/auto
> total 0
> 
> There is no symbolic link.
> 
> 
> To make them work I must run;
> 
> # xm shutdown xen1.satimis.com
> # xm shutdown xen3.satimis.com
> # xm shutdown xen4.satimis.com
> 
> 
> and restart them
> 
> # xm create /etc/xen1.satimis.com
> # xm create /etc/xen3.satimis.com
> # xm create /etc/xen4.satimis.com
> 
> respectively.
> 
> 
> Then run
> 
> # xm console xen1.satimis.com
> # xm console xen3.satimis.com
> # xm console xen4.satimis.com
> 
> 
> All of them work.
> 
> 
> Please shed me some light how to prevent them start at boot.  TIA
> 
> 
> B.R.
> Stephen
> 
> 
> 
> --- Stephen Liu <satimis@xxxxxxxxx> wrote:
> 
> > Date: Wed, 17 Sep 2008 23:12:12 +0800 (CST)
> > From: Stephen Liu <satimis@xxxxxxxxx>
> > Subject: Re: [Xen-users] Unable to ping guest hostname
> > To: "Nemeth, Tamas" <nice@xxxxxxxxxxxxxxx>
> > 
> > 
> > --- "Nemeth, Tamas" <nice@xxxxxxxxxxxxxxx> wrote:
> > 
> > > Have you solved your problem?
> > 
> > Yes.  
> > 
> > Problem re:
> > 
> > "ping hostname"
> > 
> > and
> > 
> > "ssh user@hostname"
> > 
> > 
> > are now working.
> > 
> > 
> > Just found another problem on running the guest (all guests);
> > 
> > 
> > # xm console xen3.satimis.com
> > netfront: device eth0 has copying receive path.
> > 
> > 
> > Running all guests popup the same warning.
> > 
> > 
> > B.R.
> > Stephen L
> > 
> >  
> > 
> > 
> > Send instant messages to your online friends
> > http://uk.messenger.yahoo.com 
> > 
> 
> 
> Send instant messages to your online friends
> http://uk.messenger.yahoo.com 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 

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