How to Update Inventory to Set/Unset "CRS=true" Flag for Oracle Clusterware Home (文档 ID 1053393.1)

OUI option -updateNodeList can be used to set/unset the flag.

To set the flag on a three-node RAC cluster on UNIX:

On node1 as clusterware user:

/ocw/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME="/ocw/grid" CRS=true

## ==> /ocw/grid is current clusterware home



To unset the flag on a three-node RAC cluster on Windows:

On node1 as clusterware user:


d:\ocw\crs\oui\bin\setup -updateNodeList ORACLE_HOME="d:\ocw\crs" CRS=false

## ==> /ocw/crs is pre-upgrade clusterware home but the flag is still there



To confirm the changes, review inventory.xml in central inventory.

Central inventory location is defined by parameter inventory_loc in /etc/oraInst.loc, /var/opt/oracle/oraInst.loc or Windows Registry depend on platform.


Example on Linux:
 

$ cat /etc/oraInst.loc | grep inventory_loc
inventory_loc=/home/grid/oraInventory
$ cat /home/grid/oraInventory/ContentsXML/inventory.xml
..
<HOME NAME="Ora11g_gridinfrahome1" LOC="/ocw/grid" TYPE="O" IDX="4" CRS="true">
   <NODE_LIST>
      <NODE NAME="racnode1"/>
      <NODE NAME="racnode2"/>
      <NODE NAME="racnode3"/>
   </NODE_LIST>
</HOME>
..

Note: inventory.xml must not be modified manually to avoid inventory corruption.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值