您的位置:首页 > 数据库

deinstall静默卸载数据库软件

2015-11-09 11:39 381 查看

一、deinstall使用帮助

1、deinstall命令路径

deinstall路径并不在PATH环境变量里面,我们直接是无法使用的,它在数据库安装目录下面的deinstall目录里面,我这里的路径是/u01/app/oracle/product/11.2.0/dbhome_1/deinstall/deinstall。

2、deinstall使用帮助

[code=bash;toolbar:false">$ ./deinstall -help deinstall                [ -silent ]                [ -checkonly ]                [ -local ]                [ -paramfile <complete path of input parameter properties file> ]                [ -params <name1=value[ name2=value name3=value ...]> ]                [ -o <complete path of directory for saving files> ]                [ -tmpdir <complete path of temporary directory to use> ]                [ -logdir <complete path of log directory to use> ]                [ -help : Type -help to get more information on each of the above options. ]

  -silent:静默方式;

  -checkonly:检查获取参数文件

  -paramfile:数据库参数文件

3、checkonly检查

    在检查过程中的选项可以直接回车略过,会在最后生成我们需要的参数文件####################### CHECK OPERATION SUMMARY ####################### Oracle Home selected for deinstall is: /u01/app/oracle/product/11.2.0/dbhome_1 Inventory Location where the Oracle home registered is: /u01/app/oraInventory Following Single Instance listener(s) will be de-configured: LISTENER The following databases were selected for de-configuration : orcl Database unique name : orcl Storage used : FS No Enterprise Manager configuration to be updated for any database(s) No Enterprise Manager ASM targets to update No Enterprise Manager listener targets to migrate Checking the config status for CCR Oracle Home exists with CCR directory, but CCR is not configured CCR check is finished A log of this session will be written to: '/tmp/deinstall2015-11-09_11-28-59AM/logs/deinstall_deconfig2015-11-09_11-29-05-AM.out' Any error messages from this session will be written to: '/tmp/deinstall2015-11-09_11-28-59AM/logs/deinstall_deconfig2015-11-09_11-29-05-AM.err' ############# ORACLE DEINSTALL & DECONFIG TOOL END #############“/tmp/deinstall2015-11-09_11-28-59AM/”这个就是我们获取的目录。


[p]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: