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 » WebSphere MQ With High Availability Cluster on UNIX (HACMP)

Post new topic  Reply to topic
 WebSphere MQ With High Availability Cluster on UNIX (HACMP) « View previous topic :: View next topic » 
Author Message
shilpa.sabade
PostPosted: Thu Jul 14, 2011 1:15 pm    Post subject: WebSphere MQ With High Availability Cluster on UNIX (HACMP) Reply with quote

Voyager

Joined: 23 Feb 2011
Posts: 76

Step 1 : Prerequisites : On both Primary and Secondary server create ,
mqm group,
mqm id – part of mqm group.
/var/mqm filesystem with 500 MB space.
/var/mqm/errors filesystem with 500 MB space.


Step 2 : Prerequisites : Create 2 shared filesystems. One for queue manager data,
And one for queue manager logs .
These filesystems should be created in volumevg. These filesystems will switched between the nodes of the HA cluster(primary –secondary servers ) when failover occurs so that the data is available wherever the queue manager is restarted.

Queue manager data directory  /var/mqm/Appname
Queue manager log directory  /var/mqm/log/Appname

Example :
/var/mqm/myAPP
/var/mqm/log/myAPP

Step 3 : MQ installation : MQ has to be installed on both Primary and Secondary servers. There is no change to the installation procedure.

Step 4 : Creating Queue Manager : On Primary Server
a . mount queue manager data and log filesystems .
b. create queue manager using crtmqm command ,specify data directory and log directory.
Example :
crtmqm -q -lp 3 -ls 2 -lc -lf 1024 -md /var/mqm/myAPP -ld /var/mqm/log/myAPP myAPPQMGR
here : /var/mqm/myAPP Data directory
/var/mqm/log/myAPP  Log directory

c. start queue manager , complete initial configurations such as creating listener, queues , channels etc.
d. stop queue manager.
e. Execute dspmqinf command to display addmqinf command . addmqinf command we will be using , while configuring queue manager on secondary server. Note output of dspmqinf command
Example:
Execute : dspmqinf -o command myAPPQMGR
Output : addmqinf -s QueueManager -v Name=myAPPQMGR -v Directory=myAPPQMGR1 -v Prefix=/var/mqm -v DataPath=/var/mqm/myAPP/myAPPQMGR

f. unmount queue manager data and log filesystems.

Step 5: Queue Manager configurations : On Secondary server :

a. mount queue manager data and log filesystems.
b. Execute addmqinf command .

Example : addmqinf -s QueueManager -v Name=myAPPQMGR -v Directory=myAPPQMGR1 -v Prefix=/var/mqm -v DataPath=/var/mqm/myAPP/myAPPQMGR
Addmqinf command basically edit mqs.ini file and updates queue manager stanza.
c. Start queue manager , verify that all the objects are available and accessible.
d. Stop queue manager
e. Unmount filesystem from secondary server.
f. Mount filesystems on primary server and start queue manager.

Step 6: MQ startup scripts :

a. install and configure mq startup scripts on both primary and secondary servers.
b. MQ start scripts should also be configured with HA cluster. i.e HA cluster should be able to issue:
ms.sh start and
ms.sh stop.

(This configuration has to be done by Engineer configuring HA cluster )

Step 7 : In case of failover :

a . HA cluster , should execute,
On Primary server : ‘ms.sh stop’ first and umount file systems.
On Secondary Server : mount filesystems and execute : ‘mq.sh start’
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Jul 14, 2011 1:34 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

As with your other post - is there a question here?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
shilpa.sabade
PostPosted: Fri Jul 15, 2011 8:53 am    Post subject: Reply with quote

Voyager

Joined: 23 Feb 2011
Posts: 76

I just thought of sharing the things i worked on. Is there a other forum to post these things .....?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 15, 2011 9:01 am    Post subject: Reply with quote

Grand High Poobah

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

shilpa.sabade wrote:
I just thought of sharing the things i worked on. Is there a other forum to post these things .....?


Twitter?

Start a blog and post a link to it?

This forum's more for sharing "I tried to put a v7 queue manager under HA and you won't believe what happened or what we had to do to fix it" rather than "I tried to put a v7 queue manager under HA and it worked just like the documentation said it would".

And of course "I tried to put a v7 queue manager under HA and you won't believe what happened - does anyone know why and what I can do about it".
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Jul 15, 2011 10:53 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I think it's useful. Shows the new HA support (addmqinf) etc, being used for other than Multi Instance.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Jul 15, 2011 10:56 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

shilpa.sabade wrote:
I just thought of sharing the things i worked on. Is there a other forum to post these things .....?

There isn't as such, no. Thank you for taking the time to share your experiences. Don't worry too much about Vitor, he's a pussy cat really - but in the Greebo mould.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 15, 2011 11:49 am    Post subject: Reply with quote

Grand High Poobah

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

zpat wrote:
I think it's useful. Shows the new HA support (addmqinf) etc, being used for other than Multi Instance.


One of the problems with being this sarcastic is you have to subtitle it when you're being serious.

I think they'd be value in a blog by someone new (or new-ish) to the product and the marketplace. I think a fresh view might be interesting.

Greebo? I am slightly more presentable than that I think. Slightly.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Jul 15, 2011 12:03 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Vitor wrote:
Greebo? I am slightly more presentable than that I think. Slightly.

I was referring more to the personality aspect
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 15, 2011 12:06 pm    Post subject: Reply with quote

Grand High Poobah

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

exerk wrote:
Vitor wrote:
Greebo? I am slightly more presentable than that I think. Slightly.

I was referring more to the personality aspect


Well, that's fine then.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » WebSphere MQ With High Availability Cluster on UNIX (HACMP)
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.