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

How to operate Start Instance

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to operate Start Instance. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Analyze the instance start operation in detail through the log file.

Here is the flow chart of start instance

Send a request to nova-api

Nova-api sends messages

Nova-compute executes the operation

Let's discuss each step in detail.

Send a request to nova-api

The customer (either an OpenStack end user or another program) sends a request to API (nova-api): "help me start this Instance"

View log / opt/stack/logs/n-api.log

Nova-api sends messages

Nova-api sends a message to Messaging (RabbitMQ): "start this Instance" to see line 2002 of the source code / opt/stack/nova/nova/compute/api.py, using start.

The purpose of self.compute_rpcapi.start_instance () is to send a start instance message to the message queue of nova-compute on RabbitMQ.

Nova-compute executes the operation

View log / opt/stack/logs/n-cpu.log

Start to start

Prepare the virtual network card

Prepare the XML file for instance

Prepare the instance image file

Successfully started

The above is the editor for you to share how to operate Start Instance, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

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