srvctl add nodeapps -node node_name -address {vip |
addr}/netmask[/if1[|if2|...]] [-pingtarget "ping_target_list"]
In the preceding syntax:
-
node_name
is the name of the node
-
vip
is the VIP name or addr
is the IP address
-
netmask
is the netmask
-
if1
[|
if2
|...]
is a pipe-delimited list of interfaces bonded for use by the application
-
-ping_target_list
is a comma-delimited list of IP addresses or host names to ping
In the following example of using srvctl add nodeapps
to configure an IPv4 node application, the node name is node1, the netmask is 255.255.252.0, and the interface is eth0:
# srvctl add nodeapps -node node1 -address node1-vip.mycluster.example.com/255.255.252.0/eth0