[root@medusa qemu]# virsh define /tmp/ns01.xml
Please enter your authentication name: admin
Please enter your password:
Domain ns01 defined from /tmp/ns01.xml
[root@medusa qemu]# virsh start /tmp/ns01.xml
Please enter your authentication name: admin
Please enter your password:
error: failed to get domain '/tmp/ns01.xml'
[root@medusa qemu]#
When you define the file, you start the VM by name.
After defining run 'virsh list'.
Based on your xml you should use 'virsh start ns01'.
Notice:As you can see my HostedEngine uses '/var/run/vdsm/....' instead
of '/rhev/data-center/mnt/glusterSD/...' which is actually just a
symbolic link.
<disk type='file' device='disk' snapshot='no'>
<driver
name='qemu' type='raw' cache='none' error_policy='stop'
io='threads'
iothread='1'/>
<source file='/var/run/vdsm/storage/808423f9-8a5c-
40cd-bc9f-2568c85b8c74/8ec7a465-151e-4ac3-92a7-965ecf854501/a9ab832f-
c4f2-4b9b-9d99-6393fd995979'>
<seclabel model='dac'
relabel='no'/>
</source>
<backingStore/>
<target
dev='vda' bus='virtio'/>
<serial>8ec7a465-151e-4ac3-92a7-
965ecf854501</serial>
<alias name='ua-8ec7a465-151e-4ac3-92a7-
965ecf854501'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x07' function='0x0'/>
</disk>
When you start the HE, it might complain of that missing so you have to
create it.
If it complains about network vdsm-ovirtmgmt missing, you can also
define it via virsh:
# cat vdsm-ovirtmgmt.xml
<network>
<name>vdsm-ovirtmgmt</name>
<uuid>8ded486e-e681-4754-af4b-5737c2b05405</uuid>
<forward mode='bridge'/>
<bridge name='ovirtmgmt'/>
</network>
Best Regards,
Strahil Nikolov