Table of Contents

Method DeployZipThroughService

Namespace
Scaleout.Client.GridDeployment
Assembly
Scaleout.Client.dll

DeployZipThroughService(GridConnection, string, string, string, string, byte[], InvocationGridOptions)

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, InvocationGridOptions options)

Parameters

conn GridConnection

GridConnection to a ScaleOut store.

igName string

Name of the Invocation Grid.

pathToZip string

Path to the zip file (on the local filesystem) that will be deployed to the ScaleOut hosts.

executableName string

Name of the executable to run, relative to the working directory

cmdLineParams string

Optional command line parameters to supply to the IG worker process at startup.

startupParam byte[]

Optional, arbitrary payload that is made available to the Invocation Grid worker process when it starts up.

options InvocationGridOptions

An object that configures the behavior of this invocation grid.

Remarks

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 executableName 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".

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)

Parameters

conn GridConnection

GridConnection to a ScaleOut store.

igName string

Name of the Invocation Grid.

pathToZip string

Path to the zip file (on the local filesystem) that will be deployed to the ScaleOut hosts.

executableName string

Name of the executable to run, relative to the working directory

cmdLineParams string

Optional command line parameters to supply to the IG worker process at startup.

startupParam byte[]

Optional, arbitrary payload that is made available to the Invocation Grid worker process when it starts up.

Remarks

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 executableName 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".