redeploy

This command redeploys a component onto a server.

Syntax

zosadmin redeploy      [--session=] file|dir

Arguments

file|dir

Specify the deployable file or a directory containing deployable files.

Options

-i=, --session=

Specifies the deployment session ID.

-v, --verbose

Turn on verbose output during this operation.

-V, --debug

Turn on debug output during this operation.

-h, --help

Display a help message for this operation.

Examples

Example 1

To redeploy the service file myservice.sar, use the following command:

zosadmin redeploy myservice.sar

Example 2

To redeploy the job file quickie.job, use the following command:

zosadmin redeploy quickie.job

Example 3

To redeploy the job files in directory /test/myjob.job, use the following command:

zosadmin redeploy /test/myjob.job