Home > clusterware > Fail to start nodeapps if there is no default gateway

Fail to start nodeapps if there is no default gateway

Since there was no default gateway on the host, we failed to start node apps as following

$ srvctl stop nodeapps -n sgvmdb01
$ srvctl start  nodeapps -n sgvmdb01
sgvmdb01:ora.sgvmdb01.vip:checkIf: Default gateway is not defined (host=sgvmdb01)
sgvmdb01:ora.sgvmdb01.vip:Interface vnet1 checked failed (host=sgvmdb01)
sgvmdb01:ora.sgvmdb01.vip:Failed to start VIP 172.31.16.190 (host=sgvmdb01)
sgvmdb01:ora.sgvmdb01.vip:checkIf: Default gateway is not defined (host=sgvmdb01)
sgvmdb01:ora.sgvmdb01.vip:Interface vnet1 checked failed (host=sgvmdb01)
sgvmdb01:ora.sgvmdb01.vip:Failed to start VIP 172.31.16.190 (host=sgvmdb01)
CRS-1006: No more members to consider
CRS-0215: Could not start resource ‘ora.sgvmdb01.vip’.

Workaround

We can set FAIL_WHEN_DEFAULTGW_NOT_FOUND=0 in $CRS_HOME/bin/racgvip

# set it to 0 for checkIf() to return success if default gateway is not found,
# otherwise set it to 1
FAIL_WHEN_DEFAULTGW_NOT_FOUND=0

 

 

 


 

 

 

Advertisements
Categories: clusterware
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: