cancel
Showing results for 
Search instead for 
Did you mean: 

add node

linuly
Level 4

hi,

i have 2 nodes vcs -node 1 and  node 2 and i like to add node 3.

new node: node3
./installer -install
on node 1 and 2
/etc/llthosts
0 node1
1 node2
2 node3 ----->add this
scp /etc/llt* node3:/etc
scp /etc/VRTSvcs/conf/config/main.cf node3:/etc/VRTSvcs/conf/config

node 0 and 1 /etc/gabtab
gabconfig -c -n3           ->edit
scp /etc/gabtab node3:/etc
scp /etc/vx/.uuids/clusuuid node3:/etc/vx/.uuids

node3
ip a
eth1:
00:0c:29:f4:e9:56
eth2:

vi /etc/llttab
set-node node3
link eth1 eth-


ssh-keygen,scp .ssh/id_rsa.pub node1:/root/.ssh/authorized_keys scp .ssh/id-rsa vcs-node2:/root/.ssh/authorized_keys

vi /etc/sysconfig/llt
llt_start=1
llt-stop=1

vi /etc/sysconfig/gab
gab_start=1
gab_stop=1

vi /etc/sysconfig/vcs
vcs_start=1
vcs_stop=1

systemctl daemon-reload
systemctl start llt
systemctl start gab
node3 # gabconfig -a
GAB Port Memberships
===============================================================
Port a gen 2c6003 membership 012
Port h gen 2c6002 membership 012

in node 1

gabconfig -a
GAB Port Memberships
===============================================================
Port a gen 2c6003 membership 012
Port h gen 2c6002 membership 012

 

node3
more /etc/VRTSvcs/conf/config/main.cf
include "OracleASMTypes.cf"
include "types.cf"
include "CRSResource.cf"
include "CSSD.cf"
include "Db2udbTypes.cf"
include "MultiPrivNIC.cf"
include "OracleTypes.cf"
include "PrivNIC.cf"
include "SybaseTypes.cf"

cluster test4 (
SecInfo256 = "c4:ec:8c:68:c9:4b:f3:32:39:f9:f1:8f:37:d7:33:a7:de:51:e6:e8:de:89
:59:36:af:89:c2:d4:12:bc:34:30"
IV256 = "98:be:a6:80:de:c2:ed:b5:cd:d2:4e:ad:23:78:90:11:f2:f2:aa:fa:ab:11:5b:0
6:cd:d2:4e:ad:23:78:90:11"
UserNames = {
admin = "f5:88:d7:db:64:b7:b7:74:82:7c:b4:d7:18:68:a2:45:bd:de:7a:1c:f
3:49:39:13:fd:57:e2:97:1c:21:32:66" }
ProtocolNumber = 10000
Administrators = { admin }
)

system node1 (
)

system node2 (
)

system node3 (
)

in node 1

more /etc/VRTSvcs/conf/config/main.cf
include "OracleASMTypes.cf"
include "types.cf"
include "CRSResource.cf"
include "CSSD.cf"
include "Db2udbTypes.cf"
include "MultiPrivNIC.cf"
include "OracleTypes.cf"
include "PrivNIC.cf"
include "SybaseTypes.cf"

cluster test4 (
SecInfo256 = "c4:ec:8c:68:c9:4b:f3:32:39:f9:f1:8f:37:d7:33:a7:de:51:e6:e8:de:89
:59:36:af:89:c2:d4:12:bc:34:30"
IV256 = "98:be:a6:80:de:c2:ed:b5:cd:d2:4e:ad:23:78:90:11:f2:f2:aa:fa:ab:11:5b:0
6:cd:d2:4e:ad:23:78:90:11"
UserNames = {
admin = "f5:88:d7:db:64:b7:b7:74:82:7c:b4:d7:18:68:a2:45:bd:de:7a:1c:f
3:49:39:13:fd:57:e2:97:1c:21:32:66" }
ProtocolNumber = 10000
Administrators = { admin }
)

system node 1 (
)

system node 2(
)

i copy main.cf from node 3 to 1 and 2

The below is correct?

haconf -makerw

copy /etc/VRTSvcs/conf/config/main.cf 192.168.1.5:/etc/VRTSvcs/conf/config->192.168.1.5 is node 1

haconf -dump -makero

 

or i go on node 1 and 2 and

haconf -makerw

haconf -dump -makero

i reboot all the node

 

on all the nodes i have

lltconfig
LLT is running
ps -ef|grep vcs
root 4934 1 0 17:00 ? 00:00:00 /opt/VRTSvcs/bin/had
root 4948 1 0 17:00 ? 00:00:00 /opt/VRTSvcs/bin/hashadow
root 5020 1 0 17:00 ? 00:00:00 /opt/VRTSvcs/bin/CmdServer
root 18067 6457 0 17:02 pts/0 00:00:00 grep --color=auto vcs
 gabconfig -a
GAB Port Memberships
===============================================================

 

Why this?

 

0 REPLIES 0