# nova service-list
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-cert | controller | internal | enabled | up | 2015-10-07T07:54:05.000000 | - |
| 2 | nova-consoleauth | controller | internal | enabled | up | 2015-10-07T07:54:06.000000 | - |
| 3 | nova-scheduler | controller | internal | enabled | up | 2015-10-07T07:54:03.000000 | - |
| 4 | nova-conductor | controller | internal | enabled | up | 2015-10-07T07:54:02.000000 | - |
| 6 | nova-compute | compute1 | nova | enabled | down | 2015-09-24T05:24:45.000000 | - |
| 7 | nova-compute | compute2 | nova | enabled | up | 2015-10-07T07:54:02.000000 | - |
| 8 | nova-compute | compute3 | nova | enabled | up | 2015-10-07T07:54:04.000000 | - |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
:: »èÁ¦´ë»ó compute1
# nova service-disable compute1 nova-compute
+----------+--------------+----------+
| Host | Binary | Status |
+----------+--------------+----------+
| compute1 | nova-compute | disabled |
+----------+--------------+----------+
¡Ø usage: nova service-delete <id>
Delete the service.
Positional arguments:
<id> Id of service.
root@controller:~# nova service-delete 6
root@controller:~# nova service-list
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-cert | controller | internal | enabled | up | 2015-10-07T08:00:35.000000 | - |
| 2 | nova-consoleauth | controller | internal | enabled | up | 2015-10-07T08:00:36.000000 | - |
| 3 | nova-scheduler | controller | internal | enabled | up | 2015-10-07T08:00:33.000000 | - |
| 4 | nova-conductor | controller | internal | enabled | up | 2015-10-07T08:00:42.000000 | - |
| 7 | nova-compute | compute2 | nova | enabled | up | 2015-10-07T08:00:32.000000 | - |
| 8 | nova-compute | compute3 | nova | enabled | up | 2015-10-07T08:00:34.000000 | - |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+