This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] XCP How to install "Other install media" in XCP 0.5

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XCP How to install "Other install media" in XCP 0.5
From: Yueyu Lin <yueyu.lin@xxxxxx>
Date: Tue, 24 Aug 2010 02:00:15 -0700
Delivery-date: Tue, 24 Aug 2010 02:02:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi, all
    After I create a VM from "Other install media" template and add an ISO as 
CD to it, I can start the vm without error.
    But when I try to find out which vnc port to connect using 

[root@yueyuxcp ~]# xenstore-ls /local/domain/3/serial/0
tty = "/dev/pts/5"

I can't find the vnc port here.

Then I try to shut it down

[root@yueyuxcp ~]# xe vm-shutdown uuid=28cbafc1-f321-6d2f-a157-4330bc302dff 
You attempted an operation on a VM which requires PV drivers to be installed 
but the drivers were not detected.
vm: 28cbafc1-f321-6d2f-a157-4330bc302dff (ubuntuFromCD)

I then try to use the /usr/lib/xen/bin/xenconsole 3 to connect the console, it 
froze there.

I'm wondering if this template needs a PV aware kernel to boot? How can I make 
a template that can install a HVM from ISO directly. 

In XCP 0.5, all installation is based on repository. How can I add my own 

The vm-list for this VM looks like below:

[root@yueyuxcp ~]# xe vm-list params=all 
uuid ( RO)                          : 28cbafc1-f321-6d2f-a157-4330bc302dff
                    name-label ( RW): ubuntuFromCD
              name-description ( RW): Installed via xe CLI
                  user-version ( RW): 1
                 is-a-template ( RW): false
                 is-a-snapshot ( RO): false
                   snapshot-of ( RO): <not in database>
                     snapshots ( RO): 
                 snapshot-time ( RO): 19700101T00:00:00Z
                 snapshot-info ( RO): 
                        parent ( RO): 3c511a38-114b-98d3-4862-6eac1df230c7
                      children ( RO): 
             is-control-domain ( RO): false
                   power-state ( RO): running
                 memory-actual ( RO): 268349440
                 memory-target ( RO): <expensive field>
               memory-overhead ( RO): 5242880
             memory-static-max ( RW): 268435456
            memory-dynamic-max ( RW): 268435456
            memory-dynamic-min ( RW): 268435456
             memory-static-min ( RW): 134217728
              suspend-VDI-uuid ( RO): <not in database>
                  VCPUs-params (MRW): 
                     VCPUs-max ( RW): 1
              VCPUs-at-startup ( RW): 1
        actions-after-shutdown ( RW): Destroy
          actions-after-reboot ( RW): Restart
           actions-after-crash ( RW): Restart
                 console-uuids (SRO): 04343680-bbfb-9832-918a-31b5e303b670
                      platform (MRW): timeoffset: 0; nx: false; acpi: true; 
apic: true; pae: true; viridian: true
            allowed-operations (SRO): changing_dynamic_range; hard_reboot; 
hard_shutdown; pause; snapshot
            current-operations (SRO): 
            blocked-operations (MRW): 
           allowed-VBD-devices (SRO): <expensive field>
           allowed-VIF-devices (SRO): <expensive field>
                possible-hosts ( RO): <expensive field>
               HVM-boot-policy ( RW): BIOS order
               HVM-boot-params (MRW): order: dc
         HVM-shadow-multiplier ( RW): 1.000
                     PV-kernel ( RW): 
                    PV-ramdisk ( RW): 
                       PV-args ( RW): 
                PV-legacy-args ( RW): 
                 PV-bootloader ( RW): 
            PV-bootloader-args ( RW): 
           last-boot-CPU-flags ( RO): 
              last-boot-record ( RO): <expensive field>
                   resident-on ( RO): b9ab603e-4658-4b1e-8c5c-6e0ad11e4e0b
                      affinity ( RW): <not in database>
                  other-config (MRW): last_shutdown_time: 20100824T08:38:13Z; 
last_shutdown_action: Destroy; last_shutdown_initiator: external; 
last_shutdown_reason: halted; mac_seed: 077cc4e6-595f-2e66-a898-1b2ca2057a92; 
install-methods: cdrom
                        dom-id ( RO): 4
               recommendations ( RO): <restrictions><restriction 
field="memory-static-max" max="34359738368" /><restriction field="vcpus-max" 
max="8" /><restriction property="number-of-vbds" max="7" /><restriction 
property="number-of-vifs" max="7" /></restrictions>
                 xenstore-data (MRW): 
                 ha-always-run ( RW): false
           ha-restart-priority ( RW): 
                         blobs ( RO): 
                    start-time ( RO): 20100824T08:39:16Z
                  install-time ( RO): 20100824T07:18:54Z
                  VCPUs-number ( RO): 1
             VCPUs-utilisation (MRO): <expensive field>
                    os-version (MRO): <not in database>
            PV-drivers-version (MRO): <not in database>
         PV-drivers-up-to-date ( RO): <not in database>
                        memory (MRO): <not in database>
                         disks (MRO): <not in database>
                      networks (MRO): <not in database>
                         other (MRO): <not in database>
                          live ( RO): <not in database>
    guest-metrics-last-updated ( RO): <not in database>
                   cooperative ( RO): <expensive field>


Xen-users mailing list