主要步骤:
1. Copy the binaries, using an OS utility.
2. Attach the Oracle home.
详细内容:
1. Copy the binaries, using an OS utility.
tar -cvf - | ssh "cd ; tar -xvf -"
tar -cvf - dev_1 | ssh ora03 "cd /home/oracle; tar -xvf -"
2. Attach the Oracle home.
作用:通过Attach在inventory中进行注册(inventory.xml),防止在后续升级过程中遇到报错或异常终止。
1. 首先,确认oraInst.loc文件存在且配置正确
cat /etc/oraInst.loc
2. 通过runInstaller进行attach
-- Backup the existing central inventory.
-- Attach all existing Oracle Homes again to the default central inventory.
cd $ORACLE_HOME/oui/bin
./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME=”” ORACLE_HOME_NAME=””
-- Detach all the existing Oracle Homes from central inventory.
cd $ORACLE_HOME/oui/bin
./runInstaller -silent -ignoreSysPrereqs -detachHome ORACLE_HOME=”” ORACLE_HOME_NAME=””
attach成功后,到如下文件进行确认
oraInventory/ContentsXML/inventory.xml
可参考1907240.1和300062.1
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29843794/viewspace-1292617/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29843794/viewspace-1292617/