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 » Clustering » Cannot start up the cluster channel by using hostname

Post new topic  Reply to topic Goto page 1, 2  Next
 Cannot start up the cluster channel by using hostname « View previous topic :: View next topic » 
Author Message
karmen
PostPosted: Tue Sep 29, 2009 7:31 am    Post subject: Cannot start up the cluster channel by using hostname Reply with quote

Newbie

Joined: 29 Sep 2009
Posts: 9

Hi all,

Does anyone have met the same problem before?

I have defined a cluster-sender / receiver channels on z/OS by using the hostname on the channel definition. When I go to start the channel, error "CSQX203E" occurred and the channel status became RETRYING. However, the channel can be started up immediately if an IP address is used.

I have already typed the REFRESH CLUSTER command and coded a SYSTCPD// statement within the CHINIT proc but it still not worked. The channel can only started by using the hostname until I restart the CHINIT.

As if restarted the CHINIT, other channels which will also be affected. So does anything that I can perform to resolve this?

Thanks.

P.S.
A. TCP/IP PINGs against either the IP address or hostname can be completed successfully

B. The steps that I configured the cluster channel
1. Startup the QM with the SYSTCPD// statement within the CHINIT
2. Startup the TCP listener
3. Configure the hosttable
4. Check the IP and hostname setting by using TCP/IP PINGs
5. Define the cluster channels (both sender & receiver)
6. Start the channel
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Sep 29, 2009 7:47 am    Post subject: Reply with quote

Poobah

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

Exactly how did you specify the channel definition with hostname(port)?
Paste the definition here.
_________________
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
mqjeff
PostPosted: Tue Sep 29, 2009 10:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You don't start cluster channels.

They start themselves.

Well.

They start autdefined channels based on the definitions you have configured.
Back to top
View user's profile Send private message
dk27
PostPosted: Tue Sep 29, 2009 11:04 am    Post subject: Reply with quote

Acolyte

Joined: 28 Apr 2008
Posts: 51

Is naming of channels correct on PR and FR?
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Tue Sep 29, 2009 12:34 pm    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Jeff,

I start and stop auto defined channels all the time.

The point you were making was that you shouldn't need to do that normally. Sometimes you will find an auto channel in retry do to a problem at the other end. When the other end is fixed, I sometimes give it a swift kick by stopping the retrying channel into inactive state. Then it starts automatically.

I know that if I wait long enough, it will fix itself.
Back to top
View user's profile Send private message AIM Address
bruce2359
PostPosted: Tue Sep 29, 2009 1:02 pm    Post subject: Reply with quote

Poobah

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

From the original post: specifying 'ipaddress(port)' in the CONNAME field works, but hostname does not.

I've seen this before when CONNAME field is not populated correctly with 'hostname(port)'. Or, the hostname is another host, and its name cannot be discovered.
_________________
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
fjb_saper
PostPosted: Tue Sep 29, 2009 2:04 pm    Post subject: Reply with quote

Grand High Poobah

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

This is most probably a network name resolution and / or DNS problem.
It can also be a routing problem (right DNS server is not accessible?)

Anyways you should push this back to the network admin.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
karmen
PostPosted: Tue Sep 29, 2009 5:03 pm    Post subject: Reply with quote

Newbie

Joined: 29 Sep 2009
Posts: 9

The defintion of the channels are as follows:

DEFINE CHANNEL(TO.MQMAQ07) +
CHLTYPE(CLUSSDR) +
CLUSTER(MQMACL1) +
CONNAME('SMQMSRV01(1423)') +
TRPTYPE(TCP) +
DISCINT(0) +
DESCR('ZOS TO AIX SENDER CHL') +
REPLACE

DEFINE CHANNEL(TO.MQM1) +
CHLTYPE(CLUSRCVR) +
CLUSTER(MQMACL1) +
CONNAME('DEVLAN(1419)') +
TRPTYPE(TCP) +
DISCINT(0) +
DESCR('AIX TO ZOS RECV CHL') +
REPLACE
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Sep 29, 2009 5:38 pm    Post subject: Reply with quote

Poobah

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

EDIT:
Quote:
TCP/IP PINGs against either the IP address or hostname can be completed successfully.

And what are the results when you do an MQ Ping?
_________________
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
karmen
PostPosted: Tue Sep 29, 2009 6:43 pm    Post subject: Reply with quote

Newbie

Joined: 29 Sep 2009
Posts: 9

PING channel and Start channel also got the same error.

