Perform this task when you want to add a new service and session type to your
application. For example, you want to restrict the use of a new service only to clients that have
been notified about the new session type in your existing application. You want to add this new
service and session type to the application without affecting existing clients or workload. New
sessions that are created after this update can use the new service and session type.
Before you begin
A new service package must already be created.
Procedure
- Add a new service to the application:
- Select .
- Select the relevant consumer (not applicable to IBM® Spectrum Symphony Developer Edition).
- Click the application name.
The application profile displays.
- From the drop-down list, select Dynamic Configuration
Update.
- Select Add Service/Docker Container/Session
Type.
- In the Service Definition group, click Add.
- Enter the service name. Ensure that the service name does not include angle brackets (< >), single quotation marks ('), double
quotation marks ("), parentheses (( )), forward slashes (/), and backward slashes
(\).
- Click Add.
- Enter a description for the service.
- From the Service Package drop-down list, select the new service
package.
If the new service package is not in the list:
- Select Add Package to repository.
- Click Browse and navigate to the new service package.
- Select the package and click Open.
- Click Add.
- When an information dialog displays, click Close.
- Update the start command, for example:
${SOAM_DEPLOY_DIR}/SampleService.
- Add a new session type to the application:
- Select .
- Select the relevant consumer (not applicable to IBM Spectrum Symphony Developer Edition).
- Click the application name.
The application profile displays.
- From the drop-down list, select Dynamic Configuration
Update.
- Select Add Service/Docker Container/Session
Type.
- In the Session Type Definition group, click
Add.
- Enter the new session type. Click Add.
- From the Service Definition drop-down list, select the new service that you just added
to the application.
- Click Apply.
A confirmation dialog displays. Click OK.
An information dialog displays. Click OK.
- Click Close.
- Verify that the workload is still running (applicable to long-running tasks):
- Select .
- Click the application name.
- Select the Sessions tab.
- Click the session ID.
- Verify that the tasks are still running. (Existing clients and workload are not
affected.)
You can use the new service and session type when you create a new session.