Previous page

Next page

Locate page in Contents

Print this page

Configuring Application Instance

Application instances configuring is initiated in the following two cases:

  1. Automatically, when the application package global configuration is changed, the Controller must initiate reconfiguring all the instances created from this package according to the changes. For details on changing global settings which leads to the very reconfiguring of instances, refer to the section Configuring Application Global Settings.
  2. Manually, when a user wants to change particular service settings.

    In such case, the Controller provides UI for user to enter the values of the service settings (described in metadata with "//service/settings/setting" elements which lack installation-only="true" attribute), validates the entered values, ensures settings values uniqueness (if required), and initiates the reconfiguring. The Controller must store the new settings values entered by user in order to present them on demand (in most cases, during the following application reconfiguration).

In both cases, the Controller performs just the same actions: it applies new values of settings to an application instance (or several instances). The only differences are the actions leading to the reconfiguring and the type (global or service) of settings applied.

As soon as reconfiguring application instance is initiated and the Controller has new settings values, validated, it must prepare for each setting an environment variable SETTINGS_<id> where <id> replaces the value of the setting's id attribute ("//setting[@id]"). Then the Controller must run the service configuration script with the configure argument and pass to it all the required environment variables, as defined by the Specification in the 5.3.2. Configuration Script and 5.3.2.1.3 Changing Settings sections.

In This Section

Possible Scenario

See Also

Implementing Operations on Application Instances

Provisioning Application Instances

Removing Application Instances

Updating Application Instances

Enabling and Disabling Service

Application Data Retention

Getting Resources Usage Report

Please send us your feedback on this help page