Deploying Virtual Services from the Details Page
To deploy a Virtual Service asset to targets, ensure that:
All of the run-time policies that are available for the Virtual Service are Active.
The Virtual Service has a design-time policy configured with 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.
The following procedure describes how to deploy, undeploy, and redeploy a single Virtual Service to one or more Mediator targets, using the Virtual Service's Deployment profile.
To deploy, undeploy, or redeploy Virtual Service from the details page
1. In CentraSite Control, go to Asset Catalog > Browse.
2. In the displayed list of asset types, select Virtual Service.
3. In the Assets pane, right-click the Virtual Service you want to deploy, and click Details.
The Virtual Service Details page is displayed.
4. Click the Policies tab.
5. In the Policies tab, switch the Virtual 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 the Virtual Service or consult an administrator.)
a. On the Actions menu, click Change Lifecycle State.
A list of lifecyle states you are permitted to assign to the Virtual Service is displayed.
b. Select the lifecycle state to which you want to switch the asset, and then click OK.
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 Virtual Service will appear in a pending state.
After the request is approved by designated approvers, asset is switched to the selected lifecycle state.
6. Click the Deployment tab.
The Deployment tab displays the following information for the Virtual Service:
Field | Description |
Target | The target on which the Virtual Service is deployed. |
Target Type | The type of target on which the Virtual Service is deployed (for example, webMethods Integration Server or webMethods Insight). |
Description | The description for the target. |
Deployment Status | The deployment status of the Virtual Service (for example, Deployed or Failed). |
Date Deployed | The date and time that the deployment occurred. |
7. In the Deployment tab, click the Deploy button.
8. In the Deploy to Targets dialog box, select one or more Mediator targets to which you want to deploy the Virtual Service, and then click OK.
The deployment process is carried out by a synchronous mechanism between CentraSite and Mediator:
a. CentraSite pushes the Virtual Service that is ready for deployment to the Mediator.
b. Instantly, the Mediator deploys the Virtual Service that was received from CentraSite (along with its effective run-time policy), and notifies CentraSite when the deployment process is complete.
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 Virtual Service successfully. If the deployment process failed, identify and correct the error and then try deploying the Virtual Service again.
9. To undeploy the Virtual Service, select one or more targets, and on the Actions menu, click Undeploy.
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 Virtual Services successfully. If the undeployment process failed, identify, and correct the error and then try undeploying the Virtual Service again.
10. To redeploy the Virtual Service, select one or more targets, and on the Actions menu, click Redeploy.
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 Virtual Services successfully. If the redeployment process failed, identify and correct the error and then try redeploying the Virtual Service again.
11. In the Deployment Log, check for any errors that occurred during the deployment process.