•
HOSTNAME
: Specifies the host name of the switch
3.3.3.14.2 LIST SWITCHES
This command lists the switch details for all switches or for an individual switch.
Syntax
LIST SWITCHES
[ WHERE {
ID = switch_id |
HOSTNAME = switch_name } ]
Arguments
The following arguments are available in the
WHERE
clause:
•
ID
: Specifies the switch ID in the XML configuration file
•
HOSTNAME
: Specifies the host name of the switch
Usage Notes
If you do not specify a WHERE clause, then this command lists the details for all
switches.
3.3.3.15 VIP
You can add, alter, delete, or list the VIPs for the clusters.
•
(page 3-69)
•
(page 3-70)
•
(page 3-70)
•
(page 3-71)
3.3.3.15.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 = hostname |
CLUSTERNAME = cluster_name COMPUTENUMBER = compute_number |
CLUSTERNUMBER = cluster_number COMPUTENUMBER = compute_number |
CLUSTERID = cluster_id COMPUTENUMBER = compute_number }
Arguments
You can specify the following attributes when adding a VIP:
•
NAME
: Specifies the short DNS name for the VIP
Chapter 3
OEDA Command Line Interface
3-69