Hi,

On Wed, Feb 02, 2011 at 03:50:09PM +0100, Ulrich Windl wrote:
> >>> Dejan Muhamedagic <[email protected]> schrieb am 02.02.2011 um 13:34 in
> Nachricht <[email protected]>:
> > Hi,
> > 
> > On Tue, Feb 01, 2011 at 09:46:59PM +0100, Matthias Ferdinand wrote:
> > > Hi,
> > > 
> > > I tried to use comments inside CRM configuration as per
> > > http://www.clusterlabs.org/doc/crm_cli.html: 
> > > 
> > > -------------------
> > > ...
> > > configure
> > > ...
> > > Comments start with # in the first line. The comments are tied to the
> > > element which follows. If the element moves, its comments will follow.
> > > ...
> > > --------------------
> > 
> > Hmm, that's the version for Pacemaker 1.1
> > 
> > > crm(live)configure# # try a comment
> > > crm(live)configure# primitive res_ip_comment ocf:heartbeat:IPaddr2 \
> > >   params ip="1.2.3.4" meta target-role="Stopped"
> 
> Hi!
> 
> I'm very new to the list and also to Linux-HA, but I'd guess if the comment
> should be related to the configured item "primitive res_ip_comment", there
> should be an attribute like ``comment="blabla"'' (which causes the comment to
> go into the CIB's XML). Otherwise a comment ON COMMAND INPUT is just a comment
> that is ignored.

True. However, the comments remain if inserted while in edit or
on configuration load. There is also the description attribute
but that's only for very short single-line descriptions.

Thanks,

Dejan

> Regards,
> Ulrich
> 
> > > 
> > > but it is not shown in "crm configure show" output. Adding a comment in
> > > "crm configure edit" has the same (non-)effect.
> > > 
> > > Tried with the following pacemaker versions:
> > > Version: 1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd
> > > Version: 1.0.10-b0266dd5ffa9c51377c68b1f29d6bc84367f51dd
> > > 
> > > Are comments not supported?
> > 
> > They have never been enabled for Pacemaker stable 1.0. Though
> > they could be. On the other hand, they could be considered a new
> > feature. Andrew, what's your take on this?
> > 
> > Thanks,
> > 
> > Dejan
> > 
> > > Kind regards / Mit freundlichen Grüßen
> > >   Matthias Ferdinand
> > > -- 
> > > one4vision GmbH                    Fon +49 681 96727 - 60
> > > Residenz am Schlossgarten          Fax +49 681 96727 - 69
> > > Talstraße 34-42                    [email protected] 
> > > D-66119 Saarbrücken                http://www.one4vision.de 
> > > HRB 11751                          verantwortl. Geschäftsführer:
> > > Amtsgericht Saarbrücken            Christof Allmann, Christoph Harth
> > > 
> > > _______________________________________________
> > > Linux-HA mailing list
> > > [email protected] 
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha 
> > > See also: http://linux-ha.org/ReportingProblems 
> > _______________________________________________
> > Linux-HA mailing list
> > [email protected] 
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha 
> > See also: http://linux-ha.org/ReportingProblems 
> > 
> 
>  
>  
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to