ITPub博客

首页 > Linux操作系统 > Linux操作系统 > PRCR-1079 : Failed to start resource ora.scan1.vip

PRCR-1079 : Failed to start resource ora.scan1.vip

原创 Linux操作系统 作者:tolywang 时间:2011-04-17 11:45:25 0 删除 编辑

天边月  11:19:00
我装11G RAC的时候,没有指定DNS,只有在节点1,2的/etc/hosts上指定了一个128 SCAN IP,在节点1上
运行root.sh没有问题,但是在节点2上运行root.sh出现了这个错误

PRCR-1079 : Failed to start resource ora.scan1.vip
C
RS-5005: IP Address: 3.243.221.128 is already in use in the network
CRS-2674: Start of 'ora.scan1.vip' on
'rac2' failed
CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would
satisfy its placement policy
 
start scan ... failed
Preparing packages for installation...
cvuqdisk-1.0.7-1

Configure Oracle Grid Infrastructure for a Cluster ... failed
天边月  11:19:42

我把节点1的SCANIP 给删除,在节点2上运行root.sh就没有问题,但是我想在节点1上从新建立scan ip又出现了问题
 
 
 crsctl status resource -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.OCR_VOTE.dg
               ONLINE  ONLINE       rac1                                        
ora.asm
               ONLINE  ONLINE       rac1                     Started            
ora.eons
               ONLINE  ONLINE       rac1                                        
ora.gsd
               OFFLINE OFFLINE      rac1                                        
ora.net1.network
               ONLINE  ONLINE       rac1                                        
ora.ons
               ONLINE  ONLINE       rac1                                        
ora.registry.acfs
               ONLINE  ONLINE       rac1                                        
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       rac1                                        
ora.oc4j
      1        OFFLINE OFFLINE                                                  
ora.rac1.vip
      1        ONLINE  ONLINE       rac1                                        
ora.scan1.vip
      1        ONLINE  ONLINE       rac1                                        
[grid@rac1 ~]$ id
uid=501(grid) gid=1000(oinstall) groups=502(dba),503(oper),504(asmadmin),505(asmoper),506(asmdba),1000
(oinstall)
[grid@rac1 ~]$ srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node rac1

[grid@rac1 ~]$ srvctl config scan
SCAN name: rsn, Network: 1/3.0.0.0/255.0.0.0/eth0
SCAN VIP name: scan1, IP: /rsn.localdomain/3.243.221.128
[grid@rac1 ~]$ crsctl stop resource ora.LISTENER_SCAN1.lsnr
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'rac1'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'rac1' succeeded
[grid@rac1 ~]$ srvctl remove scan_listener
Remove scan listener? (y/[n]) y
[grid@rac1 ~]$ crsctl stop resource ora.scan1.vip
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'rac1'
CRS-2677: Stop of 'ora.scan1.vip' on 'rac1' succeeded

 
[grid@rac1 ~]$ srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
[grid@rac1 ~]$ srvctl config scan
SCAN name: rsn, Network: 1/3.0.0.0/255.0.0.0/eth0
SCAN VIP name: scan1, IP: /rsn.localdomain/3.243.221.128
Password:
[root@rac1 ~]# /u01/app/11.2.0/grid/bin/srvctl remove scan
Remove the scan? (y/[n]) y
[root@rac1 ~]# exit
logout
 
 
[grid@rac1 ~]$ srvctl status scan
PRCS-1025 : Could not find Single Client Access Name Virtual Internet Protocol(VIP) resources
TYPE=ora.scan_vip.type
[grid@rac1 ~]$ srvctl config scan
PRCS-1025 : Could not find Single Client Access Name Virtual Internet Protocol(VIP) resources
TYPE=ora.scan_vip.type
[grid@rac1 ~]$ su -
Password:
[root@rac1 ~]# crsctl status resource -t
-bash: crsctl: command not found
[root@rac1 ~]# crsctl status resource -t
-bash: crsctl: command not found
[root@rac1 ~]# su - grid
[grid@rac1 ~]$ crsctl status resource -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.OCR_VOTE.dg
               ONLINE  ONLINE       rac1                                        
ora.asm
               ONLINE  ONLINE       rac1                     Started            
