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 IBM MQ Support » Why are MQ install files outside /usr/mqm

Post new topic  Reply to topic
 Why are MQ install files outside /usr/mqm « View previous topic :: View next topic » 
Author Message
sunny_30
PostPosted: Fri Jul 01, 2011 7:59 am    Post subject: Why are MQ install files outside /usr/mqm Reply with quote

Master

Joined: 03 Oct 2005
Posts: 258

HI All

I have a question on MQ install in AIX environment

When MQ server or client version is installed, some files or sym-links (mostly) are written outside the MQ assigned install filesystem: /usr/mqm into following directories on AIX:
Code:
/usr/lib
/usr/bin
/usr/opt
/usr/include
/usr/share
/bin
/var/mqm


Installing into /var/mqm is fine but Is there a strong technical reason why MQ puts files into rest of above file-systems ?. I suspect there should be but not sure what that is.
Can somebody please explain why (or) if it is a bad design by MQ that could have been avoided?

Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 01, 2011 8:23 am    Post subject: Re: Why are MQ install files outside /usr/mqm Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sunny_30 wrote:
Can somebody please explain why (or) if it is a bad design by MQ that could have been avoided?


It's considered best practice to put software in it's own libraries (/usr/mqm) and symlink in the folders that are on most user's path (/usr/bin & /usr/lib). In this way the software is properly segrigated but the user's path doesn't contain dozens of folders.

Also IIRC back in the day the PATH could only be 255 characters long, so you couldn't put all the software folders in it without going over the limit.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sunny_30
PostPosted: Fri Jul 01, 2011 10:31 am    Post subject: Reply with quote

Master

Joined: 03 Oct 2005
Posts: 258

You are right but I dont see that all files installed outside MQ are symlinks .. I see a bunch of non-symlinks for GSK ( I agree its separate from MQ.. )And also some files under /usr/lib/nls

Bottomline I would like to ask is .. for DR purposes if /usr/mqm & /var/mqm are replicated & any other files/ symlinks outside these file-systems are left out, PATH updated appropriately, NLSPATH also pointing to alternate location where above nls files are stored... would it be all fine then? Any other steps essential for MQ working ? Is this a supported approach by IBM ?

Please note we are not looking to have MQ SSL support
Any suggested alternative to store the GSK files also under /usr/mqm & using an env variable to invoke it, would be great & comprehensive
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Jul 01, 2011 10:55 am    Post subject: Reply with quote

Poobah

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

Refer to (read) the Quick Beginnings manual for your platform o/s. You get to decide exactly where WMQ components get installed - if you don't like the defaults.
_________________
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: Fri Jul 01, 2011 10:01 pm    Post subject: Reply with quote

Grand High Poobah

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

The only right way to clone an WMQ installation is to create a full clone of the box, including the users and groups defined.

Otherwise it's time to reinstall WMQ on the target box. You may get away with then cloning /var/mqm (data + logs), but only if the source has been stopped. (State consistency).
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mvic
PostPosted: Sat Jul 02, 2011 2:51 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

bruce2359 wrote:
You get to decide exactly where WMQ components get installed - if you don't like the defaults.

This is only true on Windows.
Back to top
View user's profile Send private message
sunny_30
PostPosted: Wed Jul 06, 2011 6:31 am    Post subject: Reply with quote

Master

Joined: 03 Oct 2005
Posts: 258

mvic wrote:
bruce2359 wrote:
You get to decide exactly where WMQ components get installed - if you don't like the defaults.

This is only true on Windows.
Exactly !
I dont find any options in AIX QuickBeginnings to alter default location for gsk install or any other default locations. Not even the mention of NLSPATH

fjb_saper wrote:
The only right way to clone an WMQ installation is to create a full clone of the box
Is this a bad design by MQ ?
For eg- In our environment, we have MQserver installs for which the plan is to maintain separate installs for them on their DR instances. But to apply same rule for MQclient systems (about 20 surround app systems like oracle, sap-ecc, sap-pi etc etc) has become a big pain. Unix admins complaning MQ is a badly written app (that sprays install files all over the system !!). If we compare- for eg- SAP like apps dont install any files outside /usr/sap & they have to define exceptions for Metro Mirroring MQclient file-systems alone on each of surround app-server systems....
Im trying to design MQclient DR instances in such a way to avoid separate MQclient installs. Dont mind altering PATHs, NLSPATHs, & as I said we dont plan to use MQ-SSL (gsk) feature
Can you advise if its a good approach ?
For us cloning whole system is not an option, Syncing rootvg filesystems are not an option.

fjb_saper wrote:
You may get away with then cloning /var/mqm (data + logs), but only if the source has been stopped. (State consistency).
Agree - Thanks for suggestion !
For now, I have no questions on data syncing part.
For us RPO=0 is must. So sync- replication (over a 300 km distance) is the only option even though we understand it degrades the performance on primary (a little bit hopefully )
For this topic's discussion, Im strictly focussed on DR design for MQ client install files only, whether to keep them separate or not ?
Back to top
View user's profile Send private message
sunny_30
PostPosted: Wed Jul 06, 2011 6:50 am    Post subject: Re: Why are MQ install files outside /usr/mqm Reply with quote

Master

Joined: 03 Oct 2005
Posts: 258

Vitor wrote:
Also IIRC back in the day the PATH could only be 255 characters long, so you couldn't put all the software folders in it without going over the limit.

But how much of it (installing MQ outside /usr/mqm) is still relevant in the current virtualization world ?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 06, 2011 7:29 am    Post subject: Re: Why are MQ install files outside /usr/mqm Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sunny_30 wrote:
Vitor wrote:
Also IIRC back in the day the PATH could only be 255 characters long, so you couldn't put all the software folders in it without going over the limit.

But how much of it (installing MQ outside /usr/mqm) is still relevant in the current virtualization world ?


If each virtual server looks (from a file system perspective) like a real server then it's still fully relevant.

If it doesn't (and I'm thinking of something like a Solaris Sparse Zone here) then it's still relevant in that the zones have rules about where \usr is and how the zone both sources it and references it. If you look at the DW stuff and IBM notes on Solaris Zones then you'll see that one of the things they discuss is the handling of \usr.
_________________
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 topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Why are MQ install files outside /usr/mqm
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.