wiki:Old/NodeHandler/GridService

Version 1 (modified by sswami, 18 years ago) ( diff )

Backward compatibility between the new CMC and the nodeHandler. ============================================================== The handler directory has a new cmc.rb file. Checkout the latest handler/cmc.rb

Changes =======

1) In nodeHandler.rb,

def run()

change CMC::nodeAllOff() to CMC::nodeAllOffSoft()

def shutdown()

change CMC::nodeAllOff() to CMC::nodeAllOffSoft()

2) In experiment.rb,

def Experiment.start()

make changes to send a single CMC call to the entire set instead of sending multiple CMC calls (once for each node). The existing code is in comments and the new code has been explicitly identified.

3) In node.rb,

def powerOn

comment out CMC::nodeOn(x, y)

end

def powerOff

change CMC::nodeOff to CMC::nodeOffSoft

end

4) In nodeHandler/src/etc/nodehandler/grid.cfg set

CMC_URL= "http://cmc:5012/cmc"

Backward compatibility between the new PXE and the nodeHandler. ===============================================================

a) In nodeSet.rb,

def pxeImage(image, imageName = nil)

change the string that is assigned to @pxePrefix The existing code has been commented out and also comments indicate the new code added.

end

b) A new function setPxeEnvMUlti is defined

vi ./repository/test/app/otr.rb otg.rb

the changelog files, version numbers

Note: See TracWiki for help on using the wiki.