Changes between Version 3 and Version 4 of Old/NodeHandler/GridService


Ignore:
Timestamp:
Mar 16, 2006, 9:10:13 PM (18 years ago)
Author:
sswami
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/NodeHandler/GridService

    v3 v4  
    331) The handler directory has a new cmc.rb file. Checkout the latest handler/cmc.rb
    44
    5 2) In nodeHandler.rb,
    6     def run()
    7           change CMC::nodeAllOff() to CMC::nodeAllOffSoft()
     52) In '''''nodeHandler.rb''''',
     6    def run(): change CMC::nodeAllOff() to CMC::nodeAllOffSoft()
    87
    9     def shutdown()
    10           change CMC::nodeAllOff() to CMC::nodeAllOffSoft()
     8    def shutdown(): change CMC::nodeAllOff() to CMC::nodeAllOffSoft()
    119
    12 3) In experiment.rb,
    13     def Experiment.start()
    14           make changes to send a single CMC call to the entire set instead of sending
    15           multiple CMC calls (once for each node). The existing code is in comments
    16           and the new code has been explicitly identified.
     103) In '''''experiment.rb''''',
     11    def Experiment.start(): make changes to send a single CMC call to the entire set instead of sending
     12    multiple CMC calls (once for each node). The existing code is in comments and the new code has been
     13    explicitly identified.
    1714
    18 4) In node.rb,
    19     def powerOn
    20        comment out CMC::nodeOn(x, y)
    21     end
     154) In '''''node.rb''''',
     16    def powerOn : comment out CMC::nodeOn(x, y)
     17   
     18    def powerOff : change CMC::nodeOff to CMC::nodeOffSoft
     19   
     205) In '''''nodeHandler/src/etc/nodehandler/grid.cfg''''',
     21     set CMC_URL= "http://cmc:5012/cmc"
    2222
    23     def powerOff
    24        change CMC::nodeOff to CMC::nodeOffSoft
    25     end
    26 
    27 5) In nodeHandler/src/etc/nodehandler/grid.cfg set
    28      CMC_URL= "http://cmc:5012/cmc"
    29 
    30 6) In nodeSet.rb,
    31      def pxeImage(image, imageName = nil)
    32          change the string that is assigned to @pxePrefix.The existing code has been commented out and
    33          also comments indicate the new code added.
    34      end
    35 
    36 7) In nodeSet.rb,
    37          the calls to the function setPxeEnv has been commented and an new function setPxeEnvMulti has 
    38          been implemented.       
     236) In '''''nodeSet.rb''''',
     24     def pxeImage(image, imageName = nil) : change the string that is assigned to @pxePrefix.The existing code
     25      has been commented out and also comments indicate the new code added. The calls to the function setPxeEnv
     26      has been commented and an new function setPxeEnvMulti has been implemented.