Upload a file package to the repository server

Add a file package to the repository server for installation to hosts in the cluster.

On each target host, the rsdeploy agent downloads this file package from the repository server prior to installation.

Use the rsdeploy add command to add the package to the repository server.

rsdeploy add package_name ‑p package_file [‑o os_type] [‑n] [‑f] [‑u user_name] [‑x password]

Because rsdeploy does not directly support package versioning, append the package version to the package name. Later versions of the package should either include all of the files from the previous version, or include commands in the install script to check whether the required packages are installed (and fail the installation if they are not).

For example,

  • To deploy a file package intended for all hosts in the cluster:

    rsdeploy add myapp.v1 ‑p myfile_package.zip

  • To deploy a file package intended for all LINUX86 hosts in the cluster:

    rsdeploy add myapp.v1 ‑p myfile_package.tar.gz -o LINUX86