1 | | Adding new resources |
| 1 | === Adding new testbed === |
| 2 | |
| 3 | Currently, information about resources i.e. testbeds are kept into 2 databases, scheduler database (newScheduler) and inventory database (inventory54). To add new virtual domain we need to update both databases. |
| 4 | There is a script addVirtualDomais.rb on internal2, /usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_loginCommon/w. Calling that script will add virtual domains into inventory database and prepare sql script to run from mysql to update scheduler database. |
| 5 | {{{ |
| 6 | ruby addVirtualDomais.rb listOfdomains.txt |
| 7 | }}} |
| 8 | listOfDomains.txt is file wit following information |
| 9 | domainName; <listo of nodes that belong to new domain>; <domain description> |
| 10 | |
| 11 | Output file is machines.sql |
| 12 | There is also file testbed_attributes.yaml to define necessary testbed informatin. |
| 13 | |
| 14 | |
| 15 | === Updating testbed information |