Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

1- log to mysql database ( as root, no password)

2- list the database

3- in nova database, list the nodes


root@vse2100-11:~# mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 184147
Server version: 5.5.37 MySQL Community Server (GPL), wsrep_25.10.r3990
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| cinder |
| glance |
| heat |
| keystone |
| mysql |
| neutron |
| nova |
| performance_schema |
| test |
+--------------------+
10 rows in set (0.01 sec)
mysql> use nova;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> SELECT id, created_at, updated_at, hypervisor_hostname FROM compute_nodes;
+----+---------------------+---------------------+-------------------------------+
| id | created_at | updated_at | hypervisor_hostname |
+----+---------------------+---------------------+-------------------------------+
| 1 | 2017-04-28 20:15:11 | 2017-05-15 15:18:07 | vse2100-14.englab.juniper.net |
| 2 | 2017-04-28 20:15:34 | 2017-04-28 20:16:26 | vse2100-15.englab.juniper.net |
+----+---------------------+---------------------+-------------------------------+
2 rows in set (0.00 sec)







  • No labels