Emergency storage - basic configuration
How you set up a basic scenario for emergency storage on IBM® MQ.
About this task
SMDS and message offloading can be used in conjunction with SCM to reduce the likelihood of an MQRC_STORAGE_MEDIUM_FULL reason code being returned to an IBM MQ application during an extended outage.
For example, your enterprise has an application that puts messages onto the queue and an application that gets messages from the queue. During normal running, you expect the queue depth to be close to zero, but a business requirement indicates that the system be able to tolerate a two-hour outage of the application that gets the messages.
This means that the shared queue being used must be able to contain two hours of messages from the putting application. Currently you achieve this by using the default offload rules, and SMDS.
You expect the rate of messages being sent to the shared queue to double in the short to medium term. Although your requirement that the system be able to tolerate a two-hour outage still exists, not enough real storage is available in the CF to double the size of the structure. Because the CF containing the application structure resides on a zEC12 machine, you have the capability of associating sufficient SCM with the structure to store enough messages, so that a two-hour outage can be tolerated
- Queue sharing group,
IBM1
, that contains a single queue manager,CSQ3
. In addition to the administration structure, the queue sharing group defined a single application structure,SCEN1
. - Coupling facility (CF)
CF01
, in which theSCEN1
application structure is stored as theIBM1SCEN1
structure. This structure has a maximum size of 1 GB. - Single shared queue,
SCEN1.Q
that the application structure uses.
Furthermore, assume that queue manager CSQ3
is already the only member of queue sharing group IBM1
.
IBM1SCEN1
to the coupling facility
resource manager (CFRM) policy. For simplicity, the structure is defined so that it can be created
in only a single coupling facility, CF01
, by specifying
PREFLIST(CF01)
. PREFLIST
for any
structures that are used by IBM MQ. Procedure
Results
You have created the basic configuration. You can now obtain an idea of the baseline performance of your configuration using whatever method you select.