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
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.
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.
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 message thrown up is of the form.
"The virtual host name "' for node '' is already in use.,"
The addnode procedure fails.
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 :
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
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
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="
Attach :
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="
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
--------------------------------------------------------------------------------
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.
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
下一篇:
规划单节点迁移到rac

请登录后发表评论
登录
全部评论
<%=items[i].createtime%>
<%=items[i].content%>
<%if(items[i].items.items.length) { %>
<%for(var j=0;j
<%}%> <%if(items[i].items.total > 5) { %>
<%}%>
<%=items[i].items.items[j].createtime%>
<%=items[i].items.items[j].username%> 回复 <%=items[i].items.items[j].tousername%>: <%=items[i].items.items[j].content%>
还有<%=items[i].items.total-5%>条评论
) data-count=1 data-flag=true>点击查看
<%}%>
转载于:http://blog.itpub.net/13337857/viewspace-713051/