Author |
Message
|
kinf1 |
Posted: Thu Apr 06, 2006 12:55 am Post subject: problem in creating a cluster |
|
|
Novice
Joined: 15 Mar 2006 Posts: 15
|
Hi,
I've created two queue managers. To create a cluster, I've used
ALTER QMGR REPOS(CLUSTER1) for the two queue managers.
I've defined the sender and receiver channels.
I'm not getting any errors but the cluster is not getting created.
And,how do i specify the listener port for each queue manager?
(The CONNAME attribute does not accept machine_name(port) as a valid value.)
To add another queue manager to the cluster, is it enough to create sender and receiver channels to and from the repository?
Thanks. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 06, 2006 1:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
You might want to review the "Creating a cluster" section in the Clustering manual. Or indeed read it.
However
1) You do mean you've created cluster sender and receiver channels don't you?
2) How are you determining the cluster is not being created? (command line, explorer, what?)
3) CONNAME does so accept machine name(port) as a valid value. Or it does on my version
4) To add a queue manager to the cluster - follow the instructions in the Clustering manual in the section marked "Adding a queue manager to a cluster"!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
vennela |
Posted: Thu Apr 06, 2006 1:51 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
CONNAME should look like myhostname(1414) within single quotes
For example
Quote: |
define chl(abcd) chltype(sdr) trptype(tcp) conname('myhostname(1414)') |
|
|
Back to top |
|
 |
kinf1 |
Posted: Thu Apr 06, 2006 2:40 am Post subject: |
|
|
Novice
Joined: 15 Mar 2006 Posts: 15
|
The CONNAME accepts the port no within single quotes. Thanks.
And yes, I've created cluster sender and receiver channels.
The explorer doesn't show the cluster.
And moreover, when I try to create a cluster queue(in the explorer), it says that the queue manager is not a part of the cluster(and the queue is not shared because of this). |
|
Back to top |
|
 |
wschutz |
Posted: Thu Apr 06, 2006 2:42 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Did you specify the cluster name (CLUSTER1) on the clster sdr/rcvr channels? _________________ -wayne |
|
Back to top |
|
 |
vennela |
Posted: Thu Apr 06, 2006 2:42 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Don't mix and match things
Don't use runmqsc commands and expect all of those to show up in MQExplorer.
Either use all mqsc commands or se MQExplorer all the way |
|
Back to top |
|
 |
kinf1 |
Posted: Thu Apr 06, 2006 2:58 am Post subject: |
|
|
Novice
Joined: 15 Mar 2006 Posts: 15
|
Yes, I've specified the cluster name in the cluster sender and receiver channels
I've been using the explorer till now. But now I'm working on a unix machine and am quite unsure of the commands.SO was just checking up with the explorer if I'm doing things correctly. |
|
Back to top |
|
 |
vennela |
Posted: Thu Apr 06, 2006 3:00 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
What all did you do so far |
|
Back to top |
|
 |
kinf1 |
Posted: Thu Apr 06, 2006 3:13 am Post subject: |
|
|
Novice
Joined: 15 Mar 2006 Posts: 15
|
I've created 2 queue managers, added them to a cluster(??) and created cluster sender and receiver channels.
Then I tried adding another queue manager to the cluster ie by defining the cluster sender and receive channels.
And created cluster queues on the two repositories.
One more question
Do i have to start the listeners for channels manually? |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 06, 2006 4:38 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
On Unix, listeners are started with the command 'runmqlsr'. This has to be issued manually - the queue manager startup process doesn't issue this command. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Apr 06, 2006 6:10 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
jefflowrey wrote: |
On Unix, listeners are started with the command 'runmqlsr'. This has to be issued manually - the queue manager startup process doesn't issue this command. |
Unless, of course, you're using MQ V6, in which case a properly defined "listener" object can automatically start with the qmgr.  _________________ -wayne |
|
Back to top |
|
 |
EddieA |
Posted: Thu Apr 06, 2006 5:39 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
vennela wrote: |
Don't mix and match things
Don't use runmqsc commands and expect all of those to show up in MQExplorer.
Either use all mqsc commands or se MQExplorer all the way |
Actually, for clusters, I'd suggest doing everything in runmqsc. MQExploder, prior to v6 (where I hope it's changed), was always kinda "brain dead" as far as clusters went.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
kinf1 |
Posted: Thu Apr 20, 2006 11:56 pm Post subject: |
|
|
Novice
Joined: 15 Mar 2006 Posts: 15
|
Hi,
I've created a cluster with two repository queue managers,and then added another queue manager. I've created remote queue definitions
(alias queue manager) on the two repositories and shared them in the cluster. But they do not show up in the other queue managers.
Also, the sender and receiver channels are not starting up.
Could someone help me out here. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Fri Apr 21, 2006 12:35 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
is "the other queuemanager" a full repository? if not, the cluster queues will only show up if the "other queuemanager" has tried to use them. a partial repository will not know everything that exists in the cluster, it will know a cluster object only when he tries to use it and therefore gets the proper information from the repository.
what is the state of your channels? are they inactive? retry? any entries in the anmqerr01.log? did you make sure your connection names are correct? are all network / firewallsettings fine? please give more details!!! _________________ Regards, Butcher |
|
Back to top |
|
 |
|