[Pacemaker] Shutting down resource to allow a more important one to run

Pavlos Parissis pavlos.parissis at gmail.com
Wed Nov 3 14:02:35 UTC 2010


On 3 November 2010 14:26, Ciro Iriarte <cyruspy at gmail.com> wrote:
> Hi, I'm planning to run a PDC/BDC Samba pair with HA file service
> (active/passive with DRBD). Would it be possible to have the second
> node running SAMBA as a BDC and once the primary node fails, stop the
> BDC resource and start the PDC resource on the remaining node?
>
>
I've checked if there is any RA provided by heartbeat or pacemaker
but I didn't find any.
Have you googled ? I bet you are not the only one asking for this.


crm(live)configure# primitive aa heartbeat:
AudibleAlarm   ICP            IPsrcaddr      LinuxSCSI      Raid1
    WAS            apache         drbdupper      portblock
Delay          IPaddr         IPv6addr       MailTo         SendArp
    WinPopup       db2            hto-mapfuncs
Filesystem     IPaddr2        LVM            OCF            ServeRAID
    Xinetd         drbddisk       ids
crm(live)configure# primitive aa
heartbeat:  lsb:        ocf:        stonith:
crm(live)configure# primitive aa ocf:
heartbeat:  linbit:     pacemaker:
crm(live)configure# primitive aa ocf:heartbeat:
AoEtarget            ICP                  Pure-FTPd
Stateful             anything             ldirectord           postfix
AudibleAlarm         IPaddr               Raid1                SysInfo
             apache               mysql                proftpd
CTDB                 IPaddr2              Route                VIPArip
             db2                  mysql-proxy          rsyncd
ClusterMon           IPsrcaddr            SAPDatabase
VirtualDomain        drbd                 nfsserver
scsi2reservation
Delay                LVM                  SAPInstance          WAS
             eDir88               oracle               sfex
Dummy                LinuxSCSI            SendArp              WAS6
             iSCSILogicalUnit     oralsnr              syslog-ng
EvmsSCC              MailTo               ServeRAID
WinPopup             iSCSITarget          pgsql                tomcat
Evmsd                ManageRAID           SphinxSearchDaemon   Xen
             ids                  pingd                vmware
Filesystem           ManageVE             Squid                Xinetd
             iscsi                portblock
crm(live)configure# primitive aa ocf:
heartbeat:  linbit:     pacemaker:
crm(live)configure# primitive aa ocf:pacemaker:
ClusterMon     HealthCPU      Stateful       SystemHealth   o2cb           pingd
Dummy          HealthSMART    SysInfo        controld       ping

>
> _______________________________________________
> 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