From: Guijarro, J. <jul...@hp...> - 2006-11-29 04:23:08
|
This thread started in the support list.=20 -----Original Message----- From: sma...@li... [mailto:sma...@li...] On Behalf Of Olivier Pernet Sent: 28 November 2006 16:10 To: Sma...@li... Subject: Re: [Smartfrog-developer] Fwd: [Smartfrog-support] sfStart() timeout On 11/28/06, Steve Loughran <ste...@hp...> 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=3D71&view= =3D 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=3D84&view=3Dmar= kup > > > > 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. --=20 Olivier Pernet We are the knights who say echo '16i[q]sa[ln0=3Daln100%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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Smartfrog-developer mailing list Sma...@li... https://lists.sourceforge.net/lists/listinfo/smartfrog-developer |