Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the method of openstack soft and hard restart, pause and suspension

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the knowledge of "what is the method of openstack soft and hard restart, pause and suspension". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Restart the instance

There are two kinds of restart instances, which are called "soft restart" and "hard restart" respectively. Soft restart will try to shut down and restart the instance normally, while hard restart will directly "power off" and restart the instance.

By default, if you restart via nova, you perform a soft restart.

$nova reboot SERVER

If you need to perform a hard restart, add the-- hard parameter:

$nova reboot-- hard SERVER closes and enables instances

You can use the following ways to close and open an instance.

Pause and resume instances

If you want to pause the instance, use the following command:

$nova pause INSTANCE_NAME

This command stores the state of the server instance in memory, and the paused power will still run, just as if it were frozen, without any action. To restore the instance, use the following command:

$nova unpause INSTANCE_NAME deactivate and restore instances

If you want to deactivate an instance at the virtualization software level, use the following command:

$nova suspend INSTANCE_NAME

If you want to restore a deactivated instance, use the following command:

This is the end of the content of $nova resume INSTANCE_NAME "what is the method of openstack soft and hard restart, pause and suspension". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report