cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luciano Castro <luciano.cas...@gmail.com>
Subject Re: Can´t attach volume to windows 2008 R2
Date Fri, 04 Sep 2015 18:51:27 GMT
Take a look on the results

[root@15s ~]# virsh list
 Id    Name                           State
----------------------------------------------------
 2     i-4-146-VM                     running
 3     r-170-VM                       running

[root@15s ~]# virsh dumpxml i-4-146-VM
<domain type='kvm' id='2'>
  <name>i-4-146-VM</name>
  <uuid>a312729c-c62a-49c4-89ac-c911b617a18e</uuid>
  <description>Windows Server 2008 R2 (64-bit)</description>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <shares>4000</shares>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
    <boot dev='cdrom'/>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <cpu>
  </cpu>
  <clock offset='localtime'>
    <timer name='rtc' tickpolicy='catchup'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source
file='/mnt/2ac770fb-d2dd-35bf-87ae-cd7d9f4748e2/75790316-b2cd-4134-bbb6-c416e392c9fb'/>
      <backingStore type='file' index='1'>
        <format type='raw'/>
        <source
file='/mnt/2ac770fb-d2dd-35bf-87ae-cd7d9f4748e2/6dad1e00-77b6-437e-901d-53c357d6b48d'/>
        <backingStore/>
      </backingStore>
      <target dev='hda' bus='ide'/>
      <alias name='ide0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw' cache='none'/>
      <backingStore/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <alias name='ide0-1-0'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source
file='/mnt/2ac770fb-d2dd-35bf-87ae-cd7d9f4748e2/0783a2c0-b4fc-4e7a-b295-f68610906ee6'/>
      <backingStore/>
      <target dev='vdb' bus='virtio'/>
      <alias name='virtio-disk1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0'/>
    </disk>
    <controller type='usb' index='0'>
      <alias name='usb0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='ide' index='0'>
      <alias name='ide0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='06:4d:aa:00:00:25'/>
      <source bridge='brbond1-2902'/>
      <bandwidth>
        <inbound average='25600' peak='25600'/>
        <outbound average='25600' peak='25600'/>
      </bandwidth>
      <target dev='vnet0'/>
      <model type='e1000'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes' listen='10.253.118.183'>
      <listen type='address' address='10.253.118.183'/>
    </graphics>
    <video>
      <model type='cirrus' vram='16384' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
    </video>
    <memballoon model='none'>
      <alias name='balloon0'/>
    </memballoon>
  </devices>
</domain>

On Fri, Sep 4, 2015 at 3:43 PM, Simon Weller <sweller@ena.com> wrote:

