RE: Please help me on Parallel deployment

"Guijarro, Julio" <[email protected]>
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <8D5B24B83C6A2E4B9E7EE5FA82627DC974FBEF@sdcexcea01.emea.cpqcorp.net>
Hi, 

There is nothing wrong with your version. The run are executed
sequentially but every run will spawn a Thread to run their action in
that separate thread and then return immediately so that the next can
continue. This effectively should run all the installations in parallel.
What do you see to say that they are run sequentially?

I you don't make every install a child of the Parallel then the parallel
will finish as soon as the last install is launched. Could it be the
problem that you see, that parallel finishes before the installs?

Julio Guijarro

> -----Original Message-----
> From: smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:smartfrog-
> [email protected]] On Behalf Of
helcyon1-ss4n/[email protected]
> Sent: 15 January 2005 02:03
> To: Guijarro, Julio; smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: RE: [Smartfrog-support] Please help me on Parallel deployment
> Importance: High
> 
> Hi,
> 
>  I need to just install MySQL, Tomcat, and Apache on separate machines
> using Smartfrog workflow mechanism.
> But it is still not working.
> Can you tell me why? is this a problem because I use a little old
version
> of smartfrog? I use version 3.04.008.
> 
> The following is the simplified sf code.
> ---------------------------------------------
> sfConfig extends Parallel{
>    actions extends LAZY{
> 
>       do_1 extends Run{
>          action extends LAZY Compound {
>              //install apache...
>          }
>       }
> 
>       do_2 extends Run{
>          action extends LAZY Compound {
>              //install tomcat...
>          }
>       }
> 
>       do_3 extends Run{
>          action extends LAZY Compound {
>              //install mysql...
>          }
>       }
>    }
> }
> -----------------------------------------------------
> Each installing job is a long running. Thus, I absolutely need three
runs
> must be run parallel.
> Why do the runs run sequencially?
> 
> Thanks,
> Gueyoung Jung
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Smartfrog-support mailing list
> Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/smartfrog-support


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.