User guide
37
2. When a user opens a release template, he will be informed that it is locked by someone else. The user can
still open the release template, but it will be put in read-only mode.
Sometimes, different users will want to work on the same release template. One way to achieve it would be to make
a copy of the release template, edit that copy and either save it for future edits or copy/paste the relevant information
from a deployment sequence to the original release template. The copied release template can be deleted once it is
not needed anymore.
The release managers have the option of removing any locks that a user may have. This can be useful if a user has
left RM running with a release template opened.
3.7 Rollback and Rollback Always Mechanism
A deployment sequence has two modes of execution: Normal and Rollback. During normal execution, all activities
that are not in a Rollback or Rollback Always container are executed. During rollback execution, only the activities
that are within a Rollback or Rollback Always will be executed.
Rollback and Rollback Always are containers in which users can add any actions/components/manual interventions
as needed. The user is responsible to build its rollback mechanism (although preexisting actions can be used).
When an error happens during the Normal execution of a deployment sequence, the sequence terminates (parallel
activities finish their execution). If there is at least one rollback activity to be executed, the deployment sequence is
restarted (from the top) in mode Rollback. In that mode, only the activities that have been identified (automatically
during the Normal execution) will be executed.
A rollback activity of type Rollback will be identified to be executed when at least one normal activity position
before that rollback activity have been executed during the normal execution phase.
A rollback activity of type Rollback Always will be identified to be executed if any normal activity fails during the
normal execution phase.
3.7.1 Example 1
During normal execution, if ‘Create Application Pool’ fails, activities contained in first Rollback and activities
contained in Rollback Always are marked as to be executed during the rollback mode execution.