OCFS2 Cluster FS auf openSuSE 11.1

bit-teufel

bit-teufel

Eroberer
Hallo !

Ich möchte drei nodes cluster mäßig verbinden, dazu will ich ocfs2 nutzen.
Ich habe auf allen nodes (openSuse 11.1 mit Kernel 2.6.28 und allen ocfs Kernel komponenten)
ocfs2-tool via yast2 installiert.
Dann habe ich die nodes konfiguiert bzw. die einzelnen Partitionen formatiert (mkfs.ocfs2 -b 4096 -C 128k -L ocfs2 -N 3 /dev/sdb1).
Wenn ich auf node1 die ocfs2 Partition mounte und das gleiche auf node2 und node3
mache, so ist auf allen Partitionen nicht der gleiche Inhalt.

node1:~ # ls -al /ocfs2_mount/
total 388
drwxr-xr-x 4 root root 4096 Mar 2 19:54 .
drwxr-xr-x 22 root root 4096 Mar 2 19:43 ..
drwxr-xr-x 2 root root 4096 Mar 2 19:54 node_1

node2:~ # ls -al /ocfs2_mount/
total 388
drwxr-xr-x 4 root root 4096 Mar 2 19:55 .
drwxr-xr-x 23 root root 4096 Mar 2 19:45 ..
drwxr-xr-x 2 root root 4096 Mar 2 19:55 node_2

node3:~ # ls -al /ocfs2_mount/
total 388
drwxr-xr-x 4 root root 4096 Mar 2 19:55 .
drwxr-xr-x 22 root root 4096 Mar 2 19:41 ..
drwxr-xr-x 2 root root 4096 Mar 2 19:55 node_3

Ich dachte eigentlich das auf allen ocfs2 Partition bzw. mounts der gleiche Inhalt sein sollte.

Ein "mount" auf allen drei nodes spukt folgendes aus:
configfs on /sys/kernel/config type configfs (rw)
ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
/dev/sdb1 on /ocfs2_mount type ocfs2 (rw,_netdev,heartbeat=local)

Ein "ps -ef | grep -e dlm -e ocfs -e o2" ergibt folgendes
root 34 2 0 19:43 ? 00:00:00 [ocfs2_wq]
root 35 2 0 19:43 ? 00:00:00 [user_dlm]
root 6349 2 0 19:48 ? 00:00:00 [o2net]
root 6735 2 0 19:53 ? 00:00:00 [o2hb-AD14EE3823]
root 11672 2 0 20:10 ? 00:00:00 [ocfs2dc]
root 11673 2 0 20:10 ? 00:00:00 [dlm_thread]
root 11674 2 0 20:10 ? 00:00:00 [dlm_reco_thread]
root 11675 2 0 20:10 ? 00:00:00 [dlm_wq]
root 11677 2 0 20:10 ? 00:00:00 [ocfs2cmt]
root 12505 6184 0 20:32 pts/1 00:00:00 grep -e dlm -e ocfs -e o2

Hier noch die Cluster conf von allen drei nodes.
cat /etc/ocfs2/cluster.conf
node:
ip_port = 7777
ip_address = 172.16.190.20
number = 0
name = node1
cluster = ocfs2

node:
ip_port = 7777
ip_address = 172.16.190.21
number = 1
name = node2
cluster = ocfs2

node:
ip_port = 7777
ip_address = 172.16.190.22
number = 2
name = node3
cluster = ocfs2

cluster:
node_count = 3
name = ocfs2

Wie kann ich es berwerkstelligen, dass alle drei nodes den gleichen Inhalt der Partition sehen ?

Vielen Dank im Voraus
B.-D.
 

Ähnliche Themen

Mein Server versendet SPAM in Massen

Rollei Mini Wifi Camcorder

Eigentümer kann Datei nicht löschen

XEN 4.3 GMP Problem

Kleines Rsnapshot/Cron Problem

Zurück
Oben