Deploy OneAgent on multiple instances of zDC/zRemote

You may encounter a situation where you need to install an additional instance of zDC. OneAgent supports such scenarios. However, if a single zRemote handles all communication with several zDC, zRemote is at risk of overload. To prevent this, we recommend that you install a designated zRemote for every zDC.

To add an additional zRemote

Download and install a new ActiveGate for Mainframe monitoring on a new Linux instance. This will add another zRemote instance.

Be sure to run the installation script with the --enable-zremote option.

Make sure that the new oneagentz instance is up and listening, by issuing a netstat command:

netstat -ap |grep oneagentz
tcp        0      0 0.0.0.0:8898             0.0.0.0:*               LISTEN      8322/oneagentz

On the zOS LPAR, copy the current ZDC startup JCL SYSIN member ZDCSYSIN to another name, for example ZDCSYSI2.

Edit the new JCL SYSIN member by changing the following parameters:

  1. Change name=<agentname> to a new OneAgent name.
  2. Point zremoteagent=host:port to the new host and port of the new zRemote.
  3. Change DEFAULT(YES) to DEFAULT(NO). The first zremote is designated as the default.
  4. Change SUBSYSTEM_ID(xxxx) to another value. CICS will use this name to connect to the new zDC.

Make a copy of the current zDC Startup PROC and change the SYSIN to point to the new SYSIN member.

Start the new zDC and check the output to make sure that it correctly connects to the new zRemote.

Create a SIT override for some CICS regions to target the new zDC:

INITPARM=(ZDTPLT='<newSUBSYSTEM_ID>')

The value must match the ID from the new JCL SYSIN member.

Test the CICS region to double-check communication with the new zDC subsystem, by issuing a DTAX PING command.