WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Verifying shared file system locking

Run the WebSphere® MQ amqmfsck command to check obtaining and releasing file locks, and concurrent writing on UNIX systems.

Before you start:

You need a machine with networked storage, and two other machines connected to it that have WebSphere MQ installed. You need to have administrator (root) authority to configure the file system, and be a WebSphere MQ administrator to run amqmfsck.

Create the directory or directories on the networked storage that you are going to use to share queue manager data and logs. The directory owner needs to be a WebSphere MQ administrator, that is, a member of the mqm group on UNIX. The user who runs the tests must have WebSphere MQ administrator authority.

Use the example of exporting and mounting a file system in Create a multi-instance queue manager on Linux to help you through configuring the file system. Different file systems require different configuration steps. Refer to the file system documentation.

  1. Export the shared directory on the networked storage system and start the NFS daemon.
  2. Mount the exported directory on the two WebSphere MQ servers.
  3. Run amqmfsck, without any options, on each system to check basic locking
  4. Run amqmfsck on both WebSphere MQ systems simultaneously, using the -c option, to test writing to the directory concurrently.
  5. Run amqmfsck on both WebSphere MQ systems at the same time, using the -w option, to test waiting for and releasing a lock on the directory concurrently.
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:48:34


Task topicTask topic | Version 8.0.0.7 | fa70120_