PING CHANNEL(TO.MQMAQ07)
CSQN205I COUNT= 2, RETURN=00000000, REASON=00000004
CSQM134I =MQM1 CSQMPCHL PING CHANNEL(TO.MQMAQ07) COMMAND ACCEPTED
CSQN205I COUNT= 6, RETURN=0000000C, REASON=00000008
CSQX203E =MQM1 CSQXPING Error in communications configuration,
channel TO.MQMAQ07,
connection
TRPTYPE=TCP RC=00000000 reason=00000000
CSQ9023E =MQM1 CSQXCRPS ' PING CHANNEL' ABNORMAL COMPLETION

START CHANNEL(TO.MQMAQ07)
CSQN205I COUNT= 2, RETURN=00000000, REASON=00000004
CSQM134I =MQM1 CSQMSCHL START CHANNEL(TO.MQMAQ07) COMMAND ACCEPTED
CSQN205I COUNT= 6, RETURN=0000000C, REASON=00000008
CSQX203E =MQM1 CSQXRCTL Error in communications configuration,
channel TO.MQMAQ07,
connection
TRPTYPE=TCP RC=00000000 reason=00000000
CSQ9023E =MQM1 CSQXCRPS ' START CHANNEL' ABNORMAL COMPLETION
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Tue Sep 29, 2009 7:55 pm    Post subject: Reply with quote

Jedi Knight

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

'SMQMSRV01' and 'DEVLAN' may not be resolvable host names to the DNS used by the z/OS system. You may need to use the full domain name, eg. smqmsrv01.xyz.com, for it to be resolvable.
_________________
Glenn
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Sep 29, 2009 8:28 pm    Post subject: Reply with quote

Poobah

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

From the WMQ Intercommunications manual:
If the transport type is TCP
This is either the hostname or the network address of the remote machine
(or the local machine for cluster-receiver channels). For example,
(MACH1.ABC.COM), (fe80:43e4:0204:acff:fe97:2c34:fde0:3485) or
(19.22.11.162). It may include the port number, for example
(MACHINE(123)). It can include the IP_name of a z/OS dynamic DNS group
or a network dispatcher input port.
_________________
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
karmen
PostPosted: Tue Sep 29, 2009 8:32 pm    Post subject: Reply with quote

Newbie

Joined: 29 Sep 2009
Posts: 9

I have tried to use 'SMQMSRV01' and 'DEVLAN' as the CONNAME of the channel in another Cluster QM, it is applicable to establish the channel connection.

So, I would like to know is it workable to connect 1 z/OS QM to 2 AIX QM in different machines with different hostname but have same cluster name?

QM name in z/OS: MQM1
QM name in AIX1: MQMAQ01
QM name in AIX2: MQMAQ07

I have defined Cluster-sender channel (‘TO.MQMAQ01’) with CONNAME ('SMQMCLU01(1415)') and CLUSTER(MQMACL1) in MQM1, the channel can be established successfully.

But when I defined one more Cluster-sender channel (‘TO.MQMAQ07’) with CONNAME ('SMQMSRV01(1423)') and CLUSTER(MQMACL1) in MQM1, errors have occurred during start channel.
Back to top
View user's profile Send private message
karmen
PostPosted: Tue Sep 29, 2009 9:45 pm    Post subject: Reply with quote

Newbie

Joined: 29 Sep 2009
Posts: 9

Hi all,

I have tested; the configuration that I have posted was workable.

When I restarted the QM - MQM1 in z/OS again, the status of both cluster-sender channels (‘TO.MQMAQ01’ & ‘TO.MQMAQ07’) became running even hostname is being used in the CONNAME field.

If all the channel definitions are correct, they should be able to work automatically. But why it doesn't? Why I need to restart the QM in order to make it work?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Sep 30, 2009 5:35 am    Post subject: Reply with quote

Poobah

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

Quote:
If all the channel definitions are correct, they should be able to work automatically. But why it doesn't? Why I need to restart the QM in order to make it work?


The proper way to alter a cluster channel CONNAME is to

1. stop the channel
2. take the channel def out of the cluster
3. alter the CONNAME attribute
4. add the channel def to the cluster
5. start the channel

Stopping and re-starting the qmgr accomplished 1, 2 and 5 above.

You don't need to restart the qmgr. As you have experienced, merely altering the CONNAME attribute of a channel while the channel is not stopped (or inactive) does not change the definition in the channel status table.

Altering the CONNAME attribute contributes another instance of the channel def across the cluster - while the first one is still active.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » Clustering » Cannot start up the cluster channel by using hostname
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.