> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:linux-ha- > [EMAIL PROTECTED] On Behalf Of Andrew Beekhof > Sent: Wednesday, 5 November 2008 2:29 AM > To: General Linux-HA mailing list > Subject: Re: [Linux-HA] resources unmanaged/managed - unexpected behavior > > Any chance you could attach the cib from just before you set > is-managed-default to true? >
Unfortunately not.
I added the --meta to the crm_resource command, and modified the order in
which the resources are set to unmanaged/managed. This is now performing
well.
Some waffle to read if you want to find out why we are setting to resources
to unmanaged.
Attached the ha_freeze.sh, ha_thaw.sh scripts ( with some bugfixes :-( )
Our standard HA is only one group. I now set the resources to unmanaged
bottom -> top. Set to managed top -> bottom (referring to the output from
crm_mon)
An example is easier to follow ! I do not now set the filesystem or DRBD
to unmanaged, if these are being involved in any maintenance work then HA
should be stopped. This is a bit of a hammer approach but it means that if
the Oracle config is being updated, apache config or our proprietary
binaries have been updated then operationally it is always the same.
#ha_freeze.sh
(do config changes)
#ha_thaw.sh
[EMAIL PROTECTED] bin]# crm_mon -1
...
Resource Group: group_its
resource_its_drbd (heartbeat:its_drbddisk): Started itbaims
resource_its_fs (ocf::heartbeat:its_Filesystem): Started
itbaims
resource_its_vip (ocf::heartbeat:IPaddr): Started itbaims
resource_its_oracle (ocf::heartbeat:its_oracle): Started itbaims
resource_its_oralsnr (ocf::heartbeat:its_oralsnr): Started
itbaims
resource_its_aims (lsb:its_aims): Started itbaims
resource_its_apache (ocf::heartbeat:its_apache): Started itbaims
resource_its_smb (lsb:its_smb): Started itbaims
resource_its_dhcpd (lsb:its_dhcpd): Started itbaims
r_stonith-dtbaims (stonith:external/ibmrsa-telnet): Started
itbaims
r_stonith-itbaims (stonith:external/ibmrsa-telnet): Started
dtbaims
[EMAIL PROTECTED] bin]# ha_freeze.sh
Success: Resource resource_its_dhcpd has been placed into unmanaged mode
Success: Resource resource_its_smb has been placed into unmanaged mode
Success: Resource resource_its_apache has been placed into unmanaged mode
Success: Resource resource_its_aims has been placed into unmanaged mode
Success: Resource resource_its_oralsnr has been placed into unmanaged mode
Success: Resource resource_its_oracle has been placed into unmanaged mode
Success: Resource resource_its_vip has been placed into unmanaged mode
[EMAIL PROTECTED] bin]# crm_mon -1
...
Resource Group: group_its
resource_its_drbd (heartbeat:its_drbddisk): Started itbaims
resource_its_fs (ocf::heartbeat:its_Filesystem): Started
itbaims
resource_its_vip (ocf::heartbeat:IPaddr): Started itbaims
(unmanaged)
resource_its_oracle (ocf::heartbeat:its_oracle): Started itbaims
(unmanaged)
resource_its_oralsnr (ocf::heartbeat:its_oralsnr): Started
itbaims (unmanaged)
resource_its_aims (lsb:its_aims): Started itbaims (unmanaged)
resource_its_apache (ocf::heartbeat:its_apache): Started itbaims
(unmanaged)
resource_its_smb (lsb:its_smb): Started itbaims (unmanaged)
resource_its_dhcpd (lsb:its_dhcpd): Started itbaims (unmanaged)
r_stonith-dtbaims (stonith:external/ibmrsa-telnet): Started
itbaims
r_stonith-itbaims (stonith:external/ibmrsa-telnet): Started
dtbaims
[EMAIL PROTECTED] bin]# ha_thaw.sh
Success: Resource resource_its_vip has been placed into managed mode
Success: Resource resource_its_oracle has been placed into managed mode
Success: Resource resource_its_oralsnr has been placed into managed mode
Success: Resource resource_its_aims has been placed into managed mode
Success: Resource resource_its_apache has been placed into managed mode
Success: Resource resource_its_smb has been placed into managed mode
Success: Resource resource_its_dhcpd has been placed into managed mode
[EMAIL PROTECTED] bin]# crm_mon -1
...
Resource Group: group_its
resource_its_drbd (heartbeat:its_drbddisk): Started itbaims
resource_its_fs (ocf::heartbeat:its_Filesystem): Started
itbaims
resource_its_vip (ocf::heartbeat:IPaddr): Started itbaims
resource_its_oracle (ocf::heartbeat:its_oracle): Started itbaims
resource_its_oralsnr (ocf::heartbeat:its_oralsnr): Started
itbaims
resource_its_aims (lsb:its_aims): Started itbaims
resource_its_apache (ocf::heartbeat:its_apache): Started itbaims
resource_its_smb (lsb:its_smb): Started itbaims
resource_its_dhcpd (lsb:its_dhcpd): Started itbaims
r_stonith-dtbaims (stonith:external/ibmrsa-telnet): Started
itbaims
r_stonith-itbaims (stonith:external/ibmrsa-telnet): Started
dtbaims
ha_thaw.sh
Description: Binary data
ha_freeze.sh
Description: Binary data
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
