[Pacemaker] New to PaceMaker

Andrew Beekhof andrew at beekhof.net
Tue Mar 15 03:35:47 EDT 2011


On Tue, Mar 15, 2011 at 1:19 AM, Net Warrior <netwarrior863 at gmail.com> wrote:
> Hi There Guys.
>
> Maybe this was asked a million times before, so, here goes the millon and
> one.
> I'm getting this error which I do not know what is means:
>
> What is "not configured"  what is "not installed" ? what "unmanaged" means?

Try searching for these terms in the documentation:
   http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html-single/Pacemaker_Explained/index.html

> I'm trying to set up a simple apache server cluster in order to understand
> how it wokrs to follow up
> with other complex services like mysql, ldap and the like.
>
>
> Node fedora13-1: standby
> Online: [ fedora13-2 ]
>
> ClusterIP       (ocf::heartbeat:IPaddr2):       Started fedora13-2
>  Master/Slave Set: WebDataClone [WebData]
>     WebData:0  (ocf::linbit:drbd):     Slave fedora13-1 (unmanaged) FAILED
>     WebData:1  (ocf::linbit:drbd):     Slave fedora13-2 (unmanaged) FAILED
>
> Failed actions:
>    WebFS_start_0 (node=fedora13-1, call=11, rc=5, status=complete): not
> installed
>    WebData:0_stop_0 (node=fedora13-1, call=18, rc=6, status=complete): not
> configured
>    WebData:0_stop_0 (node=fedora13-2, call=8, rc=6, status=complete): not
> configured
>
> ----
>
> crm(live)configure# show
> node fedora13-1 \
>        attributes standby="on"
> node fedora13-2
> primitive ClusterIP ocf:heartbeat:IPaddr2 \
>        params ip="192.168.0.31" cidr_netmask="32" \
>        op monitor interval="30s"
> primitive WebData ocf:linbit:drbd \
>        params drbd_resource="cluster" \
>        op monitor interval="60s"
> primitive WebFS ocf:heartbeat:Filesystem \
>        params device="/dev/drbd/by-res/cluster"
> directory="/cluster/var/www/html" fstype="ext3"
> primitive WebSite ocf:heartbeat:apache \
>        params configfile="/etc/httpd/conf/httpd.conf" \
>        op monitor interval="1min"
> ms WebDataClone WebData \
>        meta master-max="1" master-node-max="1" clone-max="2"
> clone-node-max="1" notify="true"
> location prefer-fedora13-1 WebSite 50: fedora13-1
> colocation WebSite-with-WebFS inf: WebSite WebFS
> colocation fs_on_drbd inf: WebFS WebDataClone:Master
> colocation website-with-ip inf: WebSite ClusterIP
> order WebFS-after-WebData inf: WebDataClone:promote WebFS:start
> order WebSite-after-WebFS inf: WebFS WebSite
> order apache-after-ip inf: ClusterIP WebSite
> property $id="cib-bootstrap-options" \
>        dc-version="1.1.4-ac608e3491c7dfc3b3e3c36d966ae9b016f77065" \
>        cluster-infrastructure="openais" \
>        expected-quorum-votes="2" \
>        stonith-enabled="false" \
>        no-quorum-policy="ignore"
> rsc_defaults $id="rsc-options" \
>        resource-stickiness="100"
>
> I followed this How-to
> http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/ch07s03.html
>
>
>
> Thanks for your time and support
> Best Regards
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list