node_cluster

The node_cluster table defines the server computers that make up this iProcess Engine node.

Structure

The node_cluster table has the following structure:

TABLE node_cluster(

logical_machine_id

INTEGER

NOT NULL,

physical_machine_name

VARCHAR(256)

NOT NULL,

master

SMALLINT

NOT NULL,

check_error_files

SMALLINT

NOT NULL,

machine_comment

VARCHAR(256)

)

Column

Description

logical_machine_id

Unique ID for this server.

physical_machine_name

The name of this server (as returned by the UNIX uname command).

master

Flag that defines whether this computer is acting as the master server (1) or, if a node-cluster architecture is being used, as a slave server (0).

check_error_files

Flag that defines whether the Process Sentinels on this server check (1) or do not check (0) for the creation of SWDIR\logs\sw_error and sw_warn files.

machine_comment

Descriptive comment describing this server.

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

pk_node_cluster

logical_machine_id

Foreign Keys

None.

Indexes

None.

Table Activity

The node_cluster table contains one row for each server computer that is part of the iProcess Engine node.

Rows are added, updated and deleted in the following situations.

A row is...

When...

added

a new server is added to the node, either at installation or by using the SWDIR\util\swadm utility.

updated

a server’s details are updated, using the SWDIR\util\swadm utility.

deleted

a server is removed from the node, using the SWDIR\util\swadm utility.