AlphaVM on Hyper-V

This article shows how to run AlphaVM on Hyper-V.

CPU configuration

The Hyper-V virtual machine must have enough resources to run AlphaVM. The resource requirements are the same as for running AlphaVM on a physical machine.

In this example we allocate two host cores to serve AlphaVM with 1 CPU.

Memory configuration

The Hyper-V virtual machine must have enough resources to run AlphaVM. The resource requirements are the same as sfor running AlphaVM on a physical machine.

In this example we specify that the Hyper-V virtual machine will allocate memory dynamically. This setting is good for 1 basic CPU and 512MB RAM, which is the limit of AlphaVM-Free.

For high-performance AlphaVM-Pro configurations we recommend to allocate memory statically. Dynamic memory allocation can cause performance degradation during memory allocation.

Network Configuration

Hyper-V virtual machines commnuicates to the outer world by means of a virtual switch. Create a switch for each physical NIC that you wish to be accessible in the virtual machine. Here is an example of such a switch.

The switch can be used to create a NIC for a Hyper-V virtual machine.

The hardware acceleration can be left at the default settings.

AlphaVM can be configured to use either shared or dedicated Hyper-V NIC. Shared NIC is shared between AlphaVM and Windows. One Hyper-V NIC is enough for Windows and all AlphaVM NICs. This approach is simple to configure. However, the single NIC can be a performance bottleneck.

The dedicated NIC approach requires a separate Hyper-V NIC for Windows and for each AlphaVM NIC. This apprach allows to optimize network traffic.

Shared NIC

In the advanced NIC settings the MAC address related options are important. Note that here we set MAC address spoofing. This means that AlphaVM can share the same interface with Windows.

If DECnet Phase IV is used, it also changes the MAC address to correspond to the DECnet address. The MAC spoofing is important to handle such changing MAC addresses.

Since the NIC is shared between Windows in Hyper-V and AlphaVM, AlphaVM must use a MAC address different from the hosting Windows.

Make sure all the AlphaVM NICs on your network are assigned unique MAC addresses.

Dedicated NIC

Dedicated NIC will not use spoofing of MAC address. The idea is that both Hyper-V and AlphaVM MAC addresses are the same.

DECnet changes the MAC address to something that corresponds to the DECnet address. In our example we assume that the DECnet address is 1.2. The corresponding MAC address is AA-00-04-00-02-04. We set this address to Hyper-V. You can use the DECnet address converter to determine the corresponding MAC address.

If you do not need DECnet, just use some unique MAC address in both Hyper-V and AlphaVM.

Now we have to disable all Windows network protocols on the dedicated interface. If we leave them running, Windows protocols will conflict with the OpenVMS/Tru64 protocols, because both network stacks would use the same MAC.

The protocols are disabled as follows.

At last set the MAC address in AlphaVM.