Top
PRIMECLUSTER GLS for Windows User's Guide 4.3

A.1.2 Configuration with Two Virtual Adapters

This is the configuration to use when each user application resides on a different LAN. This configuration is also suitable for three-tier application servers and for separating LAN traffic for user operations and administrative operations.

Configuration

Figure A.2 Configuration with Two Virtual Adapters

Setting Procedure Assuming the Configuration in Figure A.2

  1. Set the physical adapter.

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

  2. Set the virtual adapters.

    Execute the hanetconfig command and create the virtual adapter sha0 by bundling the physical adapters Local Area Connection 1and Local Area Connection 2. Execute the hanetconfig command again and create the virtual adapter sha1 by bundling the physical adapters Local Area Connection 3 and Local Area Connection 4.

    > hanetconfig create -n sha0 -t "Local Area Connection 1","Local Area Connection 2"
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetconfig create -n sha1 -t "Local Area Connection 3","Local Area Connection 4"
    FJSVhanet: INFO: 00000: The command ended normally.
  3. Set the ping monitor function.

    Execute the hanetpoll command with the following specifications:

    Monitor target when Local Area Connection 1 is operational: 192.168.2.10,192.168.2.20
    Monitor target when Local Area Connection 2 is operational: 192.168.2.10,192.168.2.20
    Monitor target when Local Area Connection 3 is operational: 192.168.3.10,192.168.3.20
    Monitor target when Local Area Connection 4 is operational: 192.168.3.10,192.168.3.20

    > hanetpoll create -t "Local Area Connection 1" -p 192.168.2.10,192.168.2.20
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll create -t "Local Area Connection 2" -p 192.168.2.10,192.168.2.20
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll create -t "Local Area Connection 3" -p 192.168.3.10,192.168.3.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.

    Information

    By setting a destination system as the ping monitor target, you can specify the switching behavior of adapters if a network error is detected.

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

    > hanetpoll create -t "Local Area Connection 1" -p 192.168.2.2 -f no
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll create -t "Local Area Connection 2" -p 192.168.2.2 -f no
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll create -t "Local Area Connection 3" -p 192.168.3.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.

    For more details, refer to "6.2.4 hanetpoll."

  4. 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.

  5. 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.
  6. Start the ping monitor function.

    Execute the hanetpoll command.

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