Author |
Message
|
knowledge_seeker |
Posted: Tue Jun 11, 2013 7:46 am Post subject: Installing MQ7.5 on Sol10 in a non-global 'Sparse Root zone |
|
|
Newbie
Joined: 11 Jun 2013 Posts: 2
|
Hi,
I am looking for assistance with installing MQ 7.5 on Solaris 10 – specifically installing it in a non-global 'Sparse Root' zone
In the infocenter wmqv7 it states that “On Solaris 10, WebSphere MQ can be installed into the system's global zone, or into a whole root non-global zone. You cannot install WebSphere MQ into a sparse root non-global zone.”
However, a hursleyonwmq (/2007/03/02/websphere-mq-with-solaris-zones/) suggests that it can be done by amending the installation. I cannot add the full URL as this is my first post.
**** Has anyone been able to get this to work? ****
Currently, I have installed MQ7.5 but when I come to set it to PRIMARY, it fails as it cannot access the read-only /usr
# /opt/mqm/bin/setmqinst -i -p /opt/mqm
AMQ6294: Failed to create symbolic link with the name '/usr/lib/libmqm.so'.
Error Number: 30
AMQ8577: Failed to set 'Installation1' (/opt/mqm) as the Primary Installation.
AMQ8580: Failed to unset 'Installation1' (/opt/mqm) as the Primary
Installation.
Note – We do not want to install anything in the global zone
**** Is it possible to complete an MQ install WITHOUT having set the installation to primary? **** |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 11, 2013 7:55 am Post subject: Re: Installing MQ7.5 on Sol10 in a non-global 'Sparse Root z |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
knowledge_seeker wrote: |
Currently, I have installed MQ7.5 but when I come to set it to PRIMARY, it fails as it cannot access the read-only /usr |
Have you followed all 13 steps here for installing WMQ in a non-global sparse root zone where WMQ is not installed in the root zone.
You might also want to review IBM position on supporting WMQ in the various Solaris configurations as given here _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
knowledge_seeker |
Posted: Tue Jun 11, 2013 9:23 am Post subject: Re: Installing MQ7.5 on Sol10 in a non-global 'Sparse Root z |
|
|
Newbie
Joined: 11 Jun 2013 Posts: 2
|
Hi Vitor,
Many thanks for getting back to me. I was looking at these two documents earlier.
I am having difficulty with following the 13 steps outlined.
Could you provide a little assistance with step 3?
There isnt an /mqm/root/usr directory under the install area. There is no reference to a root or usr in the directory
Regards,
Jas |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 11, 2013 9:35 am Post subject: Re: Installing MQ7.5 on Sol10 in a non-global 'Sparse Root z |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
knowledge_seeker wrote: |
I am having difficulty with following the 13 steps outlined.
Could you provide a little assistance with step 3?
There isnt an /mqm/root/usr directory under the install area. There is no reference to a root or usr in the directory |
Presumably this is because the steps are for MQ 7.0 as of 2007, not for MQ 7.5 as of 2013.
MQ 7.5 lets you install into a non-default location by, uhm, default. you don't need to hack things to change the installation location.
You can try just running the regular install, specifying a zone-specific location for the product.
Mind you, I claim no expertise with Solaris zones - they're scary. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 11, 2013 9:48 am Post subject: Re: Installing MQ7.5 on Sol10 in a non-global 'Sparse Root z |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
MQ 7.5 lets you install into a non-default location by, uhm, default. you don't need to hack things to change the installation location. |
I've only tried this with WMQv7.0 so this may be a valid method.
mqjeff wrote: |
Mind you, I claim no expertise with Solaris zones - they're scary. |
Now that's the truth.
As it says in the blog, this is the most complicated method & I'm unconvinced of it's value. Other opinions are equally valid and may in fact be more valid. I'd challenge why you're not installing into the global zone & if the benefits outwiegh the increased administration. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
happyj |
Posted: Thu Jul 25, 2013 4:10 am Post subject: |
|
|
Voyager
Joined: 07 Feb 2005 Posts: 87
|
you can install more than one version of MQ (using the non default paths) in the global zone and copy these both down to the sparse zones.
I think this is the recommended configuration (or it used to be, last time I did this which was a few years ago).
you can then have different versions of MQ in different sparse zones on the same physical server. |
|
Back to top |
|
 |
Philip Morten |
Posted: Thu Jul 25, 2013 6:14 am Post subject: Re: Installing MQ7.5 on Sol10 in a non-global 'Sparse Root z |
|
|
Master
Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park
|
knowledge_seeker wrote: |
Hi,
...
**** Is it possible to complete an MQ install WITHOUT having set the installation to primary? **** |
Yes, setting an installation as primary is entirely optional. You only need to do it if you have applications that can not be modified to find the MQ libraries from their real location ( $MQ_INSTALLATION_PATH/lib[64] ) and depend on finding them in /usr/lib. _________________ Philip Morten
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
SAFraser |
Posted: Tue Jul 30, 2013 1:48 pm Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
We operate 30 queue managers on Solaris sparse zones.
From your error, I suspect you tried to install MQ in the sparse zone (?). This cannot be done. You must install the product into the global zone.
/var/mqm is then copied recursively to the sparse zone. From that point forward, you operate in the sparse zone as you would on any other host, creating your queue managers and so forth.
Easiest way we found for access to the binaries is our sys admins set up inheritance of /opt/mqm from the global to the sparse zone. (Some sys admins refer to this as a loopback.) Other ways are possible, but we liked this best as no binaries are duplicated.
For FixPacks, do the same (by that I mean, install in the global zone). If you've used a zone inheritance, no changes need to be made in the sparse zone after a fixpack.
The installation seems tricky at first, but it really all works just dandy if you follow the IBM instructions. Hope this helps! |
|
Back to top |
|
 |
|