Configuring multiple Data Virtualization Manager servers as peers
Configure your Data Virtualization Manager servers to use the Integrated DRDA Facility (IDF) for peer-to-peer communication.
About this task
Use the following procedure to configure multiple Data Virtualization Manager servers as peers using IDF.
The procedure uses the following terminology:
- Local server. The Data Virtualization Manager server that is the requester in the peer-to-peer relationship.
- Remote target peer server. The Data Virtualization Manager server that is the target in the peer-to-peer relationship.
DRDA is used to request and receive data from peer targets. As indicated in the procedure, you will use DEFINE DATABASE configuration commands to describe TYPE(PEER) IDF target servers.
Procedure
Example
The following example shows the settings in a peer-to-peer server configuration using IDF.
On the remote target peer server, the following start-up parameters are defined:
MODIFY PARM NAME(IDF) VALUE(YES)
MODIFY PARM NAME(IDFALREADYVERIFIED) VALUE(CLIENT)
MODIFY PARM NAME(IDFLOCATION) VALUE(ZOS1RDBF)
MODIFY PARM NAME(IDFPORT) VALUE(9999)
MODIFY PARM NAME(OEPORT) VALUE(9991)
MODIFY PARM NAME(OESSLPORTNUMBER) VALUE(0)
MODIFY PARM NAME(SQLENGDFLTCCSID) VALUE(1047)
On the local server, the remote target peer server is defined as follows:
DEFINE DATABASE TYPE(PEER)
NAME(RDBF)
DDFSTATUS(ENABLE)
DOMAIN(zos1.domain.name)
SECMEC(USRIDONL)
LOCATION(ZOS1RDBF)
PORT(9999)
OEPORT(9991)
OESSLPORT(0)
CCSID(1047)
The following table summarizes how the values correlate:
| Server start-up parameter on remote target peer server | Database definition for remote target peer server on local server |
|---|---|
| IDFALREADYVERIFIED | SECMEC |
| IDFLOCATION | LOCATION |
| IDFPORT | PORT |
| OEPORT | OEPORT |
| SQLENGDFLTCCSID | CCSID |
IDF for load balancing
The Terminal Owning Regions (TOR) and Data Owning Regions (DOR) uses IDF for load balancing/routing capability. The AVZIDFRR rule facilitates query distribution across different IDF targets by utilizing a comma-delimited list of servers specified in the GLOBAL1.AVZIDFRR variable. To implement a round-robin approach for queries, follow these steps:
- Create identical virtual tables on two or more IDF servers with default naming conventions. For example, IDB1_STAFFVS and IDB2_STAFFVS.
- Define the global variable GLOBAL1.AVZIDFRR with a comma-separated list of servers. For example, IDB1,IDB2.
- Activate the rule and query tables using the IDFRR_tablesuffix pattern. For example:
In this setup, each query substitutes IDFRR_ with the first server’s name in the GLOBAL1.AVZIDFRR.SELECT * FROM IDFRR_STAFFVS