Table of ContentsView in Frames

Creating a second-level interface group in an HA pair

You can create two second-level interface groups in an HA pair so that you can access data from both storage systems even if one of the storage system in the configuration fails.

Before you begin

You must ensure that all interfaces to be included in the interface group are configured to the down status. You can use the ifconfig command to configure an interface to the down status.

About this task

The operation performed using the ifgrp create command is not persistent across reboots unless the command is added to the /etc/rc file.

Assume StorageSystem1 and StorageSystem2 are the storage systems that are configured in an HA pair.

Steps

  1. Enter the following commands on StorageSystem1 to create two multimode interface groups: ifgrp create multi -b {rr|mac|ip|port} ifgrp_name1 if1 if2 ifgrp create multi -b {rr|mac|ip|port} ifgrp_name2 if3 if4
    -b specifies the type of load-balancing method.
    rr specifies the round-robin load-balancing option.
    mac specifies the MAC address load-balancing option.
    ip specifies the IP address load-balancing option (default option).
    port specifies the port-based load-balancing option.
    if1, if2, if3, if4 are the network interfaces.
    ifgrp_name1 and ifgrp_name2 are the names of the multimode interface groups.
  2. Enter the following command on StorageSystem1 to create a second-level interface from the multimode interface groups: ifgrp create single secondlev1 ifgrp_name1 ifgrp_name2
    secondlev1 is the name of the second-level interface group.
  3. Enter the following commands on StorageSystem2 to create two multimode interface groups: ifgrp create multi -b {rr|mac|ip|port} ifgrp_name3 if5 if6ifgrp create multi -b {rr|mac|ip|port} ifgrp_name4 if7 if8
  4. Enter the following command on StorageSystem2 to create a second-level interface from the multimode interface groups: ifgrp create single secondlev2 ifgrp_name3 ifgrp_name4
  5. Enter the following command on StorageSystem1 to configure the second-level interface groups for takeover:
    ifconfig secondlev1 partner secondlev2
  6. Enter the following command on StorageSystem2 to configure the second-level interface groups for takeover: ifconfig secondlev2 partner secondlev1
    In steps 5 and 6, secondlev1 and secondlev2 (arguments to the partner option) must be interface names and not interface IP addresses. If secondlev1 is an interface group, secondlev2 can be an interface group or a physical network interface.

Example

Use the following commands to create a second-level interface group in an HA pair. In this example, IP-based load balancing is used for the multimode interface groups.

On StorageSystem1:

ifgrp create multi Firstlev1 e1 e2

ifgrp create multi Firstlev2 e3 e4

ifgrp create single Secondlev1 Firstlev1 Firstlev2

On StorageSystem2 :

ifgrp create multi Firstlev3 e5 e6

ifgrp create multi Firstlev4 e7 e8

ifgrp create single Secondlev2 Firstlev3 Firstlev4

On StorageSystem1:

ifconfig Secondlev1 partner Secondlev2

On StorageSystem2 :

ifconfig Secondlev2 partner Secondlev1