- 最后登录
- 2019-8-5
- 在线时间
- 74 小时
- 威望
- 51
- 金钱
- 703
- 注册时间
- 2012-3-1
- 阅读权限
- 50
- 帖子
- 94
- 精华
- 1
- 积分
- 51
- UID
- 271
|
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.
|
|