ora.eons
               ONLINE  ONLINE       rac1                                        
ora.gsd
               OFFLINE OFFLINE      rac1                                        
ora.net1.network
               ONLINE  ONLINE       rac1                                        
ora.ons
               ONLINE  ONLINE       rac1                                        
ora.registry.acfs
               ONLINE  ONLINE       rac1                                        
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.oc4j
      1        OFFLINE OFFLINE                                                  
ora.rac1.vip
      1        ONLINE  ONLINE       rac1 
 
 
crs_stop -all
CRS-2500: Cannot stop resource 'ora.gsd' as it is not running
CRS-2500: Cannot stop resource 'ora.oc4j' as it is not running
Attempting to stop `ora.ons` on member `rac1`
Attempting to stop `ora.rac1.vip` on member `rac1`
Attempting to stop `ora.eons` on member `rac1`
Attempting to stop `ora.OCR_VOTE.dg` on member `rac1`
Attempting to stop `ora.registry.acfs` on member `rac1`
CRS-2789: Cannot stop resource 'ora.gsd' as it is not running on server 'rac1'
Stop of `ora.rac1.vip` on member `rac1` succeeded.
Stop of `ora.ons` on member `rac1` succeeded.
CRS-2789: Cannot stop resource 'ora.ons' as it is not running on server 'rac1'
Attempting to stop `ora.net1.network` on member `rac1`
Stop of `ora.net1.network` on member `rac1` succeeded.
Stop of `ora.registry.acfs` on member `rac1` succeeded.
Stop of `ora.eons` on member `rac1` succeeded.
Stop of `ora.OCR_VOTE.dg` on member `rac1` succeeded.
Attempting to stop `ora.asm` on member `rac1`
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
ORA-15097: cannot SHUTDOWN ASM instance with connected client
CRS-2675: Stop of 'ora.asm' on 'rac1' failed
 
CRS-0216: Could not stop resource 'ora.asm'.
 
CRS-0216: Could not stop resource 'ora.gsd'.
 
CRS-0216: Could not stop resource 'ora.oc4j'.
 
CRS-0216: Could not stop resource 'ora.ons'.
 
[grid@rac1 ~]$ crs_start -all
CRS-2501: Resource 'ora.gsd' is disabled
CRS-2501: Resource 'ora.oc4j' is disabled
CRS-2501: Resource 'ora.gsd' is disabled
Attempting to start `ora.net1.network` on member `rac1`
Attempting to start `ora.OCR_VOTE.dg` on member `rac1`
Attempting to start `ora.eons` on member `rac1`
Attempting to start `ora.registry.acfs` on member `rac1`
Start of `ora.net1.network` on member `rac1` succeeded.
Attempting to start `ora.rac1.vip` on member `rac1`
Attempting to start `ora.ons` on member `rac1`
Start of `ora.OCR_VOTE.dg` on member `rac1` succeeded.
Start of `ora.ons` on member `rac1` succeeded.
Start of `ora.registry.acfs` on member `rac1` succeeded.
Start of `ora.rac1.vip` on member `rac1` succeeded.
Start of `ora.eons` on member `rac1` succeeded.
CRS-2660: Resource 'ora.gsd' or all of its instances are disabled
 
CRS-2660: Resource 'ora.oc4j' or all of its instances are disabled
 
CRS-2660: Resource 'ora.rac1.gsd' or all of its instances are disabled
 
[grid@rac1 ~]$ su -
Password:
[root@rac1 ~]# /u01/app/11.2.0/grid/bin/srvctl add scan -n rsn.localdomain -k 2 -S
3.243.221.134/255.0.0.0/eth0
PRCS-1016 : Failed to resolve Single Client Access Name rsn.localdomain
##我把3.243.221.34   rsn.localdomain rsn 写到/etc/hosts中就可以了
[root@rac1 ~]# /u01/app/11.2.0/grid/bin/srvctl add scan -n rsn.localdomain -k 2 -S
3.243.221.134/255.0.0.0/eth0
[root@rac1 ~]# /u01/app/11.2.0/grid/bin/srvctl status scan;
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
[root@rac1 ~]# /u01/app/11.2.0/grid/bin/srvctl config scan;
SCAN name: rsn.localdomain, Network: 2/3.243.221.134/255.0.0.0/eth0
SCAN VIP name: scan1, IP: /rsn.localdomain/3.243.221.134
[root@rac1 ~]# /u01/app/11.2.0/grid/bin/srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
[root@rac1 ~]# /u01/app/11.2.0/grid/bin/srvctl add scan_listener -p 1521
[root@rac1 ~]# /u01/app/11.2.0/grid/bin/srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is not running
[root@rac1 ~]# /u01/app/11.2.0/grid/bin/srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
[root@rac1 ~]# su - grid
[grid@rac1 ~]$ crsctl status resource -t;
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.OCR_VOTE.dg
               ONLINE  ONLINE       rac1                                        
