In this blog we are going to understand how to de-install an Oracle restart configuration.
You must de-install all linked Database binaries - before de-installing Oracle Restart or Grid Infrastructure.
This blog assumes that you have already de-installed the DB binaries and are de-installing the Grid Infra.
Step 1
Got to Oracle home
cd /u01/app/180/grid/deinstall
Step 2
Run the de-install utility (Ensure has is up and running)
./deinstall
You will be prompted for Inputs
1. Name of Listeners
2. Name and configuration of Disks and Diskgroups
3. if you want to continue the deinstall
You must select them at appropriate stages of deinstall,if you have has up and running then these will probably be auto selected for you and all you have to do is validate that it is allright.
All above points are highlighted in the window below
this completes the de-installation of Oracle Restart
You can delete the contents of /u01/app if there is nothing else installed under this direcotyr
You must de-install all linked Database binaries - before de-installing Oracle Restart or Grid Infrastructure.
This blog assumes that you have already de-installed the DB binaries and are de-installing the Grid Infra.
Step 1
Got to Oracle home
cd /u01/app/180/grid/deinstall
Step 2
Run the de-install utility (Ensure has is up and running)
./deinstall
You will be prompted for Inputs
1. Name of Listeners
2. Name and configuration of Disks and Diskgroups
3. if you want to continue the deinstall
You must select them at appropriate stages of deinstall,if you have has up and running then these will probably be auto selected for you and all you have to do is validate that it is allright.
All above points are highlighted in the window below
[grid@oelrestart18c deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2018-09-12_10-01-24AM/logs/
############ ORACLE DECONFIG TOOL START ############
######################### DECONFIG CHECK OPERATION START #########################
## [START] Install check configuration ##
Checking for existence of the Oracle home location /u01/app/180/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Standalone Server
Oracle Base selected for deinstall is: /u01/app/grid
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/180/grid
## [END] Install check configuration ##
Traces log file: /tmp/deinstall2018-09-12_10-01-24AM/logs//crsdc_2018-09-12_10-01-36-AM.log
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/netdc_check2018-09-12_10-01-37AM.log
Specify all Oracle Restart enabled listeners that are to be de-configured. Enter .(dot) to deselect all. [LISTENER]:
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/asmcadc_check2018-09-12_10-01-37AM.log
Automatic Storage Management (ASM) instance is detected in this Oracle home /u01/app/180/grid.
ASM Diagnostic Destination : /u01/app/grid
ASM Diskgroups : +DATA,+REDO
ASM diskstring : /dev/oracleasm/disks/*
Diskgroups will be dropped
De-configuring ASM will drop all the diskgroups and their contents at cleanup time. This will affect all of the databases and ACFS that use this ASM instance(s).
If you want to retain the existing diskgroups or if any of the information detected is incorrect, you can modify by entering 'y'. Do you want to modify above information (y|n) [n]:
Database Check Configuration START
Database de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/databasedc_check2018-09-12_10-01-37AM.log
Database Check Configuration END
######################### DECONFIG CHECK OPERATION END #########################
####################### DECONFIG CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/180/grid
Oracle Home selected for deinstall is: /u01/app/180/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following Oracle Restart enabled listener(s) will be de-configured: LISTENER
ASM instance will be de-configured from this Oracle home
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/tmp/deinstall2018-09-12_10-01-24AM/logs/deinstall_deconfig2018-09-12_10-01-35-AM.out'
Any error messages from this session will be written to: '/tmp/deinstall2018-09-12_10-01-24AM/logs/deinstall_deconfig2018-09-12_10-01-35-AM.err'
######################## DECONFIG CLEAN OPERATION START ########################
Database de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/databasedc_clean2018-09-12_10-01-37AM.log
ASM de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/asmcadc_clean2018-09-12_10-01-37AM.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/netdc_clean2018-09-12_10-01-37AM.log
De-configuring Oracle Restart enabled listener(s): LISTENER
De-configuring listener: LISTENER
Stopping listener: LISTENER
Listener stopped successfully.
Unregistering listener: LISTENER
Listener unregistered successfully.
Deleting listener: LISTENER
Listener deleted successfully.
Listener de-configured successfully.
De-configuring Naming Methods configuration file...
Naming Methods configuration file de-configured successfully.
De-configuring backup files...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END
---------------------------------------->
Run the following command as the root user or the administrator on node "oelrestart18c".
/u01/app/180/grid/crs/install/roothas.sh -force -deconfig -paramfile "/tmp/deinstall2018-09-12_10-01-24AM/response/deinstall_OraGI18Home1.rsp"
Press Enter after you finish running the above commands
---------------------------------------->
Run the de-configuration script as root userChecking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2018-09-12_10-01-24AM/logs/
############ ORACLE DECONFIG TOOL START ############
######################### DECONFIG CHECK OPERATION START #########################
## [START] Install check configuration ##
Checking for existence of the Oracle home location /u01/app/180/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Standalone Server
Oracle Base selected for deinstall is: /u01/app/grid
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/180/grid
## [END] Install check configuration ##
Traces log file: /tmp/deinstall2018-09-12_10-01-24AM/logs//crsdc_2018-09-12_10-01-36-AM.log
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/netdc_check2018-09-12_10-01-37AM.log
Specify all Oracle Restart enabled listeners that are to be de-configured. Enter .(dot) to deselect all. [LISTENER]:
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/asmcadc_check2018-09-12_10-01-37AM.log
Automatic Storage Management (ASM) instance is detected in this Oracle home /u01/app/180/grid.
ASM Diagnostic Destination : /u01/app/grid
ASM Diskgroups : +DATA,+REDO
ASM diskstring : /dev/oracleasm/disks/*
Diskgroups will be dropped
De-configuring ASM will drop all the diskgroups and their contents at cleanup time. This will affect all of the databases and ACFS that use this ASM instance(s).
If you want to retain the existing diskgroups or if any of the information detected is incorrect, you can modify by entering 'y'. Do you want to modify above information (y|n) [n]:
Database Check Configuration START
Database de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/databasedc_check2018-09-12_10-01-37AM.log
Database Check Configuration END
######################### DECONFIG CHECK OPERATION END #########################
####################### DECONFIG CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/180/grid
Oracle Home selected for deinstall is: /u01/app/180/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following Oracle Restart enabled listener(s) will be de-configured: LISTENER
ASM instance will be de-configured from this Oracle home
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/tmp/deinstall2018-09-12_10-01-24AM/logs/deinstall_deconfig2018-09-12_10-01-35-AM.out'
Any error messages from this session will be written to: '/tmp/deinstall2018-09-12_10-01-24AM/logs/deinstall_deconfig2018-09-12_10-01-35-AM.err'
######################## DECONFIG CLEAN OPERATION START ########################
Database de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/databasedc_clean2018-09-12_10-01-37AM.log
ASM de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/asmcadc_clean2018-09-12_10-01-37AM.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2018-09-12_10-01-24AM/logs/netdc_clean2018-09-12_10-01-37AM.log
De-configuring Oracle Restart enabled listener(s): LISTENER
De-configuring listener: LISTENER
Stopping listener: LISTENER
Listener stopped successfully.
Unregistering listener: LISTENER
Listener unregistered successfully.
Deleting listener: LISTENER
Listener deleted successfully.
Listener de-configured successfully.
De-configuring Naming Methods configuration file...
Naming Methods configuration file de-configured successfully.
De-configuring backup files...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END
---------------------------------------->
Run the following command as the root user or the administrator on node "oelrestart18c".
/u01/app/180/grid/crs/install/roothas.sh -force -deconfig -paramfile "/tmp/deinstall2018-09-12_10-01-24AM/response/deinstall_OraGI18Home1.rsp"
Press Enter after you finish running the above commands
---------------------------------------->
[root@oelrestart18c ~]# /u01/app/180/grid/crs/install/roothas.sh -force -deconfig -paramfile "/tmp/deinstall2018-09-12_10-01-24AM/response/deinstall_OraGI18Home1.rsp"
Using configuration parameter file: /tmp/deinstall2018-09-12_10-01-24AM/response/deinstall_OraGI18Home1.rsp
The log of current session can be found at:
/tmp/deinstall2018-09-12_10-01-24AM/logs/hadeconfig.log
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'oelrestart18c'
CRS-2673: Attempting to stop 'ora.evmd' on 'oelrestart18c'
CRS-2677: Stop of 'ora.evmd' on 'oelrestart18c' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'oelrestart18c'
CRS-2677: Stop of 'ora.cssd' on 'oelrestart18c' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'oelrestart18c' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2018/09/12 10:03:25 CLSRSC-337: Successfully deconfigured Oracle Restart stack
Press enter on the main window.Using configuration parameter file: /tmp/deinstall2018-09-12_10-01-24AM/response/deinstall_OraGI18Home1.rsp
The log of current session can be found at:
/tmp/deinstall2018-09-12_10-01-24AM/logs/hadeconfig.log
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'oelrestart18c'
CRS-2673: Attempting to stop 'ora.evmd' on 'oelrestart18c'
CRS-2677: Stop of 'ora.evmd' on 'oelrestart18c' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'oelrestart18c'
CRS-2677: Stop of 'ora.cssd' on 'oelrestart18c' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'oelrestart18c' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2018/09/12 10:03:25 CLSRSC-337: Successfully deconfigured Oracle Restart stack
this completes the de-installation of Oracle Restart
You can delete the contents of /u01/app if there is nothing else installed under this direcotyr
No comments:
Write comments