[Pacemaker] Can somebody please explain pengine's urge to move all resources?
Raoul Bhatia [IPAX]
r.bhatia at ipax.at
Wed Sep 22 10:37:26 UTC 2010
hi,
i have a 2node cluster with drbd+nfs+webservices(clones)
basically, i have some rules:
1. promote drbd before starting fs+nfs-server (group_www_data)
> order drbd_before_group_www_data : ms_drbd_www:promote group_www_data:start
2. start nfs-server (group_www_data) before nfsclient+apache
(clone_webservice)
> order group_www_data_before_webservices : group_www_data:start clone_webservice:start
3. start ftp-server after everything is up:
> order fs_www_before_pure-ftpd 0: clone_webservice:start pure-ftpd:start
> order webservices_before_group_ftpd 0: clone_webservice:start group_ftpd:start
(actually, from what i see now, these two rules are redundant, right?)
i also colocate clone_webservice (nfs client) with the ftps server, so
that the ftp server can acutally serve the user's folders ;)
> colocation colo_webservices_group_ftpd inf: group_ftpd clone_webservice:Started
crm status:
> Resource Group: group_www_data
> fs_www_data (ocf::heartbeat:Filesystem): Started wc01
> nfs-kernel-server (lsb:nfs-kernel-server): Started wc01
> intip_nfs (ocf::heartbeat:IPaddr2): Started wc01
> backupip_nfs (ocf::heartbeat:IPaddr2): Started wc01
...
> Master/Slave Set: ms_drbd_www
> Masters: [ wc02 ]
> Slaves: [ wc01 ]
> Clone Set: clone_nfs-common
> Started: [ wc01 wc02 ]
> Clone Set: clone_webservice
> Started: [ wc02 wc01 ]
> Resource Group: group_ftpd
> intip_ftp (ocf::heartbeat:IPaddr2): Started wc01
> pure-ftpd (ocf::heartbeat:Pure-FTPd): Started wc01
now i want to move pure-ftpd from wc01 to wc02:
> crm resource migrate pure-ftpd
imho, as clone_webservice is running on both wc01 and wc02, only
group_ftpd should be stopped and (re-)started.
but pengine thinks:
> Sep 22 11:24:06 wc01 pengine: [4083]: notice: LogActions: Move resource fs_www_data#011(Started wc01 -> wc02)
> Sep 22 11:24:06 wc01 pengine: [4083]: notice: LogActions: Move resource nfs-kernel-server#011(Started wc01 -> wc02)
> Sep 22 11:24:06 wc01 pengine: [4083]: notice: LogActions: Move resource intip_nfs#011(Started wc01 -> wc02)
> Sep 22 11:24:06 wc01 pengine: [4083]: notice: LogActions: Move resource backupip_nfs#011(Started wc01 -> wc02)
can someone please explain the reason for that?
hb report atached.
thanks,
raoul
--
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc. email. r.bhatia at ipax.at
Technischer Leiter
IPAX - Aloy Bhatia Hava OG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office at ipax.at
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: move_ftp_group.tar.bz2
Type: application/x-bzip
Size: 170242 bytes
Desc: not available
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20100922/ec120c5a/attachment-0001.bin>
More information about the Pacemaker
mailing list