May 21, 201412 yr I have successfully setup a HVM pfSense VM. My only issue is that when I try and shut the pfSense VM off through the unRAID web-gui it does nothing. Also, If I try and stop the array it keeps saying "trying to unmount". I always have to ssh into unRAID and "xl destroy pfsense". My concern is that if there is a power outage and my APC UPS sends the shutdown command, it will not safely shutdown. I have found with a Windows VM we have to install the .Net framework packages and GPLPV drivers and then Windows will shutdown properly. I doubt there is anything similar to do with pfSense but I thought I would ask the question. Below is my pfsense.cfg. Does anyone have any ideas? #kernel = '/usr/lib/xen/boot/hvmloader' kernel = 'hvmloader' #firmware_override = "/usr/lib64/xen/boot/hvmloader" builder='hvm' #device_model = '/usr/xen/bin/qemu-dm' #device_model_override = '/usr/lib64/xen/bin/qemu-dm' device_model_version = "qemu-xen-traditional" memory = 2048 name = 'pfsense' #vif = [ 'mac=00:16:3e:00:00:01,bridge=xenbr0'] disk = [ 'file:/mnt/cache/apps/vm/pfsense/pfsense.img,hda,w', ] vcpus = 2 vnc=1 vnclisten='0.0.0.0' vncpasswd='' vncdisplay=1 acpi = 1 apic = 1 serial='pty' pci = ['00:19.0','04:00.0'] on_poweroff = 'destroy' on_reboot = 'restart' on_shutdown = 'destroy' on_crash = 'destroy'
May 21, 201412 yr Author Alright I'll ask another way, has anyone had any success shutting down any other HVM VM through the web GUI other than Windows? If so, how did you accomplish that?
May 22, 201412 yr I am able to shutdown my Windows 7 VM from the unRAID GUI. I got the Windows VM installed and running, then installed all windows updates from inside the machine, rebooting from inside Windows after each round. Then I installed the GPLPV Drivers from: http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers Then, from within windows, open a Command Prompt (be sure to open as Admin): then type... cd C:\Program Files (x86)\XEN PV Drivers\bin [enter] shutdownmon.exe -i [enter] It should tell you it installed successfully. I got an error message the first time I tried, and ended up rebooting unRAID, then starting windows again, then it worked. lands said he also needed to install various .NET frameworks such as: 3.5 SP1, 4.0, and 4.5.1 : http://msdn.microsoft.com/en-us/vstudio/aa496123 I did not install any of them specifically but I do think they are installed on my machine, probably from windows updates. Once I got the shutdownmon -i to install sucessfully, I had to reboot the windows machine from within windows one more time, but after that, I'm now able to shutdown from the unRAID GUI (have done so several times now.) good luck
May 22, 201412 yr Author Right, I have also been able to get Windows to successful shutdown through the web GUI. My question is, has anyone been able to shutdown a different distro that was setup with a HVM guest config (HVM = you have to connect to it through VNC because "xl console cfg_name" only works on PV guests) (and yes I understand there are more differences between HVM vs PV guest than the way you connect )
Archived
This topic is now archived and is closed to further replies.