Deinstall Oracle Grid Infrastructure Standalone Install
At the end of the installation i get the error stating.
INFO: Executing ASMCA
INFO: Command /u01/app/grid/bin/asmca -silent -oui_internal -configureASM -diskString 'o/*/*' -diskGroupName MGMT -diskList o/192.168.124.129/DATA_CD_DISK01_localhost,o
/192.168.124.129/DATA_CD_DISK02_localhost -redundancy NORMAL
INFO: ... GenericInternalPlugIn.handleProcess() entered.
INFO: ... GenericInternalPlugIn: getting configAssistantParmas.
INFO: ... GenericInternalPlugIn: checking secretArguments.
INFO: ... GenericInternalPlugIn: starting read loop.
INFO: Read: SYS_PASSWORD_PROMPT
INFO: Processing: SYS_PASSWORD_PROMPT for argument tag -sysAsmPassword
INFO: Read: ASMSNMP_PASSWORD_PROMPT
INFO: Processing: ASMSNMP_PASSWORD_PROMPT for argument tag -asmMonitorPassword
INFO: End of argument passing to stdin
INFO: Read:
INFO: Read: Configuring ASM failed with the following message:
INFO: Read: One or more disk group(s) creation failed as below:
INFO: Read: Disk Group MGMT creation failed with the following message:
INFO: Read: ORA-15018: diskgroup cannot be created
INFO: Read: ORA-15072: command requires at least 2 regular failure groups, discovered only 1
++ So i choose to De-install and Reinstall with proper ASM disk group option.
++ To Deinstall.
./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.cssd ora.cssd.type OFFLINE OFFLINE
ora.diskmon ora....on.type OFFLINE OFFLINE
ora.evmd ora.evm.type ONLINE ONLINE hostname
ora.ons ora.ons.type OFFLINE OFFLINE
++ Then as grid user login /u01/oraInventory/logs/installActions2014-06-23_12-42-39PM.log check the log file.
++ Find the installation location.
# ps -ef|grep d.bin
grid 13818 1 0 13:20 ? 00:00:01 /u01/app/grid/bin/ohasd.bin reboot
grid 13972 1 0 13:20 ? 00:00:01 /u01/app/grid/bin/oraagent.bin
grid 13986 1 0 13:20 ? 00:00:00 /u01/app/grid/bin/evmd.bin
grid 14021 13986 0 13:20 ? 00:00:00 /u01/app/grid/bin/evmlogger.bin -o /u01/app/grid/evm/log/evmlogger.info -l /u01/app/grid/evm/log/evmlogger.log
grid 14579 1 0 13:23 ? 00:00:00 /u01/app/grid/bin/cssdagent
grid 14581 1 0 13:23 ? 00:00:00 /u01/app/grid/bin/orarootagent.bin
grid 14594 1 0 13:23 ? 00:00:00 /u01/app/grid/bin/ocssd.bin
grid 14607 1 0 13:23 ? 00:00:00 /u01/app/grid/bin/diskmon.bin -d -f
root 21230 21133 0 13:42 pts/2 00:00:00 /u01/app/grid/bin/crsctl.bin stop resource ora.cssd -f
root 21493 21449 0 13:47 pts/4 00:00:00 grep d.bin
++ cd /u01/app/grid/bin
./crsctl stop has
++ cd /u01/app/grid/deinstall
./deinstall
+ /tmp/deinstall2014-06-23_01-37-35PM/perl/bin/perl /tmp/deinstall2014-06-23_01-37-35PM/deinstall.pl 1 /tmp/deinstall2014-06-23_01-37-35PM /tmp/deinstall2014-06-23_01-37-35PM -d64 /u01/app/grid
Location of logs /tmp/deinstall2014-06-23_01-37-35PM/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################### CHECK OPERATION START #########################
Install check configuration START
Checking for existence of the Oracle home location /u01/app/grid
Oracle Home type selected for de-install is: SIHA
Oracle Base selected for de-install is: /u01/app
Checking for existence of central inventory location /u01/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/grid
Install check configuration END
Skipping Windows and .NET products configuration check
Checking Windows and .NET products configuration END
Traces log file: /tmp/deinstall2014-06-23_01-37-35PM/logs//crsdc.log
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2014-06-23_01-37-35PM/logs/netdc_check2014-06-23_01-39-22-PM.log
Specify all Oracle Restart enabled listeners that are to be de-configured [LISTENER]:
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /tmp/deinstall2014-06-23_01-37-35PM/logs/asmcadc_check2014-06-23_01-40-27-PM.log
ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: y
Specify the ASM Diagnostic Destination [ ]:
Specify the diskstring []:
Specify the diskgroups that are managed by this ASM instance []:
######################### CHECK OPERATION END #########################
####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/grid
The cluster node(s) on which the Oracle home de-installation will be performed are:null
Oracle Home selected for de-install is: /u01/app/grid
Inventory Location where the Oracle home registered is: /u01/oraInventory
Skipping Windows and .NET products configuration check
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/deinstall2014-06-23_01-37-35PM/logs/deinstall_deconfig2014-06-23_01-39-18-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2014-06-23_01-37-35PM/logs/deinstall_deconfig2014-06-23_01-39-18-PM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /tmp/deinstall2014-06-23_01-37-35PM/logs/asmcadc_clean2014-06-23_01-41-03-PM.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2014-06-23_01-37-35PM/logs/netdc_clean2014-06-23_01-41-17-PM.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 Listener configuration file...
Listener configuration file 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 "hostname".
/tmp/deinstall2014-06-23_01-37-35PM/perl/bin/perl -I/tmp/deinstall2014-06-23_01-37-35PM/perl/lib -I/tmp/deinstall2014-06-23_01-37-35PM/crs/install /tmp/deinstall2014-06-23_01-37-35PM/crs/install/roothas.pl -force -deconfig -paramfile /tmp/deinstall2014-06-23_01-37-35PM/response/deinstall_Ora11g_gridinfrahome1.rsp
Press Enter after you finish running the above commands
<----------------------------------------
Removing Windows and .NET products configuration END
Oracle Universal Installer clean START
Detach Oracle home '/u01/app/grid' from the central inventory on the local node : Done
Delete directory '/u01/app/grid' on the local node : Done
Delete directory '/u01/oraInventory' on the local node : Done
The Oracle Base directory '/u01/app' will not be removed on local node. The directory is not empty.
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
Oracle install clean START
Clean install operation removing temporary directory '/tmp/deinstall2014-06-23_01-37-35PM' on node 'hostname'
Oracle install clean END
######################### CLEAN OPERATION END #########################
####################### CLEAN OPERATION SUMMARY #######################
ASM instance was de-configured successfully from the Oracle home
Following Oracle Restart enabled listener(s) were de-configured successfully: LISTENER
The stopping and de-configuring of Oracle Restart failed. Fix the problem and rerun this tool to completely remove the Oracle Restart configuration and the software
Oracle Restart was already stopped and de-configured on node "hostname"
Oracle Restart is stopped and de-configured successfully.
Skipping Windows and .NET products configuration clean
Successfully detached Oracle home '/u01/app/grid' from the central inventory on the local node.
Successfully deleted directory '/u01/app/grid' on the local node.
Successfully deleted directory '/u01/oraInventory' on the local node.
Oracle Universal Installer cleanup was successful.
Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'hostname' at the end of the session.
Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'hostname ' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################
############# ORACLE DEINSTALL & DECONFIG TOOL END #############
At the end of the installation i get the error stating.
INFO: Executing ASMCA
INFO: Command /u01/app/grid/bin/asmca -silent -oui_internal -configureASM -diskString 'o/*/*' -diskGroupName MGMT -diskList o/192.168.124.129/DATA_CD_DISK01_localhost,o
/192.168.124.129/DATA_CD_DISK02_localhost -redundancy NORMAL
INFO: ... GenericInternalPlugIn.handleProcess() entered.
INFO: ... GenericInternalPlugIn: getting configAssistantParmas.
INFO: ... GenericInternalPlugIn: checking secretArguments.
INFO: ... GenericInternalPlugIn: starting read loop.
INFO: Read: SYS_PASSWORD_PROMPT
INFO: Processing: SYS_PASSWORD_PROMPT for argument tag -sysAsmPassword
INFO: Read: ASMSNMP_PASSWORD_PROMPT
INFO: Processing: ASMSNMP_PASSWORD_PROMPT for argument tag -asmMonitorPassword
INFO: End of argument passing to stdin
INFO: Read:
INFO: Read: Configuring ASM failed with the following message:
INFO: Read: One or more disk group(s) creation failed as below:
INFO: Read: Disk Group MGMT creation failed with the following message:
INFO: Read: ORA-15018: diskgroup cannot be created
INFO: Read: ORA-15072: command requires at least 2 regular failure groups, discovered only 1
++ So i choose to De-install and Reinstall with proper ASM disk group option.
++ To Deinstall.
./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.cssd ora.cssd.type OFFLINE OFFLINE
ora.diskmon ora....on.type OFFLINE OFFLINE
ora.evmd ora.evm.type ONLINE ONLINE hostname
ora.ons ora.ons.type OFFLINE OFFLINE
++ Then as grid user login /u01/oraInventory/logs/installActions2014-06-23_12-42-39PM.log check the log file.
++ Find the installation location.
# ps -ef|grep d.bin
grid 13818 1 0 13:20 ? 00:00:01 /u01/app/grid/bin/ohasd.bin reboot
grid 13972 1 0 13:20 ? 00:00:01 /u01/app/grid/bin/oraagent.bin
grid 13986 1 0 13:20 ? 00:00:00 /u01/app/grid/bin/evmd.bin
grid 14021 13986 0 13:20 ? 00:00:00 /u01/app/grid/bin/evmlogger.bin -o /u01/app/grid/evm/log/evmlogger.info -l /u01/app/grid/evm/log/evmlogger.log
grid 14579 1 0 13:23 ? 00:00:00 /u01/app/grid/bin/cssdagent
grid 14581 1 0 13:23 ? 00:00:00 /u01/app/grid/bin/orarootagent.bin
grid 14594 1 0 13:23 ? 00:00:00 /u01/app/grid/bin/ocssd.bin
grid 14607 1 0 13:23 ? 00:00:00 /u01/app/grid/bin/diskmon.bin -d -f
root 21230 21133 0 13:42 pts/2 00:00:00 /u01/app/grid/bin/crsctl.bin stop resource ora.cssd -f
root 21493 21449 0 13:47 pts/4 00:00:00 grep d.bin
++ cd /u01/app/grid/bin
./crsctl stop has
++ cd /u01/app/grid/deinstall
./deinstall
+ /tmp/deinstall2014-06-23_01-37-35PM/perl/bin/perl /tmp/deinstall2014-06-23_01-37-35PM/deinstall.pl 1 /tmp/deinstall2014-06-23_01-37-35PM /tmp/deinstall2014-06-23_01-37-35PM -d64 /u01/app/grid
Location of logs /tmp/deinstall2014-06-23_01-37-35PM/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################### CHECK OPERATION START #########################
Install check configuration START
Checking for existence of the Oracle home location /u01/app/grid
Oracle Home type selected for de-install is: SIHA
Oracle Base selected for de-install is: /u01/app
Checking for existence of central inventory location /u01/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/grid
Install check configuration END
Skipping Windows and .NET products configuration check
Checking Windows and .NET products configuration END
Traces log file: /tmp/deinstall2014-06-23_01-37-35PM/logs//crsdc.log
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2014-06-23_01-37-35PM/logs/netdc_check2014-06-23_01-39-22-PM.log
Specify all Oracle Restart enabled listeners that are to be de-configured [LISTENER]:
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /tmp/deinstall2014-06-23_01-37-35PM/logs/asmcadc_check2014-06-23_01-40-27-PM.log
ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: y
Specify the ASM Diagnostic Destination [ ]:
Specify the diskstring []:
Specify the diskgroups that are managed by this ASM instance []:
######################### CHECK OPERATION END #########################
####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/grid
The cluster node(s) on which the Oracle home de-installation will be performed are:null
Oracle Home selected for de-install is: /u01/app/grid
Inventory Location where the Oracle home registered is: /u01/oraInventory
Skipping Windows and .NET products configuration check
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/deinstall2014-06-23_01-37-35PM/logs/deinstall_deconfig2014-06-23_01-39-18-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2014-06-23_01-37-35PM/logs/deinstall_deconfig2014-06-23_01-39-18-PM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /tmp/deinstall2014-06-23_01-37-35PM/logs/asmcadc_clean2014-06-23_01-41-03-PM.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2014-06-23_01-37-35PM/logs/netdc_clean2014-06-23_01-41-17-PM.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 Listener configuration file...
Listener configuration file 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 "hostname".
/tmp/deinstall2014-06-23_01-37-35PM/perl/bin/perl -I/tmp/deinstall2014-06-23_01-37-35PM/perl/lib -I/tmp/deinstall2014-06-23_01-37-35PM/crs/install /tmp/deinstall2014-06-23_01-37-35PM/crs/install/roothas.pl -force -deconfig -paramfile /tmp/deinstall2014-06-23_01-37-35PM/response/deinstall_Ora11g_gridinfrahome1.rsp
Press Enter after you finish running the above commands
<----------------------------------------
Removing Windows and .NET products configuration END
Oracle Universal Installer clean START
Detach Oracle home '/u01/app/grid' from the central inventory on the local node : Done
Delete directory '/u01/app/grid' on the local node : Done
Delete directory '/u01/oraInventory' on the local node : Done
The Oracle Base directory '/u01/app' will not be removed on local node. The directory is not empty.
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
Oracle install clean START
Clean install operation removing temporary directory '/tmp/deinstall2014-06-23_01-37-35PM' on node 'hostname'
Oracle install clean END
######################### CLEAN OPERATION END #########################
####################### CLEAN OPERATION SUMMARY #######################
ASM instance was de-configured successfully from the Oracle home
Following Oracle Restart enabled listener(s) were de-configured successfully: LISTENER
The stopping and de-configuring of Oracle Restart failed. Fix the problem and rerun this tool to completely remove the Oracle Restart configuration and the software
Oracle Restart was already stopped and de-configured on node "hostname"
Oracle Restart is stopped and de-configured successfully.
Skipping Windows and .NET products configuration clean
Successfully detached Oracle home '/u01/app/grid' from the central inventory on the local node.
Successfully deleted directory '/u01/app/grid' on the local node.
Successfully deleted directory '/u01/oraInventory' on the local node.
Oracle Universal Installer cleanup was successful.
Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'hostname' at the end of the session.
Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'hostname ' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################
############# ORACLE DEINSTALL & DECONFIG TOOL END #############
1 comment:
Hi karl,
Did you choose external to resolve this issue.
TIA,
Uday
Post a Comment