Changes between Version 12 and Version 13 of Internal/Infrastructure/OMF/GridServicesApi


Ignore:
Timestamp:
Mar 24, 2006, 4:51:51 PM (19 years ago)
Author:
sswami
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/Infrastructure/OMF/GridServicesApi

    v12 v13  
    55http://<serviceGroup name>:5012/<serviceGroup name>/<service name>?<1st arg>=<arg_1_value>&<2nd_arg>=<arg_2_value>
    66
    7 
    8 For instance, to turn on node1-1 using the CMC (from the console of one of the sandboxes or the grid), you would issue the following:
     7For instance, to turn on node1-1 using the CMC (from the console of one of the sandboxes
     8or the grid), you would issue the following:
    99
    1010wget -O - "http://cmc:5012/cmc/nodeSetOn?nodes=[1,1]"
    1111}}}
    12 
     12OR
     13{{{
     14http://<serviceGroup name>:5012/<serviceGroup name>/<service name>?<domain>=<domain name>&<1st_arg>=<arg_1_value>&<2nd_arg>=<arg_2_value>
     15
     16For instance, to turn on node1-1 using the CMC (from the console of one of the sandboxes
     17or the grid), you would issue the following:
     18
     19wget -O - "http://cmc:5012/cmc/nodeSetOn?domain=sb8.orbit-lab.org&nodes=[1,1..5]
     20}}}
    1321The services are location aware and will manipulate the resources for that specific location.  For instance, querying the CMC to turn on node1-1 from the console on sb1 will turn on node1-1 on sb1 and not any other resource.  Also, it is impossible for users in one location to issue commands for another.  For example, it is impossible to turn on nodes on the grid from the console of sb1.  One of the obvious advantages of this is experiment scripts/applications need only mention the service name to be portable.
    1422