How you create the shared directories
that you need for your multi-instance WebSphere® Message
Broker.
Before you start:Before you
create the shared directory, read the documentation supplied with
your NFS or NAS product used at your enterprise (or on Windows a shared UNC path). Note
that, if you are intending to use an NFS server, this server must
use NFSv4.
The following procedure gives a generalized
set of instructions for a NFS shared path, because the specific instructions
vary by product:
- Create an NFS Share on the server for the multi-instance WebSphere MQ queue manager.
- Mount the NFS Share on both client nodes A and B,
for the WebSphere MQ multi-instance queue
manager, using a suitable location; for example, /Shared/Location/WMQ.
- Ensure that the WMQ directories
are owned by user and group mqm,
and that the access permissions are set to rwx for
user and group. For example ls -al displays:
drwxrwxr–x mqm mqm 4096 Jun 14 14:38 WMQ
- Create an NFS share on the server for the multi-instance
broker.
- Mount the NFS Share on both client nodes A and B,
for the multi-instance broker, using a suitable location; for example, /Shared/Location/WMB.
- Ensure that the WMB directories are
owned by user and group mqbrkrs,
and that the access permissions are set to rwx for
user and group. For example ls -al displays:
drwxrwxr–x mqbrkrs mqbrkrs 4096 Jun 14 14:39 WMB
- If you are working on AIX® you must turn off attribute
caching so that you use the NFS server solely for multi-instance tasks.
Use the following command, on both client nodes
A and
B,
to turn off attribute caching for the example share locations used
in the preceding instructions:
nfs4cl setfsoptions /Shared/Location/WMQ noac
nfs4cl setfsoptions /Shared/Location/WMB noac
For
further information, see AIX NFS
commands