View
243
Download
1
Category
Tags:
Preview:
Citation preview
2 © Copyright IBM Corporation 2015
Module overview
After completing this module, you should be able to complete these tasks:
Examine Inventory Create Snapshots Request a deployment process Deploy to an environment Examine logging Run reports
3 © Copyright IBM Corporation 2015
Deployment: Inventory
UrbanCode Deploy retains an inventory and history for environments and resources Compliancy shows
whether actual component inventory matches expected inventorySnapshots are known
working sets of components
Shows which component versions are deployed on the environment
Shows what version of properties were used for deployment
4 © Copyright IBM Corporation 2015
Deployment: Inventory
Inventories between environments can be compared
1.
2.
3.
File and configuration differences can also be viewed here
5 © Copyright IBM Corporation 2015
Deployment: Inventory compliancy
Fresh environment
- Mapped to some resource, but nothing has been deployed
6 © Copyright IBM Corporation 2015
Deployment: Inventory compliancy
Deploy 1.0 of WEB and DB
- Since no resources have any inventory, we target all of them
- As soon as deployment begins, we set desired inventory for
the environment
7 © Copyright IBM Corporation 2015
Deployment: Inventory compliancy
Deploy 1.0 of WEB and DB
- Since no resources have any inventory, we target all of them
- As soon as deployment begins, we set desired inventory for
the environment
8 © Copyright IBM Corporation 2015
Deployment: Inventory compliancy
Failure!
- DB worked, but one of the web machines was down
- Environment is shown as “noncompliant”
- Two machines have “actual inventory” due to successful
deployment
9 © Copyright IBM Corporation 2015
Deployment: Inventory compliancy
Retry
- Deploy the same thing, but it checks inventory first
(Only resources missing the desired inventory)
11 © Copyright IBM Corporation 2015
Deployment: 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
Snapshots are collections of component versions and configuration•Typically taken after successful testing has been completed on an non- production environment, then can be deployed to other environments
•Useful for automation, auditing, and visibility
•Can be compared with other snapshots
•Snapshot deployment can be previewed in an environment
12 © Copyright IBM Corporation 2015
Process request
When you have a snapshot you select the environment to deploy toand select the Process to use for the deployment. It may be the same Process used to deploy to another environment.
13 © Copyright IBM Corporation 2015
Environments
• User defined set of resources that host an application.
• Environments have different topologies
• Environments are assigned to specific applications
• Approvals are assigned to specific environments
Note: UrbanCode Deploy maintains an inventory of every artifact that is deployed to each environment and tracks the differences between them..
14 © Copyright IBM Corporation 2015
Comparing environments
• Select the environment to compare, click save and the environment comparison list opens. The component versions in each environment is shown.
• You can compare differences between environment properties.
• You can compare differences between environment files.
15 © Copyright IBM Corporation 2015
Output log• Server output is written to the server_install_directory/var/log/deployserver.out log file.• You can open the file directly or access it from the UI (Settings > System > Output
Log).
16 © Copyright IBM Corporation 2015
Reports
• Deployment reports - contain historical information about deployments. Data can be filtered in various ways and reports can be printed and saved. In addition, you can save search criteria for later use.
• Security reports - provide information about user roles and privileges.
Recommended