Deployment topology xml file

Deployment topology can be defined in 2 ways: manually creating using BCC or using the deploymentTopology.xml. 

Deployment topology file can be located in the path - <atgxxxdir>/Publishing/base/src/config/atg/epub/deploymentTopology.xml

As described earlier, the structure of the deployment topology contains the target sites, Publishing agents and source – destination repository mapping.

Please find below the reference for deployment topology file for a staging and production instance.

<? Xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE publishing-deployment-topology SYSTEM
"http://www.atg.com/dtds/publishing_deployment/publishing_deployment_1.0.dtd">

<publishing-deployment-topology>
<target> <target-name> Production </target-name>
<description> Production , full deployment </description>
<target-deploy-type> WORKFLOW </target-deploy-type>
<agent> <agent-name> PublishProdAgent </agent-name>
<principal-asset> REPOSITORY</principal-asset>
<transport> <transport-type> RMI </transport-type>
<rmi-uri> 
rmi://localhost:port1/atg/epub/AgentTransport</rmi-uri>
</transport>
</agent>
<repository-mapping><source- 
repository>/atg/commerce/catalog/ProductCatalog </source- 
repository>
<destination- 
repository>/atg/commerce/catalog/ProductCatalog_production 
</destination-repository>
</repository-mapping>
<repository-mapping><source-
repository>/atg/commerce/priceLists/PriceLists </source-
repository>
<destination-repository atg/commerce/priceLists/PriceLists 
_production </destination-repository>
</repository-mapping> </target>
<target> <target-name> Staging </target-name>
<description> Staging, full deployment </description>
<target-deploy-type> WORKFLOW </target-deploy-type>
<agent> <agent-name> Publish StagAgent </agent-name>
<principal-asset> REPOSITORY</principal-asset>
<transport> <transport-type> RMI </transport-type>
<rmi-uri> 
rmi://localhost:port2/atg/epub/AgentTransport</rmi-uri>
</transport>
</agent>
<repository-mapping><source- 
repository>/atg/commerce/catalog/ProductCatalog </source-
repository>
<destination-
repository>/atg/commerce/catalog/ProductCatalog_staging 
</destination-repository>
</repository-mapping>
<repository-mapping><source-
repository>/atg/commerce/priceLists/PriceLists </source-
repository>
<destination-repository atg/commerce/priceLists/PriceLists 
_staging </destination-repository>
</repository-mapping> </target>
</publishing-deployment-topology>

Once the file is ready go to the Deployment 
Administration page,click configuration and choose
the option click Import from XML.See Screen shot below


See also how to manually configure deployment in the CA Server.


import from xml option in bcc

Comments

Popular posts from this blog

BCC site status inaccessible Agent Production in error state

Weblogic Issues during EAR Deployment Exception in AppMerge flows progression

Add a shopping cart button to the product page