Вы находитесь на странице: 1из 21

Siebel 8.

0 Essentials

Application Deployment Manager - Introduction

1 of 20

Module 51: Application Deployment Manager : Usage

Module Objectives Steps in using ADM


Identify all customizations to deploy Export database customizations Export repository customizations Move file customizations Create an ADM package Deploy the ADM package

Application Deployment Manager - Introduction

3 of 20

Identify Customizations
Database Customizations
Identify database changes using DB client or other database management tools

Repository Customizations
Use Siebel tools -> compare objects option

File Customizations
Determine file changes using file stamps at Operating system level

Analyze Dependencies
Understand parent child dependencies Deploy Parent types before child types

Specify order of deployments


Specify deployment order before DB export

Application Deployment Manager - Introduction

4 of 20

Export Database customizations


Use Siebel Application URL > Application deployment manager > Deployment projects

Application Deployment Manager - Introduction

5 of 20

Export Database Customizations


Save a query that selects & filters records Use the saved query in deployment filter column

Application Deployment Manager - Introduction

6 of 20

Export Database customizations


Determine order of data type deployment using Application Deployment Manager > Data type explorer view Select parent data types first and then add child types.

Application Deployment Manager - Introduction

7 of 20

Export Database Customizations Use Application Deployment Manager > Deployment Sessions Create new session ,specify project name & deploy the session

Application Deployment Manager - Introduction

8 of 20

Export Repository Customizations


Use Siebel Tools for exporting repository customizations Files created by this process include A .sif file having changes A descriptor file (xml file) A log file There are two provisions for exporting customizations Hot Fix : Ad hoc small set of customizations Mid Level Release : Changes after specific date

Application Deployment Manager - Introduction

9 of 20

Export Repository Customizations


How to create Hot-Fix? 1. Select the object definition 2. Right click and select Add to hot fix 3. Specify name 4. Return to tools and repeat till all objects are selected 5. When done click export Hot fix is saved in ..\tools\ADM\<HF Name>

Application Deployment Manager - Introduction

10 of 20

Export Repository Customizations


How to create a mid-level release 1. Open Siebel tools > Navigate to View > Options > General; set changed date to specify the cutoff release date 2. Select Tools > Generate Mid-level Release 3. Provide a name and click generate list 4. Verify contents of list and delete extra entries if necessary 5. Click Export
Package file is created in ..\Tools\ADM\<MLR name>

Application Deployment Manager - Introduction

11 of 20

Move File customizations

Changed files needs to be identified and moved in correct directory tree structure (i.e use copy paste ) between source and target environment. Do note that a .srf file is a file type and not a repository type.

Application Deployment Manager - Introduction

12 of 20

Create ADM Package


ADM Package is a collection of customizations It contains a directory structure identifying different types of customizations. And an ADM descriptor file describing its contents ADM packager tool can be invoked by command line using the command % admpkgr <init | generate | validate> <pkg_name> Steps to create package Create an empty package Populate the package directory structure Generate the package descriptor file Validate the package

Application Deployment Manager - Introduction

13 of 20

Create ADM Package > Create an empty package


Invoke admpkgr with the init command , use command line % admpkgr init <package name with path> Example :

Application Deployment Manager - Introduction

14 of 20

Create ADM Package > Populate the package directory structure


Move database,repository and file modifications to new package directory
For database type move the .xml file containing data & package descriptor For repository type move the .sif file & the descriptor file For file type

Move the .srf type <pkgdir>\file\AppServer\objects\<lang> Web templates <pkgdir>\file\AppServer\webtempl\<lang> Images,CSS files,browser script files <pkgdir>\file\AppServer\webmaster\<lang> Report files <pkgdir>\file\ReportServer\<lang>

Also Ensure unused package sub-directories are deleted

Application Deployment Manager - Introduction

15 of 20

Create ADM Package > Generate the package descriptor file


Invoke admpkgr and use the following command line at the prompt % admpkgr generate <package name with path> Example :

Application Deployment Manager - Introduction

16 of 20

Create ADM Package > Validate the package


Validation process is an optional process that verifies existence and format of package descriptor file It Checks for unused , redundant units It Performs consistency check It Checks for valid unit files and descriptor files for database and repositor types Use % admpkgr validate <package name with path> from command line to invoke package validation Example :

Application Deployment Manager - Introduction

17 of 20

Deploying the ADM packages

ADM command line interface to deploy package is executed on the management server host Typically batch file is named deploy_<enterprise name>.bat Following arguments can be supplied to the ADM interface
Command name User name Password Package name Optional switches

Application Deployment Manager - Introduction

18 of 20

Deploying the ADM package


The order of running ADM commands is highlighted in RED

Application Deployment Manager - Introduction

19 of 20

Deploying the ADM package


Following are the steps used in deploying an ADM package
Load

deploy_<enterprise> load <user> <password> <package name> deploy_<enterprise> create <user> <password> <package name> deploy_<enterprise> copy <user> <password> <package name> deploy_<enterprise> activate <user> <password> <package name> Deploy_<enterprise> status <user> <password> <pacakge name>

Create

Copy

Activate

Status & Acknowledge

Application Deployment Manager - Introduction

20 of 20

Example of ADM Deployment

Application Deployment Manager - Introduction

21 of 20

Вам также может понравиться