Top
PRIMECLUSTER GLS for Windows User's Guide 4.3

5.2.4 Changing the VLAN ID of a Virtual Adapter

This section describes how to change the VLAN ID of a virtual adapter. In the procedure below, the name of the virtual adapter is sha0 and the VLAN ID is changed from 10 to 20.

  1. Deactivate all virtual adapters by executing the stphanet command.

    > stphanet
    FJSVhanet: INFO: 00005: The ping monitoring stopped.
    FJSVhanet: INFO: 00000: The command ended normally.
  2. Check the information defining the virtual adapter whose VLAN ID you want to change by executing the print subcommand of the hanetconfig command.

    > hanetconfig print
     Name     VID  Adapters
    +--------+----+----------------------------------------------------------------+
     sha0     10   Local Area Connection 1,Local Area Connection 2

    For more details on the hanetconfig command, refer to "6.2.2 hanetconfig."

  3. Check whether the ping monitor function is set.

    > hanetpoll print

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

    If ping monitoring is not set, step 4 is not applicable.

  4. If you have set the ping monitor function, delete the corresponding settings.

    Delete the physical adapters bundled in the virtual adapter for which to change the settings by executing the delete subcommand of the hanetpoll command.

    > hanetpoll delete -t "Local Area Connection 1"
    FJSVhanet: INFO: 00000: The command ended normally.
    > hanetpoll delete -t "Local Area Connection 2"
    FJSVhanet: INFO: 00000: The command ended normally.
  5. Delete the virtual adapter whose VLAN ID you want to change by executing the delete subcommand of the hanetconfig command.

    > hanetconfig delete -n sha0
  6. Reset the virtual adapter with the new VLAN ID (20) by executing the create subcommand of the hanetconfig command.

    > hanetconfig create -n sha0 -v 20 -t "Local Area Connection 1","Local Area Connection 2"
  7. Check the changes by executing the print subcommand of the hanetconfig command.

    > hanetconfig print
     Name    VID  Adapters
    +-------+----+-----------------------------------------------------------------+
     sha0    20   Local Area Connection 1,Local Area Connection 2

See

To ensure that GLS is set and functions correctly, perform the following tasks after changing the VLAN ID of a virtual adapter: