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)

NULL)

Column

Description

logical_machine_id

Unique ID for this server.

physical_machine_name

If a UNIX server, the name of this server (as returned by the UNIX uname command). If a Windows server, then the name of this server or the Microsoft Windows cluster network name.

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

Triggers

The following DELETE CASCADE trigger is defined for this table.

Trigger Name

Triggered by

Affects Table(s)

tr_node_cluster

DELETE

eai_registry

process_config

active_logins

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.