> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:linux-ha-
> [EMAIL PROTECTED] On Behalf Of Andrew Beekhof
> Sent: Monday, 3 November 2008 6:30 PM
> To: General Linux-HA mailing list
> Subject: Re: [Linux-HA] crm_mon - ha 2.99.1,pacemaker 1.0 - not showing
> unmanaged status
> 
> On Mon, Nov 3, 2008 at 03:06, Alex Strachan
> <[EMAIL PROTECTED]> wrote:
> > Prior releases to HA 2.99.1, pacemaker 1.0 monitoring command crm_mon
> showed
> > a resource which was currently unmanaged visibly.
> >
> >
> >
> > e.g.
> >
> > Resource Group: group_itsapaims1
> >
> >    resource_itsapaims1_drbd    (heartbeat:itsapaims1_drbddisk):
> > Started canopus (unmanaged)
> >
> >    resource_itsapaims1_fs      (heartbeat::ocf:itsapaims1_Filesystem):
> > Started canopus (unmanaged)
> >
> >    resource_itsapaims1_vip     (heartbeat::ocf:IPaddr):        Started
> > canopus (unmanaged)
> >
> >    resource_itsapaims1_oracle  (heartbeat::ocf:itsapaims1_oracle):
> > Started canopus (unmanaged)
> >
> >    resource_itsapaims1_oralsnr (heartbeat::ocf:itsapaims1_oralsnr):
> > Started canopus (unmanaged)
> >
> >    resource_itsapaims1_aims    (lsb:itsapaims1_aims):  Started canopus
> > (unmanaged)
> >
> >    resource_itsapaims1_apache  (heartbeat::ocf:itsapaims1_apache):
> > Started canopus (unmanaged)
> >
> >    resource_itsapaims1_smb     (lsb:itsapaims1_smb):   Started canopus
> > (unmanaged)
> >
> >
> >
> > but now using the latest software it is not highlighted.
> >
> >
> >
> > I found this a very useful feature, can it please be considered to be
> put
> > back into the codebase.
> 
> Thats odd - it wasn't deliberately removed and the code still looks
> correct:
> 
>                            is_set(rsc->flags, pe_rsc_managed)?"":"
> (unmanaged)",
> 
> Can you send me the cibadmin -Ql output from the cluster when you see
> this behavior pls?

The issue was I was using crm_resource -p is_managed  instead of is-managed
in a similar manner to Allan.  For a while there my cib had both entries
under instance attributes is_managed, and is-managed.  I cleaned up the
is_managed and the status is now being shown correctly when using crm_mon.

When using the unmanaged/managed functionality the latest software does not
seem as reliable.  It seems to provoke a reaction from HA simply by setting
all resources to unmanaged/managed.  I will raise this as separate issue.

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