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

mac2025-07-28  8

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.

最新回复(0)