DMCM Deploy Guide
DMCM Deploy Guide
Deployment Guide
Serena Proprietary and Confidential Information
Copyright © 2011 - 2012 Serena Software, Inc. All rights reserved.
This document, as well as the software described in it, is furnished under license and may
be used or copied only in accordance with the terms of such license. Except as permitted
by such license, no part of this publication may be reproduced, photocopied, stored in a
retrieval system, or transmitted, in any form or by any means, electronic, mechanical,
recording, or otherwise, without the prior written permission of Serena. Any reproduction
of such software product user documentation, regardless of whether the documentation
is reproduced in whole or in part, must be accompanied by this copyright statement in its
entirety, without modification.
This document contains proprietary and confidential information, and no reproduction or
dissemination of any information contained herein is allowed without the express
permission of Serena Software.
The content of this document is furnished for informational use only, is subject to change
without notice, and should not be construed as a commitment by Serena. Serena
assumes no responsibility or liability for any errors or inaccuracies that may appear in this
document.
Third party programs included with the Dimensions product are subject to a restricted
use license and can only be used in conjunction with Dimensions.
Trademarks
Serena, StarTool, PVCS, Comparex, Dimensions, Mashup Composer, Prototype
Composer, and ChangeMan are registered trademarks of Serena Software, Inc. The
Serena logo and Meritage are trademarks of Serena Software, Inc. All other products or
company names are used for identification purposes only, and may be trademarks of
their respective owners.
Deployment Guide 3
Table of Contents
Scenario Objective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Scenario Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Scenario Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Pre-Requisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Running this Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Scenario Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Scenario 2: Deploying Requests to a Single Deployment Area . . . . . . . . . . 85
Scenario Objective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Scenario Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Scenario Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Pre-Requisite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Running this Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Scenario Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Scenario 3: Deploying Requests to Multiple Deployment Areas . . . . . . . . . 101
Scenario Objective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Scenario Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Scenario Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Pre-Requisite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Scenario Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Scenario 4: Deploying Refactoring Changes . . . . . . . . . . . . . . . . . . . . . . 122
Scenario Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Scenario Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Scenario Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Pre-Requisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Running this Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Scenario Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Scenario 5: Rolling Back a Deployment . . . . . . . . . . . . . . . . . . . . . . . . . 140
Scenario Objective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Scenario Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Scenario Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Pre-Requisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Running this Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Scenario Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Scenario 6: Deploying a Fix Forward Solution using a Request . . . . . . . . . 158
Scenario Objective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Scenario Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Scenario Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Pre-Requisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Running this Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Scenario Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Scenario 7: Deploying an Emergency Fix . . . . . . . . . . . . . . . . . . . . . . . . 170
Scenario Objective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Scenario Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Scenario Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Pre-Requisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Running this Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Scenario Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Scenario 8: Deploying Requests by Actioning . . . . . . . . . . . . . . . . . . . . . 181
Deployment Guide 5
Table of Contents
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
About Serena Dimensions CM is the principal component of the integrated components that constitute
Dimensions the Serena Dimensions product. The other constituent component is Serena Dimensions
RM, which offers full requirements management and traceability throughout the
development lifecycle by centralizing and organizing requirements using role base views
and a user configurable requirements process.
Purpose of this This manual describes how to use the deployment features in Dimensions CM.
manual
For more Refer to Getting Started with Dimensions CM for a description of the Dimensions CM
information documentation set, a summary of the ways to work with Dimensions CM, and instructions
for accessing the Online Help.
Edition status The information in this guide applies to the 12.2.1 release of Serena® Dimensions® CM.
Typographical Conventions
The following typographical conventions are used in the online manuals and online help.
These typographical conventions are used to assist you when using the documentation;
they are not meant to contradict or change any standard use of typographical conventions
in the various product components or the host operating system.
italics Introduces new terms that you may not be familiar with and
occasionally indicates emphasis.
bold Emphasizes important information and field names.
UPPERCASE Indicates keys or key combinations that you can use. For example,
press the Enter key.
monospace Indicates syntax examples, values that you specify, or results that
you receive.
monospaced Indicates names that are placeholders for values you specify; for
italics example, filename.
monospace Indicates the results of an executed command.
bold
vertical rule | Separates menus and their associated commands. For example,
select File | Copy means to select Copy from the File menu.
Also, indicates mutually exclusive choices in a command syntax line.
brackets [] Indicates optional items. For example, in the following statement:
SELECT [DISTINCT], DISTINCT is an optional keyword.
... Indicates command arguments that can have more than one value.
Deployment Guide 7
Welcome to Serena Dimensions CM
Printing Manuals
As part of your Dimensions license agreement, you may print and distribute as many
copies of the Dimensions manuals as needed for your internal use, so long as you
maintain all copies in strict confidence and take all reasonable steps necessary to ensure
that the manuals are not made available or disclosed to anyone who is not authorized to
access Dimensions under your Dimensions license agreement.
Platform Support
For details of supported server and client platforms, third party integrations, and Serena
Integrations , see the Serena Release Plan for Dimensions CM at:
[Link]
[Link]
Language-specific technical support is available during local business hours. For all other
hours, technical support is provided in English.
Demonstrations
Demonstrations of Dimensions CM features can be viewed at the following public Web
site:
[Link]
Deployment Guide 9
Chapter 1 Introduction to Deployment
Deployment Scenarios
The scenarios show you how to use Dimensions CM to manage deployment, for details see
"Deployment Scenarios" on page 63.
What is Deployment?
Dimensions CM manages individual items, or groups of items, as they move through the
development process. The deployment change management process is defined by a series
of development stages linked to the Global Stage Lifecycle (GSL). For each stage of the
GSL one or more physical locations on disk, known as deployment areas, can be setup to
contain a snapshot of the items at that stage.
The Global Stage Lifecycle (GSL) is the base database lifecycle that items follow through
the deployment process. This is a sample GSL with five stages from development (DEV) to
system integration testing (SIT), quality assurance (QA), pre-production (PRE-PROD) and
production (LIVE), with two deployment areas assigned to each stage:
Deployment Guide 11
Chapter 1 Introduction to Deployment
revision 1.0 in an area, deploy revision 3.0, and then roll back revision 3.0,
Dimensions CM redeploys revision 1.0 not revision 2.0. If no previous revision of the
rolled back item was deployed to an area, the item revision is deleted. For example, if
you deploy the first revision of an item and then roll it back, the revision is deleted
from the area and not replaced with another revision.
You can only roll back a complete deployment operation. An operation is all items,
request and baselines that were part of the original deployment to an area. To
perform a rollback you must roll back all the objects that were part of the operation.
You cannot break up a group and roll back individual objects.
If you have a privilege on a deployment area you can select or deselect it before you
run the Deploy or Rollback commands.
If a Deploy command fails it backs out everything from the failed area and stops any
further deployments.
If you deploy to multiple areas in parallel, not in sequence, and the deployment to one
of these areas fails, the other deployments are not affected.
If a Rollback command fails it puts back into the area everything that it had tried to
roll back.
If you share a deployment area with another project or stream, deploy a request (R1)
to the area, and the other project then deploys a different request (R2), you cannot
roll back the first request (R1) until the second request (R2) has been rolled back by
the other project.
You can only roll back in the reverse deployment order. For example, you deploy
requests in the following order: R1, R2, and R3. To roll back R1 you must first roll
back R3, followed by R2, and then R1.
Item revisions, requests, and baselines in an off normal lifecycle state cannot be
deployed or rolled back.
Deployment Guide 13
Chapter 1 Introduction to Deployment
Post deploy
Deploy failure
You specify area scripts in the Area Definitions section of the Dimensions administration
console.
If you do not add a deployment area to a GSL stage, promotion to that stage will not
result in any deployment, but the stage still exists. You can add a deployment area later
to that stage, and then deploy items to that area.
Tip: Leave spaces between sequence numbers so that you can insert additional areas.
1 LIVE1
2 LIVE2
Deployment Guide 15
Chapter 1 Introduction to Deployment
Rollback on Demotion
When you demote an object, it is automatically rolled back from default areas at higher
stages. If you have privileges that allow you to demote an object, you are implicitly
granted deployment privileges that allow you to perform the rollback. If the rollback
cannot be performed demotion will still proceed. Be aware that rollback and demotion are
independent transactions. The demotion will occur immediately, but the rollback will be
queued and may not succeed.
If the object has been deployed to manual areas at a higher stage you must roll back
these deployments before performing the demotion. The object will not be demoted if it is
deployed to manual areas at higher stages. Rolling back from manual areas requires
deployment privileges.
Manual Rollback
If you have deployment privileges for an area, you can manually roll back any deployment
as long as the area version created by that deployment is not depended on by later area
versions.
Viewing History
To help you decide what you need to roll back and in what order, use the History tab in the
Deployment view. The tab has an option that enables you to only show objects that can
be rolled back. See "The History Tab" on page 29 for details.
Deployment Guide 17
Chapter 1 Introduction to Deployment
TIP If you have configuration files that you deploy to areas and then edit, keep them
separate from your source code. For example, if you do a rollback but the rollback fails,
area recovery will reinstate the previous version of the area and the configuration files will
also be rolled back to their previous state. This may affect the content of the files.
In this example some of the states in this request lifecycle are mapped to stages in a GSL:
For example:
When a request is actioned up the request lifecycle from the Under Work state to In
Test it is automatically promoted from DEV to SIT.
When a request is actioned down the request lifecycle from the Ready for QA state to
In Test it is automatically demoted from QA to SIT.
NOTE
You can use action driven deployment with items, requests, and baselines.
For action driven deployment to work you require the privileges to action and promote
to stages and areas.
Actioning an object to an off-normal state removes item revisions from the associated
stage.
You map lifecyle states to the GSL in the Lifecycles section of the Dimensions
administration console.
When you use action driven deployment to promote or demote an item revision to
another stage, the operation is applied globally to the same item revision across all
projects in the current product. However, if you select the option Use local stages in a
project/stream, the stage of the item revision in that project is not affected when the
same item revision is promoted/demoted in any other project/stream. Therefore the
same item revision can be at different stages in each project/stream. Once you have
selected this option for a project/stream you cannot change it.
If you have refactoring changes you must deploy them using a request and not a baseline.
If you try and deploy refactoring changes out of sequence the deployment will fail.
Always refactor using a new request that is not related to any other changes. If you do
not use a new request, when you need to deploy the refactored changes (because another
change is dependent on it) you might not be able to deploy the refactoring request
because the other changes are related to it.
Deployment Guide 19
Chapter 1 Introduction to Deployment
Refactoring Example
The following example describes a simple scenario where refactoring changes are
deployed:
A project contains a file, foo.c, at revision one, foo.c;1, in directory dir1.
Two deployment areas, A1 and A2, are attached to the project. The stage is not
relevant as the refactoring rules apply to the content of deployment areas.
foo.c;1 is deployed to area A1.
foo.c is updated to create revision two, foo.c;2. The tip revision of foo.c in the project
is now dir1/foo.c;2.
foo.c is deployed to area A1, which now contains dir1/foo.c;2.
foo.c is updated to create revision three, foo.c;3. The tip revision of foo.c in the
project is now dir1/foo.c;3.
If the tip revision is deployed to area A1, it will contain dir1/foo.c;3.
Directory dir1 is renamed to dir2 using request R1. The tip revision of foo.c in the
project is now dir2/foo.c;3.
If foo.c;3 is deployed to area A1 the deployment will fail because the path in the
project is ’later’ than the current path in the area. Request R1 needs to be deployed
first as it contains the directory name change.
foo.c is updated to create revision four, foo.c;4. The tip revision of foo.c in the project
is now dir2/foo.c;4.
foo.c;4 cannot be deployed to area A1 until request R1 is deployed.
However, foo.c;4 can be deployed to area A2 because it does not contain any
revisions of foo.c. Area A2 will contain dir2/foo.c;4.
Deploying request R1 to area A2 will fail because A2 already contains the directory
rename. foo.c;4 must be rolled back first.
NOTE For additional refactoring examples see "Deployment and Refactoring" on page
199.
Deploying Regressions
If you have regression privileges on a deployment area you can use the Deploy command
to overwrite an item revision with a previous revision.
Regression Rules
You must have a role on the stage that you are deploying to.
If you do not have regression rights the deployment continues but the previously
deployed file is not regressed and no warning message is displayed.
Regression are enabled by default. To disable regressions set the following variable, in
the Dimensions configuration file, to False:
DM_NO_DEPLOYMENT_REGRESSION FALSE
Deploying Requests
Serena recommends that you deploy using requests for the following reasons:
You can group all files together in a single parent request and promote and deploy the
request through the GSL. Grouping ensures that all the items related to a change are
progressed through the lifecycle and development areas together and no items are
left behind.
Refactoring is only fully supported by requests.
Deploying Items
Although you can deploy items there are a few disadvantages, most notably no grouping.
For example, if you change multiple files, without a parent request you have to remember
to always keep the files together when you move them through the GSL. This method is
very error prone as it is easy to forget to promote and deploy some files.
Deploying Baselines
You can deploy baselines, however there are a number of limitations:
A baseline that contains refactoring changes does not apply the changes to
deployment areas.
You cannot create a baseline from a deployment area, but you can build the area.
You cannot promote, demote, deploy, or rollback non-release baselines.
You can only promote, demote, deploy, and rollback baselines from root projects
(sub-projects are not supported).
A baseline cannot be deleted if it is currently promoted beyond the first stage in the
GSL.
Deployment Guide 21
Chapter 1 Introduction to Deployment
1 Raise a request.
4 Verify that the item has been deleted from the stream or project and the DEV
deployment areas.
6 Promote and deploy the request and task up the GSL, verifying at each stage that it
has been deleted from the associated deployment areas.
Tip: To remove an item from a stream or project but keep it in the deployment areas,
repeat steps 1 through 5 above and then close the request. Do not promote and deploy
the request and task up the GSL. The item will be removed from the DEV deployment
areas but will remain in all areas associated with the other stages in the GSL.
<dm_root>\dfs\deploy_config.dat
log_dir=<path>
3 Optionally, change the directory where the logs are saved, which is specified in
<path>.
Deployment Guide 23
Chapter 1 Introduction to Deployment
Deployment Commands
The following deployment commands were added in Dimensions CM 12.1:
PMI: promote item
PMRQ: promote request
PMBL: promote baseline
DMI: demote item
DMRQ: demote request
DMBL: demote baseline
SDPI: deploy item
SDPRQ: deploy request
SRRQ: deploy baseline
SRAV: rollback area version
To associate a library cache area with a deployment area, use the CA (Create Area) or UA
(Update Area) commands and supply the /LIBRARY_CACHE_AREA=<area_id> qualifier.
For example:
The following command creates a new UAT deployment area and associates it with the
ST-LC-1 library cache area:
CA UAT1 /net=st3859 /dir=c:\deploy\uat1 /user=dmsys /pass=<password>
/type=deployment /stage=uat /library_cache_area=st-lc-1
The following command associates an existing UAT deployment area with the ST-LC-2
library cache area:
UA UAT2 /library_cache_area=st-lc-2
Introduction 26
About the Deployment View 27
Using the Navigation Pane in the Deployment View 31
Using the Lists in the Content Pane 32
Drilling Down in the Content Pane 32
Changing Scheduled Jobs on the Queued Tab 33
Filtering the List in the Content Pane 34
Assigning Deployment Areas 36
Viewing the Files in a Deployment Area 38
About Promoting 41
Promoting Items 41
Promoting Requests 42
Promoting Baselines 44
About Demoting 46
Demoting Items 47
Demoting Requests 48
Demoting Baselines 50
About Deploying 53
Deploying Items 53
Deploying Requests 55
Deploying Baselines 56
About Rolling Back Deployments 57
Rolling Back Items 57
Rolling Back Requests 58
Rolling Back Baselines 58
Deployment Guide 25
Chapter 2 Managing Deployment
Introduction
This chapter describes how to carry out deployment-related functions in the web client
and the desktop client. This chapter describes:
How to use the Deployment view, filter what is displayed, and view details of events.
How to assign deployment areas and view the files in deployment areas.
How to promote, demote, deploy, and rollback items, requests, and baselines.
In the desktop client you can promote or demote items, requests, and baselines, but in
order to deploy or roll back, and to manage deployment events, you need to do this from
the Deployment view in the web client.
Deployment areas are defined in the Administration Console. For details, see Area
Definitions in the online help or Process Modeling User's Guide.
You can change the GSL and add or remove stages. For details see Editing the Global
Stage Lifecycle in the online help or Process Modeling User's Guide.
You can choose to have lifecycle states for an object type associated with stages in the
GSL. This means that when items, requests, or baselines are actioned to a state
associated with a deployment stage, the objects will also be promoted to that stage. If the
stage has areas assigned as Deploy by default, the items will also automatically be
deployed to those areas. This association is made using the Object type Definitions |
Lifecycles application in the State Properties dialog box. For details see How to set the
State Properties for an Object Type in the online help or Process Modeling User's Guide.
The navigation pane contains a tree structure consisting of areas grouped within stages.
These tabs can be filtered in various ways and you can select rows and perform various
operations using the toolbar buttons at the top of the Deployment view.
Deployment Guide 27
Chapter 2 Managing Deployment
To display more information about a request, item, or baseline, in the Name column click
the object’s name.
You can hide or display any of the columns and sort the list by column types.
To display more information about a request, item, or baseline, in the Object Name
column click the object’s name.
You can hide or display any of the columns and sort the list by Queued Date.
To display a job’s properties, in the Job ID column click the job number. The Queued Job
Properties dialog box appears and displays information about the job.
To display details about a job’s status, in the Job State column click Scheduled. The Status
Details dialog box appears and displays information about the job, for example:
General messages such as ’Deployed as a result of a promotion operation’.
Error messages.
The History tab has the following columns (some are hidden by default):
Name: the name of the object.
Detail:
• For items: the full path name and revision of the item.
• For requests: the request title.
• For baselines: the description of the baseline.
Event Type: Deployment, Rollback, Build, Clean, Audit, Collect, Promotion, or
Demotion.
Event Description: a brief description of the event.
Reason: a description of the transaction.
Event Result: Submitted, Executing, Succeeded, Failed, Cancelled, or Paused.
Event Date: the date and time of the transaction.
Event By: the Dimensions user who performed the operation on the object.
From Stage: the stage in the GSL where the object was promoted or demoted from.
To Stage: the stage in the GSL where the object was promoted or demoted to.
Area: the deployment area associated with the event.
Project/Stream: the project or stream associated with the event.
Product (hidden by default): the product containing the object.
Job ID (hidden by default): the ID of the job to which the event belongs.
Deployment Guide 29
Chapter 2 Managing Deployment
You can hide or display any of the columns and sort the list by Event Date.
When you select a stage node in the navigation pane, event types with an associated
stage or area are displayed in the content pane. For example, deployment, rollback, build,
clean, audit, collect, promotion, and demotion.
When you select an area node in the navigation pane, event types with an associated area
are displayed in the content pane. For example, deployment and rollback. Promotion and
demotion are not associated with an area, only a stage, and are not displayed. However,
any related deployments or rollbacks may be displayed if they involve the selected area.
To display more information about a request, item, or baseline, in the Name column click
the object’s name.
To display details about an event’s status, in the Event Result column click Failed or
Succeeded. The Status Details dialog box appears and displays information about the
event.
When you select a row in the History tab and perform an operation, the operation affects
more than the selected row. For example, if you select and rollback an item, all the items
that are related to that deployment job are rolled back, and not just the selected item.
2 To view deployment events for a deployment stage, right-click the Stage node:
and select Deployment views. This will display the web client Deployment tab
showing history events for that stage
3 To view deployment events for a specific deployment area, expand the Stage node:
, right-click the area, and select Deployment views.
You can also apply a filter to the navigation pane to only show nodes for a specific project
or stream.
PRIVILEGES None.
To select a specific project or stream within an area, click the node for the project
or stream Click the project/stream with a tick for to select your current
project/stream.
1 Click the filter icon at the top right of the navigation pane.
Deployment Guide 31
Chapter 2 Managing Deployment
The name of the project or stream is displayed at the top of the navigation pane and the
filter icon is now green: indicating that a filter is active.
1 Click the filter icon at the top right of the navigation pane.
Click
Various fields in the rows in the content pane have links that you can click on to view
more details.
1 Click the link in the Event Result column for the job.
3 If the job is a build job and you want to view further details:
a click the job link in the Status Details window.
b Click the entry in the Build Job Details dialog box.
The Build Job Event log is displayed.
To view the Open dialog for a request, item, or baseline, click the link in the Name
column for the job.
Note that these options may not be available, for example if a job has already started
executing.
PRIVILEGES Manage Schedule Jobs (ADMIN_SCHEDULING).
3 In the Re-schedule Job dialog box, use the date picker to select another date and
time.
4 Click OK.
Deployment Guide 33
Chapter 2 Managing Deployment
Select the category of job from the Show drop down list.
For the Queued tab, you can select:
• All
• Queued
• Executing
• Scheduled
For the Pending and History tabs, you can select:
• All
• Items
• Requests
• Baselines
Select the period from the jobs queued drop down list.
To only show events that can be rolled back on the History tab
1 Click the filter icon at the top left of the History tab
1 Click the filter icon at the top left of the Pending tab
1 Click the filter icon at the top left of the content pane.
An extra row is displayed below.
3 Select the field you want to filter on in the left-hand drop-down list.
5 In the right-hand drop-down list, enter or select the value, or if it is a date and time
use the date picker to select it.
6 If you want to add another filter criterion, click the More button This will
add another row. Repeat steps 3 thru 5.
1 Click the filter icon at the top left of the content pane.
Deployment Guide 35
Chapter 2 Managing Deployment
You can optionally assign an area as a default area, in which case the files are
automatically deployed when the item revisions are promoted to the stage.
Note that an area can be assigned a filter that determines which files are deployed to that
area. This is defined in the Administration Console under Area Definitions and assigned to
an area (for details, see the Process Modeling User’s Guide). Each area can have only one
of these filters. There is also a default Audit filter that is specified when the area is
assigned to a project at a given stage. This is the default filter used when performing an
Audit, but you can choose a different one (for details, see Running Builds in the User’s
Guide.)
NOTE When changing an area filter against an area, any previous deployments to that
area which may have been filtered out cannot be redeployed from the deployment view.
The recommended way to reset an area to reflect the new filter is to run an AUDIT with
the FIX parameter against the area. This should add any missing files and remove any
extra files based on the area filter change
PRIVILEGES
Assign Deployment Areas to Project/Stream
1 On the My Current Project/Stream tab, in the navigation pane, select the Deployment
Areas node: and click the Assign button:
The Assign Area to the Current Project dialog box appears.
3 Optionally, enter the path relative to this area that you want to use as the root folder
for the project in the File path relative to area directory field.
4 Select Deploy by default if you want files to automatically be deployed to this area
when the item revisions are promoted or demoted to this stage.
5 Select an Audit filter from the list, or leave this as default to use the filter assigned
to the deployment area. (These filters are defined in the Administration Console |
Area Definitions | Filters.)
6 Enter a Sequence order if you want deployments to this area to occur in a particular
order relative to other deployment areas when there is more than one deployment
area for this project/stream. If you have no preferences, leave this as default. See
"Setting a Deployment Sequence" on page 14 for the rules for deployment sequences.
7 If you want the appropriate item files to be copied to the area as soon as the project
has been assigned, select Populate area with project contents.
8 Click OK.
5 The Edit Area Assignment dialog box appears. See "To assign a deployment area to a
project or stream:" on page 36 for details of the fields to update.
6 Click OK.
2 Expand the Stage node: for the deployment area, and select the area.
4 If you want the item files to remain in the location after the assignment is removed,
select Remove files deployed from this stream.
5 Click OK.
3 Select a Filter from the list for the audit filter to be used, or leave this as default to
use the default filter for the area. (These filters are defined in the Administration
Console | Area Definitions | Filters.)
4 Optionally, enter the path relative to this area that you want to use as the root folder
for the project/stream in the Folder offset field.
5 Select Deploy by default if you want files to automatically be deployed to this area
when the item revisions are promoted or demoted to this stage.
6 Enter a Sequence order if you want deployments to this area to occur in a particular
order relative to other deployment areas when there is more than one deployment
area for this project/stream. If you have no preferences, leave this as default. See
"Setting a Deployment Sequence" on page 14 for the rules for deployment sequences.
7 If you want the appropriate item files to be copied to the area as soon as the project/
stream has been assigned, select Populate area with project contents.
8 Click OK.
Deployment Guide 37
Chapter 2 Managing Deployment
2 Expand the Stage node: for the deployment area, right-click the area, and select
Deassign area from project/stream.
3 If you want the item files to remain in the location after the assignment is removed,
select Remove files deployed from this project/stream
4 Click Yes.
Web client To view the contents of a deployment area for a project or stream:
2 Expand the Stage node: for the deployment area, and expand the node for the
area you want to view.
The Folders structure for the area appears beneath the area node.
2 Click the Preview tab to see the contents of the file or download a copy.
MVS Areas
If you select a member in the content pane, you can perform the following operations for
members that are under Dimensions CM control:
browse
show properties
For members that are not under Dimensions CM control, you can:
browse
show properties
Desktop client To view the contents of a deployment area for a project or stream:
3 Expand the Stage node: for the deployment area, and expand the node for the
area you want to view.
Deployment Guide 39
Chapter 2 Managing Deployment
You can expand the folder tree on the left and display details of the item files in that
folder, such as the revision and type of change (such as added or modified). If the area is
located on an MVS operating system, the functions available are more limited, as
described below in "MVS Areas" on page 40.
If you right click files in this window, you can perform the following operations for files
that are under Dimensions CM control:
synchronize (for projects only)
update
deliver
browse (using the editor that has been assigned in the desktop client for its file
extension)
compare
merge (projects only)
show item history
show item pedigree
show properties of the item file
For files that are not under Dimensions CM control, you can:
browse (using the editor that has been assigned in the desktop client for its file
extension)
show properties of the file
If you right click a folder in the tree, you can invoke the synchronize wizard to perform:
synchronize (for projects only)
update
deliver.
NOTE Item files that do not belong to your current project or stream are displayed in a
gray font. You can display their properties and browse them, but not perform any other
operations on these files.
MVS Areas
If you right click a member in this window, you can perform the following operations for
members that are under Dimensions CM control:
browse
show item history
show item pedigree
For members that are not under Dimensions CM control, you can:
browse (using the editor that has been assigned in the desktop client for its
extension)
show properties
About Promoting
Promoting moves items upwards through the Global Stage Lifecycle (GSL).
If an associated deployment area for the project or stream has the Deploy by Default
option set, the deployment will occur automatically upon promotion; you do not need to
have the Deploy privilege. If there are other deployment areas associated with the project
or stream, you can also deploy to those areas if you have the necessary privilege.
You can promote through more than one stage in the GSL in the same operation.
Note that promotion can also take place when actioning items, requests, or baselines if
the next lifecycle state has been associated with a deployment stage in the GSL. If there
are any default areas associated with the project/stream for that stage, the item files will
also be automatically deployed to those areas.
Promoting Items
Purpose Promote item revisions in order to move them to a higher stage in the Global Stage
Lifecycle, and optionally, have the item files deployed to the associated area(s).
PRIVILEGES
Promote an item to the next stage in the GSL (ITEM_PROMOTE_NEXTSTAGE).
To deploy promoted items to a non-default area, you need the Deploy an item
(ITEM_DEPLOY) privilege for the area to which you want to deploy.
1 On the My Current Project tab or Items tab, select one or more item revisions.
4 Click Next.
6 Click Next.
Deployment Guide 41
Chapter 2 Managing Deployment
7 Click Finish.
4 Click Next.
6 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
7 Click Finish.
Promote Wizard
Promoting Requests
Purpose Promote requests in order to move their related item revisions to a higher stage in the
Global Stage Lifecycle, and optionally, have the related item files deployed to the
associated area(s). Promoting a request promotes item revisions related In response to
the request, and optionally, any child requests. This method of promotion enables you to
group the item revisions that belong to a particular change and promote those items
together.
Any refactoring changes that were related to the request will also be deployed.
PRIVILEGES
Promote a request to the next stage in the GSL (REQUEST_PROMOTE_NEXTSTAGE).
To deploy promoted requests to a non-default area, you need the Deploy a request
(REQUEST_DEPLOY) privilege for the area to which you want to deploy.
1 On the My Current Project tab or Requests tab, select one or more requests.
4 Click Next.
6 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
7 Click Finish.
4 Click Next.
Deployment Guide 43
Chapter 2 Managing Deployment
Unless you have the necessary privilege, you will not be able to select any areas
other than the default area(s) or deselect any default areas.
6 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
7 Click Finish.
Promote Wizard
Promoting Baselines
Purpose Promote baselines in order to move their item revisions to a higher stage in the Global
Stage Lifecycle, and optionally, have the item files deployed to the associated area(s).
This method of promotion enables you to group the item revisions that belong to a
particular project/stream or design part and promote them in one operation.
Note that refactoring changes will not necessarily be deployed. It is recommended that
you deploy refactoring changes using requests.
PRIVILEGES
Promote a baseline to the next stage in the GSL (BASELINE_PROMOTE_NEXTSTAGE).
To deploy promoted baselines to a non-default area, you need the Deploy a baseline
(BASELINE_DEPLOY) privilege for the area to which you want to deploy.
1 On the My Current Project tab or Baselines tab, select one or more baselines.
4 Click Next.
6 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
7 Click Finish.
Deployment Guide 45
Chapter 2 Managing Deployment
2 Click Next.
4 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
5 Click Finish.
Promote Wizard
About Demoting
Demoting moves items downwards through the Global Stage Lifecycle (GSL).
If an associated deployment area for the project or stream has the Deploy by Default
option set, and you have selected the Perform deployment option, the deployment will
occur automatically upon demotion; you do not need to have the Deploy privilege. If there
are other deployment areas associated with the project or stream, you can also deploy to
those areas if you have the necessary privilege.
You can demote through more than one stage in the GSL in the same operation.
Demoting Items
Purpose Demote item revisions in order to move them to a lower stage in the Global Stage
Lifecycle, and optionally, have the item files deployed to the associated area(s).
PRIVILEGES
Demote an item to the next stage in the GSL (ITEM_DEMOTE_NEXTSTAGE).
To deploy demoted items to a non-default area, you need the Deploy an item
(ITEM_DEPLOY) privilege for the area to which you want to deploy.
3 Click Next.
5 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
6 Click Finish.
Deployment Guide 47
Chapter 2 Managing Deployment
4 Click Next.
6 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
7 Click Finish.
Demote Wizard
Demoting Requests
Purpose Demote requests in order to move them to a lower stage in the Global Stage Lifecycle,
and optionally, have the item files deployed to the associated area(s). Demoting a request
demotes item revisions related In response to the request, and optionally, any child
requests.
PRIVILEGES
Demote a request to the next stage in the GSL (REQUEST_DEMOTE_NEXTSTAGE).
To deploy demoted requests to a non-default area, you need the Deploy a request
(REQUEST_DEPLOY) privilege for the area to which you want to deploy.
3 Click Next.
5 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
6 Click Finish.
4 Click Next.
Deployment Guide 49
Chapter 2 Managing Deployment
6 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
7 Click Finish.
Demote Wizard
Demoting Baselines
Purpose Demote baselines in order to move them to a lower stage in the Global Stage Lifecycle,
and optionally, have their item files deployed to the associated area(s).
Note that refactoring changes will not necessarily be deployed. It is recommended that
you deploy refactoring changes using requests.
PRIVILEGES
Demote a baseline to the next stage in the GSL (BASELINE_DEMOTE_NEXTSTAGE).
To deploy demoted baselines to a non-default area, you need the Deploy a baseline
(BASELINE_DEPLOY) privilege for the area to which you want to deploy.
3 Click Next.
Deployment Guide 51
Chapter 2 Managing Deployment
5 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
6 Click Finish.
3 Click Next.
5 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
6 Click Finish.
Demote Wizard
About Deploying
Deploying results in the item files associated with the selected revisions being copied to
the area(s) associated with their stage. The item revisions, must not be at a higher stage
than that with which the area(s) are associated for the items to be deployed to those
areas.
Deploying a request deploys the item revisions that are related In response to the
request, and optionally, any child requests. Any refactoring changes associated with the
request are also deployed.
Deploying Items
Purpose Use this procedure to deploy one or more items to deployment areas associated with the
project/stream. These items need to be at a stage that is the same or higher than the
stage associated with the deployment areas.
If you select more than one item, they must all be in the same product.
PRIVILEGES
To deploy items to a non-default area, you need the Deploy an item (ITEM_DEPLOY)
privilege for the area to which you want to deploy.
You cannot deploy item revisions to an area that is associated with a stage in the GSL that
is greater than the stage of those item revisions.
1 On the Deployment tab, select the Pending tab or History tab, and select one or more
item entries in the list.
3 Accept the default stage, or select another stage (if available) from the Deploy Stage
list.
Deployment Guide 53
Chapter 2 Managing Deployment
Under Area(s) for deployment, select the area(s) to which you want to deploy.
Unless you have the necessary privilege, you will not be able to select any areas
other than the default area(s) or deselect any default areas.
6 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
7 Click Finish.
Deploying Requests
Purpose Use this procedure to deploy one or more requests to deployment areas associated with
the project/stream. These requests need to be at a stage that is the same or higher than
the stage associated with the deployment areas. Items that are related In Response To
the request will be deployed to the selected deployment areas. Optionally, you can also
deploy the items related to any child requests.
You cannot deploy requests to an area that is associated with a stage in the GSL that is
greater than the stage of those requests.
1 On the Deployment tab, select the Pending tab or History tab, and select one or more
request entries in the list.
3 Accept the default stage, or select a stage from the Deploy Stage list.
7 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
8 Click Finish.
Deployment Guide 55
Chapter 2 Managing Deployment
Deploying Baselines
Purpose Use this procedure to deploy one or more baselines to deployment areas associated with
the project/stream. These baselines need to be at a stage that is the same or higher than
the stage associated with the deployment areas.
Specify a schedule (a date and time in the future when the baseline(s) will be
deployed).
If the deployed item(s) are part of a build configuration, start a build after the
deployment has completed.
If you select more than one baseline, they must all be in the same product.
PRIVILEGES
You cannot deploy baselines to an area that is associated with a stage in the GSL that is
greater than the stage of those baselines.
1 On the Deployment tab, select the Pending tab or History tab, and select one or more
request entries in the list.
3 Accept the default stage, or select another stage (if available) from the Deploy Stage
list.
6 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
7 Click Finish.
To roll back items from an area, you need the Rollback Item from Areas
(ITEM_ROLLBACK) privilege for the project/stream/area that you want to roll back.
1 On the Deployment tab, select the History tab, and select one or more item events.
5 If you want the rollbacks to be scheduled for a particular time, select at specified
time, and use the date picker to select a date and time.
6 select the area version that you want to roll back. Area versions that cannot be rolled
back have an icon.
7 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
8 Click Finish.
Deployment Guide 57
Chapter 2 Managing Deployment
To roll back requests from an area, you need the Rollback Item from Areas
(ITEM_ROLLBACK) privilege for the project/stream/area that you want to roll back.
1 On the Deployment tab, select the History tab, and select one or more request
events.
3 Accept the default stage, or select another stage (if available) from the Roll Back
Stage list.
5 If you want the rollbacks to be scheduled for a particular time, select at specified
time, and use the date picker to select a date and time.
6 select the area version that you want to roll back. Area versions that cannot be rolled
back have an icon.
7 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
8 Click Finish.
To roll back baselines from an area, you need the Rollback Item from Areas
(ITEM_ROLLBACK) privilege for the project/stream/area that you want to roll back.
1 On the Deployment tab, select the History tab, and select one or more baseline
events.
3 Accept the default stage, or select another stage (if available) from the Roll Back
Stage list.
6 If you want the rollbacks to be scheduled for a particular time, select at specified
time, and use the date picker to select a date and time.
7 select the area version that you want to roll back. Area versions that cannot be rolled
back have an icon.
8 Click Next.
A Summary page is displayed informing you of the actions to be carried out.
9 Click Finish.
Dialog Boxes
These topics contain descriptions of dialog boxes relating to this section.
Promote Wizard
Use this wizard to promote items, requests, or baselines to a higher stage in the Global
Stage Lifecycle.
See Deploy to Areas Page for details of how to enter the deployment details.
Related Topics
Promoting Items
Deployment Guide 59
Chapter 2 Managing Deployment
Promoting Requests
Promoting Baselines
Related Topics
Promote Wizard
Promoting Items
Promoting Requests
Promoting Baselines
Related Topics
Promote Wizard
Promoting Items
Promoting Requests
Promoting Baselines
Demote Wizard
Use this wizard to demote items, requests, or baselines to a lower stage in the Global
Stage Lifecycle.
See Deploy to Areas Page for details of how to enter the deployment details.
Related Topics
Demoting Items
Demoting Requests
Demoting Baselines
Deployment Guide 61
Chapter 2 Managing Deployment
Introduction 64
Pre-Requisite Steps 69
Scenario 1: Basic Request Deployment 70
Scenario 2: Deploying Requests to a Single Deployment Area 85
Scenario 3: Deploying Requests to Multiple Deployment Areas 101
Scenario 4: Deploying Refactoring Changes 122
Scenario 5: Rolling Back a Deployment 140
Scenario 6: Deploying a Fix Forward Solution using a Request 158
Scenario 7: Deploying an Emergency Fix 170
Scenario 8: Deploying Requests by Actioning 181
Deployment Guide 63
Chapter 3 Deployment Scenarios
Introduction
Development of the software takes place in London. System integration, QA, and pre-
production testing are performed on a simple setup with one machine that hosts the
application server and another for the RDBMS. When the application goes live it is
deployed to sites in London and New York. At each of these sites there is a farm of
application server machines and a separate machine hosting the RDBMS. All the sites are
hosting the web application on Linux servers.
NOTE: Ask your administrator for the user IDs and passwords of these users.
Deployment Guide 65
Chapter 3 Deployment Scenarios
Stage Description
DEV (Development) Development is the initial stage where code is
developed.
SIT (System Integration System Integration Test is where fixes and
Test) enhancements that have been coded, built, and tested
by individual developers are brought together so that
the whole system can be built and go through formal
development testing.
QA (Quality Assurance) Quality Assurance is where the QA team tests the
system to ensure it is ready for the live environment.
PRE-PROD (Pre-Production) Pre-Production is where the release team runs pre-
production tests in an environment that is identical to
the live environment.
LIVE Live is where the deployment areas for the live
environments are located.
At the Under Work state each request can be broken down into one or more child tasks,
which have a different lifecycle:
Deployment Guide 67
Chapter 3 Deployment Scenarios
Pre-Requisite Steps
To run the scenarios you must perform the following pre-requisite steps:
Install the Windows Explorer integration (in the installer this is listed as the Windows
Explorer Shell Extension).
Install the Java Development Kit on the Dimensions CM server machine (required to
build the Java code).
Install Apache Ant on the Dimensions CM server machine (required to perform
builds).
Set the build options ANT_HOME and JAVA_HOME to the location where you installed
Ant and Java:
2 In the Distributed Development section of the Home page click Build Administration.
4 Select the build configuration ANT_JAVA_BUILD and on the toolbar click Check Out.
7 In the content pane, on the Build Options tab, select the build option ANT-HOME and
on the toolbar click Edit.
9 Click OK.
Deployment Guide 69
Chapter 3 Deployment Scenarios
Scenario Objective
The objective of this scenario is to deploy requests to modify the corporate web site of
Qlarius Health Insurance.
Scenario Overview
The release manager raises an enhancement request.
The development team lead primes a child task from the request.
A web developer makes a modification, delivers it, and relates it to the task.
The team lead promotes and deploys the request and task to the SIT stage and
deployment area, and then promotes them to the QA stage.
The QA manager deploys the request and task to the QA deployment area and then
promotes them 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.
Scenario Information
The following stream is used: QLARIUS:MAINLINE_JAVA_STR
No build is required at any stage as only a text file is changed.
There is a separation of duties between the employees at the following stage
transitions:
• SIT to QA
• QA to PRE-PROD
Deployment is to a single deployment area at each stage. The following deployment
areas are used:
Deploy by Default
Stage Deployment area enabled for area?
DEV LCL_DEV_JMAIN_AREA01 Yes
SIT LCL_SIT_JMAIN_AREA01 Yes
QA LCL_QA_JMAIN_AREA01 No
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" on page 84.
Pre-Requisites
1 Create a work area on your local machine for the user Wendy, for example:
C:\streams\MAINLINE_JAVA_STR\wendy
2 Log into the web client as a user that has the privileges to promote and deploy
baselines to any stage and area, for example, the tool administrator, typically dmsys.
5 To deploy the files to all deployment areas, promote and deploy the baseline as
follows:
a Select the baseline and on the toolbar click Promote.
b In the Next stage field check that SIT is selected.
c Click Next.
d To deploy now, check that the option Perform deployments is set to ’as soon as
possible’.
e In the Areas(s) for deployment field check that the LCL_SIT_JMAIN_AREA01
deployment area is selected. If not, select it.
f Click Next.
g A summary of the promotion and deployment activities and command that will be
performed is displayed.
h Click Finish.
i Repeat steps ’a’ to ’h’ for the other stages and their associated deployment areas:
• QA: LCL_QA_JMAIN_AREA01
• PRE-PROD: LCL_PP_JMAIN_AREA01
• LIVE: LCL_LIVE_JMAIN_AREA01
Deployment Guide 71
Chapter 3 Deployment Scenarios
3 In the Request view, on the tool bar click New and select CR.
The New Request dialog box appears.
4 In the Title field enter a title for the request, for example: Update web site
5 In the Detailed description field enter a description, for example: Update web site
with latest corporate colors
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Ted and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying
him that a request has been added to his Request inbox.
The release Rita actions the request to its next state, UNDER WORK.
manager actions
the request to its 1 Select the request and on the tool bar select Action.
next state
The Action wizard appears.
Action Procedure
The development Ted reads the e-mail, views the request in his Request inbox, and does some design
team lead primes work to see what part of the web site is affected. He then primes a child task from the
a child task from request.
the request
1 Log into the web client as Ted.
3 In the Request view select the Request inbox and then the request that was raised
by Rita.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Wendy and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Wendy
notifying her that a task has been added to her Request inbox.
The development Ted actions the task to its next state, UNDER WORK.
team lead actions
the task to its next 1 Select the child task and on the tool bar select Action.
state
The Action wizard appears.
Deployment Guide 73
Chapter 3 Deployment Scenarios
Action Procedure
The web developer Wendy reads the e-mail and checks her Request inbox. She does some research and
updates their work identifies the file that needs to be modified, [Link]. Wendy updates her work area
area from the from the stream.
stream
1 Log into the web client as Wendy.
3 Change Wendy’s work area to the one that you created earlier (see the pre-
requisites at the start of this scenario).
4 In the Items view, on the Dirs tab of the navigation pane, expand Qlarius
Underwriter and select website.
6 Click Next.
4 Click Next.
9 Click Next.
Action Procedure
The developer Deploy by default is enabled for the DEV area so when Wendy delivered the item it was
verifies that the automatically deployed. She checks that the item was successfully deployed.
item was
automatically 1 Select the Deployment view.
deployed to the
DEV area 2 To only display information for the current stream do the following:
a In the navigation pane click the filter button in the top right corner.
b Select Show Current Stream.
3 Select the History tab and in the navigation pane select the DEV stage node.
4 In the content pane verify that [Link] was successfully deployed to the DEV
deployment area LCL_DEV_JMAIN_AREA01.
The Event Result column should display Succeeded.
The web developer Wendy delegates the child task to Ted, her team lead, for peer review.
delegates the task
to the team lead 1 In the Requests view select the Request inbox.
for peer review
2 Select the child task and on the tool bar click Delegate.
The Delegate wizard appears.
4 From the Role to Delegate list select REVIEWER and click Next.
5 In the ’Candidate users authorized for role assignment’ list select Ted and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying
him that a task has been added to his Request inbox.
The web developer Wendy actions the child task to its next state, PEER REVIEW.
actions the task to
its next state 1 Select the child task and on the tool bar select Action.
The Action wizard appears.
2 In the New State section check that the To next state field is set to PEER REVIEW.
3 Click Next.
6 Click Finish.
The task is removed from Wendy’s Request inbox.
Deployment Guide 75
Chapter 3 Deployment Scenarios
Action Procedure
The team lead Ted has read his e-mail, seen the task in his Request inbox, done a peer review of the
does a peer review file that Wendy modified, and is satisfied with the changes that she made. He actions
and actions the the task to its final state, CLOSED.
task to its final
state 1 Log into the web client as Ted.
3 Select the child task and on the tool bar select Action.
The Action wizard appears.
5 Click Next.
6 To deploy now, check that the option Perform deployments is set to ’as soon as
possible’.
8 Click Next.
A summary of the promotion and deployment activities and command that will be
performed is displayed.
9 Click Finish.
(Sheet 5 of 12)
Action Procedure
The team lead Ted verifies that the promotion and deployment operations were executed successfully.
verifies that the
promotion and 1 Select the Deployment view and check that only the current stream is displayed.
deployment were
successful 2 Check that the History tab is selected.
4 In the content pane verify that the request was promoted successfully from DEV to
SIT. The Event Result column should display Succeeded.
5 In the navigation pane expand the SIT stage node and select the
LCL_SIT_JMAIN_AREA01 deployment area.
6 In the content pane verify that the request and task were successfully deployed to
the SIT deployment area.
7 To browse the SIT deployment area, in the My Current Project view expand
Deployment Areas > SIT Stage > LCL_SIT_JMAIN_AREA01 > Qlarius Underwriter
> website
8 In the content pane verify that the latest revision of [Link] was deployed.
Ted performs system integration testing.
The team lead System integration testing has been completed successfully so Ted promotes the
promotes the request and task to the QA stage. Deploy by Default is not enabled so the request and
request and task task cannot be automatically deployed to the QA deployment area.
to the QA stage
1 Select the Deployment view and in the navigation pane select the SIT stage node.
2 Select the History tab and in the content pane select the request.
6 Click Next.
Deploy by Default is not enabled so no deploy options are available.
7 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
8 Click Finish.
10 In the content pane verify that the request was promoted successfully from SIT to
QA.
(Sheet 6 of 12)
Deployment Guide 77
Chapter 3 Deployment Scenarios
Action Procedure
The team lead Ted actions the request to its next lifecycle state, IN TEST, so that the QA team can
actions the perform testing.
request to its next
state 1 On the History tab select the request.
3 In the New State section check that the To next state field is set to IN TEST.
4 Click Next.
6 Click Finish.
Dimensions CM sends an e-mail to Tao, the QA manager, notifying her that a task
has been added to her Request inbox
Action Procedure
The QA manager Tao, the QA manager, reads the e-mail and checks the Pending tab for the QA stage on
deploys the the Deployment view. Tao sees that the request is ready to be deployed to QA.
request and task
to the QA 1 Log into the web client as Tao.
deployment area
2 Switch to the following stream: QLARIUS:MAINLINE_JAVA_STR
3 In the Deployment view check that only the current stream is displayed.
10 Click Next.
11 To deploy the request and child task now, check that the option Perform
deployments is set to ’as soon as possible’.
13 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
14 Click Finish.
16 In the navigation pane expand the QA stage node and select the
LCL_QA_JMAIN_AREA01 deployment area.
17 In the content pane verify that the request and child task were successfully
deployed to the QA area.
The QA team performs their tests.
(Sheet 8 of 12)
Deployment Guide 79
Chapter 3 Deployment Scenarios
Action Procedure
The QA manager QA testing has been complete successfully so Tao promotes the request and task to the
promotes the PRE-PROD stage. Deploy by Default is not enabled so the request and task cannot be
request and task automatically deployed to the PRE-PROD deployment area.
to the PRE-PROD
stage 1 On the History tab select the request.
5 Click Next.
Deploy by Default is not enabled so no deploy options are available.
6 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
7 Click Finish.
9 In the content pane verify that the request was promoted successfully from QA to
PRE-PROD.
The QA manager Tao closes the request.
actions the
request to its final 1 On History tab select the request.
lifecycle state
2 On the tool bar click Action.
The Action wizard appears.
Action Procedure
The release Rita, the release manager, checks the Pending tab for the PRE-PROD stage on the
manager deploys Deployment view. Rita sees that the request is ready to be deployed to PRE-PROD.
the request and
task to the PRE- 1 Log into the web client as Rita.
PROD deployment
area 2 In the Deployment view check that only the current stream is displayed.
9 Click Next.
10 To deploy the request and child task now, check that the option Perform
deployments is set to ’as soon as possible’.
12 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
16 In the content pane verify that the request and child task were successfully
deployed to the PRE-PROD area.
The release team performs their tests.
(Sheet 10 of 12)
Deployment Guide 81
Chapter 3 Deployment Scenarios
Action Procedure
The release Rita promotes the request and task to the LIVE stage. Deploy by Default is not enabled
manager promotes for the LIVE deployment area.
the request and
task to the LIVE 1 On the History tab, with the PRE-PROD stage node selected in the navigation pane,
stage select the request in the content pane.
5 Click Next.
Rita has the privilege to deploy at the same time as the promotion but chooses not
to select any deployment areas.
6 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
7 Click Finish.
9 In the content pane verify that the request was promoted successfully from PRE-
PROD to LIVE.
(Sheet 11 of 12)
Action Procedure
The release Let’s assume that it is now the regular maintenance period when the LIVE deployment
manager deploys area is offline. Rita checks to see what requests are ready to be deployed to the LIVE
the request to the deployment area.
LIVE deployment
area 1 In the Deployment view select the Pending tab.
3 In the content pane select the request and on the tool bar click Deploy.
The Deploy wizard appears.
6 Click Next.
7 To deploy the request and child task now, check that the option Perform
deployments is set to ’as soon as possible’.
9 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
3 In the content pane verify that the request and task were successfully deployed to
the LIVE area.
The release Rita verifies that the correct item revision was deployed to the LIVE area.
manager verifies
that the correct 1 In the My Current Project view, in the navigation pane, expand
item revision was Deployment Areas > LIVE Stage > LCL_LIVE_JMAIN_AREA01 >
deployed Qlarius Underwriter > website
2 In the content pane verify that the latest revision of [Link] was deployed.
End of scenario
(Sheet 12 of 12)
Deployment Guide 83
Chapter 3 Deployment Scenarios
Scenario Privileges
The tables below list the promotion and deployment privileges required by the users in the
above scenario.
Scenario Objective
The objective of this scenario is to deploy requests to modify the Qlarius web application.
Deployment is to a single deployment area at each stage. This scenario is similar to
"Scenario 1: Basic Request Deployment" on page 70, the main difference is a build at the
DEV stage.
Scenario Overview
The release manager raises an enhancement request.
The development team lead primes a child task from the request.
A developer makes a modification, delivers the modification and relates it to the task,
builds the task, and captures the build outputs in Dimensions CM.
The team lead promotes and deploys the request and task to the SIT stage and
deployment area, and then promotes them to the QA stage.
The QA manager deploys the request and task to the QA deployment area and then
promotes them 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.
Deployment Guide 85
Chapter 3 Deployment Scenarios
Scenario Information
The following stream is used: QLARIUS:JAVA_BRANCHA_STR
There is a separation of duties between the employees at the following stage
transitions:
• SIT to QA
• QA to PRE-PROD
A build is only required at the DEV stage.
Deployment is to a single deployment area at each stage. The following deployment
areas are used:
Deploy by Default
Stage Deployment area enabled on area?
DEV LCL_DEV_JBRNCHA_AREA03 Yes
SIT LCL_SIT_JBRNCHA_AREA03 Yes
QA LCL_QA_JBRNCHA_AREA03 No
PRE-PROD LCL_PP_JBRNCHA_AREA03 No
LIVE LCL_LIVE_JBRNCHA_AREA03 No
For a list of the promotion and deployment privileges required by the users see
"Scenario Privileges" on page 100.
Pre-Requisite
Create a work area on your local machine for the user Dinesh, for example:
C:\streams\JAVA_BRANCHA_STR\dinesh
3 In the Request view, on the tool bar click New and select CR.
The New Request dialog box appears.
4 In the Title field enter: Implement support for Qlarius iPhone app
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Ted and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying
him that a request has been added to his Request inbox.
The release Rita actions the request to its next state, UNDER WORK.
manager actions
the request to its 1 Select the request and on the tool bar select Action.
next state
The Action wizard appears.
Deployment Guide 87
Chapter 3 Deployment Scenarios
Action Procedure
The development Ted reads the e-mail, views the request in his Request inbox, and does some design
team lead primes work to see what part of the application is affected. He then primes a child task from the
a child task from request.
the request
1 Log into the web client as Ted.
3 In the Request view select the Request inbox and then the request that was raised
by Rita.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Dinesh and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Dinesh
notifying him that a task has been added to his Request inbox.
The development Ted actions the task to its next state, UNDER WORK.
team lead actions
the task to its 1 Select the child task and on the tool bar select Action.
next state
The Action wizard appears.
Action Procedure
The developer Dinesh reads the e-mail and checks his Request inbox. He does some research and
updates their identifies the item that needs to be modified, [Link]. He updates his work area
work area from from the stream.
the stream
1 Log into the web client as Dinesh.
3 Change Dinesh’s work area to the one that you created earlier (see the pre-
requisites at the start of this scenario).
4 In the Items view, on the Dirs tab of the navigation pane, expand Qlarius
Underwriter > qlarius and select interfaces.
6 Click Next.
4 Click Next.
9 Click Next.
Deployment Guide 89
Chapter 3 Deployment Scenarios
Action Procedure
The developer Deploy by default is enabled for the DEV area so when Dinesh delivered the item it was
verifies that the automatically deployed. He checks that the item was successfully deployed.
item was
automatically 1 Select the Deployment view.
deployed to the
DEV area 2 To only display information for the current stream do the following:
a In the navigation pane click the filter button in the top right corner.
b Select Show Current Stream.
4 In the navigation pane select the DEV stage node and then the
LCL_DEV_JBRNCHA_AREA03 deployment area.
5 In the content pane verify that [Link] was successfully deployed. The
Event Result column should display Succeeded.
(Sheet 4 of 14)
Action Procedure
The developer Dinesh builds the task in the DEV deployment area and captures the build outputs in
builds the task Dimensions CM against the task.
and captures the
outputs 1 In the Request view select the child task, on the toolbar click Build, and select
Build.
The Run Build wizard appears.
5 Click Next.
6 Select the option Check in build outputs automatically. This check the build outputs
into Dimensions CM.
7 To specify the request that the build outputs will be related to when they are
checked into Dimensions CM, in the Specify the request(s) field click Select.
The Selection wizard appears.
10 Click Next.
12 Click Finish.
The Selection wizard closes.
14 Accept the default build option selections (none) and click Next.
17 Click Next.
A summary of the build command that will be executed is displayed.
18 Click Finish.
19 (Optional) To monitor the progress of the build click the Job ID link.
20 Click Close.
(Sheet 5 of 14)
Deployment Guide 91
Chapter 3 Deployment Scenarios
Action Procedure
The developer Dinesh verifies that the build was successful and that the outputs were captured in
verifies that the Dimensions CM against the task and deployed to the DEV deployment area.
build was
successful and 1 To verify that the build was successful, in the Deployment view select the History
that the outputs tab.
were captured in
Dimensions CM 2 In the navigation pane expand the DEV stage node and select
and deployed LCL_DEV_JBRNCHA_AREA03.
3 In the content pane verify that the Event Result column displays Succeeded for the
following objects:
• [Link] (the Event Type is Collect)
• QLARIUS:JAVA_BRANCHA_STR (the Event Type is Build)
4 Open [Link], make a note of the item revision, and click Cancel.
5 To verify that the build outputs were captured in Dimensions CM, in the Requests
view select the Request inbox and open the task.
The Open Request dialog box appears.
6 Select the Relationships tab and from the Related object class list select Items.
A list of all the build outputs that were captured in Dimensions CM against the task
is displayed.
7 Click Cancel.
8 To browse the DEV deployment area, in the My Current Project view expand
Deployment Areas > DEV Stage > LCL_DEV_JBRNCHA_AREA03
10 In the content pane verify that the latest revision of [Link] was deployed.
The developer Dinesh delegates the task to Ted for peer review.
delegates the task
to the team lead 1 In the Requests view select the Request inbox.
2 Select the child task and on the tool bar click Delegate.
The Delegate wizard appears.
4 From the Role to Delegate list select REVIEWER and click Next.
5 In the ’Candidate users authorized for role assignment’ list select Ted and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying
him that a task has been added to his Request inbox.
(Sheet 6 of 14)
Action Procedure
The developer Dinesh actions the task to its next state, PEER REVIEW.
actions the task to
its next state 1 Select the child task and on the tool bar select Action.
The Action wizard appears.
2 In the New State section check that the To next state field is set to PEER REVIEW.
3 Click Next.
6 Click Finish.
The task is removed from Dinesh’s request inbox.
2 In the Requests view select the Request inbox, select the child task, and on the
tool bar click Action.
The Action wizard appears.
Deployment Guide 93
Chapter 3 Deployment Scenarios
Action Procedure
The team lead To perform system integration testing, Ted promotes and deploys the parent request
promotes and and task to the SIT stage and its associated deployment area. Deploy by default is
deploys the enabled for the SIT area. A build is not required at the SIT stage so the team lead uses
parent request to an area filter to only deploy the items that are required for testing at SIT (the
the SIT stage executables).
1 Select the parent request and on the tool bar click Promote.
The Promote wizard appears.
4 Click Next.
5 To deploy immediately, check that the option Perform deployments is set to ’as
soon as possible’.
7 Click Next.
A summary of the promotion and deployment activities and command that will be
performed is displayed.
8 Click Finish.
The team lead Ted verifies that promotion and deployment operations were successful and that the
verifies that executables were deployed to the SIT area.
promotion and
deployment were 1 Select the Deployment view and check that only the current stream is displayed.
successful
2 Check that the History tab is selected and in the navigation pane select the SIT
stage node.
3 In the content pane verify that the request was promoted successfully from DEV to
SIT.
4 In the navigation pane expand the SIT stage node and select the
LCL_SIT_JMAIN_AREA03 deployment area.
5 In the content pane verify that the request and child task were deployed
successfully to the SIT deployment area.
6 To browse the SIT deployment area, in the My Current Project view expand
Deployment Areas > SIT Stage > LCL_SIT_JBRNCHA_AREA03.
Action Procedure
The team lead System integration testing has been completed successfully so Ted promotes the
promotes the request and task to the QA stage. Deploy by Default is not enabled so the request and
request and task task cannot be automatically deployed to the QA deployment area.
to the QA stage
1 In the Requests view select the Request inbox and then the request.
5 Click Next.
Deploy by Default is not enabled so no deploy options are available.
6 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
7 Click Finish.
8 In the Deployment view select the History tab and in the navigation pane select
the QA stage node.
9 In the content pane verify that the request was promoted successfully from SIT to
QA.
The team lead Ted actions the request to its next lifecycle state, IN TEST.
actions the
request to its next 1 On the History tab select the parent request and on the tool bar click Action.
state
The Action wizard appears.
2 In the New State section check that the To next state field is set to IN TEST.
3 Click Next.
5 Click Finish.
Dimensions CM sends an e-mail to Tao, the QA manager, notifying her that a
request has been added to her Request inbox
Deployment Guide 95
Chapter 3 Deployment Scenarios
Action Procedure
The QA manager Tao reads the e-mail, checks her Request inbox, and deploys the request and task to the
deploys the QA deployment area. A build is not required at the QA stage so the QA manager uses an
request and task area filter to only deploy the items that are required for testing at QA (the executables).
to the QA
deployment area 1 Log into the web client as Tao.
3 Select the Deployment view and check that only the current stream is displayed.
5 In the navigation pane expand the QA stage node and select the
LCL_QA_JBRNCHA_AREA03 deployment area.
10 Click Next.
11 To deploy the request and child task immediately, check that the option Perform
deployments is set to ’as soon as possible’.
13 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
16 In the navigation pane expand the QA stage node and select the
LCL_QA_JBRNCHA_AREA03 deployment area.
17 In the content pane verify that the request and child task were successfully
deployed to the QA area.
The QA team tests the application.
(Sheet 10 of 14)
Action Procedure
The QA manager QA testing has been completed successfully so Tao promotes the request and task to
promotes the the PRE-PROD stage. Deploy by Default is not enabled so the request and task cannot
request and task be automatically deployed to the PRE-PROD deployment area.
to the PRE-PROD
stage 1 On the History tab select the request.
5 Click Next.
Deploy by Default is not enabled so no deploy options are available.
6 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
7 Click Finish.
Dimensions CM sends an e-mail to the release manager, Rita, notifying her that a
promotion has been performed.
9 In the content pane verify that the request was promoted successfully from QA to
PRE-PROD.
The QA manager Tao closes the request.
actions the
request to its final 1 On History tab select the request.
lifecycle state
2 On the tool bar click Action.
The Action wizard appears.
Deployment Guide 97
Chapter 3 Deployment Scenarios
Action Procedure
The release Rita reads the e-mail, checks the Pending tab for the PRE-PROD stage on the
manager deploys Deployment view. Rita sees that the request and task are ready to be deployed to PRE-
the request and PROD. A build is not required at the PRE-PROD stage so the release manager uses an
task to the PRE- area filter to only deploy the items that are required at PRE-PROD (the executables).
PROD deployment
area 1 Log into the web client as Rita.
2 Select the Deployment view and check that only the current stream is displayed.
4 In the navigation pane expand the PRE-PROD stage node and select the
LCL_PP_JBRNCHA_AREA03 deployment area.
9 Click Next.
10 To deploy the request and child task immediately, check that the option Perform
deployments is set to ’as soon as possible’.
12 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
15 Verify that the request and child task were successfully deployed to the PRE-PROD
area.
The release team tests the application.
(Sheet 12 of 14)
Action Procedure
The release Testing has been completed successfully so Rita promotes the request and task to the
manager LIVE stage. Deploy by Default is not enabled for the LIVE deployment area.
promotes the
request and task 1 On the History tab select the request and on the tool bar click Promote.
to the LIVE stage
The Promote wizard appears.
4 Click Next.
Rita has the privilege to deploy at the same time as the promotion but chooses not
to. Do not select any deployment areas.
5 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
6 Click Finish.
8 In the content pane verify that the request was promoted successfully from PRE-
PROD to LIVE.
The release Let’s assume that it is now the regular maintenance period when the LIVE deployment
manager deploys area is offline. Rita checks to see what requests are ready to be deployed to the LIVE
the request and stage and uses an area filter to only deploy the executables.
task to the LIVE
deployment area 1 On the History tab select the request and on the toolbar click Deploy.
The Deploy wizard appears.
4 Click Next.
5 To deploy the request and child task immediately, check that the option Perform
deployments is set to ’as soon as possible’.
7 Click Next.
Deployment Guide 99
Chapter 3 Deployment Scenarios
Action Procedure
The release Rita verifies that the deployment operation was successful.
manager verifies
that the 1 In the navigation pane expand the LIVE stage node and select the
deployment LCL_LIVE_JBRNCHA_AREA03 area.
operation was
successful 2 In the content pane verify that the request and task were successfully deployed to
the LIVE area.
The release Rita verifies that the executable was deployed to the LIVE area.
manager verifies
that the 1 In the My Current Project view expand Deployment Areas > LIVE Stage >
executable was LCL_LIVE_JBRNCHA_AREA03
deployed
2 Select the folder Qlarius Underwriter.
Scenario Privileges
The tables below list the promotion and deployment privileges required by the users in the
above scenario.
Scenario Objective
The objective of this scenario is to deploy requests to modify the Qlarius web application.
This scenario is similar to "Scenario 2: Deploying Requests to a Single Deployment Area"
on page 85. The main difference is that multiple requests are deployed in a specific
sequence to multiple deployment areas.
Scenario Overview
The release manager raises an enhancement request.
The development team lead primes two child tasks from the request and delegates
them to separate developers.
The developers modify items, deliver the modifications and relate them to the tasks,
build the tasks, and capture the build outputs in Dimensions CM.
The team lead promotes and deploys the request and tasks in a specific sequence to
the SIT stage and deployment areas, and then promotes them to the QA stage.
The QA manager deploys the request and tasks to the QA deployment areas in the
same sequence and then promotes them to the PRE-PROD stage.
The release manager deploys the request and tasks to the PRE-PROD deployment
areas in the same sequence, and then promotes and deploys them to the LIVE stage
and production environments.
Scenario Information
The following stream is used: QLARIUS:JAVA_BRANCHA_STR
There is a separation of duties between the employees at the following stage
transitions:
• SIT to QA
• QA to PRE-PROD
A build is only required at the DEV stage.
Deployment is to multiple areas at each stage. The following deployment areas are
used:
Deploy by Default
Stage Deployment area enabled on area? Server type Location
DEV LCL_DEV_JBRNCHA_AREA01 Yes RDBMS London
LCL_DEV_JBRNCHA_AREA03 Yes Web application London
SIT LCL_SIT_JBRNCHA_AREA01 Yes RDBMS London
LCL_SIT_JBRNCHA_AREA03 Yes Web application London
QA LCL_QA_JBRNCHA_AREA01 No RDBMS London
LCL_QA_JBRNCHA_AREA03 No Web application London
PRE- LCL_PP_JBRNCHA_AREA01 No RDBMS London
PROD
LCL_PP_JBRNCHA_AREA03 No Web application London
LIVE LCL_LIVE_JBRNCHA_AREA01 No RDBMS London
LCL_LIVE_JBRNCHA_AREA03 No Web application London
LCL_LIVE_JBRNCHA_AREA04 No RDBMS New York
LCL_LIVE_JBRNCHA_AREA05 No Web application New York
The deployment sequence to these areas is important as the database schema must
be updated before the web application code that uses it:
• During deployment to the RDBMS areas post deployment scripts run to remotely
shutdown the application servers and execute the SQL script that has been
deployed to update the database schema. The update to the database is more
likely to go wrong and is harder to fix than the file movement. Therefore the
database is updated first so that if anything goes wrong there is less work to
restore.
• After deployment to the RDBMS server has been completed successfully,
deployment continues to the web application server area. The scripts in the web
application server area then re-start the servers.
Only content relevant to the specific areas is deployed, for example, the Linux RDBMS
server area receives the SQL script files and the Linux web application server area
receives the Jar files.
For a list of the promotion and deployment privileges required by the users see
"Scenario Privileges" on page 121.
Pre-Requisite
Create work areas on your local machine for the users Dinesh and Dawn, for example:
C:\streams\JAVA_BRANCHA_STR\dinesh
C:\streams\JAVA_BRANCHA_STR\dawn
3 In the Request view, on the tool bar click New and select CR.
The New Request dialog box appears.
4 In the Title field enter: Implement support for Qlarius iPhone app
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Ted and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying
him that a request has been added to his Request inbox.
(Sheet 1 of 18)
Action Procedure
The release Rita actions the request to its next state, UNDER WORK.
manager actions
the request to its 1 Select the request and on the tool bar select Action.
next state
The Action wizard appears.
4 Select the request that was raised by Rita, on the tool bar click Prime, and select
Task.
The Prime Request dialog box appears.
5 Change the default title to Implement support for Qlarius iPhone app (Java).
7 To create a second child task repeat steps 4-6 and change the title to Implement
support for Qlarius iPhone app (sql)
The development Ted delegates the first child task that he primed, Implement support for Qlarius iPhone
team lead app (Java), to Dinesh and the second child task, Implement support for Qlarius iPhone
delegates the app (sql), to Dawn. Both are developers in his team.
tasks to separate
developers 1 Select the first child task that Ted primed and on the tool bar click Delegate.
The Delegate wizard appears.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Dinesh and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Dinesh
notifying him that a task has been added to his Request inbox.
5 Repeat steps 1-4 for the second child task and select Dawn as the candidate user.
(Sheet 2 of 18)
Action Procedure
The development Ted actions the tasks to their next state, UNDER WORK.
team lead actions
the tasks to their 1 Select both child tasks and on the tool bar select Action.
next state
The Action multiple requests dialog box appears.
2 Click Finish.
The tasks are removed from Ted’s request inbox.
3 Change Dinesh’s work area to the one that you created earlier (see the pre-
requisites at the start of this scenario).
4 In the Items view, on the Dirs tab of the navigation pane, expand Qlarius
Underwriter > qlarius and select interfaces.
6 Click Next,
Action Procedure
The developer Dinesh delivers the modified item to Dimensions CM and relates it to the task that is
delivers the item delegated to him.
and relates it to
the task 1 In the Items view, on the toolbar click Deliver.
The Deliver to Stream wizard appears.
3 Click Next.
8 Click Next.
9 Select the child task that is delegated to Dinesh and click Finish.
3 Select the History tab and in the navigation pane select the DEV stage node.
4 In the content pane verify that the [Link] was successfully deployed to
both DEV deployment areas (there is a separate entry for each area):
• LCL_DEV_JBRNCHA_AREA01
• LCL_DEV_JBRNCHA_AREA03
The Event Result column should display Succeeded.
(Sheet 4 of 18)
Action Procedure
The developer Dinesh builds the child task in the DEV web application deployment area and captures
builds the task the build outputs in Dimensions CM against the task that is delegated to him.
and captures the
outputs 1 On the Requests view select the Request inbox.
2 Select the child task, on the toolbar click Build, and select Build.
The Run Build wizard appears.
6 Click Next.
7 Select the option Check in build outputs automatically. This will check the build
outputs into Dimensions CM.
8 To specify the request that the build outputs will be related to when they are
checked into Dimensions CM, in the Specify the request(s) field click Select.
The Select Request wizard appears.
9 Do the following:
a From the Product name list select QLARIUS.
b From the Type name list select TASK.
c Click Next.
d Select the child task that is delegated to Dinesh.
e Click Finish.
11 Accept the default build option selections (none) and click Next.
14 Click Next.
A summary of the build command that will be executed is displayed.
15 Click Finish.
16 (Optional) To monitor the progress of the build click the Job <ID number> link.
17 Click Close.
(Sheet 5 of 18)
Action Procedure
The developer Dinesh verifies that the build was successful and that the outputs were captured in
verifies that the Dimensions CM against the task and deployed to the DEV web application deployment
build was area.
successful and
that the outputs 1 To verify that the build was successful, in the Deployment view select the History
were captured in tab.
Dimensions CM
and deployed 2 In the navigation pane expand the DEV stage node and select
LCL_DEV_JBRNCHA_AREA03.
3 In the content pane verify that the Event Result column displays Succeeded for the
following objects:
• [Link] (the event type is Collect)
• QLARIUS:JAVA_BRANCHA_STR (the event type is Build)
4 Open [Link], make a note of the item revision, and click Cancel.
5 To verify that the build outputs were captured in Dimensions CM against the task,
in the Requests view select the Request inbox and open the task.
The Open Request dialog box appears.
6 Select the Relationships tab and from the Related object class list select Items.
A list of all the build outputs that were captured in Dimensions CM against the task
is displayed.
7 Click Cancel.
8 To browse the DEV web application deployment area, in the My Current Project
view expand Deployment Areas > DEV Stage > LCL_DEV_JBRNCHA_AREA03
10 In the content pane verify that latest revision of [Link] was deployed.
The developer Dinesh delegates the task to Ted for peer review.
delegates the task
to the team lead 1 In the Requests view select the Request inbox.
for peer review
2 Select the child task and on the tool bar click Delegate.
The Delegate wizard appears.
4 From the Role to Delegate list select REVIEWER and click Next.
5 In the ’Candidate users authorized for role assignment’ list select Ted and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying
him that a task has been added to his Request inbox.
(Sheet 6 of 18)
Action Procedure
The developer Dinesh actions the task that is delegated to him to its next state, PEER REVIEW.
actions the task to
its next state 1 Select the child task and on the tool bar select Action.
The Action wizard appears.
2 In the New State section check that the To next state field is set to PEER REVIEW.
3 Click Next.
6 Click Finish.
The task is removed from Dinesh’s request inbox.
5 Deliver the modified item back to the stream and relate it to the task that was delegated to Dawn. Make
a note of the latest item revision.
6 In the Deployment view verify that [Link] was deployed successfully to the
LCL_DEV_JBRNCHA_AREA01 deployment area.
7 In the My Current Project view browse the DEV RDBMS deployment area and verify that the latest
revision of [Link] was deployed to LCL_DEV_JBRNCHA_AREA01 > Qlarius Underwriter > qlarius >
sql.
Action Procedure
The team lead Ted has read his e-mails, seen the tasks in his Request inbox, done a peer review of the
does a peer items that Dinesh and Dawn modified, and is satisfied with the changes that they made.
review and actions He actions the tasks to their final state, CLOSED.
the tasks to their
final state 1 Log into the web client as Ted.
2 In the Requests view select the Request inbox, select both child tasks, and on the
tool bar click Action.
The Action wizard appears.
3 Click Finish.
The child tasks are removed from Ted’s Request inbox.
The team lead To perform system integration testing, Ted promotes and deploys the request and the
promotes and child tasks to the SIT stage and deployment areas in the following order:
deploys the
request and tasks RDBMS server area
to the SIT stage Web application server area
and RDBMS server
area Deploy by default is enabled for the SIT areas. A build is not required at the SIT stage
so the team lead uses an area filter to only deploy the items that are required for
testing at SIT (the executables).
1 Select the parent request and on the tool bar click Promote.
The Promote wizard appears.
2 Check that the option Promote child requests is selected. This promotes the child
task with its parent request.
4 Click Next.
5 To deploy immediately, check that the option Perform deployments is set to ’as
soon as possible’.
7 Click Next.
A summary of the promotion and deployment activities and command that will be
performed is displayed.
8 Click Finish.
(Sheet 8 of 18)
Action Procedure
The team lead Ted verifies that promotion and deployment operations were successful and that the sql
verifies that file was deployed to the SIT RDBMS deployment area.
promotion and
deployment 1 Select the Deployment view and check that only the current stream is displayed.
operations were
successful 2 Select the History tab and in the navigation pane select the SIT stage node.
3 In the content pane verify that the request was promoted successfully from DEV to
SIT.
4 In the navigation pane expand the SIT stage node and select the
LCL_SIT_JBRNCHA_AREA01 deployment area.
5 In the content pane verify that the request and child tasks were deployed
successfully to the SIT RDBMS deployment area.
6 To browse the SIT RDBMS deployment area, in the My Current Project view expand
Deployment Areas > SIT Stage > LCL_SIT_JBRNCHA_AREA01.
8 In the content pane verify that the latest revision of [Link] was deployed.
The team lead Deployment to the RDBMS server area has been completed successfully so Ted now
deploys the deploys the request and tasks to the SIT web application server area.
request and tasks
to the SIT web 1 In the Deployment view select the Pending tab and in the navigation pane select
application server the SIT stage node.
area
2 In the content pane, from the Show list select Requests.
3 In the content pane select the request and on the tool bar click Deploy.
The Deploy wizard appears.
6 Click Next.
7 To deploy immediately, check that the option Perform deployments is set to ’as
soon as possible’.
9 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
10 Click Finish.
(Sheet 9 of 18)
Action Procedure
The team lead Ted verifies that promotion and deployment operations were successful and that the .jar
verifies that file was deployed to the SIT web application deployment area.
promotion and
deployment 1 Select the History tab.
operations were
successful 2 In the navigation pane select the LCL_SIT_JBRNCHA_AREA03 deployment area.
3 In the content pane verify that the request and child tasks were deployed
successfully to the SIT web application deployment area.
4 To browse the SIT web application deployment area, in the My Current Project view
expand Deployment Areas > SIT Stage > LCL_SIT_JBRNCHA_AREA03.
6 In the content pane verify that the latest revision of [Link] was deployed.
Ted performs system integration testing.
The team lead System integration testing has been completed successfully so Ted promotes the
promotes the request and tasks to the QA stage. Deploy by Default is not enabled so the request and
request and tasks task cannot be automatically deployed to the QA deployment area.
to the QA stage
1 On the Requests view, in the Request inbox, select the request and on the tool bar
click Promote.
The Promote wizard appears.
4 Click Next.
Deploy by Default is not enabled so no deploy options are available.
5 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
6 Click Finish.
Dimensions CM sends an e-mail to the QA manager, Tao, notifying her that a
promotion has been performed.
7 In the Deployment view select the History tab and in the navigation pane select
the QA stage node.
8 In the content pane verify that the request was promoted successfully from SIT to
QA.
(Sheet 10 of 18)
Action Procedure
The team lead Ted actions the request to its next lifecycle state, IN TEST, so that QA can test the
actions the application.
request to its next
state 1 On the History tab select the request and on the tool bar click Action.
The Action wizard appears.
2 In the New State section check that the To next state field is set to IN TEST.
3 Click Next.
5 Click Finish.
Note: The task is removed from Ted’s request inbox.
Action Procedure
The QA manager Tao reads the e-mail, checks her Request inbox, and deploys the request and tasks to
deploys the the QA deployment areas in the same sequence:
request and tasks
to the QA RDBMS server area
deployment areas Web application server area
A build is not required at the QA stage so the QA manager uses an area filter to only
deploy the items that are required for testing at QA (the executables).
3 Select the Deployment view and check that only the current stream is displayed.
5 In the navigation pane expand the QA stage node and select the
LCL_QA_JBRNCHA_AREA01 deployment area (the RDBMS server).
10 Click Next.
11 To deploy the request and child tasks immediately, check that the option Perform
deployments is set to ’as soon as possible’.
13 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
14 Click Finish.
16 In the content pane verify that the request and child tasks were successfully
deployed to the QA area LCL_QA_JBRNCHA_AREA01.
Action Procedure
The QA manager QA testing has been completed successfully so Tao closes the enhancement request.
actions the
request to its final 1 On the History tab select the request and on the tool bar click Action.
lifecycle state.
The Action wizard appears.
4 Click Next.
Deploy by Default is not enabled so no deploy options are available.
5 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
6 Click Finish.
Dimensions CM sends an e-mail to the release manager, Rita, notifying her that a
promotion has been performed.
8 In the content pane verify that the request was promoted successfully from QA to
PRE-PROD.
Action Procedure
The release Rita, the release manager, reads the e-mail and checks the Pending tab for the PRE-
manager deploys PROD stage on the Deployment view. Rita sees that the request and tasks are ready to
the request and be deployed to PRE-PROD. The deployment sequence is the same as in the previous
tasks to the PRE- stages. A build is not required at the PRE-PROD stage so the release manager uses an
PROD deployment area filter to only deploy the items that are required at PRE-PROD (the executables).
areas
1 Log into the web client as Rita.
2 Select the Deployment view and check that only the current stream is displayed.
3 Select the Pending tab, in the navigation pane expand the PRE-PROD stage node,
and select the LCL_PP_JBRNCHA_AREA01 deployment area (the RDBMS server).
8 Click Next.
9 To deploy the request and child tasks immediately, check that the option Perform
deployments is set to ’as soon as possible’.
11 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
12 Click Finish.
14 In the content pane verify that the request and child tasks were successfully
deployed to the PRE-PROD LCL_PP_JBRNCHA_AREA01 deployment area.
15 Repeat steps 3-14 for the PRE-PROD web application server area:
LCL_PP_JBRNCHA_AREA03.
The release team performs their tests.
(Sheet 14 of 18)
Action Procedure
The release Testing has been completed so Rita promotes the request and tasks to the LIVE stage.
manager Deploy by Default is not enabled for the LIVE deployment area.
promotes the
request and tasks 1 On the History tab select the request and on the tool bar click Promote.
to the LIVE stage
The Promote wizard appears.
4 Click Next.
Rita has the privilege to deploy at the same time as the promotion but chooses
not. Do not select any deployment areas.
5 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
6 Click Finish.
8 In the content pane verify that the request was promoted successfully from PRE-
PROD to LIVE.
The request and tasks are now ready to be deployed to the company’s live production environments in
London and New York. Deployment normally takes place during the regular maintenance period when the
areas are offline. Rita does the following:
Schedules the deployment to the New York production environment at midnight local time.
Manually deploys to the London production environment at midnight local time. London is ahead of New
York so if there is a problem with the deployment she has time to fix it.
Note: Rita deploys to the LIVE deployment areas in the same sequence as in the previous stages.
(Sheet 15 of 18)
Action Procedure
The release Rita schedules the deployment of the request and tasks to the live production
manager environment in New York at midnight local time.
schedules a
deployment to the 1 In the navigation pane expand the LIVE stage node and select the RDBMS
live production deployment area in New York: LCL_LIVE_JBRNCHA_AREA04
environment in
New York 2 On the Pending tab select the request and on the toolbar click Deploy.
The Deploy wizard appears.
Note: You can also deploy the request from the History tab.
5 Click Next.
10 Click Next.
12 Click Finish.
13 On the Queue tab verify that the request and tasks are queued and waiting to be
deployed.
14 Repeat steps 1-13 for the web application deployment area in New York,
LCL_LIVE_JBRNCHA_AREA05. You must schedule the deployment a few minutes
later than the deployment to the RDBMS area.
(Sheet 16 of 18)
Action Procedure
The release Let’s assume that it is now midnight in London and the local live production
manager deploys environments are offline. Rita checks to see what requests are ready to be deployed to
the request and the LIVE stage. She uses an area filter to only deploy the executables.
the tasks to the
LIVE RDBMS 1 In the navigation pane, in the LIVE stage node, select the RDBMS deployment area
deployment area in London: LCL_LIVE_JBRNCHA_AREA01
in London
2 On the Pending tab select the request and on the toolbar click Deploy.
The Deploy wizard appears.
5 Click Next.
6 To deploy the request and child task immediately, check that the option Perform
deployments is set to ’as soon as possible’.
8 Click Next.
10 Click Finish.
The release Rita verifies that deployment operation was successful and that the sql file was deployed
manager verifies to the LIVE RDBMS deployment area in London.
that deployment
to the RDBMS 1 Select the History tab.
area was
successful 2 In the content pane verify that the request and tasks were successfully deployed to
the LIVE area.
3 To browse the LIVE deployment area, in the My Current Project view expand
Deployment Areas > LIVE Stage > LCL_LIVE_JBRNCHA_AREA01
5 In the content pane verify that the latest revision of [Link] was deployed.
(Sheet 17 of 18)
Action Procedure
The release The deployment to the RDBMS area was successful so Rita can now deploy the request
manager deploys and tasks to the LIVE web application deployment area in London.
the request and
tasks to the LIVE 1 In the Deployment view, in the LIVE stage node in the navigation pane select the
web application web application deployment area in London: LCL_LIVE_JBRNCHA_AREA03
deployment area
in London 2 On the Pending tab select the request and on the toolbar click Deploy.
The Deploy wizard appears.
5 Click Next.
6 To deploy the request and child task immediately, check that the option Perform
deployments is set to ’as soon as possible’.
8 Click Next.
10 Click Finish.
The release Rita verifies that deployment operation was successful and that the jar file was deployed
manager verifies to the LIVE RDBMS deployment area in London.
that deployment
to the web 1 Select the History tab.
application area
was successful 2 In the content pane verify that the request and tasks were successfully deployed to
the LIVE area.
3 To browse the LIVE deployment area, in the My Current Project view expand
Deployment Areas > LIVE Stage > LCL_LIVE_JBRNCHA_AREA03
5 In the content pane verify that the latest revision of [Link] was deployed.
Rita e-mails the New York office to advise them that a deployment has been scheduled for midnight local time
and that the deployment in London was successful. Rita goes to sleep and in the morning verifies that the
deployment to the production environment in New York was successful. The enhancement to the Qlarius web
application is now live across all production environments.
End of scenario
(Sheet 18 of 18)
Scenario Privileges
The tables below list the promotion and deployment privileges required by each user in
the scenario.
Scenario Objectives
The objective of this scenario is to deploy refactoring changes to the corporate web site of
Qlarius Health Insurance.
Scenario Overview
The release manager raises enhancement requests.
The development team lead primes a child task from each request.
A web developer makes the refactoring changes, delivers the modifications, and
relates them to the tasks.
The team lead promotes and deploys the requests and tasks to the SIT stage and
deployment area, and then promotes them to the QA stage.
The QA manager deploys the requests and tasks to the QA deployment area and then
promotes them to the PRE-PROD stage.
The release manager deploys the requests and tasks to the PRE-PROD deployment
area and then promotes and deploys them to the LIVE stage and production
environments.
Scenario Information
The following scenario is used: QLARIUS:JAVA_BRANCHA_STR
No builds are required as only a text file is modified.
There is a division of responsibilities between the employees at the following stage
transitions:
• SIT to QA
• QA to PRE-PROD
This scenario uses the following web application deployment areas:
Deploy by Default
Stage Deployment area enabled for area?
DEV LCL_DEV_JBRNCHA_AREA03 Yes
SIT LCL_SIT_JBRNCHA_AREA03 Yes
QA LCL_QA_JBRNCHA_AREA03 No
PRE-PROD LCL_PP_JBRNCHA_AREA03 No
LIVE LCL_LIVE_JBRNCHA_AREA03 No
For a list of the promotion and deployment privileges required by the users see
"Scenario Privileges" on page 139.
Pre-Requisites
1 Create a work area on your local machine for the user Wendy, for example:
C:\streams\JAVA_BRANCHA_STR\wendy
2 Log into the web client as a user that has the privileges to promote and deploy
baselines to any stage and area, for example, the tool administrator, typically dmsys.
4 To deploy the files in the stream to all deployment areas, promote and deploy the
baseline as follows:
a Select the baseline and on the toolbar click Promote.
b In the Next stage field check that SIT is selected.
c Click Next.
d To deploy now, check that the option Perform deployments is set to ’as soon as
possible’.
e In the Areas(s) for deployment field check that the LCL_SIT_JBRNCHA_AREA03
deployment area is selected.
f Click Next.
g A summary of the promotion and deployment activities and command that will be
performed is displayed.
h Click Finish.
i Repeat steps ’a’ to ’h’ for the other stages and deployment areas:
• QA: LCL_QA_JBRNCHA_AREA03
• PRE-PROD: LCL_PRE-PROD_JBRNCHA_AREA03
• LIVE: LCL_LIVE_JBRNCHA_AREA03
3 In the Request view, on the tool bar click New and select CR.
The New Request dialog box appears.
4 In the Title field enter: Create resources directory and move CSS file
8 Repeat steps 3-7 to create the second request and use the title Modify CSS file.
The release Rita delegates the requests to the development team lead, Ted, whose team is
manager responsible for maintaining the web site.
delegates the
request to the 1 Select both requests and on the tool bar click Delegate.
team lead
The Delegate wizard appears.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Ted and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying
him that requests have been added to his Request inbox.
(Sheet 1 of 15)
Action Procedure
The release Rita actions the requests to their next state, UNDER WORK.
manager actions
the requests to 1 Select the requests and on the tool bar select Action.
their next state
The Action multiple requests dialog box appears.
2 Click Finish.
The requests are removed from Rita’s request inbox.
4 Select the first request that was raised by Rita, Create resources directory and
move CSS file.
7 To prime a child task from the second request, Modify CSS file, repeat steps 4-6.
The development Ted delegates both tasks to a web developer, Wendy.
team lead
delegates the 1 Select both tasks and on the toolbar click Delegate.
tasks to a web
The Delegate wizard appears.
developer
2 Check that the Capability option is set to Secondary.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Wendy and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Wendy
notifying her that requests have been added to her Request inbox.
(Sheet 2 of 15)
Action Procedure
The development Ted actions the tasks to their next state, UNDER WORK.
team lead actions
the tasks to their 1 Select both child tasks and on the tool bar select Action.
next state
The Action multiple requests dialog box appears.
2 Click Finish.
The tasks are removed from Ted’s request inbox.
3 Change Wendy’s work area to the one that you created earlier (see the pre-
requisites at the start of this scenario).
4 In the Items view, in the navigation pane select the Dirs tab, expand Qlarius
Underwriter and select website.
7 Click Close.
The web developer In Wendy’s local work area do the following:
makes some
refactoring 1 In the website folder create a new sub-folder called resources.
changes
2 Move [Link] from the website folder to the resources folder.
(Sheet 3 of 15)
Action Procedure
The web developer Wendy delivers the refactoring changes to Dimensions CM and relates them to the first
delivers the task.
refactoring
changes 1 In the web client, on the navigation pane, select the website folder (on the Dirs tab
of the Items view).
4 Click Next.
The following changes types should be selected:
• Qlarius Underwriter\website\[Link] (Deletion)
• Qlarius Underwriter\website\resources (Addition)
• Qlarius Underwriter\website\resources\[Link] (Addition)
5 Click Next.
9 Click Next.
10 Select the task Create resources directory and move CSS file and click Finish.
12 Click Close.
The refactoring changes are delivered to Dimensions CM.
(Sheet 4 of 15)
Action Procedure
The web developer Deploy by default is enabled for the DEV web application deployment area so when
verifies that the Wendy delivered the refactoring changes they were automatically deployed. She
refactoring checks that deployment was successful.
changes were
deployed 1 Select the Deployment view.
4 In the navigation pane expand the DEV stage node and select the
LCL_DEV_JBRNCHA_AREA03 web application deployment area.
5 In the content pane verify that the [Link] was successfully deployed.
The Event Result column should display Succeeded.
6 To browse the DEV web application deployment area, in the My Current Project
view expand Deployment Areas > DEV Stage > LCL_DEV_JBRNCHA_AREA03 >
Qlarius Underwriter > website.
In the navigation pane verify that there is a folder called resources.
7 Select the resources directory and in the content pane verify that [Link] was
deployed.
The web developer In Wendy’s local work area modify [Link] in the resources directory. For the purpose
modifies the file of this scenario make a minor edit, for example, add a comment to the top of the file.
(Sheet 5 of 15)
Action Procedure
The web developer Wendy delivers the modified file to Dimensions CM relates it to the second task.
delivers the
modification to 1 In the web client, in the Items view, on the Dirs tab expand Qlarius Underwriter
Dimensions CM and select the resources folder.
3 Click Next.
8 Click Next.
11 Click Close.
Make a note of the latest revision of [Link].
The web developer Wendy checks that deployment was successful.
verifies that the
modification was 1 Select the Deployment view.
deployed
2 Select the History tab.
3 In the navigation pane expand the DEV stage node and select the
LCL_DEV_JBRNCHA_AREA03 web application deployment area.
4 In the content pane verify that the [Link] was successfully deployed a second
time.
The Event Result column should display Succeeded.
5 To browse the DEV web application deployment area, in the My Current Project
view expand Deployment Areas > DEV Stage > LCL_DEV_JBRNCHA_AREA03>
Qlarius Underwriter > website > resources.
6 Select the resources directory and in the content pane verify that the latest
revision of [Link] is deployed.
(Sheet 6 of 15)
Action Procedure
The web developer Wendy delegates the tasks to Ted for peer review.
delegates the
tasks to the team 1 In the Requests view select the Request inbox.
lead for peer
review 2 Select both tasks and on the tool bar click Delegate.
The Delegate wizard appears.
4 From the Role to Delegate list select REVIEWER and click Next.
5 In the ’Candidate users authorized for role assignment’ list select Ted and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying
him that tasks have been added to his Request inbox.
The web developer Wendy actions the tasks to their next state, PEER REVIEW.
actions the tasks
to their next state 1 Select the first child task and on the tool bar select Action.
The Action wizard appears.
2 In the New State section check that the To next state field is set to PEER REVIEW.
3 Click Next.
6 Click Finish.
The task is removed from Wendy’s Request inbox.
3 Click Finish.
The child tasks are removed from Ted’s Request inbox.
(Sheet 7 of 15)
Action Procedure
The team lead To perform system integration testing, Ted promotes and deploys the requests and
promotes and tasks to the SIT stage and web application deployment area. Ted promotes both
deploys the requests in the same operation and lets Dimensions CM automatically deploy the
requests and tasks refactoring changes in the correct sequence. Dimensions CM does the following:
to the SIT stage
Creates the resources directory and moves [Link] from the website directory to
the resources directory.
Deploys the latest revision of [Link] to the resources directory.
Note: If you select multiple requests, or a request with child requests, Dimensions CM
automatically resolves the refactoring changes. This applies to both manual and
automatic (deploy by default) deployments.
3 Check that the option Promote child requests is selected. This promotes and
deploys the child tasks with their parent requests.
5 Click Next.
6 To deploy now, check that the option Perform deployments is set to ’as soon as
possible’.
8 Click Next.
A summary of the promotion and deployment activities and command that will be
performed is displayed.
9 Click Finish.
(Sheet 8 of 15)
Action Procedure
The team lead Ted verifies that promotion and deployment operations were successful and that the
verifies that refactoring changes were deployed to the SIT web application deployment area.
promotion and
deployment 1 Select the Deployment view and check that only the current stream is displayed.
operations were
successful 2 Select the History tab and in the navigation pane select the SIT stage node.
3 In the content pane verify that both requests were promoted successfully from
DEV to SIT.
4 In the navigation pane expand the SIT stage node and select the
LCL_SIT_JBRNCHA_AREA03 deployment area.
5 In the content pane verify that all the requests and child tasks were deployed
successfully.
6 To browse the SIT web application deployment area, in the My Current Project view
expand Deployment Areas > SIT Stage > LCL_SIT_JBRNCHA_AREA03 > Qlarius
Underwriter > website.
In the navigation pane verify that there is a folder called resources.
7 Select the resources directory and in the content pane verify that the latest
revision of [Link] is deployed.
Ted performs system integration testing.
The team lead System integration testing has been completed successfully so Ted promotes the
promotes the requests and tasks to the QA stage. Deploy by Default is not enabled so the requests
requests and tasks and tasks cannot be automatically deployed to the QA deployment area.
to the QA stage
1 In the Requests view select the requests.
5 Click Next.
Deploy by Default is not enabled so no deploy options are available.
6 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
7 Click Finish.
Dimensions CM sends an e-mail to the QA manager, Tao, notifying her that a
promotion has been performed.
8 In the Deployment view select the History tab and in the navigation pane select
the QA stage node.
9 In the content pane verify that both requests were promoted successfully from SIT
to QA.
(Sheet 9 of 15)
Action Procedure
The team lead Ted actions the requests to their next lifecycle state, IN TEST, so that QA can test the
actions the web site.
requests to their
next state 1 On the History tab select the first request and on the tool bar select Action.
The Action wizard appears.
2 In the New State section check that the To next state field is set to IN TEST.
3 Click Next.
5 Click Finish.
Note: The request is removed from Ted’s Request inbox.
Action Procedure
The QA manager Tao reads the e-mail and checks her Request inbox. She deploys both requests in the
deploys the same operation and lets Dimensions CM automatically deploy the refactoring changes in
requests and tasks the correct sequence.
to the QA
deployment area 1 Log into the web client as Tao.
3 Select the Deployment view and check that the current stream is displayed.
5 In the navigation pane expand the QA stage node and select the
LCL_QA_JBRNCHA_AREA03 deployment area.
10 Click Next.
11 To deploy the requests now, check that the option Perform deployments is set to
’as soon as possible’.
12 In the Areas(s) for deployment field check that the following QA deployment area
is selected: LCL_QA_JBRNCHA_AREA03
13 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
14 Click Finish.
16 In the content pane verify that the requests and child tasks were successfully
deployed to the QA area LCL_QA_JBRNCHA_AREA03.
The QA manger Tao verifies that the refactoring changes were deployed to the QA web application
verifies that the deployment area.
refactoring
changes were 1 In the My Current Project view expand Deployment Areas > QA Stage >
deployed LCL_QA_JBRNCHA_AREA03 > Qlarius Underwriter > website.
In the navigation pane verify that there is a folder called resources.
2 Select the resources directory and in the content pane verify that the latest
revision of [Link] is deployed.
The QA team performs their tests.
(Sheet 11 of 15)
Action Procedure
The QA manager QA testing has been completed successfully so Tao closes the enhancement requests.
actions the
requests to their 1 On the History tab select both requests and on the tool bar click Action.
final lifecycle
The Action wizard appears.
state.
2 Click Finish.
Note: The request are removed from Tao’s request inbox.
The QA manager QA testing has been completed successfully so Tao promotes the requests and tasks to
promotes the the PRE-PROD stage. Deploy by Default is not enabled so the requests and tasks cannot
requests and tasks be automatically deployed to the PRE-PROD deployment area.
to the PRE-PROD
stage. 1 On the History tab select the requests.
5 Click Next.
Deploy by Default is not enabled so no deploy options are available.
6 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
7 Click Finish.
Dimensions CM sends an e-mail to Rita, the release manager, notifying her that a
promotion has been performed.
9 In the content pane verify that both requests were promoted successfully from QA
to PRE-PROD.
Action Procedure
The release Rita reads the e-mail and checks her Request inbox. She deploys both requests in the
manager deploys same operation and lets Dimensions CM automatically deploy the refactoring changes in
the requests and the correct sequence.
tasks to the PRE-
PROD deployment 1 Log into the web client as Rita.
area
2 Select the Deployment view and check that only the current stream is displayed.
4 In the navigation pane expand the PRE-PROD stage node and select the
LCL_PP_JBRNCHA_AREA03 deployment area.
9 Click Next.
10 To deploy the requests now, check that the option Perform deployments is set to
’as soon as possible’.
11 In the Areas(s) for deployment field check that the following PRE-PROD
deployment area is selected: LCL_PP_JBRNCHA_AREA03
12 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
13 Click Finish.
15 In the content pane verify that the requests and child tasks were successfully
deployed to the QA area LCL_PP_JBRNCHA_AREA03.
The release Rita verifies that the refactoring changes were deployed to the PRE-PROD web
manger verifies application deployment area.
that the
refactoring 1 In the My Current Project view expand Deployment Areas > PRE-PROD Stage >
changes were LCL_PP_JBRNCHA_AREA03 > Qlarius Underwriter > website.
deployed
In the navigation pane verify that there is a folder called resources.
2 Select the resources directory and in the content pane verify that the latest
revision of [Link] is deployed.
The release team performs their tests.
(Sheet 13 of 15)
Action Procedure
The release Testing has been completed successfully so Rita promotes the requests and tasks to the
manager promotes LIVE stage. Deploy by Default is not enabled so the requests and tasks cannot be
the requests and automatically deployed to the PRE-PROD deployment area.
tasks to the LIVE
stage 1 In the Deployment view, in the navigation pane, select the
LCL_PP_JBRNCHA_AREA03 deployment area.
6 Click Next.
Rita has the privilege to deploy at the same time as the promotion but chooses
not. Do not select any deployment areas.
7 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
8 Click Finish.
9 In the Deployment view select the History tab and in the navigation pane select
the LIVE stage node.
10 In the content pane verify that both requests were promoted successfully from
PRE-PROD to LIVE.
(Sheet 14 of 15)
Action Procedure
The release Let’s assume that it is now the regular maintenance period when the LIVE web
manager deploys application deployment area is offline. Rita checks to see what requests are ready to be
the requests and deployed to the LIVE stage. Rita deploys both requests in the same operation and lets
tasks to the LIVE Dimensions CM automatically deploy the refactoring changes in the correct sequence.
deployment area
1 Select the Pending tab.
7 Click Next.
8 To deploy the requests now, check that the option Perform deployments is set to
’as soon as possible’.
9 In the Areas(s) for deployment field check that the following LIVE deployment area
is selected: LCL_LIVE_JBRNCHA_AREA03
10 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
11 Click Finish.
13 In the content pane verify that the requests and child tasks were successfully
deployed to the QA area LCL_LIVE_JBRNCHA_AREA03.
The release Rita verifies that the refactoring changes were deployed to the LIVE web application
manger verifies deployment area.
that the
refactoring 1 In the My Current Project view expand Deployment Areas > LIVE Stage >
changes were LCL_LIVE_JBRNCHA_AREA03 > Qlarius Underwriter > website.
deployed
In the navigation pane verify that there is a folder called resources.
2 Select the resources directory and in the content pane verify that the latest
revision of [Link] is deployed.
End of scenario
(Sheet 15 of 15)
Scenario Privileges
The tables below list the promotion and deployment privileges required by each user in
the scenario.
Scenario Objective
There is a problem with the corporate web site of Qlarius Health Insurance. The objective
of the scenario is to rollback to the previous version, create a fix, and then deploy the fix
to the live environment.
For example, let’s assume that revision 2 of a file is currently deployed to the LIVE
deployment area. The rollback operation redeploys revision 1 to LIVE. The fix creates
revision 3, which is promoted and deployed up the GSL to LIVE and replaces revision 1.
Scenario Overview
The release manager rolls back the request from the LIVE deployment area, demotes
the request to the PRE-PROD stage, and raises a change request to track the defect.
The development team lead primes a child task from the request.
A web developer fixes and delivers an item, and relates it to the task.
The team lead promotes and deploys the request and task to the SIT stage and
deployment area, and then promotes them to the QA stage.
The QA manager deploys the request and task to the QA deployment area and then
promotes them 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.
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:
Deploy by Default
Stage Deployment area enabled for area?
DEV LCL_DEV_JMAIN_AREA01 Yes
SIT LCL_SIT_JMAIN_AREA01 Yes
QA LCL_QA_JMAIN_AREA01 No
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" on page 156.
Pre-Requisites
1 To run this scenario you must have successfully completed "Scenario 1: Basic Request
Deployment" on page 70.
5 Make a note of the ID of the enhancement request that was raised by Rita in scenario
1 and used to deploy the changes. For the purposes of this scenario we will call this
CR_X.
6 In the Items view, in the navigation pane on the Dirs tab, expand Qlarius Underwriter
and select the website folder. In the content pane select the filter All Revisions.
5 Select the History tab and in the navigation pane select the LIVE stage node.
6 Expand the LIVE stage node and select the deployment area
LCL_LIVE_JMAIN_AREA01.
7 In the content pane use filters to only display requests that can be rolled back:
a From the Show list select Requests.
b From the Occurred list select the period when you performed scenario 1 (Today, in
the last week, etc).
c Click the Filter button (located to the left of the Show list).
d Select the option Hide if can't roll back.
8 In the content pane check the history to see if any requests were deployed to the
area after CR_X. The content pane should look similar to this:
Action Procedure
The release Rita rolls back CR_X from the LIVE deployment area.
manager rolls
back the request 1 On the History tab select the request QLARIUS_CR_X.
from the LIVE
deployment 2 On the toolbar click Roll Back.
area The Roll Back Area Versions dialog box appears.
3 To roll back the request immediately, check that the option Perform roll back of area
versions is set to ’as soon as possible’.
5 In the Select area versions for rolling back operations table check that
LCL_LIVE_JMAIN_AREA01 is selected.
6 Click Next.
7 A summary of the roll back activity and command that will be performed is displayed.
8 Click Finish.
10 Check if the roll back succeeded. The content pane should look similar to this:
The parent request and child task have been rolled back.
The release Rita checks that the rollback successfully redeployed the previous revision of [Link] to
manager checks the LIVE deployment area.
that the
previous 1 In the My Current Project view expand Deployment Areas > LIVE Stage >
revision of the LCL_LIVE_JMAIN_AREA01 > Qlarius Underwriter > website
item was
redeployed 2 In the content pane verify that the previous revision of [Link] was deployed.
(Sheet 2 of 15)
Action Procedure
The release Rita demotes request CR_X to the PRE-PROD stage to indicate that it is no longer live.
manager
demotes the 1 In the Deployment view, on the History tab, select the LCL_LIVE_JMAIN_AREA01
request to the area in the navigation pane.
PRE-PROD
stage. 2 In the content pane select CR_X and on the toolbar click Demote.
The Demote dialog box appears.
5 Click Next.
6 To deploy the requests now, check that the option Perform deployments is set to ’as
soon as possible’.
8 Click Next.
A summary of the demote and deployment activity and command that will be
performed is displayed.
9 Click Finish.
11 In the content pane verify that request CR_X was successfully demoted from LIVE to
PRE-PROD. The content pane should look similar to this:
(Sheet 3 of 15)
Action Procedure
The release Rita raises a change request to fix and track the defect.
manager raises
a change 1 In the Request view, on the tool bar click New and select CR.
request to track
The New Request dialog box appears.
the defect
2 In the Title field enter a title for the request, for example: Fix [Link].
4 On the Attributes tab, from the Severity/Priority list select Really Urgent.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Ted and click Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying him
that a request has been added to his Request inbox.
The release Rita actions the request to its next state, UNDER WORK.
manager actions
the request to 1 Select the request and on the tool bar select Action.
its next state
The Action wizard appears.
Action Procedure
The Ted reads the e-mail, views the request in his Request inbox, and primes a child task from
development the request.
team lead
primes a child 1 Log into the web client as Ted.
task from the
request 2 Switch to the following stream: QLARIUS:MAINLINE_JAVA_STR
3 In the Request view select the Request inbox and then the request that was raised by
Rita.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Wendy and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Wendy notifying
her that a task has been added to her Request inbox.
The Ted actions the task to its next state, UNDER WORK.
development
team lead 1 Select the child task and on the tool bar select Action.
actions the task
to its next state The Action wizard appears.
Action Procedure
The web Wendy reads the e-mail, checks her Request inbox, and updates her work area from the
developer stream to make sure she has the latest version of [Link].
updates their
work area from 1 Log into the web client as Wendy.
the stream
2 Switch to the following stream: QLARIUS:MAINLINE_JAVA_STR
3 Check that Wendy’s work area is correct (see the pre-requisites at the start of
scenario 1 on page 71).
4 In the Items view, on the Dirs tab of the navigation pane, expand Qlarius Underwriter
and select website.
6 Click Next.
4 Click Next.
9 Click Next.
12 Make a note of the latest revision of [Link] (see the content pane).
(Sheet 6 of 15)
Action Procedure
The developer Deploy by default is enabled for the DEV area so when Wendy delivered the item it was
verifies that the automatically deployed. She checks that the item was successfully deployed.
item was
automatically 1 Select the Deployment view and check that only the current stream is displayed.
deployed to the
DEV areas 2 Select the History tab and in the navigation pane select the DEV stage node.
3 In the content pane verify that [Link] was successfully deployed to the DEV
deployment area LCL_DEV_JMAIN_AREA01.
The Event Result column should display Succeeded.
The web Wendy delegates the child task to Ted, her team lead, for peer review.
developer
delegates the 1 In the Requests view select the Request inbox.
task to the team
lead for peer 2 Select the child task and on the tool bar click Delegate.
review The Delegate wizard appears.
4 From the Role to Delegate list select REVIEWER and click Next.
5 In the ’Candidate users authorized for role assignment’ list select Ted and click Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying him
that a task has been added to his Request inbox.
The web Wendy actions the child task to its next state, PEER REVIEW.
developer
actions the task 1 Select the child task and on the tool bar select Action.
to its next state
The Action wizard appears.
2 In the New State section check that the To next state field is set to PEER REVIEW.
3 Click Next.
6 Click Finish.
The task is removed from Wendy’s Request inbox.
Action Procedure
The team lead Ted has read his e-mail, seen the task in his Request inbox, done a peer review of the file
does a peer that Wendy modified, and is satisfied with the changes that she made. He actions the task
review and to its final state, CLOSED.
actions the task
to its final state 1 Log into the web client as Ted.
3 Select the child task and on the tool bar select Action.
The Action wizard appears.
5 Click Next.
6 To deploy now, check that the option Perform deployments is set to ’as soon as
possible’.
8 Click Next.
A summary of the promotion and deployment activities and command that will be
performed is displayed.
9 Click Finish.
(Sheet 8 of 15)
Action Procedure
The team lead Ted verifies that the promotion and deployment operations were executed successfully.
verifies that the
promotion and 1 Select the Deployment view and check that only the current stream is displayed.
deployment
were successful 2 Check that the History tab is selected.
4 In the content pane verify that the request was promoted successfully from DEV to
SIT. The Event Result column should display Succeeded.
5 In the navigation pane expand the SIT stage node and select the
LCL_SIT_JMAIN_AREA01 deployment area.
6 In the content pane verify that the request and task were successfully deployed to
the SIT deployment area.
Ted performs system integration testing.
The team lead System integration testing has been completed successfully so Ted promotes the request
promotes the and task to the QA stage. Deploy by Default is not enabled so the request and task cannot
request and task be automatically deployed to the QA deployment area.
to the QA stage
1 On the History tab select the request.
5 Click Next.
Deploy by Default is not enabled so no deploy options are available.
6 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
7 Click Finish.
9 In the content pane verify that the request was promoted successfully from SIT to
QA.
(Sheet 9 of 15)
Action Procedure
The team lead Ted actions the parent request to its next lifecycle state, IN TEST, so that the QA team can
actions the perform testing.
request to its
next state 1 On the History tab select the request.
3 In the New State section check that the To next state field is set to IN TEST.
4 Click Next.
5 In the Details of solution given field enter: Fixed defect in [Link] updated
6 Click Finish.
Dimensions CM sends an e-mail to Tao, the QA manager, notifying her that a task has
been added to his Request inbox
Action Procedure
The QA manager Tao, the QA manager, reads the e-mail and checks the Pending tab for the QA stage on the
deploys the Deployment view. Tao sees that the request is ready to be deployed to QA.
request and task
to the QA 1 Log into the web client as Tao.
deployment
area 2 Switch to the following stream: QLARIUS:MAINLINE_JAVA_STR
3 In the Deployment view check that only the current stream is displayed.
10 Click Next.
11 To deploy the request and child task now, check that the option Perform deployments
is set to ’as soon as possible’.
13 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
14 Click Finish.
16 In the navigation pane expand the QA stage node and select the
LCL_QA_JMAIN_AREA01 deployment area.
17 In the content pane verify that the request and child task were successfully deployed
to the QA area.
The QA team performs their tests.
(Sheet 11 of 15)
Action Procedure
The QA manager QA testing has been complete successfully so Tao promotes the request and task to the
promotes the PRE-PROD stage. Deploy by Default is not enabled so the request and task cannot be
request and task automatically deployed to the PRE-PROD deployment area.
to the PRE-
PROD stage 1 On the History tab select the request.
5 Click Next.
Deploy by Default is not enabled so no deploy options are available.
6 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
7 Click Finish.
9 In the content pane verify that the request was promoted successfully from QA to
PRE-PROD.
The QA manager Tao closes the request that is tracking the defect.
actions the
request to its 1 On History tab select the request.
final lifecycle
state 2 On the tool bar click Action.
The Action wizard appears.
Action Procedure
The release Rita, the release manager, checks the Pending tab for the PRE-PROD stage on the
manager Deployment view. Rita sees that the request is ready to be deployed to PRE-PROD.
deploys the
request and task 1 Log into the web client as Rita.
to the PRE-
PROD 2 In the Deployment view check that only the current stream is displayed.
deployment
area 3 Select the Pending tab.
9 Click Next.
10 To deploy the request and child task now, check that the option Perform deployments
is set to ’as soon as possible’.
12 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
16 In the content pane verify that the request and child task were successfully deployed
to the PRE-PROD area.
The release team performs their tests.
(Sheet 13 of 15)
Action Procedure
The release Rita promotes the request and task to the LIVE stage. Deploy by Default is not enabled for
manager the LIVE deployment area.
promotes the
request and task 1 On the History tab, with the PRE-PROD stage node selected in the navigation pane,
to the LIVE select the request in the content pane.
stage
2 On the tool bar click Promote.
The Promote wizard appears.
5 Click Next.
Rita has the privilege to deploy at the same time as the promotion but chooses not to
select any deployment areas.
6 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
7 Click Finish.
9 In the content pane verify that the request was promoted successfully from PRE-
PROD to LIVE.
The release Let’s assume it is now the regular nightly maintenance period when the LIVE deployment
manager area is offline. Rita deploys the request and task to the LIVE deployment area.
deploys the
request and task 1 On the Pending tab select the request and on the tool bar click Deploy.
to the LIVE
The Deploy wizard appears.
deployment
area 2 Check that the option Deploy child requests is selected.
4 Click Next.
5 To deploy the request and child task now, check that the option Perform deployments
is set to ’as soon as possible’.
7 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
Action Procedure
The release Rita verifies that the deployment operation was successful.
manager verifies
that the 1 Select the History tab.
deployment
operation was 2 In the navigation pane expand the LIVE stage node and select the
successful LCL_LIVE_JMAIN_AREA01 deployment area.
3 In the content pane verify that the request and task were successfully deployed to
the LIVE deployment area.
Tip: In the content pane you can see the request that was raised to fix the defect
and request CR_X, which you rolled back at the start of this scenario.
The release Rita verifies that the latest revision of [Link] was deployed to the LIVE area.
manager verifies
that the fix was 1 In the My Current Project view, in the navigation pane, expand
deployed Deployment Areas > LIVE Stage > LCL_LIVE_JMAIN_AREA01 >
Qlarius Underwriter > website
2 In the content pane verify that the latest revision of [Link] was deployed. This
revision has replaced the one that was redeployed by the rollback operation at the
start of this scenario.
End of scenario
(Sheet 15 of 15)
Scenario Privileges
The tables below list the promotion and deployment privileges required by each user in
the scenario.
Scenario Objective
A defect at the QA stage is preventing testing on the Qlarius web application. The
objective of this scenario is to prepare a fix and deploy if forward over the part of the
application that is not working.
Scenario Overview
The QA manager raises a change request to track the defect.
The development team lead primes a task from the request.
A developer fixes the defect, delivers the fix and relates it to the task, builds the task,
and captures the build outputs in Dimensions CM.
The team lead promotes and deploys the request and task to the SIT stage and
deployment area, and then promotes them to the QA stage.
The QA manager deploys the request and task to the QA deployment area.
Scenario Information
The following stream is used: QLARIUS:JAVA_BRANCHA_STR
There is a division of responsibilities between the employees at the following stage
transitions:
• SIT to QA
• QA to PRE-PROD
A build is required at the DEV stage.
This scenario uses the following deployment areas:
Deploy by Default
Stage Deployment area enabled for area?
DEV LCL_DEV_JBRNCHA_AREA03 Yes
SIT LCL_SIT_JBRNCHA_AREA03 Yes
QA LCL_QA_JBRNCHA_AREA03 No
For a list of the promotion and deployment privileges required by the users see
"Scenario Privileges" on page 169.
Pre-Requisites
1 To run this scenario you must have successfully completed "Scenario 3: Deploying
Requests to Multiple Deployment Areas" on page 101.
4 Browse the QA web application deployment area: in the My Current Project view
expand Deployment Areas > QA Stage > LCL_QA_JBRNCHA_AREA03 > Qlarius
Underwriter.
5 In the content pane make a note of the revision of [Link] that is currently
deployed in the QA deployment area.
3 In the Request view, on the tool bar click New and select CR.
The New Request dialog box appears.
4 In the Title field enter a title for the request, for example: Fix [Link].
Action Procedure
The QA manager Tao delegates the request to the development team lead, Ted, whose team is
delegates the responsible for maintaining Qlarius.
request to the
team lead 1 Select the request and on the tool bar click Delegate.
The Delegate wizard appears.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Ted and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying
him that a request has been added to his Request inbox.
The QA manager Tao actions the request to its next state, UNDER WORK.
actions the
request to its next 1 Select the request and on the tool bar select Action.
state
The Action wizard appears.
3 In the Request view select the Request inbox and then the request that was raised
by Tao.
Action Procedure
The development Ted delegates the child task to a developer, Dinesh.
team lead
delegates the task 1 Select the child task and on the tool bar click Delegate.
to a developer
The Delegate wizard appears.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Dinesh and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Dinesh
notifying him that a task has been added to his Request inbox.
The development Ted actions the task to its next state, UNDER WORK.
team lead actions
the task to its 1 Select the child task and on the tool bar select Action.
next state
The Action wizard appears.
3 Change Dinesh’s work area to the one that you created earlier (see the pre-
requisites at the start of scenario 3).
4 In the Items view, on the navigation pane select the folder that contains
[Link]: Qlarius Underwriter > qlarius > interfaces
6 Click Next,
Action Procedure
The developer Dinesh delivers the fixed item to Dimensions CM and relates it to the task.
delivers the item
and relates it to 1 In the Items view, on the toolbar click Deliver.
the task
The Deliver to Stream wizard appears.
3 Click Next.
8 Click Next.
3 Select the History tab and in the navigation pane select the DEV stage node.
4 In the content pane verify that the [Link] was successfully deployed to
the LCL_DEV_JBRNCHA_AREA03 deployment area.
(Sheet 4 of 11)
Action Procedure
The developer Dinesh builds the task in the DEV web application deployment area and captures the
builds the task build outputs in Dimensions CM against the task.
and captures the
outputs 1 On the Requests view select the Request inbox.
2 Select the task, on the toolbar click Build, and select Build.
The Run Build wizard appears.
6 Click Next.
7 Select the option Check in build outputs automatically. This will check the build
outputs into Dimensions CM.
8 To specify the request that the build outputs will be related to when they are
checked into Dimensions CM, in the Specify the request(s) field click Select.
The Select Request wizard appears.
9 Do the following:
a From the Product name list select QLARIUS.
b From the Type name list select TASK.
c Click Next.
d Select the task that is delegated to Dinesh.
e Click Finish.
11 Accept the default build option selections (none) and click Next.
14 Click Next.
A summary of the build command that will be executed is displayed.
15 Click Finish.
16 (Optional) To monitor the progress of the build click the Job <ID number> link.
17 Click Close.
(Sheet 5 of 11)
Action Procedure
The developer Dinesh verifies that the build was successful and that the outputs were deployed to the
verifies that the DEV web application deployment area.
build was
successful 1 To verify that the build was successful, in the Deployment view select the History
tab.
2 In the navigation pane expand the DEV stage node and select
LCL_DEV_JBRNCHA_AREA03.
3 In the content pane verify that the Event Result column displays Succeeded for the
following objects:
• [Link] (the Event Type is Collect)
• QLARIUS:JAVA_BRANCHA_STR (the Event Type is Build)
4 Open [Link], make a note of the item revision, and click Cancel.
5 To browse the DEV web application deployment area, in the My Current Project
view expand Deployment Areas > DEV Stage > LCL_DEV_JBRNCHA_AREA03
7 In the content pane verify that the latest revision of [Link] is deployed.
This should be later than the revision that you made a note of at the start of this
scenario.
The developer Dinesh delegates the task to Ted for peer review.
delegates the task
to the team lead 1 In the Requests view select the Request inbox.
for peer review
2 Select the task and on the tool bar click Delegate.
The Delegate wizard appears.
4 From the Role to Delegate list select REVIEWER and click Next.
5 In the ’Candidate users authorized for role assignment’ list select Ted and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying
him that a task has been added to his Request inbox.
(Sheet 6 of 11)
Action Procedure
The developer Dinesh actions the task to its next state, PEER REVIEW.
actions the task to
its next state 1 Select the child task and on the tool bar select Action.
The Action wizard appears.
2 In the New State section check that the To next state field is set to PEER REVIEW.
3 Click Next.
6 Click Finish.
The task is removed from Dinesh’s request inbox.
2 In the Requests view select the Request inbox, select the task, and on the tool bar
click Action.
The Action wizard appears.
Action Procedure
The team lead To perform system integration testing, Ted promotes and deploys the request and task
promotes and to the SIT stage and web application deployment area.
deploys the
request and the 1 In the Request view, in the Request inbox, select the request.
task to the SIT
stage and area 2 On the tool bar click Promote.
The Promote wizard appears.
5 Click Next.
6 To deploy immediately, check that the option Perform deployments is set to ’as
soon as possible’.
8 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
9 Click Finish.
The team lead Ted verifies that promotion and deployment operations were successful and that the
verifies that modified file was deployed to the SIT web application deployment area.
promotion and
deployment 1 Select the Deployment view and check that only the current stream is displayed.
operations were
successful 2 Select the History tab and in the navigation pane select the SIT stage node.
3 In the content pane verify that the request was promoted successfully from DEV to
SIT.
4 In the navigation pane expand the SIT stage node and select the
LCL_SIT_JBRNCHA_AREA03 deployment area.
5 In the content pane verify that the request and task were deployed successfully to
the SIT web application deployment area.
6 To browse the SIT web application deployment area, in the My Current Project view
expand Deployment Areas > SIT Stage > LCL_SIT_JBRNCHA_AREA03.
Action Procedure
The team lead System integration testing has been completed successfully so Ted promotes the
promotes the request and task to the QA stage. Deploy by Default is not enabled so the request and
request and task task cannot be automatically deployed to the QA deployment area.
to the QA stage
1 In the Requests view, in the Request inbox, select the request and on the tool bar
click Promote.
The Promote wizard appears.
4 Click Next.
Deploy by Default is not enabled so no deploy options are available.
5 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
6 Click Finish.
Dimensions CM sends an e-mail to the QA manager, Tao, notifying her that a
promotion has been performed.
7 In the Deployment view select the History tab and in the navigation pane select
the QA stage node.
8 In the content pane verify that the request was promoted successfully from SIT to
QA.
The team lead Ted actions the request to its next lifecycle state, IN TEST, so that QA can test the
actions the application.
request to its next
state 1 On the History tab select the request and on the tool bar click Action.
The Action wizard appears.
2 In the New State section check that the To next state field is set to IN TEST.
3 Click Next.
5 Click Finish.
Note: The task is removed from Ted’s request inbox.
Action Procedure
The QA manager Tao reads the e-mail, checks her Request inbox, and deploys the request and task to the
deploys the QA web application deployment area.
request and task
to the QA 1 Log into the web client as Tao.
deployment area
2 Select the Deployment view and check that only the current stream is displayed.
4 In the navigation pane expand the QA stage node and select the
LCL_QA_JBRNCHA_AREA03 deployment area.
9 Click Next.
10 To deploy the request and child tasks immediately, check that the option Perform
deployments is set to ’as soon as possible’.
12 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
13 Click Finish.
The QA manager Tao verifies that promotion and deployment operations were successful and that the
verifies that modified file was deployed to the QA web application deployment area.
promotion and
deployment 1 Select the History tab.
operations were
successful 2 In the content pane verify that the request and task were deployed successfully.
3 To browse the QA web application deployment area, in the My Current Project view
expand Deployment Areas > QA Stage > LCL_QA_JBRNCHA_AREA03.
Action Procedure
The QA manager QA testing has been completed successfully so Tao closes the enhancement request that
actions the she raised against the defect.
request to its final
lifecycle state. 1 In the Request view select the request and on the tool bar click Action.
The Action wizard appears.
Scenario Privileges
The tables below list the promotion and deployment privileges required by each user in
the scenario.
Scenario Objective
After an update to the corporate web site of Qlarius Health Insurance 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 objective of this scenario is to apply a quick solution by making an emergency
fix.
Scenario Overview
The release manager raises a 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.
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:
Deploy by Default
Stage Deployment area enabled for 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" on page 180.
Pre-Requisites
1 Log into the web client as any user.
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 [Link] that is currently
deployed in this area.
3 In the Request view, on the tool bar click New and select CR.
The New Request dialog box appears.
4 In the Title field enter a title for the request, for example: Fix [Link].
6 On the Attributes tab, from the Severity/Priority list select Really Urgent.
Action Procedure
The release Rita delegates the request to the development team lead, Ted, whose team is responsible
manager for maintaining the web site.
delegates the
request to the 1 Select the request and on the tool bar click Delegate.
team lead
The Delegate wizard appears.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Ted and click Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying him
that a request has been added to his Request inbox.
The release Rita actions the request to its next state, UNDER WORK.
manager actions
the request to 1 Select the request and on the tool bar select Action.
its next state
The Action wizard appears.
3 In the Request view select the Request inbox and then the request that was raised by
Rita.
Action Procedure
The Ted delegates the task to a web developer, Wendy.
development
team lead 1 Select the child task and on the tool bar click Delegate.
delegates the
The Delegate wizard appears.
task to a web
developer 2 Check that the Capability option is set to Secondary.
3 From the Role to Delegate list select IMPLEMENTOR and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Wendy and click
Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Wendy notifying
her that a task has been added to her Request inbox.
The Ted actions the task to its next state, UNDER WORK.
development
team lead 1 Select the child task and on the tool bar select Action.
actions the task
to its next state The Action wizard appears.
3 Check that Wendy’s work area is correct (see the pre-requisites at the start of
scenario 1 on page 71).
4 In the Items view, on the Dirs tab of the navigation pane, expand Qlarius Underwriter
and select website.
6 Click Next.
Action Procedure
The web Wendy delivers the modified file to the stream and relates it to the child task.
developer
delivers the item 1 In the Items view, on the Dirs tab of the navigation pane, select website.
and relates it to
the task 2 On the toolbar click Deliver.
The Deliver to Stream wizard appears.
4 Click Next.
9 Click Next.
12 Make a note of the latest revision of [Link] (see the content pane).
The web Wendy delegates the task to Ted, her team lead, for peer review.
developer
delegates the 1 In the Requests view select the Request inbox.
task to the team
lead for peer 2 Select the child task and on the tool bar click Delegate.
review The Delegate wizard appears.
4 From the Role to Delegate list select REVIEWER and click Next.
5 In the ’Candidate users authorized for role assignment’ list select Ted and click Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Ted notifying him
that a task has been added to his Request inbox.
(Sheet 4 of 9)
Action Procedure
The web Wendy actions the task to its next state, PEER REVIEW.
developer
actions the task 1 Select the child task and on the tool bar select Action.
to its next state
The Action wizard appears.
2 In the New State section check that the To next state field is set to PEER REVIEW.
3 Click Next.
6 Click Finish.
The task is removed from Wendy’s Request inbox.
3 Select the child task and on the tool bar select Action.
The Action wizard appears.
Action Procedure
The team lead Because this is an emergency fix that is required urgently, Ted promotes the request and
promotes the task straight from DEV to PRE-PROD bypassing the intermediate stages (SIT and QA).
request and task Deploy by Default is not enabled so the request and task cannot be automatically deployed
straight to the to the PRE-PROD deployment area.
PRE-PROD stage
1 Select the request.
5 Click Next.
Deploy by Default is not enabled so no deploy options are available.
6 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
7 Click Finish.
The team lead Ted verifies that promotion to PRE-PROD was successful.
verifies that
promotion was 1 Select the Deployment view.
successful
2 To only display information for the current stream do the following:
a In the navigation pane click the filter button in the top right corner.
b Select Show Current Stream.
5 In the content pane verify that the request was promoted successfully from DEV to
PRE-PROD.
The team lead Ted delegates the request to Tony, a QA engineer, for testing.
delegates the
request to a QA 1 In the Requests view select the request and on the tool bar click Delegate.
engineer
The Delegate wizard appears.
3 From the Role to Delegate list select QA ENGINEER and click Next.
4 In the ’Candidate users authorized for role assignment’ list select Tony and click Add.
The wizard closes automatically. Dimensions CM sends an e-mail to Tony notifying
him that a task has been added to his Request inbox.
(Sheet 6 of 9)
Action Procedure
The team lead Ted actions the request to its next lifecycle state, IN TEST, so that the Tony can perform
actions the testing.
request to its
next state 1 Select the request and on the tool bar click Action.
The Action wizard appears.
2 In the New State section check that the To next state field is set to IN TEST.
3 Click Next.
5 Click Finish.
The task is removed from Ted’s Request inbox.
Dimensions CM sends an e-mail to Tony notifying him that a task has been added to
his Request inbox.
Action Procedure
The release Rita, the release manager, checks the Pending tab for the PRE-PROD stage on the
manager Deployment view. Rita sees that the request is ready to be deployed to PRE-PROD.
deploys the
request to the 1 Log into the web client as Rita.
PRE-PROD
deployment 2 In the Deployment view check that only the current stream is displayed.
area
3 Select the Pending tab.
9 Click Next.
10 To deploy the request and child task now, check that the option Perform deployments
is set to ’as soon as possible’.
12 Click Next.
A summary of the deployment activity and command that will be performed is
displayed.
16 In the content pane verify that the request and child task were successfully deployed
to the PRE-PROD area.
(Sheet 8 of 9)
Action Procedure
The release Because this is an emergency fix Rita immediately promotes and deploys the request and
manager task to the LIVE stage and deployment area.
promotes and
deploys the 1 On the History tab select the request.
request and task
to the LIVE 2 On the tool bar click Promote.
stage and The Promote wizard appears.
deployment
area 3 Check that the option Promote child requests is selected.
5 Click Next.
6 To deploy the request and child tasks immediately, check that the option Perform
deployments is set to ’as soon as possible’.
7 Deploy by Default is not enabled for the LIVE deployment area. However Rita has the
privilege to deploy at the same time as the promotion. In the Areas(s) for
deployment field select the LCL_LIVE_JMAIN_AREA01 deployment area.
8 Click Next.
A summary of the promotion activity and command that will be performed is
displayed.
9 Click Finish.
11 In the content pane verify that the request was promoted successfully from PRE-
PROD to LIVE.
13 In the content pane verify that the request and task were successfully deployed to
the LIVE deployment area.
The release Rita verifies that the latest revision of [Link] was deployed to the LIVE area.
manager verifies
that the 1 In the My Current Project view, in the navigation pane, expand
emergency fix Deployment Areas > LIVE Stage > LCL_LIVE_JMAIN_AREA01 >
was deployed Qlarius Underwriter > website
2 In the content pane verify that the latest revision of [Link] 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 [Link] goes through the
normal testing procedures. If it passes the tests successfully it remains in the LIVE deployment areas.
End of scenario
(Sheet 9 of 9)
Scenario Privileges
The tables below list the promotion and deployment privileges required by each user in
the scenario.
Scenario Introduction
An alternative way to deploy requests is to use action driven deployment. This scenario is
similar to "Scenario 2: Deploying Requests to a Single Deployment Area" on page 85, the
main difference is that some of the request lifecycles states are mapped to the GSL. When
a request is actioned to a lifecycle state that is mapped to a stage in the GSL, it is
automatically promoted to that stage. If Deploy by Default is on for that stage’s
deployment area, the request is automatically deployed to the area.
This scenario uses the following extended lifecycle for enhancement requests:
The following table shows request lifecycle states that are mapped to stages in the GSL.
Scenario Overview
NOTE This scenario does not contain detailed steps.
Rita, the release manager, does the following:
• Raises an enhancement request to manage the change that is required to the
Qlarius web application. By default the request is at the DEV stage when it is
created.
• Delegates the request to Ted, the team lead.
• Actions the request to its next lifecycle state, Under Work. The request is removed
from Rita’s Request inbox.
Ted does the following:
• Does some design work to see what part of the application is affected.
• Primes a child task from the request. By default the task is at the DEV stage when
it is created.
• Delegates the task to Dinesh, a developer.
• Actions the task to its next lifecycle state, Under Work. The task is removed from
Ted’s Request inbox.
Dinesh does the following:
• Update his work area from the stream.
• Modifies the sources.
• Delivers the changes to the stream and relates them to the task. Deploy by Default
for the DEV area is enabled so the sources are automatically deployed.
• Delegates the task to the team lead for peer review.
• Action the task to the next lifecycle state, Peer Review. The task is removed from
Dinesh’s Request inbox.
Ted does the following:
• Performs a peer review.
• Actions the task to its final state, Closed. The task is removed from Ted’s Request
inbox.
• Actions the request to the In Test state. This lifecycle state is mapped to the SIT
stage therefore the request and child tasks are automatically promoted to the SIT
stage. Deploy by Default for the SIT area is enabled so the request and task are
automatically deployed.
• Performs system integration tests.
• Actions the request to the Ready for QA state. This state is mapped to the QA
stage therefore the request and child task are automatically promoted to the QA
stage. Because of the separation of duties the team lead cannot deploy the request
and task to QA (Deploy by Default is not enabled for the QA deployment area).
To create a deployment environment for your organization you need to configure some or
all of the following:
The Global Stage Lifecycle (GSL)
Lifecycles for objects
Deployment areas
Deployment roles and privileges
Deployment e-mail notifications
For details see the chapter Area Definitions in the Process Modeling User’s Guide.
Configuring Lifecycles
A lifecycle is a set of states that defines the workflow of an object. It consists of a set of
linked state transitions, each transition defining what role a user must have to move the
object to the end state in the transition. You can configure lifecycles as follows:
Create a new lifecycle for items, requests and baselines.
Delete a lifecycle.
Relate a lifecycle to one or more object types.
Edit the states, transitions, roles, attribute rules, CM rules, and properties for a
lifecyle.
Map lifecycle states to the GSL.
For details see the chapter Lifecycle Management in the Process Modeling User’s Guide.
For details see the chapter Area Definitions in the Process Modeling User’s Guide.
For details see the chapter Users and Roles in the Process Modeling User’s Guide.
For details see the chapter Users and Roles in the Process Modeling User’s Guide.
Introduction 190
Configuring the Deployment Server 191
Introduction
In Dimensions CM 12.x you can perform deployment operations asynchronously in the
background. The asynchronous processing is executed by a Dimensions CM server
component called the deployment server ([Link]). The following diagram
shows the deployment server in the business logic tier in the Dimensions CM architecture:
The deployment server is started by the pool manager. The deployment server then reads
the configuration file (DM_ROOT/dfs/deploy_config.dat) and begins to monitor the
deployment job queues for any new deployment jobs that need to be executed in each
base database.
As users execute deployment related commands such as promote, demote, build, and
audit, these commands submit new deployment jobs into the deployment job queue of
the base database. A deployment job includes information about:
The type of the operation to be performed (deploy, rollback, build, audit, clean etc).
The deployment areas where the deployment job will be executed.
Where appropriate, the set of Dimensions artifacts to be applied to each area, for
example, the items and requests to be deployed to an area.
As new deployment jobs are added to the deployment job queue, the deployment
manager automatically reads the details of the new jobs and executes them.
The deployment server uses the following rules to execute deployment jobs, which
ensures that jobs are processed efficiently:
When a deployment job is selected for execution the affected deployment areas are
locked by the deployment manager so that no other deployment job can execute in
the areas until the deployment job finishes. After the job is completed the areas are
automatically unlocked.
When a deployment job affects multiple deployment areas it is executed concurrently
in as many deployment areas as possible, depending on:
• The sequence numbers assigned to each area. For details about setting sequence
numbers see "Setting a Deployment Sequence" on page 14.
• The availability of system resources such as free application servers in the pool.
Deployment jobs submitted in a single user session are executed sequentially in the
order that they were submitted as soon as all the deployment areas affected by each
job are available.
Deployment jobs submitted from different user sessions are executed concurrently in
the order that they were submitted as soon as all the deployment areas affected by
each job are available.
The deployment server does not access the deployment areas. Instead, it uses application
servers to perform any relevant database metadata queries, obtain connections to library
servers on deployment area nodes, and carry out the deployment operations in each area.
Global Parameters
Parameter Description Default value
log_dir Specify this parameter if you want to: None, logging is off.
Enable logging.
Redirect the log to a file in the
directory specified by this variable.
idle_timeout Specifies the timeout after which the 60
deployment server will close unused
application server connections. If you set
the parameter to 0 unused connections will
be kept in the connection pool until the
deployment server terminates.
Examples
This example is a simple deployment server configuration for the default cm_typical
installation on the host dimsrv:
database=cm_typical@dim10
host=dimsrv:671
dmuser=dmsys
This example is deployment server configuration that monitors two base databases on
the same host:
database_1=devtest@dim10
host_1=dimsrv:671
dmuser_1=dmsys
database_2=production@dim10
host_2=dimsrv:671
dmuser_2=dmsys
This advanced example is a deployment server configuration that monitors three base
databases on different hosts with logging turned on:
log_dir=c:/temp/
idle_timeout=10
database_1=devtest@dim10
host_1=dimsrv:671
dmuser_1=dmsys
threads_1=5
database_2=production@dim10
host_2=dimprodsrv:672
dmuser_2=dmadmin
threads_2=20
database_3=devtest2@dim10
host_3=dimsrv:671
dmuser_3=dmsys
threads_3=10
Deployment Privileges
This appendix lists all of the deployment related privileges. For a detailed description of
the rules that apply to each privilege see the Privilege Rules section in the Dimensions CM
Privileges appendix in the Process Modeling User’s Guide.
Item Privileges
Privilege Name Privilege Description
Deploy to Areas ITEM_DEPLOY This privilege allows you to deploy
an item to a deployment area.
Rollback from ITEM_ROLLBACK This privilege allows you to roll back
Areas an item from a deployment area.
Promote to Any ITEM_ PROMOTE _ANYSTAGE This privilege allows you to promote
Stage an item to any promotion stage in
the lifecycle.
Promote to Next ITEM_ PROMOTE _NEXTSTAGE This privilege allows you to promote
Stage an item to the next promotion stage
in the lifecycle.
Demote to Any ITEM_DEMOTE_ANYSTAGE This privilege allows you to demote
Stage an item to any demotion stage in
the lifecycle.
Demote to Next ITEM_ DEMOTE _NEXTSTAGE This privilege allows you to demote
Stage an item to the next demotion stage
in the lifecycle.
Request Privileges
Privilege Name Privilege Description
Deploy to Areas REQUEST_DEPLOY This privilege allows you to deploy
a request to a deployment area.
Promote to Any REQUEST_PROMOTE_ANYSTAGE This privilege allows you to
Stage promote a request to any
promotion stage in the lifecycle.
Promote to Next REQUEST_PROMOTE_NEXTSTAGE This privilege allows you to
Stage promote a request to the next
promotion stage in the lifecycle.
Demote to Any REQUEST_ DEMOTE _ANYSTAGE This privilege allows you to demote
Stage a request to any demotion stage in
the lifecycle.
Demote to Next REQUEST_ DEMOTE _NEXTSTAGE This privilege allows you to demote
Stage a request to the next demotion
stage in the lifecycle.
Baseline Privileges
Privilege Name Privilege Description
Deploy to Areas BASELINE_DEPLOY This privilege allows you to deploy
a baseline to a deployment area.
Promote to Any BASELINE_ PROMOTE _ANYSTAGE This privilege allows you to
Stage promote a baseline to any
promotion stage in the lifecycle.
Promote to Next BASELINE_ PROMOTE _NEXTSTAGE This privilege allows you to
Stage promote a baseline to the next
promotion stage in the lifecycle.
Demote to Any BASELINE_ DEMOTE _ANYSTAGE This privilege allows you to demote
Stage a baseline to any demotion stage in
the lifecycle.
Demote to Next BASELINE_ DEMOTE _NEXTSTAGE This privilege allows you to demote
Stage a baseline to the demotion stage in
the lifecycle.
Overview 200
What is Refactoring? 200
Deployment of Refactoring Changes 201
Example Deployment Scenarios 202
Overview
The purpose of this appendix is to explain how to deploy refactoring changes using
requests. It also contains a number of short scenarios to illustrate what happens for the
basic types of refactoring changes. These scenarios complement the detailed refactoring
scenario, "Scenario 4: Deploying Refactoring Changes" on page 122.
What is Refactoring?
Refactoring occurs when there are modifications within the project/stream structure such
that the location of items or folders are changed. Examples would be exporting an item to
or from a project, or moving a project/stream folder from one parent folder to another.
Operations that result in refactoring are:
File renames
File moves
Folder renames
Folder moves
File removals
Folder removals.
When you make these changes in Dimensions CM clients (web client, desktop client, or
dmcli client) these changes will only happen automatically in:
The Dimensions CM project/stream in which you perform the changes
Any areas associated with the initial deployment stage for the project that are defined
as Deploy by Default.
In order to have these changes reflected in the deployment areas for other stages in the
GSL (global stage lifecycle) you will need to take some additional action to deploy these
changes.
When you perform actions that will result in refactoring, such as exporting a file to a
project, or renaming a project/stream folder, those changes are recorded or tracked in
Dimensions CM against a request ID, provided a request was specified when those actions
were performed. When you subsequently promote one of these requests to another stage
in the GSL and deploy it, the refactoring changes that were tracked against that request
will also be applied to the deployment areas associated with that stage to which it has
been promoted.
For example, a developer needs to move a file foo.c from the folder src to the folder
utils. The project uses the GSL consisting of the stages:
DEV -> SIT -> QA -> LIVE
1 The developer uses the desktop client Move dialog box to move the item in the
project, and enters a request, R1, in the Track changes with request(s) field.
The project and the areas associated with the DEV stage now contain the item file:
utils/foo.c
Whereas the deployment areas for stages SIT, QA, and LIVE still contain the file:
src/foo.c
2 He then wants to deploy this change to SIT. He therefore promotes and deploys the
request R1 to the SIT stage.
The deployment areas for SIT now contain the file utils/foo.c. The deployment
areas for QA and LIVE, however, still contain the file src/foo.c.
Request driven refactoring has the advantage of supporting all the types of refactoring:
removing, moving, or renaming of folders or files. It also does not present a problem
when demoting back down the GSL.
NOTE When using request driven deployment, refactoring changes must be deployed up
in the order in which the refactoring changes were carried out. For example, if the file
foo.c is added to the project, and then it is renamed to bar.c, the file foo.c needs to
have been promoted to a particular stage before the rename can be promoted to that
stage.
This means that a user is required to provide one or more request IDs when they perform
an action that results in refactoring, such as exporting an item or renaming a project
folder, otherwise the action will not be completed.
In the case of streams, refactoring changes take place in the work area and are then
delivered to the stream. Using the request that was specified when the changes were
delivered means that that request can be used to deploy any refactoring changes that
occurred.
The examples assume that the areas involved are associated as Deploy by Default for the
project concerned, so that the deployments occur automatically when the changes are
promoted. They also assume projects are being used.
Deployment of Regressions
By default, a higher revision of an item file will replace a lower revision if it is deployed to
an area, but this behavior is optional. For details, see Deploying Regressions in the
Deployment Guide.
When you promote this change to another stage, the rename will take effect in the
deployment areas for that stage. At that time the old file will be removed from those
areas and the file will be placed in the areas using the new name.
The file names are currently all the same in each area and earlier revisions have
progressed further along the stage lifecycle than newer revisions.
A user then refactors the java code and renames "src/[Link]" to "src/[Link]"
(changing its content and name). Only the project and the DEV area are affected so we
now have:
If these changes are promoted via a request to “SIT”, the project and area contents would
now be:
So as you can see the new revision was placed in "SIT" and the rename took effect.
The following table shows what is in the main project and each area:
The file names are currently all the same in each area, and earlier revisions have
progressed further along the stage lifecycle than newer revisions.
Imagine the user then uses Desktop Client to rename docs/[Link] to docs/
[Link]. Only the project and the initial area are affected so we now have:
Next the change is promoted to SIT, the project and area contents would now be:
So as you can see the rename correctly took effect in the SIT area despite the revision
already being at the SIT stage.
When you promote this change to another stage, the move will take effect in the
deployment areas for that stage. At that time the file will be removed from the original
folder and will be placed in the new folder in areas for the selected stage.
The file names and folder locations are currently all the same in each area and earlier
revisions have generally progressed further along the stage lifecycle than newer revisions.
Imagine that the user then moves src/[Link] to the utils folder. Only the project
and the initial area are affected so we now have:
Next, a request is used to track the move, and that request is promoted to SIT. The
project and area contents would now be:
Note that if all of the files in the src folder were moved into the utils folder and
promoted to SIT then the empty folder src would remain on disk in your deployment
areas. There is no mechanism provided for the removal of empty folders from deployment
areas.
When you use a request to track the rename, and you promote that request to another
stage, the rename operation will take effect in the deployment areas for that stage. The
files being deployed will then appear in the new folder.
The file names and folder locations are currently all the same in each area and earlier
revisions have generally progressed further along the stage lifecycle than newer revisions.
Imagine that a user then renames src to source. Only the project and the initial area are
affected so we now have:
Next, you promote a request referencing the change to the folder name to SIT. The
project and area contents would now be:
The src folder in the SIT area now contains no Dimensions CM controlled files.
When you use a request to track the move, and you promote that request to another
stage, the move operation will take effect in the deployment areas for that stage. The files
being deployed will then appear in the new folder location.
The file names and folder locations are currently all the same in each area, and earlier
revisions have generally progressed further along the stage lifecycle than newer revisions.
A user then moves the utils folder so that it becomes a child of the src folder. Only the
project and the initial area are affected, so we now have:
Next, a request tracking the change, is promoted to SIT, The project and area contents
will now be:
The utils folder in the root of the SIT area now contains no Dimensions CM controlled
files.
When a file is removed and a request is specified, simply promoting that request to a
stage will result in the file being removed from the deployment areas for that stage.
At this point, the contents of the project and associated areas will look like this:
Next, a developer decides to remove [Link];2. They do this against a request and
relate [Link];2 as Affected to mark it as a removal. They create a revised baseline
and specify this request in the “Remove” request list. This will create a baseline that no
longer contains “[Link];2”. At this point, the contents of the project and associated
areas will look like this:
When this baseline is prompted to SIT, revisions of the items related as “Affected” to the
requests specified in the “Remove” list for the revised baseline will be removed from the
SIT deployment areas.
The fact that the item revision no longer exists in the project does not affect this. Revision
2 of src/[Link] is now removed from SIT:
At this point in time the project and area contents will look as follows:
When the request is promoted to SIT, the project and area contents will now look as
follows:
operation, and that baseline is promoted. So the developer relates both revision 1 and 2
of src/[Link] as "Affected" against a request, and creates a revised baseline
specifying that request in the "Remove" request list. This will create a baseline that no
longer contains [Link]. They also remove both revisions of the item from the
project.
At this point in time the project and area contents will look as follows:
When the baseline is promoted to SIT, the project and area contents will now look as
follows:
Folder Removal
If the developer specifies a request when deleting an empty folder, then when that
request is promoted to a stage, the empty folder will be deleted from the corresponding
areas.
The following table shows the filename and revisions initially in the main project and each
area. The filename is the same, and earlier revisions have progressed farther along the
stage lifecycle with later revisions:
The user uses the desktop client to rename the file in the project to [Link]
against the default request R1, and the filename is changed in the project and the initial
stage:
This change is then deployed to SIT by promoting request R1, and the project and area
contents become:
Now, at this point testing occurs at the SIT stage, and the team realizes that the file
rename needs to be backed out from the SIT stage. The team leader demotes request R1
back to DEV, and the project and area contents become again:
A to areas 12
deploy by default
action driven deployment 18, 181 about 15
area rules 16
audit filter 36 Deploy to Areas page (Promote wizard) 60
filter 36 deploy_config.dat 23
area version 13 deploying
assigning deployment areas 36 automatically 15
audit filter 36 by default 15
automatic deployment 15 deployment
introduction 11
commands 24
configuring 185
B environment, configuring 185
features in Dimensions CM 12.1 10
baselines
filter 36
demoting 50
logging, enabling 23
deploying 56
privileges 196
promoting 44
scenarios 64
rolling back 58
scheduling 19
by-passing stages, in the GSL 12 sequence, setting up 14
the Deployment view 23
viewing jobs 32
C deployment areas
about 36
configuring, deployment 185 assigning 36
contacting technical support 8 auditing 21
content pane filters 13
deployment view 32 scripts 13
filtering on the deployment view 34 using with library cache areas 24
viewing files 38
deployment data, migrating 24
D deployment methods, recommended
baselines 21
demote items 21
baselines 50 requests 21
command 12 deployment sequence
items 47 example 15
requests 48 rules 14
rules 12, 17 deployment server
Demote wizard 61 introduction 190
deploy base database parameters 192
baselines 56 configuration examples 193
by actioning 18 configuring 191
command 12 global parameters 191
deploy by default 15 deployment view 23
items 53 content pane 32
refactoring changes 19 filtering the content pane 34
regressions 20 History tab 29
requests 55 navigation pane 31
requests, scenario 70, 85, 101 Pending tab 27
rules 12 Queue tab 28
Dimensions M
product components 7
documentation set 7 migrating, existing deployment data 24
drilling down, into deployment jobs 32
N
E
navigation pane
emergency fix scenario 170 deployment view 31
events and jobs 30
O
F
online demonstrations 8
files
deploying to deployment areas 12
rolling back from deployment areas 12 P
filters
areas 13, 36 Pending tab, on Deployment view 27
audit 36 platform support 8
fix forward scenario 158 printing manuals 8
privileges 196
promote
G command 12
rules 12
Global Stage Lifecycle scheduling 19
about 11 promote with deploy
by-passing stages 12 about 15
promoting and demoting objects up and down 12 deploy by default 15
GSL, see Global Stage Lifecycle rules 16
Promote wizard 59
Promote/Demote wizard Summary page 60
H promoting
baselines 44
History tab, on Deployment view 29 items 41
promoting and deploying, in the same operation
15
I requests 42
introduction, to deployment 11
item, removing from deployment areas 22 Q
items
demoting 47 Queue tab, on Deployment view 28
deploying 53
promoting 41
rolling back 57 R
recommended deployment methods 21
J refactoring
deploying changes 19
job, viewing deployment details 32 example 20
request driven 200
scenarios 122, 200
L regressions
deploying 20, 202
library cache areas, using with deployment areas rules 20
24 removing, item from deployment areas 22
logging, enabling 23 requests
S
scenarios 64
introduction 64
pre-requisite steps 69
basic request deployment 70
deploying a fix forward solution using a request
158
deploying an emergency fix 170
deploying refactoring changes 122
deploying requests by actioning 181
deploying requests to a single deployment area 85
deploying requests to multiple deployment areas
101
rolling back a deployment 140
scheduled jobs
rescheduling 33
scheduling, promotions and deployments 19
scripts, for deployment areas 13
separation of duties 70
sequence, setting up for deployment 14
setting up, deployment 185
supported platforms and third-party integrations
8
T
technical support
contacting 8