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 IndexClusteringIssue while adding queue manager to cluster

Post new topicReply to topic Goto page 1, 2  Next
Issue while adding queue manager to cluster View previous topic :: View next topic
Author Message
yanaK
PostPosted: Tue Jun 09, 2020 12:51 am Post subject: Issue while adding queue manager to cluster Reply with quote

Acolyte

Joined: 28 May 2020
Posts: 69

I am trying to add one q mgr into an existing cluster (I backed up a full repo say A config and restored in the new one say B).

I define the CLUSSDR and CLUSRCVR channels in B and start them.
However after a while I see the CLUSRCVR picked up a completely different CONNAME/RQMNAME (say C)than what I defined.

I did a
Code:
dis chl
and it showed correct definition. But when I
Code:
dis chs
it is running that different channel.
I tried stopping and starting but no luck.

I then logged into the full repo q mgr A and I see that the CLUSRCVR has the same CONNAME/RQMNAME (i.e. C) as the new one. And it has another
CLUSRCVR that points to a totally different CONNAME and the RQMNAME is B.

So I must be doing something wrong while restoring the config. Where does the q mgr pickup these config from? Can I edit that file manually? Also is there a command that can check overall cluster health? Like if all the nodes can talk to each other?

Thanks
Back to top
View user's profile Send private message
hughson
PostPosted: Tue Jun 09, 2020 1:48 am Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

Can you tell us what you did to back up and restore the config?

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
exerk
PostPosted: Tue Jun 09, 2020 2:45 am Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Clustering of queue managers is considered to be an advanced topic.

Again, push back on management for training, or persuade them to bring in a consultant to advise. Point out that training will be the cheaper option!
_________________
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
yanaK
PostPosted: Tue Jun 09, 2020 7:51 am Post subject: Reply with quote

Acolyte

Joined: 28 May 2020
Posts: 69

Quote:
Can you tell us what you did to back up and restore the config?

$ dmpmqcfg -m MPSA -a > MPSA.060820.mqsc
$ dmpmqcfg -m MPSA -o setmqaut > MPSA.060820.aut.sh
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jun 09, 2020 8:16 am Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

yanaK wrote:
Quote:
Can you tell us what you did to back up and restore the config?

$ dmpmqcfg -m MPSA -a > MPSA.060820.mqsc
$ dmpmqcfg -m MPSA -o setmqaut > MPSA.060820.aut.sh

Did you then edit the outputs and substitute the queue manager name and IP Address/Listener Port details, and any other requisite information, for the new queue manager's?
_________________
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
bruce2359
PostPosted: Tue Jun 09, 2020 8:22 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

How did you create the new qmgr? Please be precise. What command did you use?

How did you do the restore?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
yanaK
PostPosted: Tue Jun 09, 2020 9:43 am Post subject: Reply with quote

Acolyte

Joined: 28 May 2020
Posts: 69

Quote:
Did you then edit the outputs and substitute the queue manager name and IP Address/Listener Port details, and any other requisite information, for the new queue manager's?


Yes

Quote:
How did you create the new qmgr? Please be precise. What command did you use?


Code:
crtmqm MPSA1


Quote:
How did you do the restore?


Code:
runmqsc MPSA1 < MPSA. 060820.mqsc
chmod 755 MPSA.060820.aut.sh
./MPSA.060820.aut.sh


Last edited by yanaK on Tue Jun 09, 2020 12:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jun 09, 2020 10:27 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

You created second qmgr with the exact same name MPSA?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jun 09, 2020 10:35 am Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

bruce2359 wrote:
You created second qmgr with the exact same name MPSA?

Looks like it to me...
_________________
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
bruce2359
PostPosted: Tue Jun 09, 2020 10:54 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

exerk wrote:
bruce2359 wrote:
You created second qmgr with the exact same name MPSA?

Looks like it to me...

Let confusion reign.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jun 09, 2020 11:29 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

https://www.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.con.doc/q017210_.htm
Says:
Quote:
Each cluster queue manager must have a name that is unique throughout all the clusters of which it is a member.

Please, oh please, take an MQ Sysem Administration training course.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
yanaK
PostPosted: Tue Jun 09, 2020 12:12 pm Post subject: Reply with quote

Acolyte

Joined: 28 May 2020
Posts: 69

Apologies for the confusion I edited the name
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jun 09, 2020 12:38 pm Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

yanaK wrote:
Apologies for the confusion I edited the name

Please be precise. What do you mean by “ ...edited the name.”

How? Where?

Am I supposed to reread your earlier post looking for your editing?

Please make this a bit easier to help you.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jun 09, 2020 12:48 pm Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

yanaK wrote:

[code]runmqsc MPSA1 < MPSA. 060820.mqsc

This command would have failed due to invalid file name.

Please copy and paste the exact commands you type, AND the results.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
yanaK
PostPosted: Tue Jun 09, 2020 4:12 pm Post subject: Reply with quote

Acolyte

Joined: 28 May 2020
Posts: 69

I followed the steps here https://www.ibm.com/support/pages/steps-export-object-definitions-and-messages-one-mq-queue-manager-host-1-and-import-them-another-queue-manager-host-2

I don't have the exact commands any more
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum IndexClusteringIssue while adding queue manager to cluster
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.