Tuesday, November 9, 2021

Another way to create VIP resource in Grid Infrastructure

1. Create additional type based on 'cluster_resource' type (starting with cluster)

# crsctl add type app.appviptypex2.type -basetype ora.cluster_resource.type -file /u01/app/19.13/grid/crs/template/appvipx.type

2. Create VIP resource :

# crsctl add resource vip-resource-name -type app.appviptypex2.type -attr "USR_ORA_VIP=vip_ip_address,NETWORK_RESOURCE=,START_DEPENDENCIES=hard(ora.net1.network) pullup(ora.net1.network),STOP_DEPENDENCIES=hard(intermediate:ora.net1.network),ACL='owner:root:rwx,pgrp:root:r-x,other::r--,user:root:r-x',APPSVIP_FAILBACK="

Carefully check newly created resource parameters and change it if needed :

# crsctl stat res vip-resource-name -p

3. Use it ! :-)


No comments:

Post a Comment