Setup Secondary Nodes
The example uses the following parameter settings HOSTNAME=adaclu53 , DBID=53 and HOSTNAME=adaclu52 , DBID=52.
1. Login to first host, source Adabas environment and execute following commands
crdemodb 53
adaini dbid=53 add topic=nucparms item=OPTIONS=AUTO_EXPAND
adaini dbid=53 add topic=nucparms item=ADATCP
adaini dbid=53 add topic=nucparms item=PORTNUMBER=56053
adaini dbid=53 add topic=nucparms item=CLUSTER_PORT=55053
adaini dbid=53 add topic=nucparms item=CLUSTER_URL=gcomm://adaclu51:55051,adaclu52:55052
adastart 53
2. Display nucleus parameter settings and status of cluster
[saguser@ADACLU53 softwareag]$ adaini dbid=53 show topic=nucparms
ADATCP
CLUSTER_PORT=55053
CLUSTER_URL=gcomm://adaclu51:55051,adaclu52:55052
LBP=100M
LOGGING=
LWP=16M
NOPLOG
NT=6
NU=1001
OPTIONS=AUTO_EXPAND
PORTNUMBER=56053
TNAA=900
TNAE=900
TNAX=900
TT=300
[saguser@ADACLU53 softwareag]$ adaopr dbid=53 disp=clu
%ADAOPR-I-STARTED, 23-MAR-2022 14:22:55, Version d.d.d.d (Linux 64Bit)
Database 53, startup at 23-MAR-2022 14:13:19
ADANUC Version d.d.d.d, PID 24763
ADANUC Version d.d.d.d
Database 53 Cluster on 23-MAR-2022 14:22:55
Cluster UUID ea08facf-aa97-11ec-b33a-0a85c666cf2c
view was last updated at sequence number 3
cluster is at sequence number 3
2 Node(s) Primary component of the cluster
NAME ADATCP STATUS
ADACLU53-55053 adatcp://ADACLU53:56053 SYNCED
ADACLU51-55051 adatcp://ADACLU51:56051 SYNCED
Primary node: ADACLU51-55051
Current node: ADACLU53-55053
Status of this node: Synced
%ADAOPR-I-TERMINATED, 23-MAR-2022 14:22:55, elapsed time: 00:00:00
3. Login to second host, source Adabas environment and execute following commands
crdemodb 52
adaini dbid=52 add topic=nucparms item=OPTIONS=AUTO_EXPAND
adaini dbid=52 add topic=nucparms item=ADATCP
adaini dbid=52 add topic=nucparms item=PORTNUMBER=56052
adaini dbid=52 add topic=nucparms item=CLUSTER_PORT=55052
adaini dbid=52 add topic=nucparms item=CLUSTER_URL=gcomm://adaclu51:55051,adaclu53:55053
adastart 52
4. Display nucleus parameter settings and status of cluster
[saguser@ADACLU52 softwareag]$ adaini dbid=52 show topic=nucparms
ADATCP
CLUSTER_PORT=55052
CLUSTER_URL=gcomm://adaclu51:55051,adaclu53:55053
LBP=100M
LOGGING=
LWP=16M
NOPLOG
NT=6
NU=1001
OPTIONS=AUTO_EXPAND
PORTNUMBER=56052
TNAA=900
TNAE=900
TNAX=900
TT=300
[saguser@ADACLU52 softwareag]$ adaopr dbid=52 disp=clu
%ADAOPR-I-STARTED, 23-MAR-2022 14:34:21, Version d.d.d.d (Linux 64Bit)
Database 52, startup at 23-MAR-2022 14:29:37
ADANUC Version d.d.d.d, PID 27525
ADANUC Version d.d.d.d
Database 52 Cluster on 23-MAR-2022 14:34:20
Cluster UUID ea08facf-aa97-11ec-b33a-0a85c666cf2c
view was last updated at sequence number 4
cluster is at sequence number 4
3 Node(s) Primary component of the cluster
NAME ADATCP STATUS
ADACLU53-55053 adatcp://ADACLU53:56053 SYNCED
ADACLU52-55052 adatcp://ADACLU52:56052 SYNCED
ADACLU51-55051 adatcp://ADACLU51:56051 SYNCED
Primary node: ADACLU51-55051
Current node: ADACLU52-55052
Status of this node: Synced
%ADAOPR-I-TERMINATED, 23-MAR-2022 14:34:21, elapsed time: 00:00:00