[Linux-HA] change a nvpair's value without restarting of aresource

Junko IKEDA ikedaj at intellilink.co.jp
Thu Sep 20 06:40:26 MDT 2007


> > > the code is still there and looks to be enabled
> > >
> > > it works by checking the RA's metadata^...
> > >
> > > * your RA must advertise the reload action
> > > * the attribute you want to be able to change must specify:
unique="false"
> >
> > I'm sorry to ask you right off.
> > Where should I specify unique="false" in cib.xml?
> 
> no in the CIB.
> it goes in the RA metadata.  eg.
>                                            vvvvvvvvv
> <parameter name="dampen" unique="0">
> <longdesc lang="en">
> The time to wait (dampening) further changes occur
> </longdesc>
> <shortdesc lang="en">Dampening interval</shortdesc>
> <content type="integer" default="1s"/>
> </parameter>

I see...
This way is a bit difficult, I might not be able to ask user lightly to do
that.
 
> > It seems more likely that the value can be changed several times.
> > I'd appreciate it if this function is improved.
> 
> the metadata is cached, not the value.  the metadata should only
> rarely need to change

ok, it seems like our request is against the concept of metadata.

Thanks,
Junko





More information about the Linux-HA mailing list