What is the current method to get something that I could reimport on another machine to get the domain absolutely equally configured? I set this domain up using virt-install but now I''d like to have the domain config to add the guest on the second host in storage network to domain management to boot it up there. here the output of xm li -l, it has some information, that is missing in virsh dumpxml Florian xm li -l cam_host (domain (on_crash restart) (uuid d78ddb0d-b876-9719-d690-dd36aa4654fb) (bootloader_args ) (vcpus 1) (name cam_host) (on_poweroff destroy) (on_reboot restart) (cpus (())) (bootloader /usr/lib/xen/bin/pygrub) (maxmem 1024) (memory 1024) (shadow_memory 0) (features ) (on_xend_start ignore) (on_xend_stop shutdown) (start_time 1251879729.03) (cpu_time 713.272511356) (online_vcpus 1) (image (linux (kernel ) (localtime 1) (keymap en-us) (notes (PADDR_OFFSET 1073741824) (XEN_VERSION xen-3.0) (GUEST_OS Solaris) (VIRT_BASE 1073741824) (LOADER generic) ) ) ) (status 0) (store_mfn 1403634) (console_mfn 1403633) (device (vif (bridge e1000g0) (uuid fb846d2f-af16-79d2-f747-3d9e4b15add6) (script /usr/lib/xen/scripts/vif-vnic) (devid 0) (mac 00:16:36:27:78:a7) (backend 0) ) ) (device (vbd (protocol x86_64-abi) (uuid 879c3fd4-0107-75da-b27b-ba50f5fa210d) (bootable 1) (devid 51712) (driver paravirtualised) (dev xvda:disk) (uname phy:/dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0) (mode w) (backend 0) ) ) (device (vbd (uuid 63c32362-b9b5-cd64-735e-20016698f4d2) (bootable 0) (devid 51728) (driver paravirtualised) (dev /dev/xvdb) (uname file:/export/media_images/sol-nv-b121-x86-dvd.iso) (mode r) ) ) (device (console (devid 0) (protocol vt100) (location 2) (uuid aa2c717e-39a6-2461-3209-40c0a0035348) ) ) )
On Thu, Sep 03, 2009 at 04:37:59PM +0200, Florian Manschwetus wrote:> here the output of xm li -l, it has some information, that is missing in > virsh dumpxmlThere is no information that''s not defaulted the same on both boxes though. So using dumpxml is fine. regarsd john
Am 03.09.2009 17:38, schrieb John Levon:> On Thu, Sep 03, 2009 at 04:37:59PM +0200, Florian Manschwetus wrote: > >> here the output of xm li -l, it has some information, that is missing in >> virsh dumpxml > > There is no information that''s not defaulted the same on both boxes > though. So using dumpxml is fine. > > regarsd > john >For example viridian=1 is not defined on my windows machines. Further more my sxce pv domain fails to start on the other machine, (bootloader didn''t return any data) (maybe some one could give me a proper domain config for a sxce b121 pv) Florian virsh dumpxml win2008test <domain type=''xen'' id=''1''> <name>win2008test</name> <uuid>55b5fa83-c1b1-0e66-e357-10d1a7d0e9c1</uuid> <memory>1048576</memory> <currentMemory>1048576</currentMemory> <vcpu>1</vcpu> <os> <type>hvm</type> <loader>/usr/lib/xen/boot/hvmloader</loader> <boot dev=''hd''/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset=''localtime''/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/lib/xen/bin/qemu-dm</emulator> <disk type=''block'' device=''disk''> <driver name=''phy''/> <source dev=''/dev/dsk/c0t600A0B800049E9020000066448C2D638d0p0''/> <target dev=''hda'' bus=''ide''/> </disk> <disk type=''file'' device=''cdrom''> <driver name=''file''/> <source file=''/export/media_images/en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso''/> <target dev=''hdc'' bus=''ide''/> <readonly/> </disk> <interface type=''bridge''> <mac address=''00:16:3e:00:00:03''/> <source bridge=''e1000g0''/> <script path=''/usr/lib/xen/scripts/vif-vnic''/> <target dev=''vif-2.0''/> </interface> <serial type=''pty''> <target port=''0''/> </serial> <console type=''pty''> <target port=''0''/> </console> <input type=''tablet'' bus=''usb''/> <input type=''mouse'' bus=''ps2''/> <graphics type=''vnc'' port=''5900'' autoport=''yes'' keymap=''de''/> </devices> </domain> xm li -l win2008test (domain (domid 1) (on_crash restart) (uuid 55b5fa83-c1b1-0e66-e357-10d1a7d0e9c1) (bootloader_args ) (vcpus 1) (name win2008test) (on_poweroff destroy) (on_reboot restart) (cpus (())) (bootloader ) (maxmem 1024) (memory 1024) (shadow_memory 9) (features ) (on_xend_start ignore) (on_xend_stop shutdown) (start_time 1251982074.69) (cpu_time 64.319160905) (online_vcpus 1) (image (hvm (kernel ) (videoram 32) (hpet 1) (stdvga 0) (loader /usr/lib/xen/boot/hvmloader) (serial pty) (vncunused 1) (xen_platform_pci 1) (boot c) (rtc_timeoffset 0) (pci ()) (pae 1) (vpt_align 1) (hap 1) (viridian 1) (acpi 1) (localtime 1) (timer_mode 1) (nographic 0) (guest_os_type windows) (pci_msitranslate 1) (apic 1) (monitor 0) (usbdevice tablet) (device_model /usr/lib/xen/bin/qemu-dm) (keymap en-us) (pci_power_mgmt 0) (usb 1) (xauthority /export/home/tkadmin/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)) ) ) (status 2) (state -b----) (store_mfn 1044476) (device (vif (bridge e1000g0) (uuid 5ae357ad-9b90-95a0-f177-67a27e8832d3) (script /usr/lib/xen/scripts/vif-vnic) (mac 00:16:3e:00:00:03) (vifname vif-2.0) (backend 0) ) ) (device (vbd (uuid 830d27fe-834b-6f7f-3822-e5630fbddd05) (bootable 1) (dev hda:disk) (uname phy:/dev/dsk/c0t600A0B800049E9020000066448C2D638d0p0) (mode w) (backend 0) (bootable 1) (VDI ) ) ) (device (vbd (uuid e16270a3-3bfc-42a3-ddbc-45f3a0f6b153) (bootable 0) (dev hdc:cdrom) (uname file:/export/media_images/en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso ) (mode r) (backend 0) (bootable 0) (VDI ) ) ) (device (vkbd (backend 0))) (device (vfb (vncunused 1) (vnc 1) (xauthority /export/home/tkadmin/.Xauthority) (keymap de) (location 127.0.0.1:5900) (uuid 9be3f449-33e0-7c8e-eb94-40f640d5fb91) ) ) (device (console (protocol vt100) (location 3) (uuid af20d3f8-4c1b-942e-6cd0-178ccfb50e64) ) ) )
On Thu, Sep 03, 2009 at 06:00:09PM +0200, Florian Manschwetus wrote:> For example viridian=1 is not defined on my windows machines.Are you running a different version? viridian defaults to 1.> Further more my sxce pv domain fails to start on the other machine, > (bootloader didn''t return any data)Hard to say what the problem is, try running pygrub directly on the disk path and you might get a useful error. regards john
Am 03.09.2009 18:10, schrieb John Levon:> On Thu, Sep 03, 2009 at 06:00:09PM +0200, Florian Manschwetus wrote: > >> For example viridian=1 is not defined on my windows machines. > > Are you running a different version? viridian defaults to 1. > >> Further more my sxce pv domain fails to start on the other machine, >> (bootloader didn''t return any data) > > Hard to say what the problem is, try running pygrub directly on the disk > path and you might get a useful error. > > regards > john >pfexec /usr/lib/xen/bin/pygrub /dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0 linux (kernel /var/run/xend/boot/boot_kernel.x6GIa0)(ramdisk /var/run/xend/boot/boot_ramdisk.emXBFS)(args "/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/53,bootpath=''/xpvd/xdf@51712:a''") Florian
Am 03.09.2009 18:17, schrieb Florian Manschwetus:> Am 03.09.2009 18:10, schrieb John Levon: >> On Thu, Sep 03, 2009 at 06:00:09PM +0200, Florian Manschwetus wrote: >> >>> For example viridian=1 is not defined on my windows machines. >> >> Are you running a different version? viridian defaults to 1. >> >>> Further more my sxce pv domain fails to start on the other machine, >>> (bootloader didn''t return any data) >> >> Hard to say what the problem is, try running pygrub directly on the disk >> path and you might get a useful error. >> >> regards >> john >> > > pfexec /usr/lib/xen/bin/pygrub > /dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0 > linux (kernel /var/run/xend/boot/boot_kernel.x6GIa0)(ramdisk > /var/run/xend/boot/boot_ramdisk.emXBFS)(args > "/platform/i86xpv/kernel/amd64/unix -B > zfs-bootfs=rpool/53,bootpath=''/xpvd/xdf@51712:a''") > > FlorianAfter cleaning xml (removing the second device (sol-nv-dvd)), it has bootet, but booting needs some more time. Florian