| 492 | |
| 493 | ====== Setting up Status Service ====== |
| 494 | |
| 495 | * From external1, get ogs_status from /usr/share/omf-aggmgr-5.4/omf-aggmgr and login.yaml from /etc/omf-aggmgr-5.4/enabled and save it to /usr/share/omf-aggmgr-5.4/omf-aggmgr and /etc/omf-aggmgr-5.4/available,respectively, on your console. The staus.yaml is shown below. |
| 496 | * From external1 get statusPage from /usr/share/omf-aggmgr-5.4/omf-aggmgr/public-html and save it to /usr/share/omf-aggmgr-5.4/omf-aggmgr/public-html on your console |
| 497 | {{{ |
| 498 | status: |
| 499 | inventory_url: 'http://localhost:5054/inventory' |
| 500 | cmc_url: 'http://localhost:5054/cmc' |
| 501 | }}} |
| 502 | |
| 503 | Configure apache web server for this service (in /etc/apache2/sites-available/default) |
| 504 | {{{ |
| 505 | ProxyPass /statusService/ "http://console.geni.net:5054/status/" |
| 506 | ProxyPass /status/orbit "http://console.geni.net:5054/status/statusPage |
| 507 | ProxyPass /status/resource "http://console.geni.net:5054/scheduler/resourceStatus" |
| 508 | }}} |
| 509 | |