> Can you log into the host that the vm is running on and run the following
> command:
>
> virsh list
>
> e.g.
> Id    Name                           State
> ----------------------------------------------------
>  2     i-52-355-VM                    running
>  3     i-27-139-VM                    running
>  4     i-19-516-VM                    running
>  5     i-27-102-VM                    running
>  6     i-14-459-VM                    running
>  7     i-27-463-VM                    running
>
>
> Find the VM id that represents your windows vm (you can find the id then
> the cloudstack gui to match it to a friendly name).
>
> Then run:
>
> virsh dumpxml <vmname>
>
> e.g. virsh dumpxml i-35-384-VM
> <lots of xml>
>
> Take a look at the devices section and see if the disk you've added is
> there.
>
> - Si
>
>
> ________________________________________
> From: Luciano Castro <luciano.castro@gmail.com>
> Sent: Friday, September 4, 2015 1:35 PM
> To: users@cloudstack.apache.org
> Subject: Re: Can´t attach volume to windows 2008 R2
>
> Take a look
>
> https://dl.dropboxusercontent.com/u/6774061/print.PNG
>
> thanks
>
> On Fri, Sep 4, 2015 at 3:27 PM, Simon Weller <sweller@ena.com> wrote:
>
> > Are you seeing the drivers in use if you look in device manager?
> >
> >
> >
> > ________________________________________
> > From: Luciano Castro <luciano.castro@gmail.com>
> > Sent: Friday, September 4, 2015 1:14 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: Can´t attach volume to windows 2008 R2
> >
> > Simon
> >
> > I installed, rebooted the host, but the same problem:
> >
> > [root@15s ~]# rpm -qa| grep virtio
> > virtio-win-0.1.102-1.noarch
> >
> > [root@15s ~]# uname -an
> > Linux 15s.tpn.terra.com 3.10.0-229.11.1.el7.x86_64 #1 SMP Thu Aug 6
> > 01:06:18 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> >
> > [root@15s ~]#
> > [root@15s ~]# rpm -qa| grep cloudst
> > cloudstack-common-4.5.2-shapeblue0.el7.centos.x86_64
> > cloudstack-agent-4.5.2-shapeblue0.el7.centos.x86_64
> >
> > I don´t know if I need to do another thing.
> >
> > thanks
> >
> > On Fri, Sep 4, 2015 at 2:55 PM, Luciano Castro <luciano.castro@gmail.com
> >
> > wrote:
> >
> > > I will try this:https://fedoraproject.org/wiki/Windows_Virtio_Drivers
> > >
> > > Thanks
> > >
> > > On Fri, Sep 4, 2015 at 2:50 PM, Luciano Castro <
> luciano.castro@gmail.com
> > >
> > > wrote:
> > >
> > >> Hi Simon,
> > >>
> > >> No I don´t have. I´m just looking for it. My install is based in this
> > do:
> > >>
> >
> http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html
> > >>
> > >> The vm guest is Windows Server 2008R2 Standard
> > >>
> > >> Thanks!
> > >>
> > >> On Fri, Sep 4, 2015 at 2:45 PM, Simon Weller <sweller@ena.com> wrote:
> > >>
> > >>> Luciano,
> > >>>
> > >>> Do you have virtio drivers installed? What operating systemtype do
> you
> > >>> have assigned to this VM?
> > >>>
> > >>> - Si
> > >>>
> > >>> ________________________________________
> > >>> From: Luciano Castro <luciano.castro@gmail.com>
> > >>> Sent: Friday, September 4, 2015 12:42 PM
> > >>> To: users@cloudstack.apache.org
> > >>> Subject: Re: Can´t attach volume to windows 2008 R2
> > >>>
> > >>> Hi
> > >>>
> > >>> I thought that would be something with librvit or qemu (Centos 6.6),
> > but
> > >>> I
> > >>> tried the same at Centos 7 (libvirt-1.2.8-16.el7_1.3.x86_64 and
> > >>> qemu-kvm-1.5.3-86.el7_1.5.x86_64) and still now working.
> > >>>
> > >>> I didn´t see any mentions about extra disks on windows... Is there
> > >>> something like 'VMtools' that I need to install ?
> > >>>
> > >>> Any ideias?
> > >>>
> > >>> Luciano
> > >>>
> > >>> On Wed, Jul 29, 2015 at 8:54 AM, Luciano Castro <
> > >>> luciano.castro@gmail.com>
> > >>> wrote:
> > >>>
> > >>> > Hi,
> > >>> >
> > >>> > I´m trying to create a windows 2008 R2 template, and I already
did
> > the
> > >>> > Windows Installation and their updates.
> > >>> >
> > >>> > I added a volume disk, and the GUI shows me OK, but when I try
to
> > find
> > >>> a
> > >>> > disk inside Windows, it does not appear.
> > >>> >
> > >>> > I went into Compute Management, and I did a new rescan disk, but
> > >>> nothing
> > >>> > happened.
> > >>> >
> > >>> > I rebooted the Windows but the disk is not available  yet.
> > >>> >
> > >>> > I am using CS 4.5.1 with KVM hosts.
> > >>> >
> > >>> > Regards,
> > >>> >
> > >>> > --
> > >>> > Luciano Castro
> > >>> >
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Luciano Castro
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> Luciano Castro
> > >>
> > >
> > >
> > >
> > > --
> > > Luciano Castro
> > >
> >
> >
> >
> > --
> > Luciano Castro
> >
>
>
>
> --
> Luciano Castro
>



-- 
Luciano Castro

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message