ora.asm
               ONLINE  ONLINE       rac1                     Started            
ora.eons
               ONLINE  ONLINE       rac1                                        
ora.gsd
               OFFLINE OFFLINE      rac1                                        
ora.net1.network
               ONLINE  ONLINE       rac1    #####琦总,这个地方不知道为什么出现一个net2,这个导致后面的无法启
动                                        
ora.net2.network
               OFFLINE OFFLINE      rac1                                        
ora.ons
               ONLINE  ONLINE       rac1                                        
ora.registry.acfs
               ONLINE  ONLINE       rac1                                        
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        OFFLINE OFFLINE                                                  
ora.oc4j
      1        OFFLINE OFFLINE                                                  
ora.rac1.vip
      1        ONLINE  ONLINE       rac1                                        
ora.scan1.vip
      1        OFFLINE OFFLINE                                                  
[grid@rac1 ~]$ srvctl start scan;
PRCR-1079 : Failed to start resource ora.scan1.vip
CRS-2674: Start of 'ora.net2.network' on 'rac1' failed
CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its
placement policy
 
[grid@rac1 ~]$ crsctl status resource -t;
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.OCR_VOTE.dg
               ONLINE  ONLINE       rac1                                        
ora.asm
               ONLINE  ONLINE       rac1                     Started            
ora.eons
               ONLINE  ONLINE       rac1                                        
ora.gsd
               OFFLINE OFFLINE      rac1                                        
ora.net1.network
               ONLINE  ONLINE       rac1                                        
ora.net2.network
               ONLINE  OFFLINE      rac1          #####琦总,这个地方不知道为什么出现一个net2,这个导致后面的
无法启动                                
ora.ons
               ONLINE  ONLINE       rac1                                        
ora.registry.acfs
               ONLINE  ONLINE       rac1                                        
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        OFFLINE OFFLINE                                                  
ora.oc4j
      1        OFFLINE OFFLINE                                                  
ora.rac1.vip
      1        ONLINE  ONLINE       rac1                                        
ora.scan1.vip
      1        ONLINE  OFFLINE                                                  
[grid@rac1 ~]$ srvctl start scan;
PRCR-1079 : Failed to start resource ora.scan1.vip
CRS-2674: Start of 'ora.net2.network' on 'rac1' failed
CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its
placement policy
 crs_stat -t
Name           Type           Target    State     Host       
------------------------------------------------------------
ora....N1.lsnr ora....er.type ONLINE    OFFLINE              
ora....VOTE.dg ora....up.type ONLINE    ONLINE    rac1       
ora.asm        ora.asm.type   ONLINE    ONLINE    rac1       
ora.eons       ora.eons.type  ONLINE    ONLINE    rac1       
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE              
ora....network ora....rk.type ONLINE    ONLINE    rac1       
ora....network ora....rk.type ONLINE    OFFLINE              
ora.oc4j       ora.oc4j.type  OFFLINE   OFFLINE              
ora.ons        ora.ons.type   ONLINE    ONLINE    rac1       
ora....SM1.asm application    ONLINE    ONLINE    rac1       
ora.rac1.gsd   application    OFFLINE   OFFLINE              
ora.rac1.ons   application    ONLINE    ONLINE    rac1       
ora.rac1.vip   ora....t1.type ONLINE    ONLINE    rac1       
ora....ry.acfs ora....fs.type ONLINE    ONLINE    rac1       
ora.scan1.vip  ora....ip.type ONLINE    OFFLINE        
 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-692688/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    13470457