Changes between Version 2 and Version 3 of Software/eAM/aInventory/fScheduler


Ignore:
Timestamp:
Jun 24, 2013, 2:12:05 PM (11 years ago)
Author:
Olivera Tosic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/eAM/aInventory/fScheduler

    v2 v3  
    66ruby addVirtualDomais.rb listOfdomains.txt
    77}}}
    8 listOfDomains.txt is file wit following information
     8listOfDomains.txt is file with following information
     9
    910domainName; <listo of nodes that belong to new domain>; <domain description>
    1011
    1112Output file is machines.sql
    12 There is also file testbed_attributes.yaml to define necessary testbed informatin.
     13There is also file testbed_attributes.yaml to define necessary testbed information.
     14
     15=== Make testbed inactive ===
     16To remove testbed from scheduler page just mark it inactive into both databases.
     17
     18For scheduler databases run
     19
     20UPDATE resources set status = 'u' where name='<testbed_name>';
     21
     22For 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}}}
    1327
    1428
    15 === Updating testbed information
     29=== Updating testbed information ===
     30To 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{{{
     34Update newScheduler.resources set status='a' where name = '<old_testbed_name>';
     35}}}
     36* Change name and description:
     37
     38{{{
     39Update newScheduler.resources set name='<new_testbed_name>', notes='node3-3 i node4-10' where name = '<old_testbed_name>';
     40}}}
     41
     42or with one statement
     43{{{
     44Update 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