Difference between revisions of "Gyrex/Administrator Guide/Software Installation"
(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...)
Revision as of 04:03, 7 February 2013
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.
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>