XenServer下虚拟机遇到死机或其它意外情况时通过XenCenter操作重启或关机时会遇到虚拟机挂起的状况,表现为XenCenter中虚拟机名字显示黄色状态,右键菜单只有属性可选,VM不能再进行其它操作,为此总结了一些解决方法。
首先尽量避免此类情况的发生,当虚拟机处于死机状态时尽量使用硬关机、硬重启:
1
|
xe vm-reboot force= true name-label=Centos5.7 |
当进行正常关机、重启时挂起可取消之前的任务操作,再进行硬操作:
1
2
3
4
|
xe task-list #查看当前任务列表和uuid xe task-cancel uuid=<uuid> #取消当前任务 |
如果以上不能解决可尝试以下:
销毁VM对应的domain id,VM会重启。
1
2
3
4
5
6
7
8
|
xe vm-list params=uuid name-label=<vm-name> #或 xe vm-list name-label=<vm-name> --minimal #获取指定VM的uuid list_domains | grep <vm-uuid> #获取VM对应的domain id /opt/xensource/debug/destroy_domain -domid <domain- id > #销毁VM对应的domain id |
使VM崩溃:
1
2
3
4
5
6
7
8
|
xe vm-list params=actions-after-crash name-label=<vm-name> #查看VM崩溃后的操作,默认为重启 xe vm-list params=uuid name-label=<vm-name> #获取指定VM的uuid list_domains | grep <vm-uuid> #获取VM对应的domain id /usr/lib/xen/bin/crash_guest <domain- id > #触发VM崩溃 |
如果VM处于脱机状态,而VM在数据库中被标记为运行,可重置VM电源状态为关机:
1
|
xe vm-reset-powerstate force= true vm=<vm name> |
其它可尝试重启xe工具,不要遇到xapi不能启动就好。。。
1
|
xe-toolstack-restart |
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(15)
I adore your way of writing. Thanks for sharing your interesting and insightful ideas.
I’m grateful for the pragmatic advice you’ve shared based on your personal experiences.
383 The same diuretic regimen maintained after the peripheral edema has cleared, however, or given to nonedematous patients, reduces plasma volume by as much as 24 and raises the risks of hyponatremia, alkalosis, and azotemia where can i buy priligy in usa com 20 E2 AD 90 20Welcher 20Arzt 20Darf 20Viagra 20Verschreiben 20 20Shilajit 20Gold 20Vs 20Viagra shilajit gold vs viagra Until then, Bautista said, it was practical and pragmatic to allow a U
Here to dive into discussions, share thoughts, and gain fresh perspectives along the way.
I like hearing diverse viewpoints and sharing my input when it’s helpful. Always open to fresh thoughts and connecting with others.
That’s my website-https://automisto24.com.ua/
Here to join conversations, share thoughts, and gain fresh perspectives as I go.
I enjoy understanding different opinions and adding to the conversation when possible. Always open to fresh thoughts and meeting like-minded people.
Here is my site:https://automisto24.com.ua/
What’sTaking place i’m new to this, I stumbnled upon this I’ve discovered It positively helpful and it has aided me out loads.
I hope to contribute & hellp other users like its helped me.
Good job. http://boyarka-inform.com/
Just here to join conversations, share thoughts, and pick up new insights as I go.
I enjoy understanding different opinions and contributing whenever I can. Happy to hear new ideas and building connections.
Here’s my web-site:https://automisto24.com.ua/
Happy to dive into discussions, share experiences, and learn something new as I go.
I’m interested in understanding different opinions and sharing my input when it’s helpful. Happy to hear fresh thoughts and connecting with others.
Here’s my website-https://automisto24.com.ua/
Защищая личное пространство, вы обеспечиваете необходимые условия для полноценного
раскрытия своего потенциала, достижения материального и духовного благополучия, сохраняя при этом неприкосновенность человеческого достоинства.
Защити свою психику и побереги нервы. Видео.
Парадоксально, но именно четкие личные границы позволяют испытывать настоящую любовь без страха
утраты себя, быть искренне щедрым без чувства эксплуатации и проявлять
глубокое сострадание без эмоционального выгорания.
Видео. Личные границы. Забота о себе.
Psychologue. Онлайн психолог. Онлайн поддержка.
Задайте интересующие вас вопросы или запишитесь на сеанс к психологу.
Записаться на консультацию.
Психолог владеет множеством приемов и техник, которые помогут разобраться в себе.
Master Slot Behavior
Take time to learn how paylines, volatility, and
bonus features work. Slots with high variance may not reward frequently, but when they
do, it’s big. Loww volatility slots give modest payouts more frequently.
Knowing this helps you decide on a machine thqt suits your style,
annd you can find any of these onn Thepokies106. https://at.Trustpilot.com/review/0religion1.com
Онлайн общение с психологом. Онлайн психологи. Сайт психологов.
Психолог, Сайт психологов.
Частые разногласия с самыми близкими.
Психологическое консультирование.
Совет психолога онлайн. Как выйти из депрессии видео. Telegram-чат с психологом.
Раздражительность на членов своей семьи.
Получить поддержку по широкому кругу вопросов.
Записаться на консультацию.
Психолог онлайн. Онлайн психологи. Анонимный чат с психологом телеграм.
Консультация в кризисных состояниях.
Индивидуальное консультирование.
Психологическое консультирование заключается в том, чтобы помочь клиенту разобраться в своих проблемах и вместе с ним найти пути выхода из сложной ситуации.