Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Gyrex/Administrator Guide/Software Installation
< Gyrex | Administrator Guide
Revision as of 04:03, 7 February 2013 by Unnamed Poltroon (Talk) (New page: == Software Installation == Gyrex supports installation of software into a running cluster. The implementation is based in p2 - the standard for software installation of OSG...)
Software Installation
Gyrex supports installation of software into a running cluster. The implementation is based in p2 - the standard for software installation of OSGi bundles at Eclipse. Please make yourself familiar with p2 concepts.
Repositories
In order to install software, you need to produce a p2 repository containing the artifacts to install. Repositories are the source of installation. In Gyrex, everything is installed from a repository. However, Gyrex does not know about any repositories by default. Therefore you need to configure the list of available repositories.
Configure Repositories using the Console
In the OSGi console a sw
command is available which allows to perform a basic administration and handling of software installations.
osgi> help [...] ---Software Commands--- sw <cmd> [args] addIU2Pkg <packageId> <installableUnitId> [<installUnitVersion>] - adds an installable unit to a package addPkg <id> - adds a package addRepo <id> <uri> - adds a repository ls repos|packages [filterString] - list repos or packages revoke <packageId> - revokes a package rmPkg <id> - removes a package rmRepo <id> - removes a repository rollout <packageId> - rolls out a package update - updated the local node [...] osgi>