13 | | OR |
14 | | |
15 | | {{{ |
16 | | http://<serviceGroup name>:5012/<serviceGroup name>/<service name>?<domain>=<domain name>&<1st_arg>=<arg_1_value>&<2nd_arg>=<arg_2_value> |
17 | | |
18 | | Currently the valid domain name scheme is <subdomain-name>.orbit-lab.org, where |
19 | | subdomain-name = {grid,sb1,sb2,sb3,sb4,sb5,sb6,sb7,sb8,sb9}. For instance, to turn on node1-1 |
20 | | using the CMC (from the console of one of the sandboxes or the grid), you would issue the following: |
21 | | |
22 | | wget -O - "http://cmc:5012/cmc/nodeSetOn?domain=sb8.orbit-lab.org&nodes=[1,1..5]" |
23 | | |
24 | | For instance, to turn on node1-1 on a sandbox using the CMC (from any of the internal machines), |
25 | | you would issue the following: |
26 | | |
27 | | wget -O - "http://sb8.orbit-lab.org:5012/cmc/nodeSetOn?domain=sb8.orbit-lab.org&nodes=[1,1..5]" |
28 | | |
29 | | }}} |
35 | | == CMC Access Control Policy == |
36 | | {{{ |
37 | | 1.) Access is granted to ON (on, allOn, nodeSetOn), OFF (off, offHard, allOffHard, |
38 | | nodeSetOffHard, offSoft, nodeSetOffSoft, allOffSoft) and RESET (reset, nodeSetReset, |
39 | | allReset) services if you are in the same subdomain as the resource you are trying to |
40 | | control. For this case, the domain name need not be specified. |
41 | | |
42 | | 2.) Access is granted to all services if you are on the same subnet as the primary CMC |
43 | | interface. The domain name needs to be specified in this case |
44 | | |
45 | | 3.) Access is granted to STATUS (nodeStatus, allStatus) services from everywhere. The |
46 | | domain name needs to be specified in this case. |
47 | | }}} |
48 | | |
| 18 | == Chassis Manager Controller (CMC) == |
| 19 | |
| 20 | Services and arguments |
| 158 | |
| 159 | Command redirection to other resources. |
| 160 | {{{ |
| 161 | http://<serviceGroup name>:5012/<serviceGroup name>/<service name>?<domain>=<domain name>&<1st_arg>=<arg_1_value>&<2nd_arg>=<arg_2_value> |
| 162 | |
| 163 | Currently the valid domain name scheme is <subdomain-name>.orbit-lab.org, where |
| 164 | subdomain-name = {grid,sb1,sb2,sb3,sb4,sb5,sb6,sb7,sb8,sb9}. For instance, to turn on node1-1.sb9.orbit-lab.org through node1-5.sb9.orbit-lab.org |
| 165 | from an internal machine (i.e. internal1, internal2, internal3, internal4), you would issue the following: |
| 166 | |
| 167 | wget -O - "http://cmc:5012/cmc/nodeSetOn?domain=sb8.orbit-lab.org&nodes=[1,1..5]" |
| 168 | |
| 169 | It should be noted that most users will not need to specify the domain. This is only for internal development use and will not work from any of the consoles. |
| 170 | }}} |
| 171 | |
| 172 | Access Control Policy. |
| 173 | {{{ |
| 174 | 1.) Access is granted to ON (on, allOn, nodeSetOn), OFF (off, offHard, allOffHard, |
| 175 | nodeSetOffHard, offSoft, nodeSetOffSoft, allOffSoft) and RESET (reset, nodeSetReset, |
| 176 | allReset) services if you are in the same subdomain as the resource you are trying to |
| 177 | control. |
| 178 | |
| 179 | 2.) Access is granted to all services if you are on the internal subnet (10.0.0.0). The domain name needs to be specified in this case |
| 180 | |
| 181 | 3.) Access is granted to STATUS (nodeStatus, allStatus) services from everywhere. The |
| 182 | domain name needs to be specified in this case. |
| 183 | }}} |
| 184 | |