Adjuk hozzá a node2.pelda.hu -t is a clusterhez.
node1:
Most a node1 a master, így minden a cluster kezelésére szolgáló parancsot ezen a node-on kell kiadni. Először adjuk hozzá a clusterhez a node2.pelda.hu -t:
node1:~# gnt-node add node2.pelda.hu
-- WARNING --
Performing this operation is going to replace the ssh daemon keypair
on the target machine (node2.pelda.hu) with the ones of the current one
and grant full intra-cluster ssh root access to/from it
The authenticity of host 'node2.pelda.hu (172.16.2.2)' can't be established.
RSA key fingerprint is 20:e2:f7:58:89:42:a3:5c:c9:49:88:dc:66:e1:f5:55.
Are you sure you want to continue connecting (yes/no)? yes
root@node2.pelda.hu's password:
Nézzük meg az eredményt:
node1:~# gnt-node list
Node DTotal DFree MTotal MNode MFree Pinst Sinst
node1.pelda.hu 40700 40700 203 64 124 0 0
node2.pelda.hu 40700 40700 203 64 124 0 0
node1:~#
Friss hozzászólások
22 óra 46 perc
5 hét 3 nap
6 hét 3 nap
8 hét 17 óra
1 év 5 hét
1 év 36 hét
1 év 36 hét