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 IndexWebSphere Message Broker SupportChanging the workpath of multi instance IIB

Post new topicReply to topic
Changing the workpath of multi instance IIB View previous topic :: View next topic
Author Message
alaychem
PostPosted: Sun Dec 09, 2018 6:59 am Post subject: Changing the workpath of multi instance IIB Reply with quote

Acolyte

Joined: 10 Feb 2016
Posts: 65

When creating a multi instance brokers, some of the folders are managed at the shared folder, and stay on the local disk.
unfortunately, the shared classes folder stays local, and from obvious reasons I want it to be shared.
Changing the workpath folder is possible with adding the -w parameter to the mqsicreatebroker command, but is it a good idea to make the workpath folders shared, beyond what the -e parameter (creates a multi instance broker) does? the documentation does not says explicitly you CANNOT, but it also does not say you CAN.
Back to top
View user's profile Send private message
alaychem
PostPosted: Sun Dec 23, 2018 7:06 am Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2016
Posts: 65

Well, I gave it a shot.
Broker creation and failover were successful. Adding the -w parameter the way I did it means that now node_modules (which I don't use) , shared-classes (profit) and common folders are now shared between the integration nodes as well.
Could it be I outsmarted IBM?
Back to top
View user's profile Send private message
alaychem
PostPosted: Mon Jan 07, 2019 12:37 am Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2016
Posts: 65

Well, big mistake.

I took some horrific abends.

/var/mqsi should not be the shared mount point. If you use the WMB/IIB command mqsicreatebroker with the '-e sharedWorkPath' parameter to create a HA/multi-instance broker, it will only share the components, registry and config directories.

https://developer.ibm.com/answers/questions/310243/broker-abend-when-starting-bip2228e-severe-error/
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jan 07, 2019 5:44 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25787
Location: Ohio, USA

alaychem wrote:
Could it be I outsmarted IBM?


alaychem wrote:

Well, big mistake.

I took some horrific abends.


Future readers take note.

No one outsmarts the Cobalt Collossus
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
alaychem
PostPosted: Sat Jan 12, 2019 11:36 pm Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2016
Posts: 65

@Vitor
Still, not moving the shared classes folder to the shared storage when creating a multi-instance broker is awkward decision by IBM.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jan 14, 2019 6:11 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25787
Location: Ohio, USA

alaychem wrote:
not moving the shared classes folder to the shared storage when creating a multi-instance broker is awkward decision by IBM.


Never said it wasn't, and it joins a long list of awkward decisions IBM have made over the years on this and every other product in it's portfolio. I'm thinking especially of an "awkward decision" they made in the z/OS COBOL 2 compiler that at the time I wanted to discuss with the development team in IBM repeatedly and quite hard. Ideally while armed with a 2x4. Fortunately, and without fanfare, the decision was amended in COBOL LE/370 and many lives were spared.

My point is that trying to bend an IBM product / using an undocumented feature / kludging some kind of workaround is a very dubious course of action.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
alaychem
PostPosted: Wed Feb 06, 2019 7:04 am Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2016
Posts: 65

Vitor wrote:

My point is that trying to bend an IBM product / using an undocumented feature / kludging some kind of workaround is a very dubious course of action.


I mounted /var/mqsi/shared-classes folder, after licence acceptance, on shared storage for both servers, keeping the path unchanged. seems like it works.
**EDIT** And keep read/write permissions as well!

Legit workaround?


Last edited by alaychem on Thu Feb 14, 2019 6:04 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 06, 2019 7:40 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25787
Location: Ohio, USA

alaychem wrote:
Legit workaround?


Is it documented?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
alaychem
PostPosted: Thu Feb 14, 2019 6:03 am Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2016
Posts: 65

Vitor wrote:
Is it documented?


If it was documented, I wouldn't have asked...
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 14, 2019 6:16 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25787
Location: Ohio, USA

alaychem wrote:
Vitor wrote:
Is it documented?


If it was documented, I wouldn't have asked...


Then you answer your own question. If it's not documented, it's not legit.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportChanging the workpath of multi instance IIB
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.