This section describes installation of GLS.
This section describes how to set a virtual adapter, assuming the following criteria:
Virtual adapter: sha0
Physical adapters: Ethernet 1, Ethernet 2
Figure B.2 Virtual Adapter Settings
Use the hanetconfig command to make virtual adapter settings. Note that you must be a member of the Administrators group to execute hanetconfig.
Create the virtual adapter sha0 comprised of the physical adapters Ethernet 1 and Ethernet 2 by executing hanetconfig with the create subcommand.
> hanetconfig create -n sha0 -t "Ethernet 1","Ethernet 2" -v hv FJSVhanet: INFO: 00000: The command ended normally. |
Check that the settings are correct by executing the print subcommand of the hanetconfig command.
> hanetconfig print Name VID Adapters +--------+----+----------------------------------------------------------+ sha0 hv Ethernet 1,Ethernet 2 |
Note
You must specify "hv" with the -v option of the create subcommand of the hanetconfig command.
A virtual adapter to be connected to the Hyper-V virtual switch cannot share the NIC with other virtual adapters.
For details, see "3.4.4 Ping Settings."
For details, see "3.4.6 Activating Virtual Adapters."
Information
When connecting a virtual adapter to the Hyper-V virtual switch, you do not need to set the IP address to the virtual adapter.
Create a Hyper-V virtual switch.
From the [Hyper-V Manager] window, select [Virtual Switch Manager].
Under [Create virtual switch] of [New virtual switch], select [External], and click [Add].
Select the virtual adapter sha0 for new virtual switch, and click the [Apply] button.
Set an IP address manually for the adapter (Ethernet 3) generated on the virtual adapter (sha0) by the Hyper-V virtual switch manager.
For details on how to set IP addresses, see the manual of OS.
Restart the host OS or the GLS service.
For details on how to restart the GLS service, see "B.3.2.1 Restarting the Host OS or the GLS Service."
Note
To use the ping monitoring of GLS, check [Allow management operating system to share this network adapter] when creating a Hyper-V virtual switch.
Create a network adapter on a guest OS.
From [Hyper-V Manager], open the setting window for a guest OS.
Select [Network Adapter] from [Add Hardware], and click the [Add] button.
Select the virtual switch connected to the GLS virtual adapter for [Network]. Set up the VLAN ID as needed and click the [Apply] button.
Set the scripts for Hyper-V.
Follow the procedure below to inform the information of MAC addresses for each OS to network switches from the virtual adapter sha0 which is registered to Hyper-V Virtual Switch Manager. This setting enables the transmission to immediately restart when the network is switched.
> copy "<GLS Installation Folder>\usr\script\adapter\hyperv.sam" "<GLS Installation Folder>\usr\script\adapter\sha0.bat" |
For details, see "B.3.2.2 Restarting the Transmission for Network Switching."