BASSAGET Cédric
2017-Nov-07 07:37 UTC
[Ocfs2-users] Adding new node to an online OCFS2 cluster
Hello, I'm currently running an OCFS2 cluster on two hosts. My ocfs2 partition is an iscsi disk mounted on both hosts. I need to add a third host to this cluster. I've set up iscsi (& multipath), but now I'm looking for the correct way to add the ocfs2 partition to my existing cluster. Actual hosts : hostA and hostB (same config) : root at hostA:~# cat /etc/ocfs2/cluster.conf node: ip_port = 7777 ip_address = 192.168.155.16 number = 1 name = virtm5 cluster = ocfs2 node: ip_port = 7777 ip_address = 192.168.155.17 number = 2 name = virtm6 cluster = ocfs2 cluster: node_count = 2 name = ocfs2 hostC has no cluster.conf file. How do I "Live-add" hostC to this existing cluster ? I did not find a doc explaining this. Maybe I did not look in the right place... Found that : https://urldefense.proofpoint.com/v2/url?u=http-3A__www.waldersten.net_content.php-3F_archives_61-2DAdd-2DOCFS2-2Dnode-2Dto-2Donline-2Dcluster.html&d=DwIFaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=wXmkJNAUtutY0U9inuQWCbzSSRji5zLpyR0a_Mek4jM&m=8owdj1-8x8JmhwDgF4aPmEfgkajIZHl39kxMSm8XHPo&s=KccMmA7f1RKhqr4VUQdBBBZg5lIC5tKCEkNgHPsRu0k&ebut I would prefer an official doc. Regards, C?dric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20171107/c9d4ed4b/attachment.html
BASSAGET Cédric
2017-Nov-07 10:59 UTC
[Ocfs2-users] Adding new node to an online OCFS2 cluster
I've set-up a lab with a 2-node OCFS2 cluster and a new third one. I ran, on the two nodes : o2cb_ctl -C -i -n hostC -t node -a number=2 -a ip_address=192.168.0.18 -a ip_port=7777 -a cluster=ocfs2 systemctl reload ocfs2 then I copied the config file on hostC and restart ocfs2 on hostC. I get the error : [ 7594.853214] (mount.ocfs2,11753,0):ocfs2_find_slot:490 ERROR: no free slots available! [ 7594.853467] (mount.ocfs2,11753,0):ocfs2_mount_volume:1859 ERROR: status = -22 Any idea ? 2017-11-07 8:37 GMT+01:00 BASSAGET C?dric <cedric.bassaget.ml at gmail.com>:> Hello, > I'm currently running an OCFS2 cluster on two hosts. > My ocfs2 partition is an iscsi disk mounted on both hosts. > > I need to add a third host to this cluster. > I've set up iscsi (& multipath), but now I'm looking for the correct way > to add the ocfs2 partition to my existing cluster. > > Actual hosts : hostA and hostB (same config) : > root at hostA:~# cat /etc/ocfs2/cluster.conf > node: > ip_port = 7777 > ip_address = 192.168.155.16 > number = 1 > name = virtm5 > cluster = ocfs2 > node: > ip_port = 7777 > ip_address = 192.168.155.17 > number = 2 > name = virtm6 > cluster = ocfs2 > cluster: > node_count = 2 > name = ocfs2 > > hostC has no cluster.conf file. > > How do I "Live-add" hostC to this existing cluster ? I did not find a doc > explaining this. Maybe I did not look in the right place... > Found that : https://urldefense.proofpoint.com/v2/url?u=http-3A__www.waldersten.net_content.php-3F_archives_61-2DAdd-2D&d=DwIFaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=wXmkJNAUtutY0U9inuQWCbzSSRji5zLpyR0a_Mek4jM&m=S4rtHTCCLTEz4uJSf3vcOPhgc5P0uiR5olS--k7Sx1U&s=n2kCvMaRK4kDTPulYwjKB2wZgsigXy_RZYUKkSsuP3A&e> OCFS2-node-to-online-cluster.html > but I would prefer an official doc. > > Regards, > C?dric >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20171107/51827c67/attachment.html