CentraSite Documentation : Runtime Governance with CentraSite : Virtualized Services in CentraSite : Deploying Virtualized Services and Consumer Applications : Deploying, Undeploying and Redeploying Virtualized Services : Deploying Virtualized Services from a Service's Detail Page
Deploying Virtualized Services from a Service's Detail Page
The following procedure describes how to deploy, undeploy and redeploy a single virtualized service to one or more Mediator targets, using the service's Deployment profile.
To deploy, undeploy or redeploy a virtualized service
1. In CentraSite Control, display the details page of virtualized service. If you need procedures for this step, see Viewing or Editing Virtualized Services.
2. Select the virtualized service's Policies profile and ensure that all of the service's run-time policies are Active. If not, activate them as described in Activating a Run-Time Policy.
3. Ensure that the virtualized service has a design-time policy that includes the Change Deployment Status action and it is set to Yes. This action specifies whether the service is eligible for deployment. For more information, see the description of this action in the CentraSite Developer’s Guide .
4. Make sure you switch the service to an active, ready-to-deploy state, as follows. (If you do not know which state to select, you will need to examine your organization’s lifecycle model for Service objects or consult an administrator.)
a. In the Actions menu, select the Change Lifecycle State option.
b. Select the lifecycle state to which you want to switch the asset and click OK. (The list will contain only the states that you are permitted to assign to the service.)
If the state change requires approval, CentraSite will initiate an approval workflow and your request for a state change will be submitted to the appropriate approvers. While the request is awaiting approval, the service will appear in a pending state.
5. After the lifecycle state has been successfully changed, select the virtualized service's Deployment profile.
The Deployment profile will display the following information.
Column
Description
Target
The target on which the service is deployed.
Target Type
The type of target on which the service is deployed (e.g., webMethods Integration Server or webMethods Insight).
Description
Description of the target.
Deployment Status
The deployment status of the service (e.g., Deployed or Failed).
Date Deployed
The date/time that the deployment occurred.
6. Click the Deploy button, select the Mediator target(s) to which you want to deploy the virtualized service, and click OK.
7. The deployment process is carried out by a synchronous mechanism between the CentraSite and the Mediator:
a. CentraSite pushes the virtualized service that is ready for deployment to the Mediator.
b. Instantly, the Mediator deploys the virtualized service that was received from CentraSite (along with its effective run-time policy), and notifies CentraSite when the deployment process is complete.
For more information, see What Happens When You Deploy a Virtualized Service?.
Important:  
If the status shown in the Deployment Status column does not automatically switch to Deployed, click the Refresh button to determine whether CentraSite was able to deploy the virtualized service successfully. If the deployment process failed, identify and correct the error and then try deploying the virtualized service again.
8. To undeploy the virtualized services, select the services' check boxes, and choose Undeploy from the Actions menu.
If the undeployment is successful, Mediator's deployer service returns a success message, and data that is pertinent to the undeployed virtual service. In addition, CentraSite's Deployment Manager logs information about the undeployment in the Deployment log. If the undeployment is unsuccessful, the deployer service returns a failure message.
Important:  
If the status shown in the Deployment Status column does not automatically switch to Undeployed, click the Refresh button to determine whether CentraSite was able to undeploy the virtualized services successfully. If the undeployment process failed, identify and correct the error and then try undeploying the virtualized services again.
9. To redeploy the virtualized service, select the services' check boxes, and choose Redeploy from the Actions menu.
Important:  
If the status shown in the Deployment Status column does not automatically switch to Deployed, click the Refresh button to determine whether CentraSite was able to redeploy the virtualized services successfully. If the redeployment process failed, identify and correct the error and then try redeploying the virtualized services again.
10. Examine the deployment log that is displayed by CentraSite Control and check for any errors that occurred during the deployment process.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback