FW: [Smartfrog-developer] Fwd: sfStart() timeout

"Guijarro, Julio" <[email protected]> Wed, 29 Nov 2006 04:24:02 -0000
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
This thread started in the support list. 

-----Original Message-----
From: smartfrog-developer-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-developer-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
Olivier Pernet
Sent: 28 November 2006 16:10
To: Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [Smartfrog-developer] Fwd: [Smartfrog-support] sfStart()
timeout

On 11/28/06, Steve Loughran <[email protected]> wrote:
> Olivier Pernet wrote:
>
> >
> > While I was at CERN this summer, we ran into the same problem when
> > deploying Xen virtual machines.
> > What I did was a bit different : I started a thread pinging the new
> > virtual machine every N seconds, reporting to a set of Observers
when
> > the VM was brought up, or died.
> >
http://smartdomains.svn.sourceforge.net/viewvc/smartdomains/trunk/src/ch
/cern/openlab/smartdomains/DomainMonitoringThread.java?revision=71&view=
markup
> >
> > Then, in the XenDomainManager component (the SmartFrog component),
the
> > sfStart() method waits to be notified of the VM creation :
> >
http://smartdomains.svn.sourceforge.net/viewvc/smartdomains/trunk/src/ch
/cern/openlab/smartdomains/XenDomainManager.java?revision=84&view=markup
> >
> > All in all it's pretty simple.
> >
> > Cheers
> >
>
> ok, so if we were to have a Condition interface, you'd have a new
> XenNodeUp condition that could be tested and integrated with workflow?
>
> I like the idea of having a component that could observe one or more
> conditions and get notified when any of them changed state. It would
be
> a workflow component that would use the condition as a trigger
>
>
> something extends Trigger {
>     condition extends XenNodeUp { hosts [ .. ]; }
>
>     action extends Sequence { ... }
>
>
> }

Sound good, we could certainly do that. I'm not sure I will, though -
I'm only doing SmartDomains on my spare time those days, but it would
probably be done anyway.

-- 
Olivier Pernet

We are the knights who say
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc

------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Smartfrog-developer mailing list
Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-developer

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV