| Author | 
		  Message
		 | 
		
		  | reldb | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 10:08 am    Post subject: How to admin a remote queue manager on unix machine | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 06 Sep 2006 Posts: 34
  
  | 
		  
		    
			  
				Hi,
 
 
I need to administrate a remote queue manager from a unix machine, can you please tell me if there is any tool or utility for this?
 
 
Actually for remote queue manager i have network connection / firewall from only one machine which is unix machine. I can not use MQ explorer from my local window machine as network connection is not open in this case.
 
 
is there any tool which uses the connection from a middle machine or any tool which works directly on unix machine (sun solaris)
 
 
runmqsc works only for local queue manager
 
 
Thanks
 
rel | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 10:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				well, you can always ssh/telnet to the remote machine and use runmqsc there.
 
 
What kind of Unix machine, btw?  If it's Linux, you can install WebSphere MQ Explorer on the linux machine, and do that.
 
 
There are a few other tricks you can use to forward ports from one machine to another, but that's likely breaking the boundaries that the firewall is there to provide.
 
 
There's also a supportpac - one of the MOs?  that will let you run mqsc over a client connection. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 10:12 am    Post subject: Re: How to admin a remote queue manager on unix machine | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | reldb | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 11:11 am    Post subject: remote admin | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 06 Sep 2006 Posts: 34
  
  | 
		  
		    
			  
				jefflowrey
 
 
it is sun solaris machine.
 
 
i guess for ssh and telnet we should these specific ports open and also need a user name and password to login to destination machine, isnt it ?
 
 
runmqsc -w remoeQMgr    worked fine for me, not sure if there is any other way preferable GUI based.
 
 
there is one limitation in runmqsc, channels and transmission queue should be there for destination qMgr | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | reldb | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 11:14 am    Post subject: remote admin | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 06 Sep 2006 Posts: 34
  
  | 
		  
		    
			  
				thanks PeterPotkay
 
 
it worked fine.
 
 
For me It was a new thing to learn,
 
 
================
 
Oops, i created a new thread instead of replying
 
is there any way to delete that thread | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | reldb | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 12:33 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 06 Sep 2006 Posts: 34
  
  | 
		  
		    
			  
				Peter ,
 
 
Is there any way where we can do the admin even if we do not have any direct channels to that QM, 
 
 
runmqsc -w RQM is doing 50% of my work but couple of queue manager are not having direct channels with my QM
 
 
myQM  ---------- QM2 -----------TargetQM
 
 
I have a connection to them via QM2 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 12:37 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	| not sure if there is any other way preferable GUI based. | 
   
 
 
MQExplorer
 
SupportPac MO71
 
 
Command line: MO72 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 12:37 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				You can do more tricks with name resolution to set up a multi-hop path between your local qm and the remote qm - as long as you can admin the intermediate boxes first.
 
 
You're really stretching the boundaries of what you SHOULD be doing, though.  If you need centralized monitoring and management, you should be looking at a professional tool. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 12:39 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
			  
				Well, then you need some tool that runs on the UNIX server and connects out to the remote QM. 
 
 
Look at the MO72 Support Pack. You will need the remote QM to have a client channel that allows you to connect in.
 
 
If this UNIX server is Linux x86 you can run MQExplorer on it. But again you would need a client channel on that remote QM. _________________ Peter Potkay
 
Keep Calm and MQ On | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 1:59 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				I thought MO71 and by extension MO72 let you use a multihop design for qmgr administration....
 
 
All you really need to have is a default path from the qmgr you are connected to, to the qmgr you are running the admin for, and a default path back!.. Of course it is easier if you can have a client connection...
 
 
Enjoy    _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | reldb | 
		  
		    
			  
				 Posted: Tue Oct 30, 2007 3:16 pm    Post subject: remote admin | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 06 Sep 2006 Posts: 34
  
  | 
		  
		    
			  
				Thanks Vennela and Peter
 
 
I am able to connect using MQMON for GUI based
 
and also using MO72,
 
 
Thanks a lot | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |