Run under Hyper-V

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

xotj123
Posts: 1
Joined: Thu Mar 22, 2012 7:04 pm

Run under Hyper-V

Post by xotj123 »

Anyone running under Hyper-V?
keenemaverick
Posts: 2
Joined: Mon Apr 02, 2012 9:28 pm

Re: Run under Hyper-V

Post by keenemaverick »

I'm currently attempting to run the 2011 VMX under Hyper-V. I'll document my steps here as I go.

I'm running Hyper-V in a failover cluster, and using System Center Essentials 2010 as the management tool.

First, I extracted the VMX zip file to the VMM Library share at \\<SCE Machine Name>\MSSCVMMLibrary0\VMX

Second, I ran the Import Virtual Machine task inside SCE.

SCE seems to do weird things with the network setup, plus it won't allow me to import to a cluster that is over committed, so when it asks to confirm the hardware setup, I changed the RAM to 512MB, and set the network to Not Connected.

The Import wizard threw an error about not being able to update the file system - no biggie. The imported machine seems to boot fine.

System Center Essentials doesn't seem to manage the hardware correctly, so after the import is finished, I shut off the new VM, and close out of System Center. Using the Failover Cluster Manager tool, I edit the hardware settings to change the RAM back to 1024mb. I then add a Legacy Network Adapter and connect it to my LAN.

After the changes are applied and refreshed, I connect to the VM and start it.

Other than a fsck on the first boot, everything seems to be working correctly. I'm using this PDF starting from page 5 for the rest of the configuration.
keenemaverick
Posts: 2
Joined: Mon Apr 02, 2012 9:28 pm

Re: Run under Hyper-V

Post by keenemaverick »

Just an update:

The converted VMWare image ended up having a ton of weird issues cropping up, so I ended up having to re-make the server from scratch. It's working great now.

The VM is running with 2g of RAM, 1 virtual processor, a legacy network adapter, and an 8g VHD. I'm running CentOS 6, 64 bit version. I followed the steps in this guide: http://sourceforge.net/projects/openemm ... f/download

All the steps for Red Hat work, except for some minor changes in the firewall config. On step 5.1, instead of:

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT

just use:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT

Other than that, the rest of the steps work exactly as written.
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Run under Hyper-V

Post by maschoff »

Could you please elaborate why you suggest changing the recommended entry for iptables? All RedHat servers we know of use this line. For example, did you get a special error message that caused you to change the entry?
OpenEMM Maintainer
Post Reply