IBM i and PowerVM features and tools
How to create SEA without touching VIOS
March 26, 2016Posted by on
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 18.104.22.168, Server Firmware AM780 (for P7)
The example below I did on:HMC 8.8.4, VIO 22.214.171.124, 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
- Select the system where the SEA will be created and double click
- In the left menu, select Virtual Networks
- Click on Add Virtual Network
- Complete the configuration screen as shown below, and click Advanced Settings
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
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
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
- Select Use an existing Load Sharing Group and click Next
- You should get similar screen to this
- 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
Name your second (third,fourth) VLAN, and in Advanced Settings again select Add new virtual network to all Virtual I/O Servers
- Select Use an existing Load Sharing Group ,use group 2, and click Next
- On the summary screen click Finish
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
- Select a partition where you want to add a virtual adapter and double click on it. And then select Virtual Networks
- 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
- GUI offers all VLANs available on this sever. Select the VLAN which should be used. In my example I’m adding VLAN 70
- 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
- Select Lpar, click Edit Profile, Virtual Adapters, Actions – Create Virtual Adapter, Ethernet Adapter. And add new adapter in the specific VLAN