Deploy on Hyper-V
Eyeglass Hyper-V Installation Guide
Tested on Hyper-V Manager (Microsoft Corporation), Version 10.0.14393.0.
- The Eyeglass appliance requires two disks: one for the OS and one for data.
- The OS disk requires 38 GB and is included by default.
- The data disk requires 140 GB. See the steps below to create it.
Create Eyeglass Hyper-V Virtual Machine
- Download the vhdx from the Superna Support Portal.
- Deploy a new
Virtual Machine. - Enter a
Namefor the VM. - Select
Generation 1. - Set
Startup memoryto 24576 MB (24 GB). - Select a
Network Adapter. - Select
Use an existing Virtual Hard diskand browse to the downloaded Eyeglass vhdx file. - Complete the Wizard.
Configure Eyeglass Data Disk
- Right-click the new VM and select
Settings. - Select
IDE Controller 0, then selectHard Driveand clickAdd. - Click
New. - For Disk Format, select
VHDX. - For Disk Type, select
Fixed size. - Enter a
Namefor the data disk. - Set the disk size to 140 GB.
- Complete the data disk Wizard.
Configure Eyeglass Post Boot
After booting the Eyeglass VM, configure the local OVF environment file with the network and host settings.
Replace all IP addresses and netmasks in the commands below to match your Eyeglass environment.
The second HDD of 140 GB must be added before completing the remaining steps.
-
Run the following commands to configure the network and host settings:
sudo su
/opt/superna/bin/ovf set-value --force net.eth0.ipv4.ip=x.x.x.x
/opt/superna/bin/ovf set-value --force disk_size=140
/opt/superna/bin/ovf set-value --force net.eth0.ipv4.gateway=x.x.x.x
/opt/superna/bin/ovf set-value --force net.eth0.ipv4.netmask=255.255.255.0
/opt/superna/bin/ovf set-value --force net.nameservers=x.x.x.x
/opt/superna/bin/ovf set-value --force net.ntp=x.x.x.x
/opt/superna/bin/ovf set-value --force net.searchlist=example.lan
/opt/superna/bin/ovf set-value --force vm.hostname=eyeglass -
Verify that the
.firstbootfile exists:ls -l /opt/superna | grep .firstbootExpected output:
-rw-r--r-- 1 sca users 0 Sep 10 15:38 .firstboot -
If the
.firstbootfile does not exist, create it and set permissions:sudo su
touch /opt/superna/.firstboot
chown sca:users /opt/superna/.firstboot -
Start the onboot service:
systemctl restart superna-on-bootThis operation should return the CLI prompt within 30 seconds.
-
Review the firstboot log file for any errors or exceptions:
cat /var/log/superna-on-boot.log -
If firstboot succeeds, it should indicate that Hyper-V is detected. Run the following to complete the setup:
sudo su
spy-hyperv-setupComplete the Hyper-V Setup by entering the requested variables. Once completed, no further setup steps are required.
-
Log in to the Eyeglass VM at
https://x.x.x.x. -
Continue with the Install Guide for NTP, licensing, and remaining configuration.