谢谢bhk2004,这个帖子我已经有,但是我现在不明白的主要是关于各个参数的设置
例如:
perl adcfgclone.pl dbTier
Target system base directory for source homes:/u02/prod
Do you want the the target system to have the same port values as the source system (y/n) [y] ?:n
Clone Context uses the same port pool mechanism as the Rapid Install.
Enter the port pool to be used for the target system node [0-99]:
3
但是为什么会报错
RC-00203: Unable to create/write to file /u02/prod/db/tech_st/10.2.0/appsutil/out/portpool.lst.
Complete port information available at /u02/prod/db/tech_st/10.2.0/appsutil/out/portpool.lst
Creating the new Database Context file from :
/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/context/db/adxdbctx.tmp
The new database context file has been created :
/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/context/db/PRODB_ebs.xml
Log file located at /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_08271415.log
Check logfile /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_08271415.log for details.
Running Rapid Clone with command:
perl /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/context/db/PRODB_ebs.xml showProgress contextValidated=true
Running:
perl /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/context/db/PRODB_ebs.xml showProgress contextValidated=true
ERROR: OUI files not found at their expected location. Setting OUI path to: XMLPARSER: /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar
JDBC: /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
CLASSPATH: /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar
OUI CLASSPATH: /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/oui/xmlparserv2.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/jlib/java
Setting LD_LIBRARY_PATH to /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/oui/lib/linux
/etc/oraInst.loc points to an Inventory that does not exist:
/home/oracle/oraInventory
mkdir /home/oracle: Permission denied at /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl line 1285
ERROR: Failed to execute /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
Please check logfile.
clone不是应该先在源系统上设置好之后再copy到目标吗?为什么会提示我不能创建文件、权限不足之类的错误呢?难道要在源系统上创建这些文件,再拷贝至目标系统?
想参考一下成功了的日志,请讲解一下吧