Go to main content

Oracle® VM Server for SPARC 3.6 Administration Guide

Exit Print View

Updated: September 2019
 
 

Using Link-Based IPMP in Oracle VM Server for SPARC Virtual Networking

The virtual network and virtual switch devices support link status updates to the network stack. By default, a virtual network device reports the status of its virtual link (its LDC to the virtual switch) and physical link. This configuration is enabled by default and does not require you to perform additional configuration steps.


Note - The linkprop property is set to phys-state by default depending on backing device support. You do not need to perform the tasks in this section unless you disabled the linkprop property manually and are now attempting to set the property to the phys-state value.

You can use standard Oracle Solaris network administration commands such as dladm and ifconfig to check the link status. In addition, the link status is also logged in the /var/adm/messages file. For Oracle Solaris 10, see the dladm(1M) and ifconfig(1M) man pages. For Oracle Solaris 11 releases prior to Oracle Solaris 11.4, see the dladm(1M), ipadm(1M), and ipmpstat(1M) man pages. For Oracle Solaris 11.4, see the dladm(8), ipadm(8), and ipmpstat(8) man pages.

How to Configure Physical Link Status Updates

This procedure shows how to enable physical link status updates for virtual network devices.

You can also enable physical link status updates for a virtual switch device by following similar steps and specifying the linkprop=phys-state option to the ldm add-vsw and ldm set-vsw commands.


Note - If linkprop=phys-state is specified and the physical link is down, the virtual network device reports its link status as down, even if the connection to the virtual switch is up. This situation occurs because the Oracle Solaris OS does not currently provide interfaces to report two distinct link states, such as virtual-link-state and physical-link-state.
  1. Become an administrator.

    For Oracle Solaris 11.4, see Chapter 1, About Using Rights to Control Users and Processes in Securing Users and Processes in Oracle Solaris 11.4.

  2. Enable physical link status updates for the virtual device.

      You can enable physical link status updates for a virtual network device in the following ways:

    • Create a virtual network device by specifying linkprop=phys-state when running the ldm add-vnet command.

      Specifying the linkprop=phys-state option configures the virtual network device to obtain physical link state updates and report them to the stack.

      primary# ldm add-vnet linkprop=phys-state if-name vswitch-name domain-name

      The following example enables physical link status updates for ldom1_vnet0 connected to primary-vsw0 on the logical domain ldom1:

      primary# ldm add-vnet linkprop=phys-state ldom1_vnet0 primary-vsw0 ldom1
    • Modify an existing virtual network device by specifying linkprop=phys-state when running the ldm set-vnet command.

      primary# ldm set-vnet linkprop=phys-state if-name domain-name

      The following example enables physical link status updates for vnet0 on the logical domain ldom1:

      primary# ldm set-vnet linkprop=phys-state ldom1_vnet0 ldom1

    To disable physical link state updates, specify linkprop= by running the ldm set-vnet command.

    The following example disables physical link status updates for ldom1_vnet0 on the logical domain ldom1:

    primary# ldm set-vnet linkprop= ldom1_vnet0 ldom1