Please help me on Parallel deployment
helcyon1-ss4n/[email protected]
| Newsgroups | gmane.comp.java.smartfrog.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm a Phd student in Georgia Tech who is researching automatic deployment
using Smartfrog system.
Currently, I try to deploy 3-tier system composed of MySQL, Tomcat,
Apache, and JPetstore using Smartfrog version 3.04.008_beta.
In this project, I need to control the workflow of the deployment. That is,
When installing MySQL, Tomcat, and Apache, they must be parallelly
installed to target machines. But when configuring them, it must be
controlled by the order defined in the workflow.
Now, the installation of 3-tier is not parallelly.
Can you tell me the reason?
The below is the simplified sf file I made for the deployment.
Thanks,
----------------------------------------------------------------
sfConfig extends Sequence{
actions extends LAZY{
do_qq extends Run{
action extends LAZY Parallel{
sfProcessComponentName "eventQueue";
queue_Apache_Installation extends EventQueue;
queue_Apache_Configuration extends EventQueue;
queue_Apache_Ignition extends EventQueue;
queue_Tomcat_Installation extends EventQueue;
queue_Tomcat_Ignition extends EventQueue;
queue_MySQL_Installation extends EventQueue;
queue_MySQL_Configuration extends EventQueue;
queue_MySQL_Ignition extends EventQueue;
}
}
do_ww extends Run{
action extends LAZY Parallel{ //This part must be parallel
actions extends LAZY{
// the below components are written at the above sfCofig.
// they are omitted in this simplified code.
// they contain the event machanism using queues defined
// above to install, config, and run.
mymysql_ins extends mysql_ins;
mytomcat_ins extends tomcat_ins;
myapache_ins extends apache_ins;
myapache_conf extends apache_conf;
mymysql_conf extends mysql_conf;
mymysql_ig extends mysql_ig;
mytomcat_ig extends tomcat_ig;
myapache_ig extends apache_ig;
}
}
}
}
}
-----------------------------------------------------------------------
-------------------------------------------------------
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