Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Bastin Jenifus J
INFORMATICA POWERCENTER
Deployment Automation Script - UNIX
Author:
Bastin Jenifus J
Page 1
Table of Contents
Business Purpose: ............................................................................................................................ 3
Supported Versions: ........................................................................................................................ 3
List of actions: ................................................................................................................................. 3
Description: ..................................................................................................................................... 3
Create a Deployment Group: (DG_CREATE) ................................................................................ 4
Add objects to a Deployment Group: (DG_ADD)......................................................................... 5
Clear Objects in a Deployment Group: (DG_CLEAR).................................................................... 5
Delete a Deployment Group: (DG_DELETE)................................................................................. 6
Deploy a Deployment Group: (DG_DEPLOY) ............................................................................... 6
Create, Add, Deploy a Deployment Group in one step: (DG_C_A_D) ......................................... 6
Create a label: (LB_CREATE) ........................................................................................................ 7
Delete a label: (LB_DELETE) ........................................................................................................ 7
Apply label to a list of objects: (LB_APPLY) ................................................................................. 7
Create, Apply a label in one step: (LB_C_A) ................................................................................ 8
Page 2
Business Purpose:
This script using PMREP helps to deploy the Informatica Objects from source destination to a target
destination without any manual intervention getting involved.
Inventory list for every migration from environment to environment is very mandatory for all the
projects. So using only the inventory list as the source the script migrates the Informatica Objects.
Supported Versions:
Powercenter 9x
List of actions:
Assign permissions to the deployment group for any number of Informatica groups.
Create a label.
Delete a label.
Description:
Migration of Informatica Objects from environment to environment plays a major role in all the kinds of
projects (Development / Maintenance / Production Support). This activity when done manually will take
time if the list of objects is more. To overcome this effort and ease the activity this script can be used.
Download the below list of files. All the files must be present in the same unix path.
1. Infa_DG_LB.sh
2. Infa_envrionmental_variables.env
Page 3
3. Mig_Inventory_list.csv
4. DeployOptions.xml
5. Informatica_Groups_Lst.txt
Infa_DG_LB.sh is the main shell script which takes input parameters to perform the list of actions that
are highlighted in the top.
Infa_envrionmental_variables.env holds all the common information that is relevant to Informatica
Powercenter. Use the file as a sample to put in the respective inputs appropriately.
DeployOptions.xml file is the place where you can define the target folders for the respective source
folders. Set default integeration Service, set to copy workflow session logs, set to copy map variables
persisted values, set to copy dependency objects, set to move latest version only, etc..
Mig_Inventory_list.csv holds all the Informatica objects which need to be deployed or which need to
apply a label. Use this file as a sample and the same structure needs to followed.
<Repository Name>,<Folder Name>,<Object Type>,<Object Name>
Informatica_Groups_Lst.txt after creating a deployment group or a label we have to assign the
necessary permissions to the necessary groups. Use the file as a sample and the same structure needs to
be followed.
<Informatica Group Name>,<Permission like rwx / rw / rx>
Page 4
Page 5
Page 6
Page 7
Page 8