vDiff on Hyper-V installation guide
Deploy the VM
- Unzip install.zip and found the file "disk.vhd" in the "install_hyperv" directory.
- We use Hyper-V on Windows 2016 in this guide as a reference. You shoud be fine with other version of Hyper-V.
- "New" a "Virtual Machine" in "Hyper-V Manager."
- Give it a name.
- Specify "Generation 1."
- Give it 2000 MB of memory for DVA100. Other models need more. See the Specification.
- Connect to some virtual switch.
- "Use an existing virtual hard disk" and specifly the extracted disk.vhd.
- "Finish" the creation of the new virtual machine.
- In the following steps, we configure the IP address.
The IP address is mandatory becasue we access vdiff's web UI with this address.
The default IP address of vdiff is 192.168.1.99/24.
We change this to 10.53.3.99/24, which is suitable for our lab.
You should use one that suites your environment.
Consult your system administrator if you are not sure.
Optinally, we configure the default gateway and the DNS.
This is not mandatory but having them are convenient.
The default ones are 192.168.1.1 and 192.168.1.1, respectively, and the ones for our lab are 10.53.3.254 and 10.53.1.254, respectively.
Consult your system administrator for proper ones in your environment.
- Run "get ip" to see the ip address of vdiff. The default one is 192.168.1.99/24. You change this by "set ip edit 1 ipmask 10.53.3.99/24". "get ip" again to verify that the new ip is configured.
- Run "get route" to see the routing config. The default route is 192.168.1.1. Change it by "set route edit 1 via 10.53.3.254" and "get route" again to verify.
- Run "get dns" to see the DNS servers. The default one is 192.168.1.1. Change it by "set dns edit 1 10.53.1.254". and "get dns" again to verify.
- "tool ping www.hinet.net" to check that the configurations are all right.
Use the web UI for the first time
- Open a new tab of your browser and enter "https://10.53.3.99". Replace 10.53.3.99 with the IP address assigned to your vdiff in the "set ip ..." step.
- Login with "admin" and "admin".
- You see "#BAD_MAC" in the "license" line in "System information" block. This is bad and lets fix it.
- Copy the MAC address in the "HW setup" line.
It's "36:aa:36:b8:17:40" in the example and yours is be similar but different.
- Go back to Hyper-V Manager and "Turn off" vdiff.
- Edit "Settings." Expand “Network Adapter” and click “Advanced features”.
- Click "Static" and enter the MAC supplied in the previous step.
- Check "Enable MAC address spoofing".
- Click "OK" to complete."
- Log into vdiff admin UI again and verify that "#BAD_MAC" is gone.
- You see "#EXPIRED" now. Please see the "license update guilde" to solve this.