| Author | Message | 
		
		  | yanaK | 
			  
				|  Posted: Tue Jun 09, 2020 12:51 am Post subject: Issue while adding queue manager to cluster |   |  | 
		
		  | Acolyte
 
 
 Joined: 28 May 2020Posts: 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 
 and it showed correct definition. But when I 
 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 |  | 
		
		  |  | 
		
		  | hughson | 
			  
				|  Posted: Tue Jun 09, 2020 1:48 am Post subject: |   |  | 
		
		  |  Padawan
 
 
 Joined: 09 May 2013Posts: 1967
 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 |  | 
		
		  |  | 
		
		  | exerk | 
			  
				|  Posted: Tue Jun 09, 2020 2:45 am Post subject: |   |  | 
		
		  |  Jedi Council
 
 
 Joined: 02 Nov 2006Posts: 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 |  | 
		
		  |  | 
		
		  | yanaK | 
			  
				|  Posted: Tue Jun 09, 2020 7:51 am Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 28 May 2020Posts: 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 |  | 
		
		  |  | 
		
		  | exerk | 
			  
				|  Posted: Tue Jun 09, 2020 8:16 am Post subject: |   |  | 
		
		  |  Jedi Council
 
 
 Joined: 02 Nov 2006Posts: 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 |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Tue Jun 09, 2020 8:22 am Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 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 |  | 
		
		  |  | 
		
		  | yanaK | 
			  
				|  Posted: Tue Jun 09, 2020 9:43 am Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 28 May 2020Posts: 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? |  
 
 
 
 
   
	| 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 |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Tue Jun 09, 2020 10:27 am Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 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 |  | 
		
		  |  | 
		
		  | exerk | 
			  
				|  Posted: Tue Jun 09, 2020 10:35 am Post subject: |   |  | 
		
		  |  Jedi Council
 
 
 Joined: 02 Nov 2006Posts: 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 |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Tue Jun 09, 2020 10:54 am Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 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 |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Tue Jun 09, 2020 11:29 am Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 Location: US: west coast, almost. Otherwise, enroute.
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | yanaK | 
			  
				|  Posted: Tue Jun 09, 2020 12:12 pm Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 28 May 2020Posts: 69
 
 
 | 
			  
				| Apologies for the confusion I edited the name |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Tue Jun 09, 2020 12:38 pm Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 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 |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Tue Jun 09, 2020 12:48 pm Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 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 |  | 
		
		  |  | 
		
		  | yanaK | 
			  
				|  Posted: Tue Jun 09, 2020 4:12 pm Post subject: |   |  | 
		
		  | Acolyte
 
 
 Joined: 28 May 2020Posts: 69
 
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |