Checking OpenStack Services - Mindmajix
OpenStack provides tools to check on its services. In this section, we’ll show you how to check the operational status of these services. We will also use common system commands to check whether our environment is running as expected or not.
How it works…
We have used some basic commands that communicate with OpenStack services to show that they’re running. This elementary level of checking helps with troubleshooting our OpenStack environment better.
How to achieve it…
To check that OpenStack Compute is running the required services, we invoke the nova-manage tool and ask it various questions about the environment, as follows:
Checking OpenStack Compute Services
sudo nova-manage service list
You will see an output similar to the following. The indicates that everything is fine.
nova-manage service list
Binary: This is the name of the service that we’re checking the status of.
Host: This is the name of the server or host where this service is running. With the appropriate permissions, you can select which host instances are launched on and which roles can boot instances on this hos
Zone: This refers to the OpenStack Zone that is running that service. A zone can run different services. The default zone is called a nova.
Status: This states whether or not an administrator has enabled or disabled that service.
State: This refers to whether that’s running service is working or not.
Updated_At: This indicates when that service was last checked.
Click Here: https://mindmajix.com/openstack/checking-openstack-services
How it works…
We have used some basic commands that communicate with OpenStack services to show that they’re running. This elementary level of checking helps with troubleshooting our OpenStack environment better.
How to achieve it…
To check that OpenStack Compute is running the required services, we invoke the nova-manage tool and ask it various questions about the environment, as follows:
Checking OpenStack Compute Services
sudo nova-manage service list
You will see an output similar to the following. The indicates that everything is fine.
nova-manage service list
Binary: This is the name of the service that we’re checking the status of.
Host: This is the name of the server or host where this service is running. With the appropriate permissions, you can select which host instances are launched on and which roles can boot instances on this hos
Zone: This refers to the OpenStack Zone that is running that service. A zone can run different services. The default zone is called a nova.
Status: This states whether or not an administrator has enabled or disabled that service.
State: This refers to whether that’s running service is working or not.
Updated_At: This indicates when that service was last checked.
Click Here: https://mindmajix.com/openstack/checking-openstack-services
Comments
Post a Comment