原因是SCAN分配的IP被占用,因为我是配置在DNS,所以修改DNS中对应的IP为未使用后关掉OUI重新安装OK
[grid@pdb1 ~]$ cd $ORACLE_HOME/deinstall
[grid@pdb1 deinstall]$ ll
total 84
-rwxr-xr-x 1 grid oinstall 9780 May 10 2011 bootstrap.pl*
-rwxr-xr-x 1 grid oinstall 9645 Dec 15 17:06 deinstall*
-rwxr-xr-x 1 grid oinstall 18841 Jan 29 2013 deinstall.pl*
-rw-r
drwxr-xr-x 2 grid oinstall 61 Dec 15 17:05 jlib/
-rw-r
drwxr-xr-x 2 grid oinstall 32 Dec 15 17:05 response/
-rwxr-xr-x 1 grid oinstall 32343 Dec 16 2009 sshUserSetup.sh*
[grid@pdb1 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2020-12-16_02-53-12PM/logs/
Checking for existence of the Oracle home location /u01/app/11.2.0.4/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
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/11.2.0.4/grid
The following nodes are part of this cluster: pdb1,pdb2
Checking for sufficient temp space availability on node(s) : 'pdb1,pdb2'
Traces log file: /tmp/deinstall2020-12-16_02-53-12PM/logs
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2020-12-16_02-53-12PM/logs/netdc_check2020-12-16_02-53-30-PM.log
Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER_SCAN2,LISTENER_SCAN1]:
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /tmp/deinstall2020-12-16_02-53-12PM/logs/asmcadc_check2020-12-16_02-55-28-PM.log
ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: y
Is OCR/Voting Disk placed in ASM y|n [n]: y
Enter the OCR/Voting Disk diskgroup name []: OCR
Specify the ASM Diagnostic Destination [ ]:
Specify the diskstring []:
Specify the diskgroups that are managed by this ASM instance []:
Oracle Grid Infrastructure Home is: /u01/app/11.2.0.4/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:pdb1,pdb2
Oracle Home selected for deinstall is: /u01/app/11.2.0.4/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following RAC listener(s) will be de-configured: LISTENER_SCAN2,LISTENER_SCAN1
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/deinstall2020-12-16_02-53-12PM/logs/deinstall_deconfig2020-12-16_02-53-23-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2020-12-16_02-53-12PM/logs/deinstall_deconfig2020-12-16_02-53-23-PM.err'
ASM de-configuration trace file location: /tmp/deinstall2020-12-16_02-53-12PM/logs/asmcadc_clean2020-12-16_02-55-51-PM.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2020-12-16_02-53-12PM/logs/netdc_clean2020-12-16_02-56-03-PM.log
De-configuring RAC listener(s): LISTENER_SCAN2,LISTENER_SCAN1
De-configuring listener: LISTENER_SCAN2
Stopping listener: LISTENER_SCAN2
Listener stopped successfully.
Listener de-configured successfully.
De-configuring listener: LISTENER_SCAN1
Stopping listener: LISTENER_SCAN1
Listener stopped successfully.
Listener de-configured successfully.
De-configuring Naming Methods configuration file on all nodes...
Naming Methods configuration file de-configured successfully.
De-configuring Local Net Service Names configuration file on all nodes...
Local Net Service Names configuration file de-configured successfully.
De-configuring Directory Usage configuration file on all nodes...
Directory Usage configuration file de-configured successfully.
De-configuring backup files on all nodes...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END
The deconfig command below can be executed in parallel on all the remote nodes. Execute the command on the local node after the execution completes on all the remote nodes.
Run the following command as the root user or the administrator on node "pdb2".
/tmp/deinstall2020-12-16_02-53-12PM/perl/bin/perl -I/tmp/deinstall2020-12-16_02-53-12PM/perl/lib -I/tmp/deinstall2020-12-16_02-53-12PM/crs/install /tmp/deinstall2020-12-16_02-53-12PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2020-12-16_02-53-12PM/response/deinstall_Ora11g_gridinfrahome1.rsp"
Run the following command as the root user or the administrator on node "pdb1".
/tmp/deinstall2020-12-16_02-53-12PM/perl/bin/perl -I/tmp/deinstall2020-12-16_02-53-12PM/perl/lib -I/tmp/deinstall2020-12-16_02-53-12PM/crs/install /tmp/deinstall2020-12-16_02-53-12PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2020-12-16_02-53-12PM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode
Press Enter after you finish running the above commands
<
[root@pdb2 ~]
Using configuration parameter file: /tmp/deinstall2020-12-16_02-53-12PM/response/deinstall_Ora11g_gridinfrahome1.rsp
Usage: srvctl <command> <object> [<options>]
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade
objects: database|service|asm|diskgroup|listener|home|ons
For detailed help on each command and object and its options use:
srvctl <command> -h or
srvctl <command> <object> -h
PRKO-2012 : nodeapps object is not supported in Oracle Restart
CRS-4013: This command is not supported in a single-node configuration.
CRS-4000: Command Stop failed, or completed with errors.
Successfully deconfigured Oracle clusterware stack on this node
[root@pdb1 ~]
Using configuration parameter file: /tmp/deinstall2020-12-16_02-53-12PM/response/deinstall_Ora11g_gridinfrahome1.rsp
CRS-5702: Resource 'ora.cssd' is already running on 'pdb1'
CRS-4000: Command Start failed, or completed with errors.
CSS startup failed with return code 1
Usage: srvctl <command> <object> [<options>]
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade
objects: database|service|asm|diskgroup|listener|home|ons
For detailed help on each command and object and its options use:
srvctl <command> -h or
srvctl <command> <object> -h
PRKO-2012 : scan_listener object is not supported in Oracle Restart
Usage: srvctl <command> <object> [<options>]
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade
objects: database|service|asm|diskgroup|listener|home|ons
For detailed help on each command and object and its options use:
srvctl <command> -h or
srvctl <command> <object> -h
PRKO-2012 : scan_listener object is not supported in Oracle Restart
Usage: srvctl <command> <object> [<options>]
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade
objects: database|service|asm|diskgroup|listener|home|ons
For detailed help on each command and object and its options use:
srvctl <command> -h or
srvctl <command> <object> -h
PRKO-2012 : scan object is not supported in Oracle Restart
Usage: srvctl <command> <object> [<options>]
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade
objects: database|service|asm|diskgroup|listener|home|ons
For detailed help on each command and object and its options use:
srvctl <command> -h or
srvctl <command> <object> -h
PRKO-2012 : scan object is not supported in Oracle Restart
Usage: srvctl <command> <object> [<options>]
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade
objects: database|service|asm|diskgroup|listener|home|ons
For detailed help on each command and object and its options use:
srvctl <command> -h or
srvctl <command> <object> -h
PRKO-2012 : nodeapps object is not supported in Oracle Restart
Either /etc/oracle/ocr.loc does not exist or is not readable
Make sure the file exists and it has read and execute access
Either /etc/oracle/ocr.loc does not exist or is not readable
Make sure the file exists and it has read and execute access
CRS-4013: This command is not supported in a single-node configuration.
CRS-4000: Command Stop failed, or completed with errors.
Either /etc/oracle/ocr.loc does not exist or is not readable
Make sure the file exists and it has read and execute access
Either /etc/oracle/ocr.loc does not exist or is not readable
Make sure the file exists and it has read and execute access
Either /etc/oracle/ocr.loc does not exist or is not readable
Make sure the file exists and it has read and execute access
Either /etc/oracle/ocr.loc does not exist or is not readable
Make sure the file exists and it has read and execute access
Successfully deconfigured Oracle clusterware stack on this node
<
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START
Detach Oracle home '/u01/app/11.2.0.4/grid' from the central inventory on the local node : Done
Delete directory '/u01/app/11.2.0.4/grid' on the local node : Done
Delete directory '/u01/app/oraInventory' on the local node : Done
Delete directory '/u01/app/grid' on the local node : Done
Detach Oracle home '/u01/app/11.2.0.4/grid' from the central inventory on the remote nodes 'pdb2' : Done
Delete directory '/u01/app/11.2.0.4/grid' on the remote nodes 'pdb2' : Done
Delete directory '/u01/app/oraInventory' on the remote nodes 'pdb2' : Done
Delete directory '/u01/app/grid' on the remote nodes 'pdb2' : Done
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
Clean install operation removing temporary directory '/tmp/deinstall2020-12-16_02-53-12PM' on node 'pdb1'
Clean install operation removing temporary directory '/tmp/deinstall2020-12-16_02-53-12PM' on node 'pdb2'
ASM instance was de-configured successfully from the Oracle home
Following RAC listener(s) were de-configured successfully: LISTENER_SCAN2,LISTENER_SCAN1
Oracle Clusterware is stopped and successfully de-configured on node "pdb1"
Oracle Clusterware is stopped and successfully de-configured on node "pdb2"
Oracle Clusterware is stopped and de-configured successfully.
Successfully detached Oracle home '/u01/app/11.2.0.4/grid' from the central inventory on the local node.
Successfully deleted directory '/u01/app/11.2.0.4/grid' on the local node.
Successfully deleted directory '/u01/app/oraInventory' on the local node.
Successfully deleted directory '/u01/app/grid' on the local node.
Successfully detached Oracle home '/u01/app/11.2.0.4/grid' from the central inventory on the remote nodes 'pdb2'.
Successfully deleted directory '/u01/app/11.2.0.4/grid' on the remote nodes 'pdb2'.
Successfully deleted directory '/u01/app/oraInventory' on the remote nodes 'pdb2'.
Successfully deleted directory '/u01/app/grid' on the remote nodes 'pdb2'.
Oracle Universal Installer cleanup was successful.
Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'pdb1,pdb2' at the end of the session.
Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'pdb1,pdb2' at the end of the session.
Run 'rm -rf /etc/oratab' as root on node(s) 'pdb1' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
|