给rac加节点

oracle10g rac增加节点,其实增加节点不难,如果出来问题,处理起来就难了。
要增加的节点以前装过rac,准备工作就省了。我忘了oraclerac安装完成后,会自动把crs的目录属主改为root。直接导致增加节点的时候没有把crs的文件拷贝过去。最后报错。找到问题了,重干。重新添加,报错,说是已经有了,删除的时候很费周折。
终于添加完成了,添加database软件的时候报错,The virtual host name '' for node '' is already in use。最后在metalink上面找到了解决办法
addnode.sh : The virtual host name '' for node '' is already in use. [ID 782849.1]
 
--------------------------------------------------------------------------------
 
  Modified 13-AUG-2010     Type PROBLEM     Status PUBLISHED  
In this Document
  Symptoms
  Cause
  Solution
 
--------------------------------------------------------------------------------
 
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.4 - Release: 10.2 to 10.2
Information in this document applies to any platform.
Symptoms
Attempting to add a new node to an existing cluster. The crs has been extended and the node has been added in successfully.
The problem occurs when trying to extend the ORACLE_HOME  (RDBMS/ASM) to the new node.
The addnode.sh is run from the ORACLE_HOME/oui directory.
The message thrown up is of the form.
 "The virtual host name "' for node '' is already in use.,"
The addnode procedure fails.
Cause
One of the causes could be that during the deletion of CRS there is a step to run the following :
For a non-shared home, on each node that you are deleting, perform. the following two steps:
Run the following command:
runInstaller -updateNodeList ORACLE_HOME=CRS_home
CLUSTER_NODES="" –local CRS=true

The above procedure may have been run on the ORACLE_HOME as well.
The reason why we see the message in the addnode.sh is because the inventory.xml on the existing nodes has the following :
Eg :







The correct entries should be :






CRS="true" should show up for only the crs home.

Solution
We need to correct the inventory.xml on all the nodes.
1. Backup the inventory.xml on all nodes : (oraInventory/ContentsXML/inventory.xml)
2. Detach the home
3. Attach it back with the correct syntax
4. Add the nodes back to complete the node list.
5. Run Addnode.sh to extend the ORACLE_HOME

Note: The instructions below are meant for the nodes that are in existence before the addition of the new node. So when it states run this on all the nodes, it is meant that there are more than one nodes in existance, ie at least 2 and we are in the process of adding the third. So please plan accordingly.

Detach :
Run the following on the first node. This will detach for all the nodes in the cluster :
$ORACLE_HOME/oui/bin/runInstaller -silent -detachHome -invPtrLoc /etc/oraInst.loc ORACLE_HOME="
Note : Run the above once on one node and it will modify the inventory.xml on all of them.

Attach :
$ORACLE_HOME/oui/bin/runInstaller -silent -attachHome -invPtrLoc /etc/oraInst.loc ORACLE_HOME="
Note: Run the above on each node.
Check the inventory.xml and ensure that CRS="True" is removed.

Update the nodelist for the home :

$ORACLE_HOME/oui/bin/runInstaller -silent -updateNodeList ORACLE_HOME=
CLUSTER_NODES=node1,node2,node3

Note: Run the above on each node
Check the inventory.xml and ensure all is correct.
Now invoke addnode.sh from the OH/oui directory and extend the ORACLE_HOME to the new node.

--------------------------------------------------------------------------------

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13337857/viewspace-713051/,如需转载,请注明出处,否则将追究法律责任。

上一篇: aix做etherchannel
user_pic_default.png
请登录后发表评论 登录
全部评论
<%=items[i].createtime%>

<%=items[i].content%>

<%if(items[i].items.items.length) { %>
<%for(var j=0;j
<%=items[i].items.items[j].createtime%> 回复

<%=items[i].items.items[j].username%>   回复   <%=items[i].items.items[j].tousername%><%=items[i].items.items[j].content%>

<%}%> <%if(items[i].items.total > 5) { %>
还有<%=items[i].items.total-5%>条评论 ) data-count=1 data-flag=true>点击查看
<%}%>
<%}%>
<%}%>

转载于:http://blog.itpub.net/13337857/viewspace-713051/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值