Deploying of (BusinessWorks) ear files in Administrator is often easier using a script calling AppManage (in the TRA distribution) than doing it manually in the Administrator web frontend. With scripted deployments the ear file and the deployment xml file containing the process and global variable settings is usually extracted from a version control system. So a working scripted deployment guarantees that these settings will not be lost.
In some cases deployed processes should not be stopped and restarted during deployment. For example when the tra file needs to be (manually or scripted) updated after deployment. Or when processes are running load balanced and should not have any downtime. Administrator facilitates such deployments, but it can be beneficial to do such deployments in a scripted way. The following targets stop and start processes in Tibco Administrator using AppManage called from ant.
The following ant target starts or stops processes in a deployment within Tibco Administrator:
- Administrator host ssh credentials: tibco.admin.host, ssh.user, ssh.password
- Name of Tibco Administrator domain: tibco.admin.domain
- Deployment to start or stop: tibco.app.name, in Administrator directory tibco.admin.dir
- Optional service such as an adapter, or process archive (.par) to start or stop: tibco.app.service
- Start or stop: tibco.app.startOrStop with value “start” or “stop”.
For training on TIBCO Administrator mail us at email@example.com