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 » General IBM MQ Support » Automatic Queue Manager Starts on Solaris.

Post new topic  Reply to topic
 Automatic Queue Manager Starts on Solaris. « View previous topic :: View next topic » 
Author Message
Pablo Taboada
PostPosted: Mon Sep 10, 2007 1:28 am    Post subject: Automatic Queue Manager Starts on Solaris. Reply with quote

Apprentice

Joined: 19 Jul 2007
Posts: 36
Location: Spain - Barcelona

Is it possible to configure Automatic Queue Manager Start on Solaris?

WebSphere MQ Version is 6.0.
Solaris version is 8.

There must be something as "amqmdain auto QMGR_NAME" on Windows.
I would need that when server restarts, Queue Manager starts automatically.
I would like make it with a WebSphere MQ command and not with shell script.

A lot of thans...
_________________
Regards,
Pablo Taboada
INSA - IBM Global Services
WebSphere MQ System Administrator Certified
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Sep 10, 2007 1:34 am    Post subject: Reply with quote

Grand High Poobah

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

Have you spoken to your Solaris admin?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Pablo Taboada
PostPosted: Mon Sep 10, 2007 1:36 am    Post subject: Reply with quote

Apprentice

Joined: 19 Jul 2007
Posts: 36
Location: Spain - Barcelona

Yes, the problem is that, I'm not Solaris Server Administrator, I'm only MQ Administrator, and Solaris Administrator desn't knows MQ.
_________________
Regards,
Pablo Taboada
INSA - IBM Global Services
WebSphere MQ System Administrator Certified
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Sep 10, 2007 1:47 am    Post subject: Reply with quote

Grand High Poobah

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

Pablo Taboada wrote:
Yes, the problem is that, I'm not Solaris Server Administrator, I'm only MQ Administrator, and Solaris Administrator desn't knows MQ.


I didn't think you'd be talking to yourself....

The Solaris Admin may not know MQ but he should know how to auto start software on the box according to site standards, and the Solaris QB manual will fill in any blanks.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Pablo Taboada
PostPosted: Mon Sep 10, 2007 2:05 am    Post subject: Reply with quote

Apprentice

Joined: 19 Jul 2007
Posts: 36
Location: Spain - Barcelona

is this mean that, the unique way to make it is across OS?
_________________
Regards,
Pablo Taboada
INSA - IBM Global Services
WebSphere MQ System Administrator Certified
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Sep 10, 2007 2:07 am    Post subject: Reply with quote

Grand High Poobah

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

Pablo Taboada wrote:
is this mean that, the unique way to make it is across OS?


No, I mean the requirements for starting software vary by platform and site. You should determine which method is in use at your site (which the box admin will know) and use the same method for this.

To answer your original question (which I should have probably done right off ) the amqdmain command is specific to Windows because of what it does & how it does it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Sep 10, 2007 2:50 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Yes you will need shell scripts.
The oracle admin should help you with these.
May I suggest a generic script is triggered by the oracle admin.
This should then trigger a script you have control of and where you can determine which qmgr starts at system start up. This way there is no need to involve the system admin if the number of qmgrs to run at start up, or stop at shutdown changes...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Mon Sep 10, 2007 9:20 am    Post subject: Re: Automatic Queue Manager Starts on Solaris. Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Pablo Taboada wrote:
Is it possible to configure Automatic Queue Manager Start on Solaris?

Did you ask your Solaris Admin for his (your company) standard 'init 3' start/stop shell script template.

Almost every Unix Admin I have ever met has one of these. It should look something like:
Code:
#!/bin/sh

case $1 in

'start')
;;

'stop')
;;

*)
  echo "Usage: $0 {start | stop}"
  exit 1
;;

esac

exit 0


And if you plugged your MQ commands into it then it would look like:
Code:
#!/bin/sh

case $1 in

'start')
   su - mqm -c "cd /opt/mqm/bin; ./strmqm MQA1 "
   su - mqm -c "cd /opt/mqm/bin; ./strmqcsv MQA1 &"
   su - mqm -c "cd /opt/mqm/bin; ./runmqlsr -m MQA1 -t TCP -p 1414 & "
   ;;

'stop')
   su - mqm -c "cd /opt/mqm/bin; ./endmqm -i MQA1; ./endmqlsr -m MQA1 &"
   ;;

*)
  echo "Usage: $0 {start | stop}"
  exit 1
;;

esac

exit 0


Hope that helps but the first thing you need to do is to talk to your Solaris Admin.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Automatic Queue Manager Starts on Solaris.
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.