Monday, July 7, 2014

OpenStack : Nova : Services and Log files

To check the Nova services :

[openstack@novo ~(keystone_admin)]$ nova service-list
+------------------+------+----------+---------+-------+----------------------------+-----------------+
| Binary           | Host | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+------------------+------+----------+---------+-------+----------------------------+-----------------+
| nova-consoleauth | novo | internal | enabled | up    | 2014-07-08T00:35:30.000000 | -               |
| nova-conductor   | novo | internal | enabled | up    | 2014-07-08T00:35:30.000000 | -               |
| nova-scheduler   | novo | internal | enabled | up    | 2014-07-08T00:35:31.000000 | -               |
| nova-compute     | novo | nova     | enabled | up    | 2014-07-08T00:35:33.000000 | -               |
| nova-cert        | novo | internal | enabled | up    | 2014-07-08T00:35:30.000000 | -               |
+------------------+------+----------+---------+-------+----------------------------+-----------------+

The location of the log files can be found under /var/log/nova

[openstack@novo ~(keystone_admin)]$ ps -ef | grep nova-cert
nova      4764     1  0 18:23 ?        00:00:03 /usr/bin/python /usr/bin/nova-cert --logfile /var/log/nova/cert.log
501      30186  7857  0 20:36 pts/0    00:00:00 grep nova-cert

[openstack@novo ~(keystone_admin)]$ ps -ef | grep nova-compute
nova      4772     1  0 18:23 ?        00:00:22 /usr/bin/python /usr/bin/nova-compute --logfile /var/log/nova/compute.log
501      30209  7857  0 20:36 pts/0    00:00:00 grep nova-compute

[openstack@novo ~(keystone_admin)]$ ps -ef | grep nova-scheduler
nova      4804     1  0 18:23 ?        00:00:03 /usr/bin/python /usr/bin/nova-scheduler --logfile /var/log/nova/scheduler.log
501      30344  7857  0 20:37 pts/0    00:00:00 grep nova-scheduler

There are 9 nova-conductor services up and running.

[openstack@novo ~(keystone_admin)]$ ps -ef | grep nova-conductor
nova      4780     1  1 18:23 ?        00:01:22 /usr/bin/python /usr/bin/nova-conductor --logfile /var/log/nova/conductor.log
nova      5039  4780  0 18:23 ?        00:00:05 /usr/bin/python /usr/bin/nova-conductor --logfile /var/log/nova/conductor.log
nova      5040  4780  0 18:23 ?        00:00:04 /usr/bin/python /usr/bin/nova-conductor --logfile /var/log/nova/conductor.log
nova      5041  4780  0 18:23 ?        00:00:05 /usr/bin/python /usr/bin/nova-conductor --logfile /var/log/nova/conductor.log
nova      5042  4780  0 18:23 ?        00:00:04 /usr/bin/python /usr/bin/nova-conductor --logfile /var/log/nova/conductor.log
nova      5043  4780  0 18:23 ?        00:00:05 /usr/bin/python /usr/bin/nova-conductor --logfile /var/log/nova/conductor.log
nova      5044  4780  0 18:23 ?        00:00:05 /usr/bin/python /usr/bin/nova-conductor --logfile /var/log/nova/conductor.log
nova      5045  4780  0 18:23 ?        00:00:05 /usr/bin/python /usr/bin/nova-conductor --logfile /var/log/nova/conductor.log
nova      5046  4780  0 18:23 ?        00:00:04 /usr/bin/python /usr/bin/nova-conductor --logfile /var/log/nova/conductor.log
501      30369  7857  0 20:37 pts/0    00:00:00 grep nova-conductor

[openstack@novo ~(keystone_admin)]$ ps -ef | grep nova-consoleauth
nova      4788     1  0 18:23 ?        00:00:03 /usr/bin/python /usr/bin/nova-consoleauth --logfile /var/log/nova/consoleauth.log
501      30407  7857  0 20:37 pts/0    00:00:00 grep nova-consoleauth



No comments:

Post a Comment