12 | | There is also file testbed_attributes.yaml to define necessary testbed informatin. |
| 13 | There is also file testbed_attributes.yaml to define necessary testbed information. |
| 14 | |
| 15 | === Make testbed inactive === |
| 16 | To remove testbed from scheduler page just mark it inactive into both databases. |
| 17 | |
| 18 | For scheduler databases run |
| 19 | |
| 20 | UPDATE resources set status = 'u' where name='<testbed_name>'; |
| 21 | |
| 22 | For inventory, change INF_status attribute to 0: |
| 23 | |
| 24 | {{{ |
| 25 | wget -qO- 'http://new.orbit-lab.org:5054/inventory/attribute_modify?name=<testbed_name>&attribute=INF_status&value=0 |
| 26 | }}} |
15 | | === Updating testbed information |
| 29 | === Updating testbed information === |
| 30 | To change testbed name, make it active and change list of nodes do the following: |
| 31 | ==== Scheduler database ==== |
| 32 | * Make domain active in scheduler database i.e set status to 'a': |
| 33 | {{{ |
| 34 | Update newScheduler.resources set status='a' where name = '<old_testbed_name>'; |
| 35 | }}} |
| 36 | * Change name and description: |
| 37 | |
| 38 | {{{ |
| 39 | Update newScheduler.resources set name='<new_testbed_name>', notes='node3-3 i node4-10' where name = '<old_testbed_name>'; |
| 40 | }}} |
| 41 | |
| 42 | or with one statement |
| 43 | {{{ |
| 44 | Update newScheduler.resources set status='a', name='<new_testbed_name>', notes='node3-3 i node4-10' where name ='<old_testbed_name>'; |
| 45 | }}} |
| 46 | |
| 47 | ==== Inventory database ==== |
| 48 | |