Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

51

积分

0

好友

20

主题
1#
发表于 2013-11-14 16:46:04 | 查看: 4262| 回复: 3
11.2..0.3 单节点转rac 时使用RCONFIG
报错

错误信息
WLPF_01[/oracle/db/11g/assistants/rconfig/sampleXMLs] $ORACLE_HOME/bin/rconfig test.xml  
    <?xml version="1.0" ?>
    <RConfig version="1.1" >
    <ConvertToRAC>
        <Convert>
          <Response>
            <Result code="1" >
              Operation Failed
            </Result>
           <ErrorDetails>
                 The  cluster is not configured or is not running on node:WLPF_01
           </ErrorDetails>
          </Response>
        </Convert>
    </ConvertToRAC></RConfig>


找到篇文章 说是主机名大小写的问题,解决方案不是很明白,请问怎么解决??

目前 test.xml 配置的 如下
<n:NodeList>
<n:Node name="WLPF_01"/>
<n:Node name="WLPF_02"/>
</n:NodeList>

如果我把这里改成 小写
依然会报 please specify node WLPF_01 AS part of NodeList




RCONFIG Fails With "The cluster is not configured" Message (Doc ID 781105.1)



CAUSE

From rconfig.log file:

[main] [12:20:20:666] [Step.execute:235]  InetAddress.getLocalHost=TESTDB2
[main] [12:20:20:666] [Node.<init>:47]  Name as obtained in inputXML=TESTDB2
[main] [12:20:20:666] [Node.<init>:61]  Qualified Node name=TESTDB2, Non-qualified Node name=TESTDB2
[main] [12:20:20:666] [Step.execute:239]  Value of _localNode=TESTDB2
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[main] [12:22:4:277] [GetActiveNodes.<init>:187]  Inside GetActiveNodes :testdb2
[main] [12:22:4:293] [GetActiveNodes.<init>:199]  Started clusterware daemon thread
[main] [12:22:4:293] [GetActiveNodes.create:217]  Out of GetActiveNodes constructor
[GetActiveNodesThread] [12:22:4:293] [Semaphore.acquire:109]  SyncBufferFull:Acquire called by thread GetActiveNodesThread m_count=0
[main] [12:22:4:293] [LocalNodeCheck.checkLocalNode:134]  Getting localnode from cluster=testdb2
                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[main] [12:22:4:293] [Step.execute:255]  STEP Result=The cluster is not configured or is not running on node: TESTDB2
[main] [12:22:4:293] [Step.execute:284]  Returning result:Operation Failed.


The problem was due to the cluster configuration. the hostnames were given in lower case when the cluster is installed and configured. So the "olsnodes" command which is called internally by rconfig returned the hostnames in lower-case. Where as the OS hostname command is in upper case.

Since there is a case mismatch, rconfig failed with "The cluster is not configured or is not running on node" error.
SOLUTION


The node names we enter in "ConvertToRAC.xml" has to be in the case as the public node names. This should avoid the rconfig failure.
2#
发表于 2013-11-16 19:47:53
olsnodes
hostname

上面的信息给一下

回复 只看该作者 道具 举报

3#
发表于 2013-11-17 09:51:51
olsnodes
wlpf_01
wlpf_02

hostname
WLPF_01
WLPF_02

回复 只看该作者 道具 举报

4#
发表于 2013-11-17 10:04:12
rconfig.log 上传一下

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-21 10:03 , Processed in 0.046282 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569