search cancel

Using Manifest files


Article ID: 42241


Updated On:


CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)



How to set up and use manifest files?


CA Release Automation 5.5.2.X, 6.X


Basically the name of the concept using manifest files called data driven deployment the manifest consist from 3 xml files:

1. Env.xml (example: QA.xml, DEV.xml, PROD.xml) one file for every environment
2. Topology.xml (example: JPetStore.xml) one file for every application
3. Release.xml (example: 1.1.0.xml) one file for every release

These xml are built as a free style and the only thing that is important it's what data they contain and how it used in the solution.

1. Env (Environment) - This file will mostly consist of key pair values like
<property name="KEY-NAME">KEY-VALUE</property>

<property name="DB-HOST"?></property>

2. Topology - To get this file correctly we need to get a clear understanding of the similarities between the various environments and their server-types definitions. Like IIS 7.5, websphere, website names, application pool names, folder structure (where logs are located) all are belong to the topology file. Good way is to represent each server type as separate component in Nolio.

3. Release - is actually file that describing your package this is very important to redesign the packaging convention during this step if such needed since it is a crucial part in the implementations success. One of the successful approaches in package redesign is to break the package into smaller pieces. Each piece will be called an artifact. For example, if we deploy a website and under website we have 10 virtual directories, a good practice is to create one release number that unifies 10 smaller artifacts (in this case this step is enabler for us to make fast and quick deployments of specific artifact instead of all of them and the option to deploy different versions of artifacts as part of the same release).


1. Env

 <env name="WPC-DS" escape-char="#">

     <property name="ODS_HOSTNAME"></property>

     <property name="ODS_PORT">1531</property>

     <property name="ODS_SERVICENAME">odspus1.mia</property>

     <property name="OLTP_HOSTNAME">gcmdbp043-vip</property>

     <property name="OLTP_PORT">1532</property>

     <property name="OLTP_SERVICENAME">wpc2_wclpus5.mia</property>

     <property name="KEYSERVER_HOSTNAME"></property>

     <property name="KEYSERVER_PORT">1532</property>

     <property name="KEYSERVER_SERVICENAME">OSSPUS1.MIA</property>



2. Topology

<Server-Type name="WEB">
<App-Pool name="ACHILLES" recycle="24h" userid="1" />
<App-Pool name="CLIO" recycle="24h" userid="2" />
<App-Pool name="THALIA" recycle="24h" userid="2" />
<App-Pool name="ANDROMEDA" recycle="24h" userid="1" />
<Website name="ACHILLES" />
<Website name="CLIO" />
<Website name="THALIA" />
<Website name="ANDROMEDA" />
<Folders ids="1,2" />

<Server-Type name="APP">
<Service name="APPOLO" />
<Service name="GAIA" />
<Service name="NIKE" />
<Folders ids="1,2,3" />

<Server-Type name="DB">
<Schema name="Cutomers" />
<Schema name="Finance" />
<schema name="Suppliers" />

<Folder id="1" path="C:\inetpub" />
<Folder id="2" path="C:\conroller" />
<User id="1" name="Administrator" pass="Encrypted" />
<User id="2" name="AppPoolUser" pass="Encrypted" />

3. Release

<Release ID="1.0.1">
<Application Name="WEB-PORTAL" Version="1.0.1">
<Artifact ID="App1" deploy="true" type="ear" extension="ear" source="archiva" />
<Artifact ID="App2" deploy="false" type="ear" extension="ear" source="archiva" />
<Artifact ID="log4j" deploy="true" type="template" extension="dtd" source="svn" />
<Artifact ID="clientkeystore" deploy="false" type="template" extension="jks" source="svn" />
<Artifact ID="loggerConfig" deploy="true" type="template" extension="xml" source="svn" />
<Artifact ID="service" deploy="false" type="template" extension="properties" source="svn" />
<Artifact ID="logout" deploy="true" type="template" extension="html" source="svn" />
<Artifact ID="login" deploy="true" type="template" extension="properties" source="svn" />
<Dependency ID="" product="Profile_Host" type="Internal" version="Release 2"/>


Release: NOLNAC99000-6.1-Nolio-Automation Center