on 05-08-2009 3:37 PM
Hello all,
Is it possible (maybe with jcmon) to schedule a single server node restart within a j2ee cluster ?
I would like to restart just one out of 4 server nodes on which ther are sometimes memory issues and where there are dedicated jobs running
thanks and regards,
MIchele
Hi Donna
If you are on unix/linux then you can pass options to jcmon over a pipe. This will restart the server1 node:
echo "20\n5\n2\ny\n0\n0\n" | jcmon pf=SID_DVEBMGS00_host
20\n5\n2\ny\n0\n0\n decodes like this:
20 -> goto local administration menu
5 -> restart process
2 -> restart server node 1 (change this to your server node number)
y -> yes i want to restart it
0 -> exit local admin menu
0 -> exit jcmon
This command can be included into a script and scheduled in cron.
Best regards, Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried it on hp-ux and on linux, worked for me, but i don't have AIX sitting around to test. I suggest to start with an easy example like this.
Just execute jcmon and exit:
sidadm> echo "0\n" | jcmon pf=SID_DVEBMGS00_host
If you have any error you can post it, i will see if i can help.
Regards, Michael
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.