From: Gordan B. <go...@bo...> - 2008-02-09 00:56:24
|
Hi, I'm trying to add support for DRBDs, and trying to stick with doing it in a way consistent with iSCSI support as far as it is possible. I'm seeing a few weird things, though. In linuxrc.generic.sh: [...] # start iscsi if apropriate isISCSIRootsource $rootsource if [ $? -eq 0 ]; then loadISCSI startISCSI $rootsource $nodename fi # start drbd if appropriate isDRBDRootSource $rootsource if [ $? -eq 0 ]; then loadDRBD startDRBD $rootsource $nodename fi [...] and in cluster.conf: [...] <clusternodes> <clusternode name="sentinel1c" nodeid="1" votes="2"> <com_info> <rootsource name="drbd"/> [...] From this, one would assume that isISCSIRootsource would return false and iSCSI not get initialized, and isDRBDRootSource would return true and get initialized. This is the opposite of what I'm seeing. iSCSI gets started, and the modules loaded. DRBD doesn't. Am I misunderstanding where $nodename is coming from? I'm not particularly bothered by iSCSI trying to start (and failing because the iscsi packages aren't in the rpm list), but that makes the drbd not starting all the more puzzling. :-/ Further on (unrelated to this), I get cman starting, but ccsd failing, so the boot-up aborts. But ps -aux | grep ccsd shows that ccsd is in fact already running. I haven't seen this behaviour before. The only thing I can think of that is different is that this is a 2-node cluster, which is much smaller than what I usually work with. (Yes I did set <cman two_node="1" expected_votes="2"/>) Any ideas? Gordan |