[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBM 1.4 installation script

gaohoward do-not-reply at jboss.com
Thu Jan 1 09:49:21 EST 2009


OK Tim. I wrote a script to automate the JBM 1.4 installation process. Currently JBM 1.4 has an ant script release-admin.xml to help us do the installation. But it only does the half job. A lot configurations need to be done by hand. This is a time consuming process. The script I wrote is trying to make the whole installation process done automatically. It is written in perl as I think of perl to be very good at text file manipulation.

To run the script,

  | ./install_jbm14.pl --jbm14inst=<jbm14 installation dir> --jboss-home=<jboss home> --node-base=<node name> --n-node=<num of nodes> --clustered  --db=<mysql>
  | 

example:

  | ./install_jbm14.pl --jbm14inst=/home/howard/apps/jboss-messaging-1.4.2.GA --jboss-home=/home/howard/jboss-4.2.3.GA --node-base=messaging-node --n-node=2 -clustered --db=mysql
  | 

the above will install two clustered JBM nodes named messaging-node0 and messaging-node1, using mysql as the database.

For details please look at the scripts itself, it's pretty straightforward.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199114#4199114

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199114



More information about the jboss-dev-forums mailing list