Jerome Yanga wrote:
> Stopping the Heartbeat daemon (service heartbeat stop) does not stop the DRBD 
> daemon even if it is one of the resources.
> 
> # service heartbeat stop
> Stopping High-Availability services:
>                                                            [  OK  ]
> # service drbd status
> drbd driver loaded OK; device status:
> version: 8.2.7 (api:88/proto:86-88)
> GIT-hash: 61b7f4c2fc34fe3d2acf7be6bcc1fc2684708a7d build by 
> r...@nomen.esri.com, 2009-03-24 08:29:57
> m:res  cs            st  ds  p  mounted  fstype
> 0:r0   Unconfigured

It stops your drbd resource (device). It just does not unload the
module. That is the expected behaviour.

Regards
Dominik

> Running the command below stops the DRBD daemon.
> 
> Service drbd stop
> 
> 
> Applications Installed:
> =======================
> drbd-8.2.7-3
> heartbeat-2.99.2-6.1
> pacemaker-1.0.2-11.1
> 
> 
> CIB.xml:
> ========
> # crm configure show
> primitive fs0 ocf:heartbeat:Filesystem \
>         params fstype="ext3" directory="/data" device="/dev/drbd0"
> primitive VIP ocf:heartbeat:IPaddr \
>         params ip="10.50.26.250" \
>         op monitor interval="5s" timeout="5s"
> primitive drbd0 ocf:heartbeat:drbd \
>         params drbd_resource="r0" \
>         op monitor interval="59s" role="Master" timeout="30s" \
>         op monitor interval="60s" role="Slave" timeout="30s"
> group DRBD_Group fs0 VIP \
>         meta collocated="true" ordered="true" migration-threshold="1" 
> failure-timeout="10s" resource-stickiness="10"
> ms ms-drbd0 drbd0 \
>         meta clone-max="2" notify="true" globally-unique="false" 
> target-role="Started"
> colocation DRBD_Group-on-ms-drbd0 inf: DRBD_Group ms-drbd0:Master
> order ms-drbd0-before-DRBD_Group inf: ms-drbd0:promote DRBD_Group:start
> 
> Help.
> 
> Regards,
> jerome
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> 

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to