Oracle RAC inventory.xml损坏后如何修复
2016-03-03 16:34 abce 阅读(1044) 评论(0) 编辑 收藏 举报不建议直接修改该文件
1.从其它节点拷贝一份
2.使用runInstaller工具(这个工具位于<GI_HOME>/oui/bin路径下)重建inventory.xml文件
步骤1:添加GI HOME
$./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME="/u01/app/11.2.0/grid" ORACLE_HOME_NAME="OraGI11Home1" CLUSTER_NODES=node1,node2,node3 CRS=true "INVENTORY_LOCATION=/u01/app/oraInventory" LOCAL_NODE=node3
步骤2:添加RDBMS HOME
$./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME="/u01/app/oracle/product/11.2.0/db_1" ORACLE_HOME_NAME="OraDB11Home1" CLUSTER_NODES=node1,node2,node3 CRS=true "INVENTORY_LOCATION=/u01/app/oraInventory" LOCAL_NODE=node3