This section explains how to operate GLS.
To start the GLS system after creating the Hyper-V virtual switch, you must restart the host OS or the GLS service.
There are the following two methods for restarting the GLS service:
Restarting the service by the GUI
Use the [Services] window to restart the GLS service by the GUI.
Open [Services] from [Control Panel]-[Administrative Tools].
Right-click the service with the name of "PRIMECLUSTER GLS" and select [Restart].
Restarting the service with the command
Use the sc command to restart the GLS service with the command.
> sc stop hanetctld > sc start hanetctld |
Note
Switching of the physical adapters in the active state may occur when the GLS service is restarted in the following case:
The primary adapter of the virtual adapter is used as the operational adapter preferentially.
(If "yes" is specified with the -p option of the hanetparam command.)
A failover of the cluster may occur when the GLS service is restarted in the following case:
The IP address of the GLS virtual adapter is set as the resource of WSFC.
If the network is switched in the configuration where GLS is installed on the host OS, the virtual adapter sends the MAC address of the network adapter on a guest OS to a proximity switch, and then the MAC learning table is updated. This enables the transmission to immediately restart when the network is switched.
Information
You can also set the information to be sent to a proximity switch manually.
For information to be set, check a network adapter to be connected to the virtual switch with which the GLS virtual adapter is registered. For the host OS, check the information referring to a result displayed by executing the ipconfig command. For a guest OS, open the setting window for guest OS from [Hyper-V Manager] and see "MAC Address" and "VLAN ID" in [Network Adapter]. If a guest OS has never been started, "MAC Address" which is allocated dynamically is not displayed. Start the guest OS to check "MAC Address."
Enter the information you checked in the file "<GLS Installation Folder>\usr\script\adapter\maclist.txt" in the format as shown below:
Virtual adapter name VLAN ID MAC address Machine name |
Separate the items using tabs. Moreover, specify a hyphen to the VLAN ID without VLAN tag settings or a machine name which is used to set the network adapter on the host OS.
[Example]
sha0 - ZZ-ZZ-ZZ-ZZ-ZZ-ZZ - sha0 2 XX-XX-XX-XX-XX-XX VM1 sha0 3 YY-YY-YY-YY-YY-YY VM2 |
Information
If there is no file which includes the information to be sent to a proximity switch, GLS automatically obtains and sends the information when the network is switched.
When you set the file manually, the MAC address information is sent to a proximity switch based on the information entered in the file.
If you do not use the network adapter which is allowed to be shared on the host OS, it is unnecessary to enter the MAC address of the adapter in maclist.txt.