Trying to get ocfs2 running on Ubuntu 10. I don't quite understand where everything goes.
I have 2 servers APP1 and APP2 that I want to cluster /dev/sdc1 on. These are separate vms. /dev/sdc is a volume on each system and are not connected.
So where do I run all the commands? On both servers? Or just on 1? Do I need a 3rd server for this configuration? I assumed that I would run all commands on each server. But that seems like it is not the case since nothing syncs. Everything I have read says that the conf file goes on every node but not where to run all the other commands like formatting the partition.
node: ip_port = 7777 ip_address = 192.168.0.101 number = 0 name = APP1 cluster = ocfs2 node: ip_port = 7777 ip_address = 192.168.0.102 number = 1 name = APP2 cluster = ocfs2 cluster: node_count = 2 name = ocfs2
grep ocfs2 /var/log/messages | less
Jan 31 14:29:44 APP1 kernel: [1407406.894232] ocfs2_dlm: Nodes in domain ("A8CD50FEDEFB41D895C6740D9FD7A31C"): 0 Jan 31 14:43:21 APP1 kernel: [1408222.801633] ocfs2_dlm: Nodes in domain ("32C4EC4174ED46B286A345773B24BF99"): 0 Jan 31 14:43:21 APP1 kernel: [1408222.853273] ocfs2: Mounting device (8,33) on (node 0, slot 0) with ordered data mode. Jan 31 14:55:28 APP1 kernel: [1408950.020641] ocfs2: Unmounting device (8,33) on (node 0)
service o2cb status
Driver for "configfs": Loaded Filesystem "configfs": Mounted Stack glue driver: Loaded Stack plugin "o2cb": Loaded Driver for "ocfs2_dlmfs": Loaded Filesystem "ocfs2_dlmfs": Mounted Checking O2CB cluster ocfs2: Online Heartbeat dead threshold = 31 Network idle timeout: 30000 Network keepalive delay: 2000 Network reconnect delay: 2000 Checking O2CB heartbeat: Active