Hi,

On Fri, Jun 11, 2010 at 11:54:50AM +0200, Lars Ellenberg wrote:
> On Thu, Jun 10, 2010 at 02:11:29PM -0400, Miles Fidelman wrote:
> > Dejan Muhamedagic wrote:
> > > Hi,
> > >
> > > On Wed, Jun 09, 2010 at 10:09:33PM -0400, Miles Fidelman wrote:
> > >    
> > >> <upgraded heartbeat2 to heartbeat3+pacemaker on Debian Lenny>
> > >>
> > >> All seems to have gone well, and pretty painlessly - everything is up
> > >> and running, with one remaining issue:
> > >>
> > >> As I understand it, after running "cibadmin --upgrade --force" the CIB
> > >> should be accessible through crm-shell (crm>  configure).
> > >>
> > >> However, when I do this, I get the error message:
> > >> INFO: object crm_config.id2244404 cannot be represented in the CLI 
> > >> notation
> > >>      
> > > What a strange id. Do you have such id? Can you show the config?
> > > In particular this element should've been shown as xml.
> > >    
> > ok... here's the xml (#crm show xml >file) - can anybody tell me what to 
> > make of this?
> > 
> 
> stripped off some partial double pasting.
> 
> > <cib admin_epoch="0" crm_feature_set="3.0.1" 
> > dc-uuid="14d2d0ed-59d1-4729-a149-d5421b6a4988" epoch="108" 
> > have-quorum="1" num_updates="16" remote-tls-port="0" 
> > validate-with="pacemaker-1.0">
> > <configuration>
> > <crm_config>
> > <cluster_property_set id="crm_config.id2244404">
> 
> this:
> > <nvpair id="nvp.id2244404" name="stonith-enabled" value="false"/>
> 
> 
> > </cluster_property_set>
> > <cluster_property_set id="cib-bootstrap-options">
> 
> should be here,
> and its
>     <cluster_property_set id="crm_config.id2244404">
> container should be dropped.
> 
>  # cibadmin -D -X '<cluster_property_set id="crm_config.id2244404">'

This should work too instead of cibadmin:

# crm configure delete crm_config.id2244404

>  # crm configure property stonith-enable=false
> 
> should do the trick.

Right, no need for two property sets. Still, crm should be able
to show more than one set. That needs to be fixed.

Thanks,

Dejan

> > <nvpair id="nvpair.id2244410" name="dc-version" 
> > value="1.0.8-2c98138c2f070fcb6ddeab1084154cffbf44ba75"/>
> > <nvpair id="nvpair.id2251490" name="is-managed-default" value="true"/>
> > <nvpair id="nvpair.id2251500" name="cluster-infrastructure" 
> > value="Heartbeat"/>
> > <nvpair id="cib-bootstrap-options-last-lrm-refresh" 
> > name="last-lrm-refresh" value="1276174323"/>
> > </cluster_property_set>
> > </crm_config>
> 
> -- 
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
> 
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> _______________________________________________
> 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