Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Gyrex/Administrator Guide/Software Installation

< Gyrex‎ | Administrator Guide
Revision as of 04:03, 7 February 2013 by Gunnar.wagenknecht.org (Talk | contribs) (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...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>

Copyright © Eclipse Foundation, Inc. All Rights Reserved.