Managing Network Virtualization and Network Resources in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Commands for Configuring an EVS Controller

This section describes how to perform the following tasks for an EVS controller:

  • Setting the EVS controller

  • Displaying the EVS controller

  • Setting the properties for the EVS controller

  • Displaying the properties of the EVS controller

Setting the EVS Controller

You use the evsadm set-prop command to set the EVS controller on a host. The command syntax is:

# evsadm set-prop -p controller=[value[...,]]

This command sets the values of a property for the host where the command is executed. The only supported property is controller, which can be of the format ssh://[user@]evs-controller-host-name or ssh://[user@]evs-controller-IP-address.

Displaying the EVS Controller

You use the evsadm show-prop command to display the EVS controller. The command syntax is:

# evsadm show-prop [[-c] -o field[,...]] [-p controller[,...]]
–p controller

Specifies the EVS controller to which the RAD clients must connect.

–o field[,...]

Specifies a case-insensitive, comma-separated list of output fields to display. You can specify the following fields, which appear as columns in the output:

all

Displays all the output fields

PROPERTY

Name of the property

PERM

Permission of the property, which is either rw or r-

VALUE

Value of the property

DEFAULT

Default value of the property

–c

Display using a stable machine-parseable format. You need to specify the –o option with the –c option.

For an example that shows how to display the EVS controller, see Example 6–1.

Setting Properties for an EVS Controller

You use the evsadm set-controlprop command to set the properties for the EVS controller. The command syntax is:

# evsadm set-controlprop [-h host] -p prop=[value[...,]]
–h host

Specifies the host for which the property is set.

–p prop

Specifies the name of the controller property that is set for an EVS controller. If the property takes multiple values, you must specify the values with a comma as the delimiter. You must specify only one property at a time. If the value is not specified, the property is reset to the default value. For more information about the properties that you can set for an EVS controller, see Table 5–2.

Displaying Properties of an EVS Controller

You use the evsadm show-controlprop command to display the properties of an EVS controller. The command syntax is:

# evsadm show-controlprop [[-c] -o field[,...]] [-p prop[,...]]

This command displays the current values of one or more properties for the EVS controller. If properties are not specified for the EVS controller, then all the existing properties for the controller are displayed. For more information about the controller properties, see Table 5–2.

–o field[,...]

Specifies a case-insensitive, comma-separated list of output fields to display. You can specify the following fields, which appear as columns in the output:

all

Displays all the output fields.

PROPERTY

Name of the property.

PERM

Permission of the property, which is either rw or r-.

VALUE

Value of the property.

DEFAULT

Default value of the property.

HOST

If the value is --, then the property is global and applicable to all the hosts. Otherwise, the property is applicable to the particular host.

For an example that shows how to display the properties for the EVS controller, see Example 6–1.