DeployZipThroughService(GridConnection, String, String, String, String, Byte)
Deploys an Invocation Grid worker application that has been packaged as a zip file.
public static void DeployZipThroughService(GridConnection conn, string igName, string pathToZip, string executableName, string cmdLineParams, byte startupParam)
GridConnection to a ScaleOut store.
Name of the Invocation Grid.
Path to the zip file (on the local filesystem) that will be deployed to the ScaleOut hosts.
Name of the executable to run, relative to the working directory
Optional command line parameters to supply to the IG worker process at startup.
Optional, arbitrary payload that is made available to the Invocation Grid worker process when it starts up.
The contents of the supplied zip file will be copied to ScaleOut host systems and decompressed into folder under %ProgramData%\ScaleOut Software\IG. (On Linux, this will be /usr/share/ScaleOut Software/IG).
After the zip file has been deployed to this temporary directory, the
will be launched on every ScaleOut host--the supplied path should be relative to the decompressed folder. For
example, if your zip file contains an executable call MyWorker.exe in the top level of the
zip file, the
executableName should be "MyWorker.exe".