Application slides

ibmrational 2,152 views 36 slides Jan 08, 2015
Slide 1
Slide 1 of 36
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36

About This Presentation

Application slides for UrbanCode Deploy class


Slide Content

© Copyright IBM Corporation 2014
Essentials of UrbanCode Deploy v6.1
QQ147
Applications

2 © Copyright IBM Corporation 2013
Module overview
After completing this module, you should be able to
complete these tasks:
Create and correctly scope applications
Create environments and application processes
Create tags
Use and create approvals, notifications, and status gates
Use and create properties

3 © Copyright IBM Corporation 2013
What are applications in UrbanCode Deploy?
Applications handle the orchestration of deployments to
a target environment.

4 © Copyright IBM Corporation 2013
Application terminology
•Components
•A grouping of files to deploy
•You define which components
belong to the application
•Environments
•Define target hosts
•Add specific resources to an
environment
•Processes
•Define steps to install, configure,
rollback deployments
•Blueprints
•Set up a new environment quickly

5 © Copyright IBM Corporation 2013
Application scoping
Defining an application:
•Determine what components must be deployed together
Components Composite
application

6 © Copyright IBM Corporation 2013
Creating an application
Click the Applications tab.
Click Create New
Application.
1.
2.

7 © Copyright IBM Corporation 2013
Creating an Application
3.
Complete the form, and
click Save.
The application is included
in the Applications list.

8 © Copyright IBM Corporation 2013
Adding components to an application
Choose the Application
that requires components.
1.
2.
Click the Components
tab.
Before you add components to an
application, they must be created
first. See the “Components” module
for more information about creating
components

9 © Copyright IBM Corporation 2013
Adding components to an application
Choose the application that
requires components.
3.
Choose the components to
add.
4.
The components that are added here
also must be added to an application
environment. Instructions for adding
these resources to environments are
available on the “Adding resources to
an environment” slide.

10 © Copyright IBM Corporation 2013
Applications: Environments
An environment is a collection of resources that are
required to host an instance of an application.
•Resources include agents and components.
Environment resources

11 © Copyright IBM Corporation 2013
Applications: environments
•Environments within Applications can have different
topologies, configurations, and settings for the
environment

12 © Copyright IBM Corporation 2013
Environment topologies
A single server with an
installed agent contains all
three components:
Database, Web, and
Config
Two servers with an
installed agent on each.
The database server
contains the database
component and the web
server contains the web
and config components
A more distributed and
production-ready topology.
Each server has an installed
agent with the database server
that still contains the database
component, but there are load-
balanced web servers that each
contain a web and config
component.

13 © Copyright IBM Corporation 2013
Creating an environment
Click the Applications tab.
1.
Click Create New
Environment.
2.

14 © Copyright IBM Corporation 2013
Creating an Environment
Complete the fields, and
click Save.
3.

15 © Copyright IBM Corporation 2013
Adding resources to environment
On the Environments tab,
choose the environment to
add resources to.
1.
Before adding resources to an
environment, they must be created
first. See the “Resources” module for
more information about creating
agents

16 © Copyright IBM Corporation 2013
Adding resources to an environment
2.
On Resources tab, click
Add Base Resources.
Choose the resources to
add to the environment.

17 © Copyright IBM Corporation 2013
Applications: Processes
Application processes provide overall deployment
orchestration.
Steps in an
application process
represent the various
component processes
and tasks that are
required to complete a
deployment.

18 © Copyright IBM Corporation 2013
Creating an application process
On Applications tab,
choose the application for
the process.
1.
Click the Processes tab.
2.

19 © Copyright IBM Corporation 2013
Creating an Application Process
3.
Click Create New
Process.

20 © Copyright IBM Corporation 2013
Application process steps
Choose a
component
deployment
process to run
Deploy multiple
components in
one step
Remove all
component
versions from the
environment
Switch between
different
incremental
component
versions
Runs a component
process for each
component version
Runs a generic
process on each
resource that is
affected in the
application
process
Runs an operational
(non-version) or
config deployment
process

21 © Copyright IBM Corporation 2013
Application process: Tag use
Tags can be set on
resources in an
environment to help
you exercise fine-
grained control over
which resources a
deployment runs.
Tagging is commonly
used in load-balancing
situations.

22 © Copyright IBM Corporation 2013
Application Process – Tag Usage
When adding an Install
Component step, there is a
choice to limit the
deployment to a specific
resource tag

23 © Copyright IBM Corporation 2013
Application approvals and status gates
In addition to roles and permissions, you can ensure
that an environment is not tampered with or left in an
unwanted state:
Environment approvals can be set to require an
administrator or manager to approve a process run
against an environment
•Such an approval is particularly useful in production
environments
Status gates can check a component version in an
environment for a certain status before that version is
deployed
•Example: Deploy only component versions with a “Passed all
tests” status.

24 © Copyright IBM Corporation 2013
Creating approvals
Choose the environment
that requires enable
approvals.
1.
Click the Configuration
tab.
2.

25 © Copyright IBM Corporation 2013
Creating approvals
Select Require
Approvals, and save the
settings.
3.

26 © Copyright IBM Corporation 2013
Creating approvals
Click the Approval
Process tab.
4.

27 © Copyright IBM Corporation 2013
Creating approvals
Choose from three approval
tasks.
Each approval task can be associated
with approvers with different roles. If all
three tasks are selected, the
environment requires three separate
approvals to move forward with a
process.
5.

28 © Copyright IBM Corporation 2013
Creating status gates
1
2

29 © Copyright IBM Corporation 2013
Creating Status Gates
Click Add Status.
Enter details, and save.
3
4

30 © Copyright IBM Corporation 2013
Creating status gates
5
6
7
Choose an environment
that requires gates, and
add conditions.

31 © Copyright IBM Corporation 2013
Application notifications
Add a notification scheme to the application;
•Notifications are sent to appropriate parties based on
scheme.
•Schemes and mail settings configurations specified on
the main Settings tab.
1
2
3

32 © Copyright IBM Corporation 2013
Application properties
Application properties can be accessed by any application
process or component process that is run against an
environment in the application.
1
2
3

33 © Copyright IBM Corporation 2013
Snapshots
To create a snapshot, you specify which version of
components and processes to include in the snapshot.
•Typically, to create a snapshot you copy the
components and processes from an environment
where you deployed the application without errors.

34 © Copyright IBM Corporation 2014
Snapshots
Creating a Snapshot
Component Versions
1
1
2
2
3
3
321Web
Mid. Code
DB
Snapshot
3
2
1
Mid. Config 1 2 3 3
Snapshot Deployment
ENVSnapshot
3
2
1
WEB HOST
MID HOST
DB HOST
2
1
1
3
2
X
3 3 1
•Create a snapshot after testing
•Snapshots contain deployable components and configuration
•Deployment changes are tracked by default
Snapshots help in these areas:
Automation, audits, and visibility

35 © Copyright IBM Corporation 2013
Review questions
How is a blueprint used?
What do applications do?
What do applications consist of?
Why are environment approvals used?
How are status gates used?

36 © Copyright IBM Corporation 2013
Module overview
After completing this module, you are now able to
complete these tasks:
Create and correctly scope applications
Create environments and application processes
Create tags
Use and create approvals, notifications, and status gates
Use and create properties
Create snapshots