From: Gordan B. <go...@bo...> - 2008-02-09 16:50:46
|
Gordan Bobic wrote: Update: Part 1 solved. > isISCSIRootsource $rootsource [...] > isDRBDRootSource $rootsource Serves me right for not using cut and paste more. :-/ One thing that is still causing problems is that hostname doesn't appear to get set to $nodename, at least not until later on. Where does this get set, and how difficult would it be to move it to before iSCSI/DRBD initialization? I can put hostname $nodename in drbd-lib.sh, but that seems a bit nasty if there is already a common place for all the network initialization. It still doesn't explain, however, why iSCSI is getting started up even though $rootsource is drbd and not iscsi. > 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"/>) This is still ongoing, but I think I have most of the DRBD plumbed in. I'm just waiting for a response on a DRBD issue regarding restarting from a Primary/Unknown state into a Secondary/Unknown state. If there is a built in way to configure it to come back as Primary/Unknown I'd prefer to use that, but failing that I'll write a small wrapper to force local to Primary if secondary is Unknown. Gordan |