- Удаление Oracle Client из Windows
- 10 Removing Oracle Database Software
- 10.1 About the Deinstallation Tool
- 10.1.1 Deinstalling Previous Release Grid Home
- 10.2 Example of Running the Deinstallation Tool
- 10.3 Example of Running the Deinstall Command
- 10.4 Deinstallation Response File Example for Oracle Database
- 10.5 Deinstallation Response File Example for Oracle Grid Infrastructure
- Как удалить oracle 12c windows
- 4 ответов
- 10.1 About the Deinstallation Tool
- 10.1.1 Deinstalling Previous Release Grid Home
- 10.2 Example of Running the Deinstallation Tool
- 10.3 Example of Running the Deinstall Command
- 10.4 Deinstallation Response File Example for Oracle Database
- 10.5 Deinstallation Response File Example for Oracle Grid Infrastructure
- воскресенье, 2 декабря 2012 г.
- Корректное удаление клиента Oracle
Удаление Oracle Client из Windows
Бывает, что необходимо не только установить клиент оракла, но и удалить его. Сделать это также просто как любые другие обычные приложения не получится (ввиду его сложной архитектуры наверное ), поэтому об этом процессе написан целый официальный мануал: http://download.oracle.com/docs/cd/B28359_01/install.111/b32007/deinstall.htm.
Глянем в первую очередь на него, и если найдем что-то полезное попробуем таки удалить этот Oracle Client 11G.
В соответствии с официальным планом действий предлагается остановить все ORA-службы и вызвать универсальный инсталлятор для автоматической деинсталляции всего клиента целиком, но бывает что при установке некоторых клиентов сам этот универсальный инсталлятор не устанавливается, поэтому тут надо искать другие подходы (кроме ручного удаления которое весьма муторно, хотя и полностью описано в том же мануале).
В итоге мне помог вызов deinstall.bat из папки deinstall деинсталляционной утилиты от Oracle (Oracle De-install Utility (11.2.0.2.0) for Microsoft Windows (32-bit) которую можно скачать по ссылке абсолютно бесплатно) для удаления очень тонких клиентов , т.е. выглядело это примерно так:
C:\deinstall>deinstall.bat -home C:\app\admin\product\11.2.0\client_1\
И по сообщениям в cmd можно судить о том что мы удаляем в полуавтоматическом режиме:
Запись опубликована 25.04.2011 в 1:04 дп и размещена в рубрике Вопрос-Ответ. Вы можете следить за обсуждением этой записи с помощью ленты RSS 2.0. Можно оставить комментарий или сделать обратную ссылку с вашего сайта.
10 Removing Oracle Database Software
This chapter describes how to completely remove Oracle software and configuration files related to the specified Oracle home. It includes information about removing Oracle software using the deinstallation tool.
The deinstallation tool removes standalone Oracle Database installations, Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM) from your server, and also Oracle Real Application Clusters (Oracle RAC) and Oracle Database client installations.
Oracle recommends that you use the deinstallation tool to remove the entire Oracle home associated with the Oracle Database, Oracle Clusterware, Oracle ASM, Oracle RAC, or Oracle Database client installation. Oracle does not support the removal of individual products or components.
The following sections describe the deinstallation tools, and provide information about additional options to use the tool:
If you have a standalone database on a node in a cluster and you have multiple databases with the same global database name (GDN), then you cannot use the deinstall tool to remove one database only.
«Dropping Disk Groups» in Oracle Automatic Storage Management Administrator’s Guide for information about removing an Oracle ASM disk group
10.1 About the Deinstallation Tool
Starting with Oracle Database 12 c , the deinstallation tool is integrated with the database installation media. You can run the deinstallation tool using the runInstaller command with the -deinstall and -home options from the base directory of the Oracle Database, Oracle Database Client or Oracle Grid Infrastructure installation media.
The deinstallation tool is also available as a separate command ( deinstall ) in Oracle home directories after installation. It is located in the $ORACLE_HOME/deinstall directory.
The deinstallation tool uses the information you provide, plus information gathered from the software home to create a response file. You can alternatively supply a response file generated previously by the deinstall command using the –checkonly option, or by editing the response file template.
The deinstallation tool stops Oracle software, and removes Oracle software and configuration files on the operating system for a specific Oracle home. If you run the deinstallation tool to remove an Oracle Grid Infrastructure installation, then the deinstaller prompts you to run the roothas.sh script, as the root user, to deconfigure Oracle Restart.
Starting with Oracle Database 12 c Release 1 (12.1.0.2), the roothas.sh script replaces the roothas.pl script in the Oracle Grid Infrastructure home.
If the software in the Oracle home is not running (for example, after an unsuccessful installation), then the deinstallation tool cannot determine the configuration, and you must provide all the configuration details either interactively or in a response file.
When you run the deinstallation tool, if the central inventory (oraInventory) contains no other registered homes besides the home that you are deconfiguring and removing, then the deinstall command removes the following files and directory contents in the Oracle base directory of the Oracle Database installation owner:
Oracle strongly recommends that you configure your installations using an Optimal Flexible Architecture (OFA) configuration, and that you reserve Oracle base and Oracle home paths for exclusive use of Oracle software. If you have any user data in these locations in the Oracle base that is owned by the user account that owns the Oracle software, then the deinstallation tool deletes this data.
In addition, for Oracle Grid Infrastructure installations:
Oracle Automatic Storage Management Cluster File System (Oracle ACFS) must be dismounted and Oracle Automatic Storage Management Dynamic Volume Manager (Oracle ADVM) must be disabled.
If Grid Naming Service (GNS) is in use, then the entry for the subdomain must be deleted from DNS by your DNS administrator.
The deinstallation tool deletes Oracle Database configuration files, user data, and fast recovery area (FRA) files even if they are located outside of the Oracle base directory path.
Oracle recommends that you run the deinstallation tool as the Oracle software installation owner. The default method for running the deinstallation tool is from the deinstall directory in the Oracle home as the installation owner:
The deinstall command uses the following syntax, where variable content is indicated in italics:
To run the deinstallation tool from the database installation media, use the runInstaller command with the -deinstall option, followed by the -home option to specify the path of the Oracle home you want to remove using the following syntax, where variable content is indicated in italics:
Provide information about your servers as prompted or accept the defaults.
The deinstallation tool stops Oracle software, and removes Oracle software and configuration files on the operating system.
In addition, you can run the deinstallation tool with a response file, or select the following options to run the tool:
Use this flag to indicate the home path of the Oracle home to check or deinstall.
To deinstall Oracle software using the deinstall command, located in the Oracle home you plan to deinstall, provide a response file located outside the Oracle home, and do not use the -home flag.
If you run the deinstallation tool from the $ORACLE_HOME/deinstall path, then the -home flag is not required because the tool identifies the location of the home where it is run. If you use runInstaller -deinstall from the installation media, then -home is mandatory.
Use this flag to run the deinstallation tool in noninteractive mode. This option requires one of the following:
A working system that it can access to determine the installation and configuration information. The -silent flag does not work with failed installations.
A response file that contains the configuration values for the Oracle home that is being deinstalled or deconfigured.
You can generate a response file to use or modify by running the tool with the -checkonly flag. The tool then discovers information from the Oracle home to deinstall and deconfigure. It generates the response file that you can then use with the -silent option.
You can also modify the template file deinstall.rsp.tmpl , located in the $ORACLE_HOME/deinstall/response directory.
Use this flag to check the status of the Oracle software home configuration. Running the deinstallation tool with the -checkonly flag does not remove the Oracle configuration. The -checkonly flag generates a response file that you can use with the deinstallation tool and -silent option.
-paramfile complete path of input response file
Use this flag to run the deinstallation tool with a response file in a location other than the default. When you use this flag, provide the complete path where the response file is located.
The default location of the response file depends on the location of the deinstallation tool:
From the installation media or stage location: /response
After installation from the installed Oracle home: $ORACLE_HOME/deinstall/response
-params [ name1 = value name2 = value name3 = value . . .]
Use this flag with a response file to override one or more values to change in a response file you have created.
-o complete path of directory for saving response files
Use this flag to provide a path other than the default location where the response file ( deinstall.rsp.tmpl ) is saved.
The default location of the response file depends on the location of the deinstallation tool:
From the installation media or stage location: /response
After installation from the installed Oracle home: $ORACLE_HOME/deinstall/response
-tmpdir complete path of temporary directory
Use this flag to specify a non-default location where Oracle Deinstallation Tool writes the temporary files for the deinstallation.
-logdir complete path of log directory
Use this flag to specify a non-default location where Oracle Deinstallation Tool writes the log files for the deinstallation.
Use the help option ( -help ) to get additional information about the command option flags.
10.1.1 Deinstalling Previous Release Grid Home
For upgrades from previous releases, if you want to deinstall the previous release Grid home, then as the root user, you must manually change the permissions of the previous release Grid home, and then run the deinstall command.
In this example, /u01/app/grid/11.2.0 is the previous release Grid home.
10.2 Example of Running the Deinstallation Tool
If you run the deinstallation tool using the runInstaller command with the -deinstall option from the installation media, then help is displayed unless you enter a -home flag and provide a path to the home directory of the Oracle software to remove from your system.
Use the optional flag -paramfile to provide a path to a response file.
In the following example, the runInstaller command is in the path /directory_path , where directory_path is the path to the database directory on the installation media, and /u01/app/oracle/product/12.1.0/dbhome_1/ is the path to the Oracle home remove:
The following example uses a response file in the software owner location /home/usr/oracle :
10.3 Example of Running the Deinstall Command
If you run the deinstallation tool using the deinstall command from the $ORACLE_HOME/deinstall directory, then the deinstallation starts without prompting you for the Oracle home path.
Use the optional flag -paramfile to provide a path to a response file.
In the following example, the deinstall command is in the path /u01/app/oracle/product/12.1.0/dbhome_1/deinstall , and it uses a response file in the software owner location /home/usr/oracle :
For the Oracle Grid Infrastructure home, use the deinstallation script in the Oracle Grid Infrastructure for a standalone server home, which in this example is /u01/app/oracle/product/12.1.0/grid :
10.4 Deinstallation Response File Example for Oracle Database
You can run the deinstallation tool with the -paramfile option to use the values you specify in the response file. The following is an example of a response file, in which the Oracle Database binary owner is oracle , the Oracle Database home (Oracle home) is in the path /u01/app/oracle/product/12.1.0/dbhome_1/ , the Oracle base (where other Oracle software is installed) is /u01/app/oracle/ , the central Oracle Inventory home (oraInventory) is /u01/app/oraInventory , the virtual IP address (VIP) is 192.0.2.1 , the local node (the node where you run the deinstallation session from) is myserver , and the OSDBA group is dba :
10.5 Deinstallation Response File Example for Oracle Grid Infrastructure
You can run the deinstallation tool with the -paramfile option to use the values you specify in the response file.
The following is an example of a response file, in which the Oracle Grid Infrastructure binary owner is oracle , the Oracle Grid Infrastructure home is in the path /u01/app/oracle/product/12.1.0/grid , the Oracle base (where other Oracle software is installed) is /u01/app/oracle/ , the central Oracle Inventory home (oraInventory) is /u01/app/oraInventory , the local node (the node where you run the deinstallation session from) is myserver , and the OSDBA group is dba :
Как удалить oracle 12c windows
как полностью удалить клиент Oracle 11g с компьютера? Я использую Windows 7, 64-разрядная.
Я пробовал запускать deinstall.bat , но это не работает.
4 ответов
сначала используйте Пуск — > Выполнить — > службы.msc, найдите все службы Ora* и остановите их.
- удалить все компоненты Oracle с помощью универсального установщика Oracle (OUI).
- удалить HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE (и HKEY_LOCAL_MACHINESOFTWAREWow6432NodeORACLE на 64бит) раздел, содержащий записи реестра для всех продуктов Oracle с помощью смерзаться.
- удалить все ссылки к услугам/компонентам Oracle в следующем расположение реестра: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/ . Ищет ключевые записи, которые начинаются с «Ora», которые, очевидно, связаны с Оракул.
- перезагрузите рабочую станцию.
- удалить каталог ORACLE_BASE. (я.е C:Oracle)
- удалить каталог C:Program FilesOracle .
- очистить временный каталог.
- очистить корзину.
- удалить все записи Oracle в переменной PATH под Компьютер =>Свойства => Дополнительные параметры системы => среда Variaiable => путь
- там же удалите запись ORACLE_HOME
шагов: Остановите все службы Oracle.
- Пуск -> Выполнить -> службы.msc
- найдите все Ora* услуги и нажмите на стоп
- Пуск — > Выполнить — > Regedit
- найдите папку HKEY_LOCAL_MACHINE в реестре
- открыть папку с программами
- удалить папку Oracle в разделе Software
- открыть системную папку в HKEY_LOCAL_MACHINE
- открыть папку CurrentControlSet в системе папка
- Открыть Услуги
- удалить все ключи, связанные с Oracle. Каждый ключ начинается с » ORA..»
- закрыть regedit
- удалить папку ORACLE_HOME
- удалить папку Oracle в Program Files
- Reboot
используйте универсальный установщик. Если вы попытаетесь удалить все сразу не дадут. Поэтому сначала удалите программу. НЕ ЗАБУДЬТЕ ОСТАВИТЬ УНИВЕРСАЛЬНЫЙ УСТАНОВЩИК ОТКРЫТЫМ. Затем вернитесь и удалите Home.
This chapter describes how to completely remove Oracle software and configuration files related to the specified Oracle home. It includes information about removing Oracle software using the deinstallation tool.
The deinstallation tool removes standalone Oracle Database installations, Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM) from your server, and also Oracle Real Application Clusters (Oracle RAC) and Oracle Database client installations.
Oracle recommends that you use the deinstallation tool to remove the entire Oracle home associated with the Oracle Database, Oracle Clusterware, Oracle ASM, Oracle RAC, or Oracle Database client installation. Oracle does not support the removal of individual products or components.
The following sections describe the deinstallation tools, and provide information about additional options to use the tool:
If you have a standalone database on a node in a cluster and you have multiple databases with the same global database name (GDN), then you cannot use the deinstall tool to remove one database only.
«Dropping Disk Groups» in Oracle Automatic Storage Management Administrator’s Guide for information about removing an Oracle ASM disk group
10.1 About the Deinstallation Tool
Starting with Oracle Database 12 c , the deinstallation tool is integrated with the database installation media. You can run the deinstallation tool using the runInstaller command with the -deinstall and -home options from the base directory of the Oracle Database, Oracle Database Client or Oracle Grid Infrastructure installation media.
The deinstallation tool is also available as a separate command ( deinstall ) in Oracle home directories after installation. It is located in the $ORACLE_HOME/deinstall directory.
The deinstallation tool uses the information you provide, plus information gathered from the software home to create a response file. You can alternatively supply a response file generated previously by the deinstall command using the –checkonly option, or by editing the response file template.
The deinstallation tool stops Oracle software, and removes Oracle software and configuration files on the operating system for a specific Oracle home. If you run the deinstallation tool to remove an Oracle Grid Infrastructure installation, then the deinstaller prompts you to run the roothas.sh script, as the root user, to deconfigure Oracle Restart.
Starting with Oracle Database 12 c Release 1 (12.1.0.2), the roothas.sh script replaces the roothas.pl script in the Oracle Grid Infrastructure home.
If the software in the Oracle home is not running (for example, after an unsuccessful installation), then the deinstallation tool cannot determine the configuration, and you must provide all the configuration details either interactively or in a response file.
When you run the deinstallation tool, if the central inventory (oraInventory) contains no other registered homes besides the home that you are deconfiguring and removing, then the deinstall command removes the following files and directory contents in the Oracle base directory of the Oracle Database installation owner:
Oracle strongly recommends that you configure your installations using an Optimal Flexible Architecture (OFA) configuration, and that you reserve Oracle base and Oracle home paths for exclusive use of Oracle software. If you have any user data in these locations in the Oracle base that is owned by the user account that owns the Oracle software, then the deinstallation tool deletes this data.
In addition, for Oracle Grid Infrastructure installations:
Oracle Automatic Storage Management Cluster File System (Oracle ACFS) must be dismounted and Oracle Automatic Storage Management Dynamic Volume Manager (Oracle ADVM) must be disabled.
If Grid Naming Service (GNS) is in use, then the entry for the subdomain must be deleted from DNS by your DNS administrator.
The deinstallation tool deletes Oracle Database configuration files, user data, and fast recovery area (FRA) files even if they are located outside of the Oracle base directory path.
Oracle recommends that you run the deinstallation tool as the Oracle software installation owner. The default method for running the deinstallation tool is from the deinstall directory in the Oracle home as the installation owner:
The deinstall command uses the following syntax, where variable content is indicated in italics:
To run the deinstallation tool from the database installation media, use the runInstaller command with the -deinstall option, followed by the -home option to specify the path of the Oracle home you want to remove using the following syntax, where variable content is indicated in italics:
Provide information about your servers as prompted or accept the defaults.
The deinstallation tool stops Oracle software, and removes Oracle software and configuration files on the operating system.
In addition, you can run the deinstallation tool with a response file, or select the following options to run the tool:
Use this flag to indicate the home path of the Oracle home to check or deinstall.
To deinstall Oracle software using the deinstall command, located in the Oracle home you plan to deinstall, provide a response file located outside the Oracle home, and do not use the -home flag.
If you run the deinstallation tool from the $ORACLE_HOME/deinstall path, then the -home flag is not required because the tool identifies the location of the home where it is run. If you use runInstaller -deinstall from the installation media, then -home is mandatory.
Use this flag to run the deinstallation tool in noninteractive mode. This option requires one of the following:
A working system that it can access to determine the installation and configuration information. The -silent flag does not work with failed installations.
A response file that contains the configuration values for the Oracle home that is being deinstalled or deconfigured.
You can generate a response file to use or modify by running the tool with the -checkonly flag. The tool then discovers information from the Oracle home to deinstall and deconfigure. It generates the response file that you can then use with the -silent option.
You can also modify the template file deinstall.rsp.tmpl , located in the $ORACLE_HOME/deinstall/response directory.
Use this flag to check the status of the Oracle software home configuration. Running the deinstallation tool with the -checkonly flag does not remove the Oracle configuration. The -checkonly flag generates a response file that you can use with the deinstallation tool and -silent option.
-paramfile complete path of input response file
Use this flag to run the deinstallation tool with a response file in a location other than the default. When you use this flag, provide the complete path where the response file is located.
The default location of the response file depends on the location of the deinstallation tool:
From the installation media or stage location: /response
After installation from the installed Oracle home: $ORACLE_HOME/deinstall/response
-params [ name1 = value name2 = value name3 = value . . .]
Use this flag with a response file to override one or more values to change in a response file you have created.
-o complete path of directory for saving response files
Use this flag to provide a path other than the default location where the response file ( deinstall.rsp.tmpl ) is saved.
The default location of the response file depends on the location of the deinstallation tool:
From the installation media or stage location: /response
After installation from the installed Oracle home: $ORACLE_HOME/deinstall/response
-tmpdir complete path of temporary directory
Use this flag to specify a non-default location where Oracle Deinstallation Tool writes the temporary files for the deinstallation.
-logdir complete path of log directory
Use this flag to specify a non-default location where Oracle Deinstallation Tool writes the log files for the deinstallation.
Use the help option ( -help ) to get additional information about the command option flags.
10.1.1 Deinstalling Previous Release Grid Home
For upgrades from previous releases, if you want to deinstall the previous release Grid home, then as the root user, you must manually change the permissions of the previous release Grid home, and then run the deinstall command.
In this example, /u01/app/grid/11.2.0 is the previous release Grid home.
10.2 Example of Running the Deinstallation Tool
If you run the deinstallation tool using the runInstaller command with the -deinstall option from the installation media, then help is displayed unless you enter a -home flag and provide a path to the home directory of the Oracle software to remove from your system.
Use the optional flag -paramfile to provide a path to a response file.
In the following example, the runInstaller command is in the path /directory_path , where directory_path is the path to the database directory on the installation media, and /u01/app/oracle/product/12.1.0/dbhome_1/ is the path to the Oracle home remove:
The following example uses a response file in the software owner location /home/usr/oracle :
10.3 Example of Running the Deinstall Command
If you run the deinstallation tool using the deinstall command from the $ORACLE_HOME/deinstall directory, then the deinstallation starts without prompting you for the Oracle home path.
Use the optional flag -paramfile to provide a path to a response file.
In the following example, the deinstall command is in the path /u01/app/oracle/product/12.1.0/dbhome_1/deinstall , and it uses a response file in the software owner location /home/usr/oracle :
For the Oracle Grid Infrastructure home, use the deinstallation script in the Oracle Grid Infrastructure for a standalone server home, which in this example is /u01/app/oracle/product/12.1.0/grid :
10.4 Deinstallation Response File Example for Oracle Database
You can run the deinstallation tool with the -paramfile option to use the values you specify in the response file. The following is an example of a response file, in which the Oracle Database binary owner is oracle , the Oracle Database home (Oracle home) is in the path /u01/app/oracle/product/12.1.0/dbhome_1/ , the Oracle base (where other Oracle software is installed) is /u01/app/oracle/ , the central Oracle Inventory home (oraInventory) is /u01/app/oraInventory , the virtual IP address (VIP) is 192.0.2.1 , the local node (the node where you run the deinstallation session from) is myserver , and the OSDBA group is dba :
10.5 Deinstallation Response File Example for Oracle Grid Infrastructure
You can run the deinstallation tool with the -paramfile option to use the values you specify in the response file.
The following is an example of a response file, in which the Oracle Grid Infrastructure binary owner is oracle , the Oracle Grid Infrastructure home is in the path /u01/app/oracle/product/12.1.0/grid , the Oracle base (where other Oracle software is installed) is /u01/app/oracle/ , the central Oracle Inventory home (oraInventory) is /u01/app/oraInventory , the local node (the node where you run the deinstallation session from) is myserver , and the OSDBA group is dba :
Решение конкретных вопросов
воскресенье, 2 декабря 2012 г.
Корректное удаление клиента Oracle
Иногда возникают трудности с деинсталляцией клиента Oracle. Почему-то в установке и удалении программ клиент Oracle отсутствует.
Предлагаю следующий способ удаления клиента Oracle:
- запускаем инсталлятор — Deinstall Products . Деинсталлятор загасит службы, удалит большинство файлов;
- подчищаем в Program Files и в Program Files (x86) ;
- удаляем папку Oracle с корня диска C: (или с того места, куда Oracle был установлен);
- в реестре удаляем ветку: HKEY_LOCAL_MACHINESOFTWAREWow6432NodeORACLE (если Windows 7) и HKEY_LOCAL_MACHINESOFTWAREOracle (если Xp).