Applications screen

About the application manager

The Application Manager supports default and add-on network services, and enables installing, upgrading, enabling (starting), disabling (stopping), and uninstalling SDN applications.

Application manager and controller teams

When controllers are operating in a team, actions performed on one controller are propagated to the other controllers in the team. Actions you select in the Applications window for one controller, such as Install, Enable, and Disable, are propagated to the other controllers.

Embedded applications

For information about the embedded applications, see Understanding the controller embedded applications.

Prerequisites for installing an application

Any application to be installed on the controller must meet the following requirements:

  • It must be in a zip format.

  • The zip file must be on the same system as the controller.

  • It must contain an application descriptor file containing key value pairs of the attributes associated with the application, including all mandatory attributes.

Applications you purchase from HP or the HP SDN App Store meet these requirements.

For information about developing applications that meet these requirements, see the HP VAN SDN Controller Programming Guide.

Applications screen details

Screen componentDescription
RefreshReloads the view.
New

Installs an application on the controller.

Upgrade

Installs an upgrade to an application that has already been installed on the controller.

Uninstall

Removes an application from the controller.

Enable

Starts or allows an application to continue operations on the controller.

Disable

Stops or prevents an application from operating on the controller.

Name

The name of the application

Version

The version number of the application

State

The most common states are Active, Staged and Disabled.

Obtaining applications from the HP SDN AppStore

When the AppStore becomes available you will be able to purchase and download applications for your controller. Until the AppStore becomes available, the following buttons do not access AppStore features:

  • Log in to view applications…

  • Launch AppStore

Adding or upgrading an application

Any application in the proper format can be added to the controller (see “About the application manager”).

After you complete this procedure:

  • The application is started and in an ACTIVE state.

  • If the controller is in a controller team, the controller propagates the application to all the controllers in the team automatically.

Use this procedure to install either a new application or a new version of an existing application on the controller using the UI.

  1. Do one of the following:

    • To install a new application, click New.

    • To upgrade to a new version of an existing application, select the application from the Name list and click Upgrade.

  2. Click Browse to navigate to the location of the application zip file and select the file.

  3. Click Upload to upload the file.

    Wait for Completed to appear. For example:

  4. Click Deploy.

    The new application then appears by name on the Applications screen as ACTIVE.

Disabling (stopping) or enabling (starting) an application

This procedure temporarily stops an active application from servicing requests, but retains the application on the system. The application remains present on the system and can be restarted when needed. (The application does not automatically restart when the controller restarts.)

Disabling an application using the UI

  1. In the Applications screen, select the application you want to stop.

  2. Click Disable to display the Disable Application dialog box.

  3. In the Disable Application dialog box, click Disable.

    The Disable Application dialog box closes and the application state is changed to DISABLED.

Enabling an application using the UI

  1. In the Applications screen, select the application you want to enable.

  2. Click Enable to display the Enable Application dialog box.

  3. Click Enable button to activate the application. The application starts or resumes operation and the application state is changed to ACTIVE.

Uninstalling an application

This procedure completely removes an application from the controller. To later restore the removed application, see Adding or upgrading an application.

Use the following procedure to uninstall an application using the UI.

  1. In the Applications screen, select the application you want to uninstall.

  2. Click Uninstall.

  3. Click the Uninstall button to remove (delete) the application.

Application state and OSGi artifacts

In the default state, or when an application has been started, it is in the ACTIVE state and is servicing requests. Application states include the following:

Application States

StateDescription

ACTIVE

The application is running and servicing requests.

STAGED

A new application has been downloaded to the controller and is ready to be installed.

UPGRADE_STAGED

A new version of an existing running application has been downloaded to the controller and the new version is ready to be installed (upgrade/downgrade).

INSTALLING

A transitive state indicating a new application is in the process of being installed.

UPGRADING

A transitive state indicating the existing application is being stopped and a new version of the application is being installed.

CANCELING

A transitive state indicating a non-installed version of an application is being deleted from the controller.

DISABLING

A transitive state indicating the application is in the process of being disabled (stopping).

DISABLED

The application is disabled (stopped). A disabled application is not automatically started when the controller restarted.

ENABLING

A transitive state indicating the application is being started.

UNINSTALLING

A transitive state indication an application is being stopped and completely removed from the controller.

RESOLVED

The application is stopped and not servicing requests. An application can only be in this state when it is stopped externally to the SDN Controller (e.g. the virgo console).


Error condition management

StateDescription

NEW > STAGEDNEW > UPGRADE-STAGED

If an error condition occurs when “staging” the application, then it actually does not exist. (Error conditions in this stage clean up after themselves.)

STAGED > ACTIVE

If an OSGi deployment exception is encountered, the application is moved to DISABLED if it fails to deploy as it is. If a File I/O or URI exception is encountered, the application remains in the installing state.

UPGRADE-STAGED > ACTIVE

If an exception is encountered (OSGi deployment, File I/O, or URI), rollback attempt is made, as listed below. (Depending on the original exception, not all options may be possible).

  1. Calls AppStore.deleteStore on the upgraded version of the application.

  2. Attempts to redeploy the original version of the application.

ANY STATE – UNINSTALLED

If any exception is encountered, the application remains in UNINSTALLING state

ANY STATE – DISABLED

If an exception is encountered, remains in DISABLING state.

DISABLED > ENABLED

 If an OSGi deployment exception is encountered, the application is moved to the DISABLED state if it fails to deploy as it is. If any other exception is encountered (file I/O or URI), the application remains in the ENABLING state.


To access the link to the OSGi artifacts for an application, click on the bullet for the application in the web GUI. For example, clicking on the bullet for the “Path Diagnostics” application displays the link to identity of the associated OSGi artifacts:

Links to OSGi artifacts associated with individual applications

Links to OSGi artifacts associated with individual applications