Uploading a file package to the repository server
Upload a file package to the repository server for installation to hosts in the cluster.
About this task
Upload a file package by sending an add request to the repository server. Once the package is uploaded, the rsdeploy agent, on each target host, downloads the package from the repository server for installation.
Procedure
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 must include either 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, use: rsdeploy add myapp.v1 —p myfile_package.zip
- To deploy a file package intended for all LINUX86 hosts in the cluster, use: rsdeploy add myapp.v1 —p myfile_package.tar.gz -o LINUX86