Online Cluster Configuration Modification (lkt_cl_cfg_reload)

This command is used to load a new configuration into a running gateway.

lkt_cl_cfg_reload(lpar_t host, lpar_t filedesc , lpar_t options);

It has following restrictions:

There can be no open transactions when the configuration is reloaded.
Loading a new configuration, blocks all modify commands until the new configuration is loaded.
The new configuration might only differ from the existing configuration in the following ways:
Node host names and ports might change
The order of existing node definitions must be preserved

Input

host (required)

This is used to identify the server. For more information, see Communicating with TIBCO Patterns Servers.

filedesc (required)

is the name of the new file. This must be either a full path name of a file, readable by the gateway server process or a relative path based on the working directory of the gateway server process.

options

for future use.

 

Error codes and items returned by lkt_dbsearch

IOERROR

lpar that contains the bad file desc

CL_CONFIG

lpar that contains the descriptor of the bad config file

CL_CFG_CONFLICT

LPAR_STR_LAYOUT with name of the layout that has an issue

TRAN_EXISTS

(none)

GATEWAY

(none)