Top
PRIMECLUSTER GLS for Windows User's Guide 4.3

A.1.3 Configuration Using the VLAN Tagging Function of a Physical Adapter

This configuration is suitable for using multiple networks in an environment with a limited amount of available NICs, e.g. blade servers.

Configuration

Figure A.3 Configuration Using the VLAN Tagging Function of a Physical Adapter

Setting Procedure Assuming the Configuration in Figure A.3

  1. Create the VLAN tagging adapters.

    For further details, refer to the documentation provided with the network driver.

  2. Make the settings for the VLAN tagging adapters.

    For further details, refer to "3.4.2 Preliminary Tasks: Physical Adapter Settings."

  3. Make the settings for the virtual adapters.

    Use the hanetconfig command to bundle the VLAN tagging adapters.

    Virtual adapter sha0: bundles Local Area Connection 3 and Local Area Connection 5.
    Virtual adapter sha1: bundles Local Area Connection 4 and Local Area Connection 6.

    > hanetconfig create -n sha0 -t "Local Area Connection 3","Local Area Connection 5"
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetconfig create -n sha1 -t "Local Area Connection 4","Local Area Connection 6"
    FJSVhanet: INFO: 00000: The command ended normally.
  4. Make the settings for ping monitoring.

    Execute the hanetpoll command with the following specifications:

    Ping targets when Local Area Connection 3 is operational: 192.168.2.10,192.168.2.20
    Ping targets when Local Area Connection 5 is operational: 192.168.2.10,192.168.2.20
    Ping targets when Local Area Connection 4 is operational: 192.168.3.10,192.168.3.20
    Ping targets when Local Area Connection 6 is operational: 192.168.3.10,192.168.3.20

    > hanetpoll create -t "Local Area Connection 3" -p 192.168.2.10,192.168.2.20
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll create -t " Local Area Connection 5" -p 192.168.2.10,192.168.2.20
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll create -t "Local Area Connection 4" -p 192.168.3.10,192.168.3.20
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll create -t " Local Area Connection 6" -p 192.168.3.10,192.168.3.20
    FJSVhanet: INFO: 00000: The command ended normally.

    In a configuration using VLAN tagging adapters, the physical wiring is shared among the virtual adapters, but ping monitoring is carried out separately for each VLAN; therefore, ping targets cannot be shared. As ping targets, please set IP addresses on the same VLAN.

    Depending on the network switches being used, you may not be able to set IP addresses for several VLANs. In such a case, please set the IP address of a router or of another network switch as the ping target.

    Information

    When setting a remote system as the ping target, you can specify the switching behavior of network adapters if an error at the ping target is detected.

    To set so that the network adapter is not switched if an error is detected:

    > hanetpoll create -t "Local Area Connection 3" -p 192.168.2.2 -f no
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll create -t "Local Area Connection 5" -p 192.168.2.2 -f no
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll create -t "Local Area Connection 4" -p 192.168.3.2 -f no
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll create -t "Local Area Connection 6" -p 192.168.3.2 -f no
    FJSVhanet: INFO: 00000: The command ended normally.

    For more details on the hanetpoll command, refer to "6.2.4 hanetpoll."

  5. Set IP addresses for virtual adapters.

    You can set IP addresses automatically using the adapter setting script provided with GLS. For more details, refer to "3.4.5 Follow-up Tasks: IP Address Settings."

    Note

    In order to set an IP address manually, the virtual adapter must be activated in advance.

  6. Activate the virtual adapters.

    Execute the strhanet command to activate the virtual adapters.

    > strhanet
    FJSVhanet: INFO: 00000: The command ended normally (sha0).
    FJSVhanet: INFO: 00000: The command ended normally (sha1).
    FJSVhanet: INFO: 00007: Start the ping monitor using the hanetpoll command if needed.
  7. Start ping monitoring.

    Execute the hanetpoll command to start ping monitoring.

    > hanetpoll on
    FJSVhanet: INFO: 00000: The command ended normally.