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/IIB.
- Ensure that the IIB directories are owned by a
user that is a member of the group mqbrkrs, 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 IIB
- 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/IIB noac
For
further information, see AIX NFS
commands