Deploy a file package from the repository server

Deploy a file package from the repository server to hosts in the cluster.

  1. Use the rsdeploy install command to install a file package to multiple hosts in the cluster.

    rsdeploy install package_name [‑c consumer_name ‑r resource_group | ‑r resource_group] [‑t host_name] [‑u user_name] [‑x password]

    For example, to install the file package with the default settings:

    rsdeploy install mypkg.v1

    The repository server attempts to install mypkg.v1 (using the install script included with the file package) on all hosts in the cluster using the default consumer /ClusterServices/EGOClusterServices and the resource group InternalResourceGroup.

    The execution user for the installation is the user associated with the consumer, normally the installation user.

  2. To view the status of the install, use the rsdeploy status command.

    rsdeploy status package_name [‑s status_filter] [‑u user_name] [‑x password]

    where status_filter is the status of the file package that you want to view. Valid values are all, allocating, waiting, active, done, error, and cancelled. If ‑s is unspecified, this filter defaults to all.

    For example,

    • To view the status of the file package installation on all hosts:

      rsdeploy status mypkg.v1

    • To view the hosts with canceled file package installation:

      rsdeploy status mypkg.v1 ‑s cancelled

If some hosts were unavailable during the installation, run rsdeploy install again when the hosts become available. The repository server only attempts to install the file packages on hosts that do not have the package installed.

Note:

The repository server does not automatically install the file package to unavailable hosts when they become available. You need to manually run rsdeploy install when the hosts become available.