Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
>>>>> Rob Morin writes: Rob> OK so i just read on a post that i am not suppose to have heartbeat Rob> and my services start on boot up..... so i removed them from startup Rob> via the "update-rc.d -f heartbeat remove" command on my Debian Rob> system and then rebooted, everything came up???? Only 'heartbeat' needs to be set as start-on-boot, not services. I run similar configuration on CentOS 5, with all services (which are resources in my heartbeat config) removed from the startup. Rob> Hhmmm can i not add heartbeat as an S99heartbeat on start up rather Rob> than have to manually start it after boot? Rob> also i see this in my /proc/drbd n the primary Rob> version: 8.0.4 (api:86/proto:86) Rob> SVN Revision: 2947 build by root at stewie, 2008-01-17 12:26:19 Rob> 0: cs:StandAlone st:Primary/Unknown ds:UpToDate/DUnknown r--- Rob> ns:0 nr:0 dw:40 dr:1549 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 Rob> resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0 Rob> act_log: used:0/257 hits:10 misses:0 starving:0 dirty:0 changed:0 Rob> And on secondary... Rob> version: 8.0.4 (api:86/proto:86) Rob> SVN Revision: 2947 build by root at megs, 2008-01-17 13:19:05 Rob> 0: cs:StandAlone st:Secondary/Unknown ds:UpToDate/DUnknown r--- Rob> ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 Rob> resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0 Rob> act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0 Rob> Does this mean drbd is not working correctly? Above output suggest nodes aren't connected, probably due to split-brain. So you need to fix split-brain. Rob> Rob Morin wrote: [snipped] >> >> A ps -ax shows this after the reboot, but nothing comes up the ip is >> not enabled and my /var/www i snot mounted >> >> 2957 ? S 0:00 [drbd0_worker] >> 2972 ? S 0:00 [drbd0_receiver] >> 2987 ? S 0:00 ha_logd: read process >> 2988 ? S 0:00 ha_logd: write process >> 3112 ? SLs 0:00 heartbeat: master control process >> 3119 ? Ss 0:00 /usr/sbin/atd >> 3126 ? Ss 0:00 /usr/sbin/cron >> 3139 ? SL 0:00 heartbeat: FIFO reader >> 3140 ? SL 0:00 heartbeat: write: ping 192.168.5.1 >> 3141 ? SL 0:00 heartbeat: read: ping 192.168.5.1 >> 3148 ? SL 0:00 heartbeat: write: serial /dev/ttyS0 >> 3149 ? SL 0:00 heartbeat: read: serial /dev/ttyS0 Heartbeat doesn't starts activating resources immediately after starting. So you've to wait for sometime. Keep an eye on heartbeat logs at primary. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080120/759a13e9/attachment.pgp>