Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Integrity Virtual Machines Manager Version 3.5 Getting Started Guide > Chapter 4 Working with Virtual Machines

Creating Virtual Switches

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

To provide network access for virtual machines, you must create virtual network switches (vswitches) for them. This section describes how to create a new vswitch on the VM Host. The vswitch is used by a virtual machine to connect to the network: one or more virtual machines connect to the vswitch and the vswitch is connected to a VM Host's physical network device.

To create a vswitch, select Create->Virtual Switch from the VM Manager menu. This displays a page similar to that shown in Figure 4-4.

Figure 4-4 Create Virtual Switch Page

Create Vswitch Page

The table on the screen shown in Figure 4-4 displays the following information:

  • LAN interface: Shows the physical LAN interface to which a vswitch can be attached. The “(none)” entry indicates that the vswitch is not connected to a LAN interface. Communication over such a vswitch does not go out on the physical network and is useful only for communicating between virtual machines.

  • Used by: Shows all of the vswitches already configured to use the corresponding LAN interface. A LAN interface can be used by only one vswitch at a time. You can configure multiple vswitches that use the same LAN card, but only one of these switches can be active at one time.

  • Hardware path: Shows the hardware path associated with the LAN interface.

  • Supports AVIO: Shows whether the physical backing device supports Accelerated Virtual Input/Output (AVIO). With HP Integrity VM version 3.5, AVIO requires a local virtual switch that has a physical backing device supported for use with AVIO.

Create the virtual switch by performing the following steps:

  1. (Required) Enter a virtual switch name.

    • The name must be 8 characters or fewer.

    • The allowable characters are A-Z, a-z, 0-9, dash (-), underscore (_), and period (.).

    • The name cannot begin with a dash and cannot remain blank.

  2. Specify the virtual switch type (whether it is to be dedicated or shareable). The default is shareable.

    NOTE: The terms "shareable" and "dedicated" refer to how the switch is assigned to the virtual machines.
    • A dedicated vswitch can be used by only one started virtual machine at a time and is dedicated to providing network throughput to that virtual machine. More than one virtual machine can have the same dedicated switch as a resource, but only one is allowed to start.

    • A shareable vswitch can be used at any given time by all the associated virtual machines that contain the virtual network device (NIC) backed by the shareable vswitch. Note that all virtual machines with virtual NICs backed by the shareable vswitch are not required to be running. If you have a stopped virtual machine that uses the shareable vswitch, you can always start the virtual machine (unless other problems prevent it from starting).

  3. (Required) From the table, select the VM Host's physical network device that will be the physical backing of the vswitch.

    Choices include the following:

    • Any physical network cards (adapters) configured on the VM Host

    • Any APA (Automatic Port Aggregation) configured on the VM Host

      The display shows the APA name in one column and the individual devices or cards in the next column; however, the letters "APA" do not appear in either column.

    • None

      This creates a local vswitch. When no physical network device on the VM Host is chosen, the vswitch is a local vswitch. A local vswitch has no connection with any physical network device on the VM Host. Virtual machine virtual network interface cards (vNICs) can communicate only with other virtual machines on the same VM Host that are connected to the same local vswitch.

  4. Specify whether or not to start the vswitch after it is created. The default is to start the vswitch.

Clicking OK does the following:

  • Creates the new vswitch, using the hpvmnet command.

  • If you chose to make the vswitch dedicated, configures the vswitch as a dedicated vswitch, using the hpvmdevmgmt command.

  • If you chose to have the switch started, starts the vswitch, using the hpvmnet command.

A preview of these commands is shown in the Command Preview area. After you click OK, any errors that occur with the execution of these commands is displayed on a separate error page that lists each command and whether the command succeeded, failed, or was not attempted. Clicking OK on the error page returns you to the Create Vswitch page.

For more information about operating VM Manager, see the VM Manager help.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006–2008 Hewlett-Packard Development Company, L.P.