Author |
Message
|
KIT_INC |
Posted: Tue Jan 06, 2015 10:56 am Post subject: Can I have 2 WSRR configurable service |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
I have questions regarding WSRR access
1. Can I access more than 1 WSRR from a broker ? Can I have 1 EG accessing 1 WSRR and another EG accessing another WSRR
2. Can I have 1 EG accessing WSRR with ine set of parameter (e.g. timeout 100000) and anothe EG accessing the same WSRR with different sets of parameter (e.g. timeout of 500000) ?
At a high level, it seems that all I have to do is to define 2 configurable service and config the 2 EG to use one each.
But I tried the
mqm@lin26som21:/opt/ibm/mqsi/7.0/bin> mqsicreateconfigurableservice SOMBRKD1 -c ServiceRegistries -o MyWSRR1
BIP8983W: Configurable service object name 'ServiceRegistries : MyWSRR1' already exists.
I also tried the same command with the name value pair specified.
It does not look like that I am allow to create another config service of ServiceRegistries type
It also seems that the assignment of the WSRR config service is at the broker level and not EG level. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 06, 2015 11:13 am Post subject: Re: Can I have 2 WSRR configurable service |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
KIT_INC wrote: |
1. Can I access more than 1 WSRR from a broker ? Can I have 1 EG accessing 1 WSRR and another EG accessing another WSRR |
KIT_INC wrote: |
2. Can I have 1 EG accessing WSRR with ine set of parameter (e.g. timeout 100000) and anothe EG accessing the same WSRR with different sets of parameter (e.g. timeout of 500000) ? |
KIT_INC wrote: |
At a high level, it seems that all I have to do is to define 2 configurable service and config the 2 EG to use one each. |
Well, WSRR configuration is referenced by node and not by EG, but you can configure nodes to use different services
KIT_INC wrote: |
But I tried the
mqm@lin26som21:/opt/ibm/mqsi/7.0/bin> mqsicreateconfigurableservice SOMBRKD1 -c ServiceRegistries -o MyWSRR1
BIP8983W: Configurable service object name 'ServiceRegistries : MyWSRR1' already exists. |
Did that name already exist?
KIT_INC wrote: |
It does not look like that I am allow to create another config service of ServiceRegistries type |
Not if they're both called MyWSRR1. You should be able to create MyWSRR2.
KIT_INC wrote: |
It also seems that the assignment of the WSRR config service is at the broker level and not EG level. |
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
KIT_INC |
Posted: Tue Jan 06, 2015 12:07 pm Post subject: |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
Hi Vitor, I assume the smiling face is equal to a yes.
MyWSRR1 was just a name that I pick and was never there before |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 06, 2015 1:41 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
KIT_INC wrote: |
Hi Vitor, I assume the smiling face is equal to a yes. |
In my browser it's nodding.
KIT_INC wrote: |
MyWSRR1 was just a name that I pick and was never there before |
And it does that if you run:
Code: |
mqsicreateconfigurableservice SOMBRKD1 -c ServiceRegistries -o djhfsdhfisk |
?
Interesting and weird. I know DefaultWSRR is the service that is set up when the broker is created, but I'm not aware of any restriction on more. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Simbu |
Posted: Tue Jan 06, 2015 10:34 pm Post subject: |
|
|
 Master
Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India
|
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 07, 2015 5:08 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Well there's a thing!
I am enlightened. It's a good day for I have learned something that isn't how much I hate any given project manager.
Are we (and I mean we) sure that's still true 5 years on (the redbook is 2009)? The evidence as supplied by the OP is quite convincing but does anyone know? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
KIT_INC |
Posted: Wed Jan 07, 2015 8:46 am Post subject: |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
Thanks for the pointer to the red book.
It is not a requirement for me at this time to have the broker connecting to multiple WSRR. But we do have requirement that flow has different timeout requirement for the WSRR Cache.
If there is only one default config service, then we will have to design the flow based on a single Cache timeout value. |
|
Back to top |
|
 |
|