Undeploying Virtual Services from Mediator
Pre-requisites:
To undeploy a virtual service from Mediator gateway through the Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named undeploy for this purpose.
To undeploy a virtual service
Run the command undeploy. The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd undeploy [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -virtualService <VIRTUAL-SERVICE> -gateway <GATEWAY>
The input parameters are:
Parameter | Description |
CENTRASITE-URL | (Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite. |
USER-ID | The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator. |
PASSWORD | The password for the CentraSite user identified by the parameter USER-ID. |
VIRTUAL-SERVICE | The name or key of the virtual service. |
GATEWAY | The gateway to which the virtual service identified by the parameter -virtualService is to be deployed. |
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd undeploy -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -virtualService VS1 -gateway Gateway1