Created
February 6, 2017 10:26
-
-
Save FransUrbo/e11eb9d9311790c63729f16e108dbb1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bladeA01:~# openstack compute service list | egrep -v '^\+|ID ' | sort -k6 | grep bladeA09 | |
| 22 | nova-consoleauth | bladeA09 | internal | enabled | down | 2017-02-06T10:22:49.000000 | | |
| 23 | nova-conductor | bladeA09 | internal | enabled | down | 2017-02-06T10:22:52.000000 | | |
| 25 | nova-scheduler | bladeA09 | internal | enabled | down | 2017-02-06T10:22:56.000000 | | |
bladeA01:~# mysql --defaults-file=/etc/mysql/debian.cnf nova -e "select * from services where host like 'bladeA09%'" | |
+---------------------+---------------------+------------+----+----------+------------------+-------------+--------------+----------+---------+-----------------+---------------------+-------------+---------+ | |
| created_at | updated_at | deleted_at | id | host | binary | topic | report_count | disabled | deleted | disabled_reason | last_seen_up | forced_down | version | | |
+---------------------+---------------------+------------+----+----------+------------------+-------------+--------------+----------+---------+-----------------+---------------------+-------------+---------+ | |
| 2016-12-11 18:17:07 | 2017-02-06 10:23:12 | NULL | 23 | bladeA09 | nova-conductor | conductor | 382591 | 0 | 0 | NULL | 2017-02-06 10:23:12 | 0 | 15 | | |
| 2016-12-11 18:17:06 | 2017-02-06 10:23:09 | NULL | 22 | bladeA09 | nova-consoleauth | consoleauth | 343422 | 0 | 0 | NULL | 2017-02-06 10:23:09 | 0 | 15 | | |
| 2016-12-12 00:09:13 | 2017-02-06 10:23:06 | NULL | 25 | bladeA09 | nova-scheduler | scheduler | 380520 | 0 | 0 | NULL | 2017-02-06 10:23:06 | 0 | 15 | | |
+---------------------+---------------------+------------+----+----------+------------------+-------------+--------------+----------+---------+-----------------+---------------------+-------------+---------+ | |
bladeA01:~# date | |
Mon Feb 6 10:25:57 GMT 2017 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment