Documentation
 
 
 

INIT CLUSTER

Name

INIT CLUSTER -- Initialize edb-async-replic cluster

Synopsis

INIT CLUSTER [ID = integer] [COMMENT = 'string']

Description

Initialize the first node in a new edb-async-replic replication cluster. The initialization process consists of creating the cluster namespace, loading all the base tables, functions, procedures and initializing the node.

ID

The unique, numeric ID number of the node.

COMMENT = 'comment text'

For this process to work, the SQL scripts of the edb-async-replic system must be installed on the DBA workstation (the computer currently executing the slonik utility), while on the system where the node database is running the shared objects of the edb-async-replic system must be installed in the PostgreSQL library directory. Also the procedural language PL/pgSQL is assumed to already be installed in the target database.

Example

INIT CLUSTER (
   ID = 1,
   COMMENT = 'Node 1'
);
    

Note: This command functions very similarly to STORE NODE, the difference being that INIT CLUSTER does not need to draw configuration from other existing nodes.

 
 ©2004-2007 EnterpriseDB All Rights Reserved