Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Lars Marowsky-Bree wrote: >>> It should automatically synchronize. >>> >>> >>> >> automatically not synchronize :( for examle: >> > > Which kernel, which heartbeat version, which drbd / ocfs2 versions? > > DRBD: Version: 8.0.3 (api:86) Heartbeat - version 2.0.8 OCFS2 - version 1.1.0 kernel - Linux 2.6.21-1-amd64 #1 SMP Sat May 26 17:22:54 CEST 2007 x86_64 GNU/Linux it's Debian 4.0 > >> added : >> <clone globally_unique="false" id="vip1" notify="true"> >> > > I just noticed you're cloning the IPaddr as well. That won't work. At > all. Why are you doing that? > i want to have loadbalancing service - sendmail. with external loadbalancer. from my observation it's working well except drbd +ocfs2 > >> <clone id="fre" globally_unique="false" notify="true"> >> >> that is correct ? >> > > Yes, though I prefer to add them as meta_attributes. > > Anyway, glancing at what I can see from your configuration, it appears > largely correct, at least as far as drbd/ocfs2 are concerned from > heartbeat's point of view. You should read the logfiles and try to see > whether you can figure out anything about drbd or ocfs2 not working > right. > this is log from last mount operation: the filesystem is not mounted... I think i must change my conception to 2 drbd disks with master/slave state and dedicated to active service on cluster node :( hmm when I mount from command line this filesystems heartbeat shows status running - maybe I have to put config for ocfs2 to /etc/fstab ? with noauto options. Filesystem[9410]: 2007/07/06_15:29:24 INFO: Running start for /dev/drbd0 on /rep1 cib[9416]: 2007/07/06_15:29:24 info: write_cib_contents: Wrote version 0.14.1334 of the CIB to disk (digest: 1807d003c1ec0b88f540a52ed69789d3) Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: Faking pre-notification on start. Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: notify: pre for start Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: notify active: nvt-mta-01 nvt-mta-02 Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: notify stop: nvt-mta-02 nvt-mta-01 Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: notify start: nvt-mta-01 nvt-mta-02 Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: post-processed active: nvt-mta-01 nvt-mta-02 nvt-mta-01 nvt-mta-02 Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: I am node nvt-mta-02. Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: heartbeat directory doesn't exist yet, creating. Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: Existing node list: Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: Activating node: nvt-mta-01 lrmd[3948]: 2007/07/06_15:29:24 info: RA output: (dsf:1:start:stderr) ln: creating symbolic link `/sys/kernel/config/cluster/ocfs2/heartbeat/E49E84FEB7DE4ABE944C73D2D8BB9480/nvt-mta-01' to `/sys/kernel/config/cluster/ocfs2/node/nvt-mta-01': Operation not permitted Filesystem[9410]: 2007/07/06_15:29:24 ERROR: /sys/kernel/config/cluster/ocfs2/node/nvt-mta-01: failed to link Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: Activating node: nvt-mta-02 lrmd[3948]: 2007/07/06_15:29:24 info: RA output: (dsf:1:start:stderr) ln: creating symbolic link `/sys/kernel/config/cluster/ocfs2/heartbeat/E49E84FEB7DE4ABE944C73D2D8BB9480/nvt-mta-02' to `/sys/kernel/config/cluster/ocfs2/node/nvt-mta-02': Operation not permitted Filesystem[9410]: 2007/07/06_15:29:24 ERROR: /sys/kernel/config/cluster/ocfs2/node/nvt-mta-02: failed to link Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: Activating node: nvt-mta-01 lrmd[3948]: 2007/07/06_15:29:24 info: RA output: (dsf:1:start:stderr) ln: creating symbolic link `/sys/kernel/config/cluster/ocfs2/heartbeat/E49E84FEB7DE4ABE944C73D2D8BB9480/nvt-mta-01' to `/sys/kernel/config/cluster/ocfs2/node/nvt-mta-01': Operation not permitted Filesystem[9410]: 2007/07/06_15:29:24 ERROR: /sys/kernel/config/cluster/ocfs2/node/nvt-mta-01: failed to link Filesystem[9410]: 2007/07/06_15:29:24 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: Activating node: nvt-mta-02 lrmd[3948]: 2007/07/06_15:29:24 info: RA output: (dsf:1:start:stderr) ln: creating symbolic link `/sys/kernel/config/cluster/ocfs2/heartbeat/E49E84FEB7DE4ABE944C73D2D8BB9480/nvt-mta-02' to `/sys/kernel/config/cluster/ocfs2/node/nvt-mta-02': Operation not permitted Filesystem[9410]: 2007/07/06_15:29:24 ERROR: /sys/kernel/config/cluster/ocfs2/node/nvt-mta-02: failed to link lrmd[3948]: 2007/07/06_15:29:24 info: RA output: (dsf:1:start:stderr) mount.ocfs2: Invalid argument lrmd[3948]: 2007/07/06_15:29:24 info: RA output: (dsf:1:start:stderr) while mounting /dev/drbd0 on /rep1 Filesystem[9410]: 2007/07/06_15:29:24 ERROR: Couldn't mount filesystem /dev/drbd0 on /rep1 Filesystem[9410]: 2007/07/06_15:29:24 INFO: /sys/kernel/config/cluster/ocfs2/heartbeat/E49E84FEB7DE4ABE944C73D2D8BB9480: Filesystem membership already gone. crmd[3951]: 2007/07/06_15:29:24 ERROR: process_lrm_event: LRM operation dsf:1_start_0 (call=68, rc=1) Error unknown error crmd[3951]: 2007/07/06_15:29:24 info: append_restart_list: Resource dsf:1 does not support reloads crmd[3951]: 2007/07/06_15:29:25 info: do_lrm_rsc_op: Performing op=dsf:1_notify_0 key=45:76:bb0ab722-99ec-4da6-a00e-2452d9ef5eba) cib[3947]: 2007/07/06_15:29:25 info: cib_diff_notify: Update (client: 3951, call:100): 0.14.1334 -> 0.14.1335 (ok) cib[3947]: 2007/07/06_15:29:25 info: cib_diff_notify: Update (client: 6821, call:342): 0.14.1335 -> 0.14.1336 (ok) cib[9545]: 2007/07/06_15:29:25 info: write_cib_contents: Wrote version 0.14.1336 of the CIB to disk (digest: a83c9e0c46b41822abc75e495f256b3c) Filesystem[9542]: 2007/07/06_15:29:25 INFO: Running notify for /dev/drbd0 on /rep1 Filesystem[9542]: 2007/07/06_15:29:25 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: notify: pre for stop Filesystem[9542]: 2007/07/06_15:29:25 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: notify active: nvt-mta-01 Filesystem[9542]: 2007/07/06_15:29:25 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: notify stop: nvt-mta-01 nvt-mta-02 Filesystem[9542]: 2007/07/06_15:29:25 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: notify start: nvt-mta-01 Filesystem[9542]: 2007/07/06_15:29:25 INFO: E49E84FEB7DE4ABE944C73D2D8BB9480: ignoring pre-notify for stop. crmd[3951]: 2007/07/06_15:29:25 info: process_lrm_event: LRM operation dsf:1_notify_0 (call=69, rc=0) complete crmd[3951]: 2007/07/06_15:29:26 info: do_lrm_rsc_op: Performing op=dsf:1_stop_0 key=1:76:bb0ab722-99ec-4da6-a00e-2452d9ef5eba) cib[3947]: 2007/07/06_15:29:26 info: cib_diff_notify: Update (client: 3951, call:101): 0.14.1336 -> 0.14.1337 (ok) cib[3947]: 2007/07/06_15:29:26 info: cib_diff_notify: Update (client: 6821, call:343): 0.14.1337 -> 0.14.1338 (ok) Filesystem[9587]: 2007/07/06_15:29:26 INFO: Running stop for /dev/drbd0 on /rep1 cib[9593]: 2007/07/06_15:29:26 info: write_cib_contents: Wrote version 0.14.1338 of the CIB to disk (digest: 4018ba4e17875ac3b0aa865575568231) Filesystem[9587]: 2007/07/06_15:29:26 INFO: /sys/kernel/config/cluster/ocfs2/heartbeat/E49E84FEB7DE4ABE944C73D2D8BB9480: Filesystem membership already gone. Regards, Damian