srvctl add vip

Adds a VIP to a node.


This command is only available with Oracle Clusterware.

Syntax and Parameters

Use the srvctl add vip command with the following syntax:

srvctl add vip -node node_name -address {VIP_name|ip}/netmask[/if1[|if2|...]]
      -netnum network_number [-skip] [-verbose]

Table A-20 srvctl add vip Parameters

Parameter Description
-node node_name

The name of the node on which you are adding the VIP.

-address {VIP_name|ip}/netmask

This specification creates a traditional VIP node application on the specified node.

You can specify one VIP_name or address, along with an IPv4 netmask or IPv6 prefix length.

-netnum network_number

The network number from which VIPs are obtained. The default network number is 1.


Specify this parameter to skip checking the reachability of the VIP address.


Verbose output


You cannot have multiple VIPs on the same net number (subnet or interface pair) on the same node.


An example of this command is:

# srvctl add network -netnum 2 -subnet
# srvctl add vip -node node7 -address -netnum 2

The first command creates a network number, 2, and the second command adds a VIP to this network. You can specify the network number after the -netnum parameter in other SRVCTL commands.