Share this page

# Scenario 7: Deploy an emergency fix

This scenario demonstrates how to apply a quick solution by making an emergency fix.

Note: To run this scenario, first set up the environment, as described in Prerequisites.

In this topic:

## Scenario overview

After an update to the Qlarius Health Insurance corporate website, a defect is found that prevents the site from being used by the customers. Rolling back to the previous version is not a solution, as changes were introduced that the company does not want to lose.

- The release manager raises an OpenText Dimensions CM change request to track the defect.

- The development team lead primes a task from the request.

- A web developer fixes and delivers the defect, and relates it to the task.

- The team lead promotes the request and task to the PRE-PROD stage.

- The release manager deploys the request and task to the PRE-PROD deployment area, and then promotes and deploys them to the LIVE stage and production environment.

Back to top

## Scenario information

- The following stream is used: QLARIUS:MAINLINE_JAVA_STR.

- There is a division of responsibilities between the employees at the following stage transitions:

  - SIT to QA

  - QA to PRE-PROD

- No build is required at any stage as only a text file is changed.

- This scenario uses the following deployment areas:

  Stage | Deployment area | Deploy by Default enabled on area?
  --- | --- | ---
  DEV | LCL_DEV_JMAIN_AREA01 | Yes
  PRE‑PROD | LCL_PP_JMAIN_AREA01 | No
  LIVE | LCL_LIVE_JMAIN_AREA01 | No

For a list of the promotion and deployment privileges required by the users, see Scenario privileges ‌.

Back to top

## Scenario prerequisites

Before you start this scenario, complete the following steps:

1. Log in to the web client as any user.

2. Switch to the following stream: QLARIUS:MAINLINE_JAVA_STR.

3. Browse the LIVE web application deployment area: In the My Current Project view, expand Deployment Areas > LIVE Stage > LCL_LIVE_JMAIN_AREA01 > Qlarius Underwriter > website.

4. In the content pane, make a note of the revision of index.html that is currently deployed in this area.

5. Log out of the web client.

Back to top

## Run this scenario

The following table describes the tasks performed in this scenario.

