PLB_DMALTIP Keyword


 

     PLB_DMALTIP={specification}

 

This keyword specifieds the IP addresses or URLs for a primary data manager server and the alternate data managers that are accessed in case the primary data manager server fails. The PLB_DMALTIP can have multiple primary data manager servers specified along with the alternate data managers for each primary server.

 

This keyword may be specified in the 'environment' section that is included in the PLBWIN or PLBSERVE INI files.

 

This keyword allows alternate data manager switching without having to change any of the other keywords that deal with data manager addresses. In fact, this is the only place where an alternate data manager address can be specified. No changes are required for MFD files and OPEN/PREP statements that have IP address specified. The PLB_xxxxUSEIP keywords also does not need to be modified.

 

This keyword must be used for any client expecting to use the rollover capability of a data manager. Note that the PLB_DMALTIP keyword may also be used when accessing data manager servers that are not in a replication network.

Format:

     PLB_DMALTIP={primary1}[|{sec1A}[ | {sec1B}[...]]]

           [ ;{primary2}[|{secd2A}[|{sec2B}[...]]]...

 

Where:

primaryN
{primaryN} may be specified either as 'ip:port' or as a URL and identifies the IP address of the primary data manager that the user program accesses. When multiple primary data managers are used, the semicolon (;) character separates one primary data manager server from the next.
secNA
The {secNA} data can be formatted either as 'ip:port' or as a URL. The {secNA} data identifies the ip address of the first secondary data manager associated with the {primaryN} server.
secNB
The {secNB} data can be formatted either as 'ip:port' or as a URL. The {secNB} data identifies the ip address of the second secondary data manager associated with the {primaryN} server

Note:

  1. A secondary replication data manager cannot have the same product serial number as the primary data manager. If a conflict is detected, the secondary data manager terminates immediately.

Examples:

 

PLB_DMALTIP=192.168.0.200|192.168.0.201

PLB_DMALTIP=1.1.0.100|1.1.0.101;1.1.0.200|1.1.0.201

 

 

See Also: PLBWIN Keywords, PLBCE Keywords, PLBLinux Environment Variables, Compiler and Runtime Options

 



Compiler and Runtime Options PLB_FIXED Keyword PLB_DMKEEPACTIVE Keyword