# Virsh and xl

**URL:** <https://forums.suse.com/t/virsh-and-xl/35147>\
**Category:** SLES High Availability Extension\
**Created:** [July 15, 2020, 4:57pm UTC](https://forums.suse.com/t/virsh-and-xl/35147 "2020-07-15T16:57:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![warper2](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@warper2](https://forums.suse.com/u/warper2)\
**Post date:** [July 15, 2020, 4:57pm UTC](https://forums.suse.com/t/virsh-and-xl/35147/1 "2020-07-15T16:57:22Z")

</div>

I am migrating from Sles 11 xen xm to sles12 xen xl. Both use Sles HA. I have succeeded in converting all the files to the new format . The issue I am running into when I setup for starting the vm’s is that virsh and xl display different info. In other words if the machine is started by high availability which is using xl and using the old xm format basically, virsh does not show it as running. So when in the guy on the server using virtualize manager to be able to display the windows machine it shows as down. How can I get that info to display the same so I can see it with both? I have googled and read the docs so many times my eyes hurt.  
Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![strahil](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@strahil](https://forums.suse.com/u/strahil)\
**Post date:** [July 16, 2020, 5:22am UTC](https://forums.suse.com/t/virsh-and-xl/35147/2 "2020-07-16T05:22:56Z")

</div>

Sadly I can’t help , but if you have a test cluster, you can stop all resources and then manually start them using this [procedure](https://wiki.clusterlabs.org/wiki/Debugging_Resource_Failures%5Dhttps://wiki.clusterlabs.org/wiki/Debugging_Resource_Failures) .  
Use ‘bash -x’ to debug what the resource script is actually doing and then we can find out why the VM is not visible.  
Are you sure that you have correct ‘LIBVIRT\_DEFAULT\_URI’ ?

---

<div class="post-metadata">

**Author:** ![warper2](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@warper2](https://forums.suse.com/u/warper2)\
**Post date:** [July 16, 2020, 11:39am UTC](https://forums.suse.com/t/virsh-and-xl/35147/3 "2020-07-16T11:39:16Z")

</div>

I tried with grep to find a file that contains that string. Did not seem to be any file that contains it. So not sure where would set it.

---

<div class="post-metadata">

**Author:** ![warper2](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@warper2](https://forums.suse.com/u/warper2)\
**Post date:** [July 17, 2020, 12:06am UTC](https://forums.suse.com/t/virsh-and-xl/35147/4 "2020-07-17T00:06:24Z")

</div>

I figured out the solution.

---

<div class="post-metadata">

**Author:** ![strahil](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@strahil](https://forums.suse.com/u/strahil)\
**Post date:** [July 19, 2020, 5:47am UTC](https://forums.suse.com/t/virsh-and-xl/35147/5 "2020-07-19T05:47:57Z")

</div>

Can you share ?

---

<div class="post-metadata">

**Author:** ![warper2](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@warper2](https://forums.suse.com/u/warper2)\
**Post date:** [July 19, 2020, 2:04pm UTC](https://forums.suse.com/t/virsh-and-xl/35147/6 "2020-07-19T14:04:10Z")

</div>

Yes I had to create the primitive as VirtualDomain instead of Xen.
