Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unable to register Xen DomU's with 'xenman register' command

Featured Replies

Hi everyone.  I have been doing a lot of reading and have successfully migrated 3 existing Virtual Machines (1 Windows 7 and 2 Debian) from VMware ESXi 5.5 over to Xen (Unraid 6.0-beta14b).  They are running in HVM without issue.  The one problem that I am having is that I can not get the DomU's to show up in the unRAID WebUI under the Xen Domains tab.  I followed the instructions that are presented when running the xenman command via CLI, which tells you to ensure that you provide the absolute path to the Xen DomU config file and ensure that there is a name value within the config file for the DomU.  I also have a .png file for the icon in the same folder, along with the disk image.  I do not have the optional readme.md or the <configfile>- present within the folder, so that may be the issue.  The one part that i do not understand is how to create the <configfile>- that is referenced in the following paragraph:

 

<configfile>- (that is, same name as the xen configuration file but with a dash at the end) - this is considered

  the "factory default" xen configuration settings.  If this file does not exist then the first time a user opens

  the domain settings page it will be created by copying the xen configuration file.  The purpose of this file

  is to provide an easy way for the user to "start over" when experimenting with xen configuration settings.

 

When i run xenman register '/mnt/cache/VM/Win7 VM/win7.cfg', the command does not provide any feedback as to whether or not it completed successfully.  I checked the /boot/config/domains folder after running the command and it is empty.  Could someone please help me troubleshoot this issue?  I would like to be able to modify/auto start the DomU from within the unRAID WebUI.  I really wish that a Xen Web Manager like Xen Orchestra was compatible with unRAID Xen so that we could have an actual management console.  Is there any update on when that will happen?  Thanks a lot for all of your help!  Here is my config:

 

name = "Windows7"

builder = "hvm"

# kernel = 'hvmloader' not needed.

# device_model_version = "qemu-xen-traditional" deprecated.

 

# You can adjust the vcpu and memory lines if you wish.

vcpus = 2

memory = 4096

 

# Win7x64.iso is the name of my ISO, change it to whatever yours is named.

# When your Windows 7 installation is complete, you can delete the reference to your ISO image below, which is this part:

#  , 'file:/mnt/cache/VMs/Windows7/Win7x64.iso,hdc:cdrom,r'

disk = ['file:/mnt/cache/VM/Win7 VM/Win7.img,hda,w']

 

# Note: Your bridge name (br0) needs to match the bridge name in the unRAID network settings.

vif = [ 'mac=00:16:3e:01:01:01,bridge=br0' ] #The first 3 octets have to be 00:16:3e The last 3 octets can be anything

 

# When your Windows 7 installation is complete, change this to "c" (instead of "dc") so you don't boot with the DVD.

boot = "c"

 

acpi = '1'

apic = '1'

viridian = '1'

xen_platform_pci = '1'

sdl = '0'

vnc = '1'

 

# This is the IP address of your unRAID server.

vnclisten = '0.0.0.0'

 

# vncpasswd = '' No password.

stdvga=1

usb = '1'

usbdevice = 'tablet'

localtime = 1

on_poweroff = "destroy"

on_reboot = "restart"

on_crash = "destroy"

 

  • Author

Really? No one knows how to register Xen guests in the unRAID WebUI?

Really? No one knows how to register Xen guests in the unRAID WebUI?

 

xenman register /mnt/cache/domains/Windows7VM/Windows7.cfg

  • Author

I tried that, but nothing shows up in the WebUI. Do you have a copy of the default <configfile>- that it refers to?

  • Author

I used that guide to set the Windows 7 VM up. I figured out the problem. The "xenman register" command does not like spaces in the path for some reason. I think that it was the space that I had in the path to the VM .img file within the config, because i never got an error when I ran the actual command, even though the command path has a space as well. Thanks for the replies!

I used that guide to set the Windows 7 VM up. I figured out the problem. The "xenman register" command does not like spaces in the path for some reason. I think that it was the space that I had in the path to the VM .img file within the config, because i never got an error when I ran the actual command, even though the command path has a space as well. Thanks for the replies!

 

Yep.  That would do it.

 

You can get around that with this:

xenman register '/mnt/cache/VM/Win7\ VM/win7.cfg

  • Author

Nope I tried that. I've been working in Linux for quite a while.

I used that guide to set the Windows 7 VM up. I figured out the problem. The "xenman register" command does not like spaces in the path for some reason. I think that it was the space that I had in the path to the VM .img file within the config, because i never got an error when I ran the actual command, even though the command path has a space as well. Thanks for the replies!

 

I'm surprised that a space in the name or path caused a problem. I don't think I've tried with that scenario myself. I'll edit the guide with your findings so that it might help others.

 

Gary

  • Author

Cool, glad to help!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.