Home | Trees | Indices | Help |
|
---|
|
ClusterShell pdsh-based worker Class.
Remote Shell (pdsh) usage example:
>>> worker = WorkerPdsh(nodeset, handler=MyEventHandler(), ... timeout=30, command="/bin/hostname") >>> task.schedule(worker) # schedule worker for execution >>> task.resume() # run
Remote Copy (pdcp) usage example:
>>> worker = WorkerPdsh(nodeset, handler=MyEventHandler(), ... timeout=30, source="/etc/my.conf", ... dest="/etc/my.conf") >>> task.schedule(worker) # schedule worker for execution >>> task.resume() # run
Known limitations:
|
|||
SHELL_CLASS EngineClient which run 'pdsh' |
|||
COPY_CLASS EngineClient when pdsh is run to copy file, using pdcp. |
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Create several shell and copy engine client instances based on worker properties. Additional arguments in `kwargs' will be used for client creation. There will be one client per node in self.nodes
|
Write data to process. Not supported with Pdsh worker.
|
Tell worker to close its writer file descriptor once flushed. Do not perform writes after this call. Not supported by PDSH Worker.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Dec 21 14:07:55 2016 | http://epydoc.sourceforge.net |