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 Discussion » set MQServer

Post new topic  Reply to topic
 set MQServer « View previous topic :: View next topic » 
Author Message
zrux
PostPosted: Thu Jan 25, 2024 3:46 am    Post subject: set MQServer Reply with quote

Apprentice

Joined: 21 May 2006
Posts: 37
Location: UK

is it possible to use the set MQServer env variable to set MQ server connection for MQ Multi instance (2 IPs) ?

eg on windows , I can set for connecting to single instance.
set MQSERVER=A.SVRCONN/TCP/192.168.230.1(1415)

is it possible to do this for another IP 192.168.230.2(1415) ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jan 27, 2024 1:15 pm    Post subject: Re: set MQServer Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

zrux wrote:
is it possible to use the set MQServer env variable to set MQ server connection for MQ Multi instance (2 IPs) ?

eg on windows , I can set for connecting to single instance.
set MQSERVER=A.SVRCONN/TCP/192.168.230.1(1415)

is it possible to do this for another IP 192.168.230.2(1415) ?

Have you tried to set both ips and ports comma separated in the variable declaration
Code:
set MQSERVER=A.SVRCONN/TCP/ipa(porta),ipb(portb)

What happened when you did?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hughson
PostPosted: Sun Jan 28, 2024 1:56 am    Post subject: Reply with quote

Padawan

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

IBM Docs do indeed say that MQSERVER can use comma-separated conname. See here.

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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » set MQServer
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.