Deploying middleware packages

Deploy a middleware package

Middleware packages are copied to the repository server (either to the host on which the rs service is running, or to the shared file system if a shared location was configured using egoconfig mghost). Middleware packages are then downloaded to hosts and uncompressed.

  1. From the command line, run rsdeploy add package_name -p package_file [-o os_type] [-n] [-f] [-u user_name] [-x password] to add the package to the repository server.

    For example: rsdeploy add egopackage -p com.platform.ego.updatesite.nt-x86.zip

    The package gets copied to the repository server host.

    Note:

    Package types can be one of the following: tar.Z, tar.gz, gz, tgz, taz, tar, jar, tar.zip, or zip.

  2. Run rsdeploy install package_name [-c consumer -r resource_group] [-r resource_group] [-t host_name] [-f] [-u user_name] [-x password]

    For example: rsdeploy install egopackage -c /ClusterServices/EGOClusterServices -r ComputeHosts

    The repository service copies the package from the repository server to the specified compute hosts, and then uncompresses it.

The general installation flow is as follows:

Remove a middleware package

For removal, middleware packages can either be uninstalled from the hosts to which they were deployed, or completely removed from the repository server once they are no longer needed.

  1. From the command line, run rsdeploy uninstall package_name [-c consumer_name -r resource_group] [-r resource_group] [-t host_name] [-u user_name] [-x password]

    For example: rsdeploy uninstall egopackage -c /ClusterServices/EGOClusterServices -r ComputeHosts

    The package is uninstalled from hosts in the ComputeHosts resource group.

  2. Run rsdeploy remove package_name [-o os_type] to remove the package to the repository server.

    For example: rsdeploy remove egopackage

    The package is removed from the specified repository server. Once the package is removed from the repository server, you can no longer run rsdeploy uninstall to remove the package from a host.