Configuring Z APM Connect Base in default mode
As product installer, by using the default configuration process, you need to configure a default environment for Z APM Connect Base on your z/OS® systems.
Procedure
Complete the following steps to configure Z APM Connect Base:
-
Create and customize the Base started task (STC) JCL.
-
Copy the
SAGMSAM
memberAGMAPROC
to a PDS in your z/OSPROCLIB
concatenation. IfAGMAPROC
is not appropriate, you can rename thisPROC
to suit your installation standards. -
Modify the JCL of
AGMAPROC
to point to your IBM Z® APM Connect data sets. Change the&HLQ JCL
parameter in theAGMAPROC JCL
to match the high-level qualifier of your IBM Z APM Connect target libraries. -
Ensure that the user ID that is associated with this
AGMAPROC STC
has READ access to all the IBM Z APM Connect data sets, and an OMVS segment. The OMVS segment allows thisSTC
to use UNIX systems services. - Optional: If you plan to monitor transactions flowing into CICS Transaction Server from IBM MQ, ensure that the user ID associated with theUse the following RACF command to grant the user ID the read access to the profiles of each IBM MQ queue manager:
AGMAPROC STC
has READ access to the resources of each IBM MQ subsystem that you want to monitor.
For example, for queue manager MQP1, and started task user ID ZAPMUSER, use this RACF command:PERMIT <MQ_QMNAME>.BATCH CLASS(MQCONN) ID(<USER_ID>) ACCESS(READ)
PERMIT MQP1.BATCH CLASS(MQCONN) ID(ZAPMUSER) ACCESS(READ)
-
Copy the
-
Review and customize the
SAGMSAM
memberAGMAPARM
, which is pointed to by theAGMAPROC JCL
.Update the TTServerString parameter to point to the IP address and port number of the Z APM Connect Distributed Gateway. The value must be in the form oftcp:ip_address:port
.Note:- If Z APM Connect DG is installed in OpenShift clusters,
ip_address
must match the value set for advertisedHostname in transactionProcessor section of the Distributed Gateway values.yaml file;port
must be set to 443 to connect properly.For example,TTServerString=tcp:ingress.apps:443
- If Z APM Connect DG is installed on a Linux Machine with Docker standalone,
ip_address
is the IP address of Z APM Connect DG;port
must be set to 30455 to connect properly.For example,TTServerString=tcp:9.XX.XX.XXX:30455
Attention: If theTTServerString=tcp:<hostname>:<port>
statement exceeds 80 characters, allocate theAGMAPARM
dataset with RECFM=VB (Record format=variable block) and ensure that the LRECL (Record Length) is greater than the total character count required. This will allow the statement to fit on a single line. - If Z APM Connect DG is installed in OpenShift clusters,
-
If CICS® transactions are monitored by the CICS-MQ adapter, review and customize the
SAGMSAM
memberAGMACMDS
, which is pointed to by theAGMAPROC JCL
.Ensure that each IBM® MQ subsystem to be monitored has oneAGMQ INIT
statement. Uncomment and update theAGMQ INIT
statements.Note: Up to 10 IBM MQ regions can be monitored by a single Z APM Connect Base started task. If you plan on monitoring more than 10 IBM MQ regions, you need an extra Z APM Connect Base started task by using a unique SSNM value. For more information, see Creating a second or subsequent Base STC. - If IMS Db2 backend detail information is desired, review and customize the
SAGMSAM
memberAGMACMDS
, which is pointed to by theAGMAPROC JCL
.Ensure that for each IMS subsystem for which Db2 backend detail information is desired, there is aAGMI SQLINFO
statement. Uncomment and update theAGMI SQLINFO
statements.SQLINFO
is OFF by default. -
Add
SAGMMOD
andSAGMMODP
to your z/OS APF list. - If IBM MQ is stopped or restarted for any reason,
you need to either recycle the Base address space or recycle the MQ subsystem by issuing the
AGMQ INIT dispatcher command. Note: AGMQ TERM command needs to be issued to clear obsolete entry in subsystem communication table's extension. Otherwise the table will fill up over time and cause Z APM Connect to issue an AGMQ0034E error. See command details in the reference section: Base operation.
- Before recycling the Z APM Connect Base, issue the AGMQ TERM command for all MQ subsystems connected to the Base.
- Before recycling the MQ subsystem, issue the AGMQ TERM command for each MQ subsystem to be recycled.