[INS-40719]IP address configured for Single Client Access Name(SCAN):test-pdb.xxxxxx is already assi

129 篇文章 7 订阅

在这里插入图片描述
原因是SCAN分配的IP被占用,因为我是配置在DNS,所以修改DNS中对应的IP为未使用后关掉OUI重新安装OK

  • 节点1
[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--r-- 1 grid oinstall  3466 Aug 18  2010 deinstall.xml
drwxr-xr-x 2 grid oinstall    61 Dec 15 17:05 jlib/
-rw-r--r-- 1 grid oinstall   409 Aug 18  2010 readme.txt
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/

############ ORACLE DEINSTALL & DECONFIG TOOL START ############


######################### CHECK OPERATION START #########################
## [START] Install check configuration ##


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'

## [END] Install check configuration ##

Traces log file: /tmp/deinstall2020-12-16_02-53-12PM/logs//crsdc.log

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 []:


######################### CHECK OPERATION END #########################


####################### CHECK OPERATION SUMMARY #######################
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'

######################## CLEAN OPERATION START ########################
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

<----------------------------------------
  • 节点2:
[root@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"
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.
################################################################
# You must kill processes or reboot the system to properly #
# cleanup the processes started by Oracle clusterware          #
################################################################
Successfully deconfigured Oracle clusterware stack on this node
  • 节点1:
[root@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
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
################################################################
# You must kill processes or reboot the system to properly #
# cleanup the processes started by Oracle clusterware          #
################################################################
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


## [START] Oracle install clean ##

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'

## [END] Oracle install clean ##


######################### CLEAN OPERATION END #########################


####################### CLEAN OPERATION SUMMARY #######################
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.
#######################################################################


############# ORACLE DEINSTALL & DECONFIG TOOL END #############
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值