CentraSite Documentation : CentraSite Administrator’s Guide : Basic Operations : Usage of the CentraSite Command Tools : Managing Gateways from the Command Line : Creating a New Gateway
Creating a New Gateway
 
Configuration File
Use the set gateway command to create a new gateway in CentraSite.
The syntax for the command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set gateway -user <USER-ID> -password <PASSWORD> [-url <CENTRASITE-URL>] -file <CONFIG-FILE> -gatewayPassword <GATEWAY-PASSWORD> [-csPassword <CS-PASSWORD>]
The input parameters are:
Parameter
Description
-url
(Optional) The URL of the CentraSite registry. Default value is http://localhost:53307.
-user
The user ID of a registered CentraSite user. For example, a user who has the CentraSite Administrator role.
-password
The password for the registered CentraSite user identified by the parameter -user.
-file
Name of the configuration file which contains the gateway parameters. For additional details, see Configuration File.
-gatewayPassword
The password that CentraSite will use to communicate with the gateway.
-csPassword
(Optional) The password that the gateway will use to communicate with CentraSite. If this parameter is not specified, the password of the user logged in will be used.
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set gateway -user Administrator -password manage -url http://localhost:53305/CentraSite/CentraSite -file c:\tmp\mediator-config.xml -gatewayPassword manage
The response to this command could be:
Executing the command : set gateway
Gateway DevMediator created

Successfully executed the command : set gateway
Note:  
To update an existing gateway in CentraSite, you can use the set gateway command and provide an edited configuration file as input to the command along with the key that identifies the gateway that you want to update. The gateway key can be obtained by using the list gateways command.
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback