Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 7 Creating and Deploying Applications : Deploying an Application

Deploying an Application
When you create an application, you can use the Deploy on Save option to deploy the application when saving. The application then uses the global variables and other options set in the enterprise archive file. If you do not use the Deploy on Save option, you must explicitly deploy the application after changing deployment configuration options.
To Deploy an Application
1.
Click Application Management.
2.
Click Application > Configuration, where Application is the application created when you loaded the enterprise archive file. See Creating an Application.
3.
4.
Click Deploy.
The dialog similar to the following displays and informs you that all running processes with configuration changes in this application will be stopped when you click OK to deploy. If the processes deploy successfully, they are restarted automatically if the corresponding check box was selected.
Figure 36 Deploying an Application
The dialog allows you to add a description and displays information about the application and each service.
5.
Click OK if to deploy the application, or click Cancel to choose an advanced configuration, different archive file, or make other changes.
Deployment Choices
You can make changes to a deployed application, and then deploy the changed application. The currently deployed application can continue to run while you make changes. When you deploy the updated application, the current application is automatically undeployed. You can revert to a previously deployed application, if the changes you made need be rolled back.
You can:
Select Stop running services before deployment to stop all running services before deploying the service. All services that should be redeployed are stopped. If, however, a service instance is in sync and Force redeployment of all services is not enabled, the running instance is not stopped. This option is disabled if any target machine has a TIBCO Hawk agent version lower than 5.3.
Indicate how many seconds can elapse after a stop request before a service is killed, using the Stop command, in Kill services that haven't stopped after (seconds).
Select Start successfully deployed services to stop and restart the services in the application after they have been successfully deployed. If you do not select this option, you can explicitly start the services later. See Starting or Stopping a Service Instance or Process Engine for details.
Select Force redeployment of all services to redeploy all services even if a service is in a synchronized state. This is useful if you have manually changed deployment files, or if you need to define NT Services to multiple hosts in a Microsoft Cluster.
Select Dynamic Symmetric Key to encrypt sensitive application data using a dynamically generated encryption key. See Deploying an Application Using Dynamic Encryption Key for more information.
If the Stop running services before deployment option is cleared, service instances in deployable state are not stopped while they are redeployed. However, they will be stopped after a successful deployment. This option has no impact on the services instances that are in a synchronized state unless the Force redeployment of all services option is selected.
If the Start successfully deployed services option is enabled and the Stop running services before deployment option is cleared:

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved