Setup Primary Node
The example uses the following parameter settings - HOSTNAME=adaclu51 and DBID=51.
1. Login to host, source Adabas environment and execute following commands:
crdemodb 51
adaini dbid=51 add topic=nucparms item=OPTIONS=AUTO_EXPAND
adaini dbid=51 add topic=nucparms item=ADATCP
adaini dbid=51 add topic=nucparms item=PORTNUMBER=56051
adaini dbid=51 add topic=nucparms item=CLUSTER_PORT=55051
adastart 51
2. Display nucleus parameter settings and status of cluster:
[saguser@ADACLU51 softwareag]$ adaini dbid=51 show topic=nucparms
ADATCP
CLUSTER_PORT=55051
LBP=100M
LOGGING=
LWP=16M
NOPLOG
NT=6
OPTIONS=AUTO_EXPAND
PORTNUMBER=56051
TNAA=900
TNAE=900
TNAX=900
TT=300
[saguser@ADACLU51 softwareag]$ adaopr dbid=51 disp=clu
%ADAOPR-I-STARTED, 23-MAR-2022 10:58:46, Version d.d.d.d (Linux 64Bit)
Database 51, startup at 23-MAR-2022 10:56:38
ADANUC Version d.d.d.d, PID 21489
ADANUC Version d.d.d.d
Database 51 Cluster on 23-MAR-2022 10:58:46
Cluster UUID ea08facf-aa97-11ec-b33a-0a85c666cf2c
view was last updated at sequence number 1
cluster is at sequence number 2
1 Node(s) Primary component of the cluster
NAME ADATCP STATUS
ADACLU51-55051 adatcp://ADACLU51:56051 SYNCED
Primary node: ADACLU51-55051
Current node: ADACLU51-55051
Status of this node: Synced
%ADAOPR-I-TERMINATED, 23-MAR-2022 10:58:47, elapsed time: 00:00:01