4.3.38.1 ADD VIP

This command adds a VIP for an individual node in a cluster.

Purpose

This command does not add additional VIPs. You should only use this command after previously issuing a DELETE VIP command.

Syntax

ADD VIP
   NAME=vip_name
   DOMAINNAME=domain_name
   IP=vip_ip_addr 
WHERE
   { HOSTNAME=host_name |
     CLUSTERNAME=cluster_name COMPUTENUMBER=compute_number |
     CLUSTERNUMBER=cluster_number COMPUTENUMBER=compute_number |
     CLUSTERID=cluster_id COMPUTENUMBER=compute_number }

Arguments

You must specify the following attributes when adding a VIP:

  • NAME: Specifies the short DNS name for the VIP

  • DOMAINNAME: Specifies the domain name for the VIP

  • IP: Specifies the IP address for the VIP

The following arguments are available in the WHERE clause:

  • HOSTNAME: Specifies the host name for the compute node in the cluster

  • CLUSTERNUMBER: Specifies the cluster number in the es.xml, starting at 1

  • CLUSTERNAME: Specifies the name of the cluster

  • CLUSTERID: Specifies the es.xml ID of the cluster

  • COMPUTENUMBER: Specifies the compute node number in the cluster, starting at 1

Usage Notes

When adding a VIP to a compute node, the node must not already have a VIP defined.