Changes between Initial Version and Version 1 of GENIRacksHome/OpenGENIRacks/AdministrationTools


Ignore:
Timestamp:
05/23/14 11:36:06 (10 years ago)
Author:
Jeanne Ohren
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/OpenGENIRacks/AdministrationTools

    v1 v1  
     1== !HealthCheck ==
     2
     3The healthcheck.py script must be run in a '''root shell''' as it requires admin privileges for several operations.
     4To use this tool, run the following commands from the control node:
     5{{{
     6cd /home/gram/gram/src/gram/am/gram
     7sudo bash
     8source /etc/novarc
     9export PYTHONPATH=$PYTHONPATH:/home/gram/gram/src
     10python healthcheck.py
     11}}}
     12
     13Healthcheck performs various checks including:
     14 * Checking the state of the GRAM services
     15 * Checking the state of the !OpenStack services
     16 * Checking if the management namespace exists and is properly configured
     17 * Checking that the compute hosts are reachable
     18 * Checking that the AM in functioning by doing Allocate-Provision-Delete
     19
     20If it detects errors, it prints out warnings and attempts to fix them.
     21
     22Occasionally, after restart, there is an issue with !OpenStack where the management namespace is not instantiated. In this case, healthcheck will attempt to recover the namespace by restarting the Quantum-L3 agent up to 10 times. If this does not work, as a last resort, the admin can tear down the recreate the management and public networks. Healthcheck will prompt to recreate the network.
     23
     24  * Before recreating the networks, the old ones must be removed.
     25
     26The simplest method is to use the Horizon browser interface to delete the routers and networks.
     27Then use healthcheck to recreate these components. 
     28