Carlos, te paso la salida de la intruccion:

# virsh dumpxml faxfssq4woowe2
<domain type='kvm' id='13'>
  <name>faxfssq4woowe2</name>
  <uuid>aec88141-a2aa-f287-21f2-57617a22b4c0</uuid>
  <description>exportamazon</description>
  <memory>4194304</memory>
  <currentMemory>4194304</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='rhel5.4.0'>hvm</type>
    <boot dev='fd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'>
    <timer name='pit' tickpolicy='delay'/>
  </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='floppy'>
      <driver name='qemu' type='raw'/>
      <source file='/onapp/tools/grub.img'/>
      <target dev='fda' bus='fdc'/>
      <readonly/>
      <alias name='floppy0'/>
      <address type='drive' controller='0' bus='0' unit='0'/>
    </disk>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/onapp-iem20qdroptb03/bnggfsp9c31rql'/>
      <target dev='hda' bus='ide'/>
      <alias name='ide0-hd0'/>
      <address type='drive' controller='0' bus='0' unit='0'/>
    </disk>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/onapp-iem20qdroptb03/pal1y3rnshyidn'/>
      <target dev='hdb' bus='ide'/>
      <alias name='ide0-hd1'/>
      <address type='drive' controller='0' bus='0' unit='1'/>
    </disk>
    <controller type='fdc' index='0'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:16:3e:85:f5:69'/>
      <source bridge='onoxfj1eoip3q2'/>
      <target dev='ft5ckhfm6dp45j'/>
      <model type='e1000'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'/>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
    </video>
  </devices>
</domain>


y te paso la salida del .xml

# cat /onapp/config/faxfssq4woowe2.xml
<?xml version="1.0" encoding="UTF-8"?>
<domain type="kvm">
  <name>faxfssq4woowe2</name>
  <description>exportamazon</description>
  <memory>4194304</memory>
  <currentMemory>4194304</currentMemory>
  <vcpu>1</vcpu>
  <features>
    <pae/>
    <acpi/>
    <apic/>
  </features>
  <os>
    <type arch="x86_64" machine="pc">hvm</type>
    <boot dev="fd"/>
  </os>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type="file" device="floppy">
      <source file="/onapp/tools/grub.img"/>
      <target dev="fda"/>
      <readonly/>
    </disk>
    <disk type="block" device="disk">
      <source dev="/dev/onapp-iem20qdroptb03/bnggfsp9c31rql"/>
      <target dev="hda" bus="ide"/>
    </disk>
    <disk type="block" device="disk">
      <source dev="/dev/onapp-iem20qdroptb03/pal1y3rnshyidn"/>
      <target dev="hdb" bus="ide"/>
    </disk>
    <interface type="bridge">
      <source bridge="onoxfj1eoip3q2"/>
      <mac address="00:16:3e:85:f5:69"/>
      <target dev="ft5ckhfm6dp45j"/>
      <model type="e1000"/>
    </interface>
    <graphics type="vnc" listen="0.0.0.0" passwd="h2m1mjvszppr"/>
    <input type="tablet" bus="usb"/>
  </devices>
</domain>

En el proceso se ve que es un formato raw:
-drive
file=/dev/onapp-iem20qdroptb03/bnggfsp9c31rql,if=ide,bus=0,unit=0,format=raw
-drive
file=/dev/onapp-iem20qdroptb03/pal1y3rnshyidn,if=ide,bus=0,unit=1,format=raw

Mi idea es lograr migrar eso a citrix o amazon.

Mucha gracias Carlos,
_______________________________________________
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es

Responder a