Action | Procedure
--- | ---
Rita, the release manager, investigates the problem and discovers a defect in index.html. Rita decides that the best solution is to deploy an emergency fix.
The release manager raises a change request. | Rita raises a change request to fix and track the defect. Log in to the OpenText Dimensions CM web client as Rita. Switch to the following stream: QLARIUS:MAINLINE_JAVA_STR. In the Requests view, on the toolbar, click New and select CR. The New Request dialog box opens. In the Title field, enter a title for the request, for example, Fix index.html, In the Detailed Description field, enter a description. On the Attributes tab, from the Severity/Priority list, select Really Urgent. Click Submit and click Close. The new request is added to Rita’s request inbox with the following ID: QLARIUS_CR_n. By default the request is at the DEV stage when it is raised.
The release manager delegates the request to the team lead. | Rita delegates the request to the development team lead, Ted, whose team is responsible for maintaining the website. Select the request, and on the toolbar click Delegate. The Delegate wizard opens. Check that the Capability option is set to Secondary. From the Role to Delegate list, select IMPLEMENTOR, and click Next. In the Candidate Users Authorized for Role Assignment list, select Ted, and click Add. The wizard closes automatically. OpenText Dimensions CM sends an email to Ted notifying him that a request has been added to his Request inbox.
The release manager actions the request to its next state. | Rita actions the request to its next state, UNDER WORK. Select the request, and on the toolbar select Action. The Action wizard opens. Check that the To Next State field is set to UNDER WORK. Click Finish and click OK. The request is removed from Rita’s request inbox. Log out of the web client.
The development team lead primes a task from the request. | Ted reads the email, views the request in his Request inbox, and primes a child task from the request. Log in to the web client as Ted. Switch to the following stream: QLARIUS:MAINLINE_JAVA_STR. In the Requests view, select the Request inbox and then the request that was raised by Rita. On the toolbar, click Prime and select Task. The Prime Request dialog box opens. (Optional) Update the detailed description. Click Submit and click Close. The new child task is added to Ted’s request inbox with the following ID: QLARIUS_TASK_n. By default the child task is at the DEV stage when it is raised.
The development team lead delegates the task to a web developer. | Ted delegates the task to a web developer, Wendy. Select the child task, and on the toolbar click Delegate. The Delegate wizard opens. Check that the Capability option is set to Secondary. From the Role to Delegate list, select IMPLEMENTOR, and click Next. In the Candidate Users Authorized for Role Assignment list, select Wendy, and click Add. The wizard closes automatically. OpenText Dimensions CM sends an email to Wendy notifying her that a task has been added to her Request inbox.
The development team lead actions the task to its next state. | Ted actions the task to its next state, UNDER WORK. Select the child task, and on the toolbar select Action. The Action wizard opens. Check that the To Next State field is set to UNDER WORK. Click Finish and click OK. The child task is removed from Ted’s request inbox. Log out of the web client.
The web developer updates their work area from the stream. | Wendy reads the email, checks her Request inbox, and updates her work area from the stream to make sure she has the latest revision of index.html. Log in to the web client as Wendy. Switch to the following stream: QLARIUS:MAINLINE_JAVA_STR. Check that Wendy’s work area is correct (see Prerequisites at the start of scenario 1). In the Items view, on the Dirs tab of the navigation pane, expand Qlarius Underwriter, and select website. On the toolbar, click Update. The Update from Stream wizard opens. Click Next. Click Finish and then Close. Wendy’s work area is updated.
The web developer modifies the item. | In Wendy’s local work area on your machine, edit index.html. For the purpose of this scenario make a minor edit, for example, add a comment to the top of the file.
The web developer delivers the item and relates it to the task. | Wendy delivers the modified file to the stream and relates it to the child task. In the Items view, on the Dirs tab of the navigation pane, select website. On the toolbar, click Deliver. The Deliver to Stream wizard opens. Check that the Modifications option is selected. Click Next. Verify that index.html is selected and click Next. In the Relate to Request(s) field, click Select. The Select Request dialog box opens. From the Product Name list, select QLARIUS. From the Type Name list, select TASK. Click Next. Select the task that is delegated to Wendy and click Finish. In the Deliver to Stream wizard, click Finish and then Close. Make a note of the latest revision of index.html (see the content pane).
The web developer delegates the task to the team lead for peer review. | Wendy delegates the task to Ted, her team lead, for peer review. In the Requests view, select the Request inbox. Select the child task, and on the toolbar click Delegate. The Delegate wizard opens. Check that the Capability option is set to Secondary. From the Role to Delegate list, select REVIEWER, and click Next. In the Candidate Users Authorized for Role Assignment list, select Ted, and click Add. The wizard closes automatically. OpenText Dimensions CM sends an email to Ted notifying him that a task has been added to his Request inbox.
The web developer actions the task to its next state. | Wendy actions the task to its next state, PEER REVIEW. Select the child task, and on the toolbar select Action. The Action wizard opens. In the New State section, check that the To Next State field is set to PEER REVIEW. Click Next. In the Actual Completed Date field, enter a date. In the Actual Development Effort (hours) field, enter a number. Click Finish. The task is removed from Wendy’s Request inbox. Log out of the web client.
The team lead does a peer review and actions the task to its final state. | Ted has read his email, seen the task in his Request inbox, done a peer review of the file that Wendy modified, and is satisfied with the changes that she made. He actions the task to its final state, CLOSED. Log in to the web client as Ted. In the Requests view, select the Request inbox. Select the child task, and on the toolbar select Action. The Action wizard opens. Check that the To Next State field is set to CLOSED. Click Finish and click OK. The task is removed from Ted’s request inbox.
The team lead promotes the request and task straight to the PRE-PROD stage. | Because this is an emergency fix that is required urgently, Ted promotes the request and task straight from DEV to PRE-PROD, bypassing the intermediate stages (SIT and QA). The Deploy by Default option is not enabled, so the request and task cannot be automatically deployed to the PRE-PROD deployment area. Select the request. On the toolbar, click Promote. The Promote wizard opens. Check that the Promote Child Requests option is selected. From the Next stage field, select PRE-PROD. Click Next. Because Deploy by Default is not enabled, no deploy options are available. Click Next. Review the summary and click Finish.
The team lead verifies that promotion was successful. | Ted verifies that promotion to PRE-PROD was successful. Select the Deployment view . To view information only for the current stream, click the filter button at the top right of the navigation pane, and select Show Current Stream. Select the History tab. In the navigation pane, select the PRE-PROD stage node. In the content pane, verify that the request was promoted successfully from DEV to PRE-PROD.
The team lead delegates the request to a QA engineer. | Ted delegates the request to Tony, a QA engineer, for testing. In the Requests view, select the request, and on the toolbar click Delegate. The Delegate wizard opens. Check that the Capability option is set to Secondary. From the Role to Delegate list, select QA ENGINEER, and click Next. In the Candidate Users Authorized for Role Assignment list, select Tony, and click Add. The wizard closes automatically. OpenText Dimensions CM sends an email to Tony notifying him that a task has been added to his Request inbox.
The team lead actions the request to its next state. | Ted actions the request to its next lifecycle state, IN TEST, so that the Tony can perform testing. Select the request, and on the toolbar, click Action. The Action wizard opens. In the New State section, check that the To Next State field is set to IN TEST. Click Next. In the Details of Solution Given field, enter Fixed index.html. Click Finish. The task is removed from Ted’s Request inbox. OpenText Dimensions CM sends an email to Tony notifying him that a task has been added to his Request inbox. Log out of the web client.
Let’s assume the following: Tony has tested the website to make sure that the latest revision of index.html fixes the problem. Tao, the QA manager, has closed the request.
The release manager deploys the request to the PRE-PROD deployment area. | Rita, the release manager, checks the Pending tab for the PRE-PROD stage on the Deployment view. Rita sees that the request is ready to be deployed to PRE-PROD. Log in to the web client as Rita. In the Deployment view, check that only the current stream is displayed. Select the Pending tab. In the navigation pane, select the PRE-PROD stage node. In the content pane, from the Show list, select Requests. Select the request, and on the toolbar, click Deploy. The Deploy wizard opens. Check that the Deploy Child Requests option is selected. Check that the Deploy Stage is set to PRE-PROD. Click Next. To deploy the request and child task now, check that the Perform Deployments option is set to As Soon As Possible. In the Areas for Deployment field, check that the LCL_PP_JMAIN_AREA01 deployment area is selected. Click Next. Review the summary. Click Finish and then Close. Select the History tab. In the navigation pane, in the PRE-PROD stage node, select the LCL_PP_JMAIN_AREA01 deployment area. In the content pane, verify that the request and child task were successfully deployed to the PRE-PROD area.
The release manager promotes and deploys the request and task to the LIVE stage and deployment area. | Because this is an emergency fix, Rita immediately promotes and deploys the request and task to the LIVE stage and deployment area. On the History tab, select the request. On the toolbar, click Promote. The Promote wizard opens. Check that the Promote Child Requests option is selected. In the Next stage field, check that LIVE is selected. Click Next. To deploy the request and child tasks immediately, check that the Perform Deployments option is set to As Soon As Possible. Deploy by Default is not enabled for the LIVE deployment area. But Rita has the privilege to deploy at the same time as the promotion. In the Areas for Deployment field, select the LCL_LIVE_JMAIN_AREA01 deployment area. Click Next. Review the summary and click Finish. In the navigation pane, select the LIVE stage node. In the content pane, verify that the request was promoted successfully from PRE- PROD to LIVE. In the navigation pane, select the LCL_LIVE_JMAIN_AREA01 deployment area. In the content pane, verify that the request and task were successfully deployed to the LIVE deployment area.
The release manager verifies that the emergency fix was deployed. | Rita verifies that the latest revision of index.html was deployed to the LIVE area. In the My Current Project view, in the navigation pane, expand Deployment Areas > LIVE Stage > LCL_LIVE_JMAIN_AREA01 > Qlarius Underwriter > website. In the content pane, verify that the latest revision of index.html was deployed. This revision has replaced the one that was deployed at the start of this scenario.
Note: After the emergency deployment is completed, the latest revision of index.html goes through the normal testing procedures. If it passes the tests successfully it remains in the LIVE deployment areas.
End of scenario

Back to top

## Scenario privileges ‌

The following tables list the promotion and deployment privileges required by each user in the scenario.

Promotion privilege | Privilege owner
--- | ---
REQUEST_PROMOTE_ANYSTAGE ITEM_PROMOTE_ANYSTAGE | Team lead
Release Manager

Deployment privilege | Privilege owner | Required for these areas
--- | --- | ---
The DEV and LIVE areas are Deploy by Default areas, and no deployment privileges are required.
REQUEST_DEPLOY ITEM_DEPLOY | Release Manager | LCL_PP_JMAIN_AREA01

Back to top

https://admhelp.microfocus.com Dimensions CM 8942
Tips to improve your search results... OpenText™ Dimensions CM Help Center OpenText™ Dimensions CM Help 25.2 All View Local Help Center View Online Help Center Version: