IBMi.org – Bart's blog

IBM i and PowerVM features and tools

How to create SEA without touching VIOS

In this post I will describe how to create a Shared Ethernet Adapter (SEA) from the new HMC Enhanced GUI interface where no single command in VIOS command line is required. This guide should be helpful for IBM i administrators who do not know VIOS command line interface but they would like to take an advantage from network virtualization.

If you want to use the Enhanced GUI I suggest to install the latest HMC, VIO and server firmware. Definitely I don’t recommend to do it on a configuration with the latest HMC FW but VIOS release is two years old.

The minimum version according to IBM is: HMC 8.8.2, all VIOS are at level 2.2.3.3, Server Firmware AM780 (for P7)

The example below I did on:HMC 8.8.4, VIO 2.2.4.10, P8 SC840_056.

Below you can see a guide how to create a SEA with Load Sharing configuration via Enhanced GUI interface. Some time ago I wrote a post where the end result was exactly the same, but the configuration was done via classic HMC interface, and several commands which we need to be performed on VIOSes. With the new interface the implementation takes significantly less time, likewise the new GUI handles a control channel or trunk priority. Believe me, now creating a SEA with multiple VLANs can be done in 2 mins by a person without ‘PhD’ in IT ūüôā

Create SEA with Load Sharing  configuration

  • Open the HMC
  • On the left top corner select All Systems¬†¬†¬†¬†

AllSystems

  • Select the system where the SEA will be created and double click

SelectSystem

  • In the left menu, select Virtual Networks

VrtNetwork

  • Click on Add Virtual Network

 AddNetwork

  • Complete the configuration screen as shown below, and click Advanced Settings

 AddNetworkProperties1

Virtual network name – You can name it as you want

Bridged Network – Select this option if you create SEA

IEE 802.1Q Tagging – Select Yes if you create SEA with Load Sharing and multiple VLANs will be trunk on a physical port

VLAN ID – Specify VLAN ID

  • In the Advanced Settings select Add new virtual network to all Virtual I/O Servers

AddNetworkStep2_2

Keep in my mind in this screen you see internal virtual switches (switches created in a POWER machine). I renamed a default switch “Ethernet(0)” to SEA, and I’ve created another vSwtich “intVLAN” for internal network communication, You don’t have to do it, you can keep a default setup.

  • Complete options as shown below

AddNetworkStep2

Failover – Yes, it will move a network traffic in case of maintenance on of the VIO servers

Load Sharing – Yes, we will use this mode

Load Group PVIDs – Specify numbers for virtual port IDs

Jumbo Frame РSelect it,  if you want to send Ethernet frames in this format and you are sure that your network can support it

Large Send – Select it, if you use 10Gbit Network adapter

  • Select physical Ethernet ports which will be used for SEA

AddNetworkSelectAdapter

  • Select Use an existing Load Sharing Group and click Next

AddNetworkSelectSharingGroup

  • You should get similar screen to this

AddNetworkResult

  • Now, you need to add the second VLAN to take advantage of Load Sharing mode (and third, fourth later on if you want). Click again Add Virtual Network

AddNetworkAdapter2

Name your second (third,fourth) VLAN, and in Advanced Settings again select Add new virtual network to all Virtual I/O Servers

AddNetworkStep2_2

  • Select Use an existing Load Sharing Group ,use group 2, and click Next

 AddNetworkStep2_3

  • On the summary screen click Finish

AddNetworkStep2_4

Now you should have SEA with 2 VLAN trunk created and ready to use. To use an Ethernet adapter which will use the SEA, you need to configure one on an LPAR. To do it dynamically from the Enhanced GUI proceed as below.

  • From the main left navigation bar, select All Partitions

lpar_addvlan1

  • Select a partition where you want to add a virtual adapter and double click on it. And then select Virtual Networks

lpar_addvlan2

  • In this screen, you can see all virtual adapters which a partition has assigned, or none if it doesn’t. Click Manage Network Connections in order to add a new VLAN

lpar_addvlan3

  • GUI offers all VLANs available on this sever. Select the VLAN which should be used. In my example I’m adding VLAN 70

lpar_addvlan4

  • This is it, the new VLAN should be available on the LPAR ready to use. Don’t forget to save the current configuration to the partition profile. If you want to add a VLAN to the LPAR which is powered off you need to do it on a partition profile, as shown below

lpar_addvlan5prof

  • Select Lpar, click Edit Profile, Virtual Adapters, Actions – Create Virtual Adapter, Ethernet Adapter. And add new adapter in the specific VLAN

lpar_addvlan6prof

Advertisements

4 responses to “How to create SEA without touching VIOS

  1. Pingback: IBM i with VLAN tagged network | IBMi.org - Bart's blog

  2. Paul Fenstermacher March 12, 2017 at 17:31

    When using the Enhanced+ version to configure SEA I’m assuming I have to create the virtual adapters in the VIOS partitions ahead of time. For our existing systems we have adapter 2 on VLAN1, adapter 3 on VLAN98, adapter 4 on our VLANS, and adapter 5 on VLAN99. Is that correct to set them up ahead of time and then use this document to create the SEA?

  3. Bart March 20, 2017 at 15:21

    I was on vacation last week, so my answer was a quick one.
    No, you don’t need to create any virtual adapters ahead. All will be done the wizard.
    If you already have some virtual adapters already configured , the wizard ‘thinks’ that something is already configured.
    The guidance above refers to scratch new configuration.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: