How to restart VIP resource in Oracle RAC Cluster ?

In this post, we will see how to restart VIP resource in Oracle RAC cluster.

I. Problem/Issue

ora.ngeaix001.vip
      1        ONLINE  INTERMEDIATE ngeaix001                 CHECK TIMED OUT,STABLE

 

II. Solution

ngeaix001 --> srvctl stop vip -vip ngeaix001   
PRCR-1065 : Failed to stop resource ora.ngeaix001.vip
CRS-2529: Unable to act on 'ora.ngeaix001.vip' because that would require stopping or relocating 'ora.LISTENER.lsnr', but the force option was not specified   

### need to stop LISTENER but only on node of problematic VIP
ngeaix001 --> srvctl stop listener -listener LISTENER -node ngeaix001     

ngeaix001 --> srvctl stop vip -vip ngeaix001

ngeaix001 --> srvctl start vip -vip ngeaix001

ngeaix001 --> crsctl status res -t
[...]
ora.ngeaix001.vip
      1        ONLINE  ONLINE       ngeaix001                 STABLE

Seems interesting, so we need to stop listener also in case of stopping the VIP/Virtual IP resource.

Leave a Reply

Your email address will not be published.