1

After failed OVF import, I have some VMs which are appearing in XenCenter only if I enable Hidden Objects option in View menu. How can I unhide a hidden Virtual Machine in Xen Server?

2 Answers 2

3

Current accepted answer is not safe to execute, as commented by @user160198, it will clear all params. This should have been an answer instead of comment.

xe vm-param-remove uuid=<vm-uuid> param-name=other-config param-key=HideFromXenCenter

0

Use the server console:

a. To find the UUID of the hidden VM, type the following xe command:

xe vm-list

Make note of the UUID of the hidden VM.

b. To unhide the VM, type the following xe command:

xe vm-param-remove uuid=<vm-uuid> param-name=other-config param-key=HideFromXenCenter

Enter the UUID of the hidden VM from step a.

reference:http://support.citrix.com/article/CTX125120

3
  • 5
    Is this not extremely dangerous? The above command clears the whole other-config parameter, which normally bears several other parameters as a map too. Why not just "unhide" the vm by issuing the following command: xe vm-param-remove uuid=your-uuid-here param-name=other-config param-key=HideFromXenCenter
    – user160198
    Feb 15, 2013 at 16:54
  • user160198 is correct, this should not be the accepted answer, as it deletes all other config parameters, not only the hidden key. Depending on your settings you could lose potential crucial keys.
    – Broco
    Mar 21, 2017 at 12:28
  • I've copied the answer from the official Xen support page linked in. At that time (in 2011) this was the correct official solution. The answer was changed since then in the referenced link, so I've updated it here now.
    – csadam
    Apr 7, 2017 at 9:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .