Config ANT Tasks

AuraConfigLiteResource Task

This task can be used to in multiple modes. It can used to commit changes, get report of the changes and run sync operation against the environment. You will supply all connection details as the attributes, in addition you need to set the auraconfiglite resource XML file location.

operationMode is sync For operation mode sync, auraconfiglite will compare the resources in the Aura Config Lite resources XML file and resources on the target Server. It will produce a report highlighting all the resources that are different, all the resources that not configured on the target environment and also all the resources and attributes that are not configured in the auraconfiglite resources XML file. auraconfiglite will produce new auraconfiglite xml resources file with all the missing and new resources.

operationMode is normal For operation mode normal, auraconfiglite will parse the resource XML file. Replace tokens in the file with values from the properties file supplied. auraconfiglite will produce html report of all the changes applied. The format of the report is similar to the compare report. The changes applied will be highlighted.

operationMode is reportOnly For operation mode reportOnly, auraconfiglite will implement same logic as in normal except changes will not be commited. This gives you an option to check what changes will be implemented if you run in normal mode.

AttributeDescriptionRequired
opertionModeNormal/reportOnly/sync. Details of these modes has been explained above.Yes
HostHost location of target DMGR or standalone server.Yes
PortRMI or SOAP bootstrap Port of target DMGR or standalone serverYes
connectionTypeEither RMI/SOAP. Protocol to use for connectionYes
userNameUser name for connection to dmgr or standalone serverYes
passwordPassword for connection to dmgr or standalone serverYes
resourceXMLSet this attribute to location of the resource XML file. Details of the file are explained in the section for resource xml fileYes
environmentPropertiesSet this attribute to location of the environment properties files. Details of the file are explained in the section for Aura Config Lite environment properties file sectionYes
syncResourceXMLThis is resource file produced after sync operation. This file contains all the resource that are missing in the Aura Config Lite resources xml fileYes
syncReportLocationThis is resource file produced after sync operation. This file contains all the resource that are missing in the Aura Config Lite resources xml fileYes
includeAllChildrenFor many resources in WAS value of the attributes can be a resource, for e.g. for foreign bus SIBus’s attribute but SIBForeignBus is a resource. By setting this attribute to true all the children are included when a sync operation is performedYes

AuraConfigLiteCompare Task

This task is used to compare resource type between 2 cells. This task will compare the configuration items mentioned in the resource xml that is passed as attribute to this task

AttributeDescriptionRequired
resourceXMLSet this attribute to location of the resource XML file. Details of the file are explained in the section for resource xml fileYes
sourceHostHost location of target DMGR or standalone server.Yes
sourcePortRMI or SOAP bootstrap Port of target DMGR or standalone serverYes
sourceConnectionTypeEither RMI/SOAP. Protocol to use for connectionYes
sourceUserNameUser name for connection to dmgr or standalone serverYes
sourcePasswordPassword for connection to dmgr or standalone serverYes
sourceEnvironmentPropertiesSet this attribute to location of the environment properties files. Details of the file are explained in the section for Aura Config Lite environment properties file sectionYes
targetHostHost location of target DMGR or standalone server.Yes
targetPortRMI or SOAP bootstrap Port of target DMGR or standalone serverYes
targetConnectionTypeEither RMI/SOAP. Protocol to use for connectionYes
targetUserNameUser name for connection to dmgr or standalone serverYes
targetPasswordPassword for connection to dmgr or standalone serverYes
targetEnvironmentPropertiesSet this attribute to location of the environment properties files. Details of the file are explained in the section for Aura Config Lite environment properties file sectionYes
syncResourceXMLThis is resource file produced after sync operation. This file contains all the resource that are missing in the Aura Config Lite resources xml fileYes
syncReportLocationThis is resource file produced after sync operation. This file contains all the resource that are missing in the Aura Config Lite resources xml fileYes
includeAllChildrenFor many resources in WAS value of the attributes can be a resource, for e.g. for foreign bus SIBus’s attribute but SIBForeignBus is a resource. By setting this attribute to true all the children are included when a sync operation is performedYes
workingAreaTemporary filesystem locationYes

AuraConfigLiteXML Task

This task is used to compare XML outputs generated from AuraConfigLite. It can also be used to compare the WebSphere Portal Exports. Output is produced as html displaying the difference.

AttributeDescriptionRequired
resourceXML1AuraConfigLite xml output from an environment. Or portal export XMLYes
resourceXML2AuraConfigLite xml output from an environment. Or portal export XMLYes
environmentProperties1Environment properties for environment used to produce resourceXML1Yes
environmentProperties2Environment properties for environment used to produce resourceXML2Yes
syncReportLocationHTML Output showing the differenceYes