Lars, sorry if I didn't make my questions clear to you.
The name I use in the configration is the same one in the pengine metadata and 
the same in crm.dtd. But the log tells me that I use the deprecated names. I 
prefer not to use deprecated names and remove those warnings. My problem is to 
find the real names instead of deprcated names if they exists.
==========config in cib.xml=============
<nvpair name="no_quorum_policy" id="no_quorum_policy" value="stop"/>
 ========pengine metadata results==================
>     <parameter name="no-quorum-policy" unique="0">
>       <shortdesc lang="en">What to do when the cluster does not have 
> quorum</shortdesc>
>       <content type="enum" default="stop"/>
>       <longdesc lang="en">What to do when the cluster does not have quorum  
> Allowed values: stop, freeze, ignore</longdesc>
>     </parameter>
===========/usr/share/heartbeat/crm.dtd============
 * no_quorum_policy (enum, default=stop)
   * ignore - Pretend we have quorum
   * freeze - Do not start any resources not currently in our partition.
     Resources in our partition may be moved to another node within the 
partition
     Fencing is disabled
   * stop - Stop all running resources in our partition
     Fencing is disabled
===========log=============================
pengine: [14820]: WARN: cluster_option: Using deprecated name 
'no_quorum_policy' for cluster option 'no-quorum-policy'

----- 原始邮件 ----
发件人: Lars Marowsky-Bree <[EMAIL PROTECTED]>
收件人: General Linux-HA mailing list <linux-ha@lists.linux-ha.org>
已发送: 2008/6/4(周三), 下午12:48:48
主题: Re: 回复: 回复: [Linux-HA] HA 2.1.3--How to get ride of warning logs about 
"Using Deprecated name..." for cluster options

On 2008-06-04T22:31:37, zhang july <[EMAIL PROTECTED]> wrote:

> Don't worry. I find out, the command should be "/usr/lib64/heartbeat/pengine 
> metadata".
> I can see "no-quorum-policy" in the return results, which is supposed to  
> mean it supports by this version. But the logs still shown warning about that 
> name. Is this a log bug? Back to my original question, is there any updated  
> new options name in version 2.1.3?
> ========pengine metadata results==================
>     <parameter name="no-quorum-policy" unique="0">
>       <shortdesc lang="en">What to do when the cluster does not have 
> quorum</shortdesc>
>       <content type="enum" default="stop"/>
>       <longdesc lang="en">What to do when the cluster does not have quorum  
> Allowed values: stop, freeze, ignore</longdesc>
>     </parameter>
> ==================log=====================
> WARN: cluster_option: Using deprecated name 'no_quorum_policy' for cluster 
> option 'no-quorum-policy'

It says that the prefered spelling is "no-quorum-policy". You are using
the depreciated name. How is that unclear?


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
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



      ___________________________________________________________ 
 雅虎邮箱,您的终生邮箱! 
http://cn.mail.yahoo.com/
_______________________________________________
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