How you add SMDS and SCM for emergency storage on IBM® MQ.
About this task
Important:IBM z16 is planned to be the
last generation of IBM Z® to support the use of
Virtual Flash Memory (also known as Storage Class Memory, or SCM) for Coupling Facility images. For
more information see: IBM Z and IBM LinuxONE 4Q 2023 Statements of Direction.
As an alternative,
you should either use larger structures or offload messages to SMDS.
This part of the task uses the basic configuration described in Emergency storage - basic configuration. The
scenario describes the addition of shared message data sets (SMDS), and then of SCM to the initial
structure.
This final configuration is illustrated in Figure 1.
Procedure
Create the SMDS data set that the SCEN1 application structure uses, by editing
the CSQ4SMDS sample JCL, as shown:
Issue the ALTER
CFSTRUCT command to change the SCEN1 application structure, to use SMDS for
offloading, implementing the default offload rules:
ALTER CFSTRUCT(SCEN1) OFFLOAD(SMDS) OFFLD1SZ(32K) OFFLD2SZ(4K) OFFLD3SZ(0K)
DSGROUP('CSQSMDS.SCEN1.*.SMDS') DSBLOCK(1M)
Note the following:
Because SCEN1.Q is the only shared queue on the SCEN1
application structure, the DSBLOCK value has been set to 1M, the largest value
possible. This should be the most efficient setting for our scenario.
Because the messages sent by the putting application are 30 KB, offloading to SMDS does not
start until the second offload rule is met, when the structure is 80% full.
Run your test application again.
Note the increased storage of messages on the queue.
Add 4 GB of SCM to structure IBM1SCEN1 by carrying out the following
procedure:
Check how much SCM is installed, and allocated to CF01, by issuing the
following command:
D CF,CFNAME=CF01
Check the STORAGE-CLASS MEMORY figures in the STORAGE
CONFIGURATION section of the displayed output to see the available storage.
Update the CFRM policy with the SCMMAXSIZE and SCMALGORITHM
keywords as shown: