[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: Getting one Dom U Guest to wait to startup until another one's done starting up?


  • To: Jason Brooks <jason@xxxxxxxxxxxxxxx>
  • From: Bob Linkonij <boblnknj0@xxxxxxxxx>
  • Date: Tue, 12 May 2009 12:50:52 -0700
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 12 May 2009 12:51:37 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SfrxwLhi5n07c8axZy6Q5oW0v91T0PmVMJqlvakRaBg6Z0N3b6nX8xtAtfajCNluxk SAD6Ngfbu3QgDBiSOe/e416vvULQ0DCjmzlx2DPg0P33npIv/lP58BVygEZLJYiAnUpz BiSaS13TI5DAXcynhmvivq4VFAuJGQvPTepCY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hey Jason,

On Tue, May 12, 2009 at 12:31 PM, Jason Brooks <jason@xxxxxxxxxxxxxxx> wrote:
> Hello,
>
> I can think of an item: it's the same as if you have separate servers with
> dependencies:
>
> create another rc script that runs after the network startup.  have it use
> nmap, or something to ping the other system periodically and wait until the
> correct service(s) are up.  then exit.
>
> Assuming you are running runlevel 3, create a link in /etc/rc3.d/ called
> S<xx>Wait that points to this script.  change the <xx> part to be certain it
> runs after the networking script, but before the next script.

I never used nmap, but I guess I can figure it out. That's a good
idea.  THanks a lot.

I'm kindof surprised that Xen doesn't have a "start this after that is
up" function, because it does have a "start this after that starts"
one.

Bob

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.