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 » Command to connect to Remote QueueMAnager

Post new topic  Reply to topic
 Command to connect to Remote QueueMAnager « View previous topic :: View next topic » 
Author Message
ramesh80
PostPosted: Thu Oct 25, 2018 10:37 pm    Post subject: Command to connect to Remote QueueMAnager Reply with quote

Novice

Joined: 22 Oct 2018
Posts: 20

HI,
As part of MQ monitoring i have written few scripts and wanted to schedule them on Prod AIX servers, unfortunately on my Prod server the Email feature has been Disabled, so the scripts are not sending any mail notifications.
The Unix team is NOT ok to enable the mail feature on the servers.

Can i use the same scripts on Test AIX servers and connect to Prod qmgrs , if so is there any command to connect to the remote queue managers?

I dont have any channel connectivity to PROD and TEST qmgrs, and dont want to do any changes on the prod qmgrs.
4 qmgrs on 4 different servers.All 4 are in cluster.

MY MQ version is 8.0.0.9,
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Oct 26, 2018 5:12 am    Post subject: Re: Command to connect to Remote QueueMAnager Reply with quote

Grand High Poobah

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

ramesh80 wrote:
Can i use the same scripts on Test AIX servers and connect to Prod qmgrs , if so is there any command to connect to the remote queue managers?


It's the same way you connect to a local (same server) queue manager, you just need to use the client libraries not the bindings ones, and specify the remote details as you would for any client.

But I bet your network people will NOT be ok about opening up the firewall to allow you (and anyone else) access to PROD from a less secure TEST environment.

You'd also need a server connection channel on the PROD queue manager that your script can connect to (which is not the same as the channel between TEST & PROD queue managers you mention not having). This channel needs to allow access from a non-prod IP address and the level of access to the PROD queue manager that your script needs.

The MQ admin for the PROD queue managers will NOT be ok with that in all likelihood.

I'd modify your scripts to write to the syslog daemon, or call out to the existing PROD monitoring tool (which may in fact be reading the syslog to identify problems) rather than email. Your Unix team will be happier scheduling those.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Sun Oct 28, 2018 4:46 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2492
Location: Melbourne, Australia

Quote:
Can i use the same scripts on Test AIX servers and connect to Prod qmgrs

Possibly, but you should never have anything in Test that refers to Prod. There are a multitude of reasons why this is a bad idea.
_________________
Glenn
Back to top
View user's profile Send private message
ramesh80
PostPosted: Mon Oct 29, 2018 2:18 am    Post subject: Reply with quote

Novice

Joined: 22 Oct 2018
Posts: 20

Thanks Vitor and gbaddeley for your suggestions.
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 » General IBM MQ Support » Command to connect to Remote QueueMAnager
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.