Top
PRIMECLUSTER GLS for Windows User's Guide 4.3

A.1.1 Configuration with a Single Virtual Adapter

This is the configuration to use when a single network is duplicated.

Configuration

Figure A.1 Configuration with a Single Virtual Adapter

Setting Procedure Assuming the Configuration in Figure A.1

  1. Set the physical adapter.

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

  2. Set the virtual adapter.

    Execute the hanetconfig command and create a virtual adapter (sha0) by bundling the physical adapters Local Area Connection 1 and Local Area Connection 2.

    > hanetconfig create -n sha0 -t "Local Area Connection 1","Local Area Connection 2"
    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

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

    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.

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

    Execute the strhanet command to activate the virtual adapter.

    > strhanet
    FJSVhanet: INFO: 00000: The command ended normally (sha0).
    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.