ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Automatic start of MQ/QueueMgr in HP-UX ?

Post new topic  Reply to topic
 Automatic start of MQ/QueueMgr in HP-UX ? « View previous topic :: View next topic » 
Author Message
Rahul999
PostPosted: Mon Nov 24, 2008 12:38 am    Post subject: Automatic start of MQ/QueueMgr in HP-UX ? Reply with quote

Centurion

Joined: 14 Mar 2007
Posts: 134

Hello All,

Is there any way we can set the Queue manager so that it start automatically once the UNIX(HP-UX) server is rebooted.

I know there is a control parameter called StartType in windows which you can set to Automatic so that QM start once the Windows server is rebooted.

I was looking something like that in UNIX server, I know there are some startup/shutdown scripts you can write and put in UNIX server, but is there any configurable parameter in MQ/QM which we can set for automatic startup of Queue Manager.

Many Thanx !
Regards,
Rahul
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vitor
PostPosted: Mon Nov 24, 2008 1:59 am    Post subject: Re: Automatic start of MQ/QueueMgr in HP-UX ? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Rahul999 wrote:
Is there any way we can set the Queue manager so that it start automatically once the UNIX(HP-UX) server is rebooted.


Yes, the same way as your site starts all the other processes on reboot. Speak to your local box admin for details of how they do it & what information you need to supply them to include the queue manager in the list.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Rahul999
PostPosted: Mon Nov 24, 2008 2:25 am    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2007
Posts: 134

Hi Vitor,

Box team will again ask for script to start it.

I am looking something which we can set independent of the box admin team.

Is there any parameter which we can set from MQ side ?

Regards,
Rahul
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Mon Nov 24, 2008 6:05 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

There is nothing like that in MQ for Unix. You write a script, and the server guys set it up so your script gets called at the appropriate time after a reboot.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Mon Nov 24, 2008 5:00 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

yes, its an initd (initialise daemon) script that has a standard arguments and a standard file name, which varies with different flavours of Unix. Here's a very simple example:

Quote:
#!/sbin/sh
export PATH=/sbin:/usr/sbin:/usr/bin:/opt/mqm/bin
QMGRS=`( cd /var/mqm/qmgrs ; ls -d [a-zA-Z]* | tr ! . )`

case $1 in
start)
for QMGR in $QMGRS
do
su - mqm -c "strmqm ${QMGR}" >/dev/null 2>&1
done
;;
stop)
for QMGR in $QMGRS
do
su - mqm -c "endmqm ${QMGR}" >/dev/null 2>&1
done
;;
start_msg)
echo "Starting MQ"
;;
stop_msg)
echo "Stopping MQ"
;;
restart)
echo "$0 restart not implemented"
;;
status)
echo "$0 status not implemented"
;;
*)
echo "usage: $0 start|stop|start_msg|stop_msg|restart|status"
;;
esac
exit 0

_________________
Glenn
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Automatic start of MQ/QueueMgr in HP-UX ?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.