Tuesday, August 07, 2012

Auto Starting WebSphere Network Deployment V8 on AIX

We have very basic AIX, with no bells or whistles installed.
To create a launch script, the startmanager, startserver, and starnode scripts will generate this for you.  The command is
./startManager.sh -script -background
or
./startNode.sh -script -background
or
 ./startServer.sh -script -background

.. as appropriate...

In my case, I'm going to auto-start the deployment manager and the node agent, and then use the WAS monitoring policy to handle the individual app servers.

So, the steps are:

  1. Generate the startup scripts using the above commands.
  2. make a copy of rc.was (found in the was bin directory) for the deployment manager, and another for the node agent.  I called these rc.dm.was and rc.na.was.
    1. Edit these to point to the start_dmgr.sh and start_nodeagent.sh scripts generated above
  3. create entry in etc/Inittab for the two files created in step 2
    1. was:2:once:/usr/WebSphere/AppServer/bin/rc.dm.was >/dev/console 2>&1
    2. was:2:once:/usr/WebSphere/AppServer/bin/rc.na.was >/dev/console 2>&1
And, that should do it.  Let's see if it works :-)



 

2 comments:

JoeBoy said...

Hmmmm. This didn't work. Looking into...

JoeBoy said...
This comment has been removed by the author.

I had previous written very breifly about  creating a report on disk space using WMI A much better, and very concise instruction for qu...