| 66 | |
| 67 | === Q. Can I check the status for the OpenGENI rack components? === |
| 68 | Yes, the GRAM software that runs on the control node includes a ''healthcheck.py'' script which can be used to check the status for all aggregate component. Following is an example: |
| 69 | {{{ |
| 70 | # source /etc/novarc ; export PYTHONPATH=$PYTHONPATH:/home/gram/gram/src |
| 71 | # python healthcheck.py |
| 72 | Starting healthcheck |
| 73 | Checking GRAM services... |
| 74 | gram-am - running |
| 75 | gram-ctrl - running |
| 76 | gram-vmoc - running |
| 77 | gram-mon - running |
| 78 | gram-ch - running |
| 79 | checking OpenStack services... |
| 80 | nova-api - running |
| 81 | nova-cert - running |
| 82 | nova-conductor - running |
| 83 | nova-consoleauth - running |
| 84 | nova-novncproxy - running |
| 85 | nova-scheduler - running |
| 86 | quantum-dhcp-agent - running |
| 87 | quantum-metadata-agent - running |
| 88 | quantum-server - running |
| 89 | quantum-l3-agent - running |
| 90 | quantum-plugin-openvswitch-agent - running |
| 91 | glance-registry - running |
| 92 | glance-api - running |
| 93 | keystone - running |
| 94 | Found management namespace and it matches config |
| 95 | Checking the status of the compute hosts: |
| 96 | |
| 97 | Binary Host Zone Status State Updated_At |
| 98 | nova-compute clemson-clemson-compute-1 nova enabled :-) 2014-05-28 18:42:41 |
| 99 | nova-compute clemson-clemson-compute-2 nova enabled :-) 2014-05-28 18:42:41 |
| 100 | |
| 101 | Checking status of Openstack networking software modules: |
| 102 | |
| 103 | +--------------------------------------+--------------------+---------------------------------------+-------+----------------+ |
| 104 | | id | agent_type | host | alive | admin_state_up | |
| 105 | +--------------------------------------+--------------------+---------------------------------------+-------+----------------+ |
| 106 | | 43cc0cee-fdc5-4f98-8c94-719eee033a66 | L3 agent | clemson-clemson-control-1.clemson.edu | :-) | True | |
| 107 | | b074b103-4734-4fbb-9ac7-66f59a43dba7 | Open vSwitch agent | clemson-clemson-compute-2.clemson.edu | xxx | True | |
| 108 | | f372a9b7-3673-4538-a10d-7638646608b6 | Open vSwitch agent | clemson-clemson-compute-1.clemson.edu | :-) | True | |
| 109 | +--------------------------------------+--------------------+---------------------------------------+-------+----------------+ |
| 110 | Keystone - pass |
| 111 | Nova - pass |
| 112 | Glance - pass |
| 113 | Quantum - pass |
| 114 | AM is up : Get-Version succeeded at AM |
| 115 | Allocate - success |
| 116 | Provision - success |
| 117 | Delete - success |
| 118 | AM is functioning |
| 119 | }}} |