Page History
HTML |
---|
<style> .release-box { height: 30px; width: 100px; padding-top: 8px; text-align: center; border-radius: 5px; font-weight: bold; background-color: #d4af37; border-color: #FCE28A; } .release-box:hover { cursor: hand; cursor: pointer; opacity: .9; } </style> <meta name="robots" content="noindex"> <div class="release-box"> <a href="https://docs.perspectium.com/display/gold" style="text-decoration: none; color: #FFFFFF; display: block;"> Gold </a> </div> |
You can issue commands to start or stop running the DataSync Agent for ServiceNow from a command line interface on supported Windows and Linux devices.
When running the agent interactively, through the agent.sh or agent.bat convenience scripts or runConsole.sh or runConsole.bat commands, it is advised to always terminate the Agent as documented below with Ctrl+C. This allows the interactive agent session to exit gracefully.
Warning | ||
---|---|---|
| ||
Failure to do so may result in a lingering Java process which must be killed or terminated manually. |
Linux
Running your DataSync for ServiceNow Agent in the Foreground
Start
Execute the following command to start running your DataSync for ServiceNow Agent:
Code Block | ||||
---|---|---|---|---|
| ||||
./runConsole.sh |
Stop
Execute the following keys to stop running your DataSync for ServiceNow Agent:
Code Block | ||||
---|---|---|---|---|
| ||||
Ctrl+C |
Running your DataSync for ServiceNow Agent in the Background
Install
Running your DataSync for ServiceNow Agent in the background will require you to install your DataSync for ServiceNow Agent as a service first.
Execute the following command to initiate an install of the Agent service:
Code Block | ||||
---|---|---|---|---|
| ||||
bin./installDaemon.sh start |
Start
Execute the following command to start running your DataSync for ServiceNow Agent:
Code Block | ||||
---|---|---|---|---|
| ||||
bin./startDaemon.sh start |
Stop
Execute the following command to stop running your DataSync for ServiceNow Agent:
Code Block | ||||
---|---|---|---|---|
| ||||
bin./stopDaemon.sh start |
Uninstall
Execute the following command to uninstall the Agent service:
Code Block | ||||
---|---|---|---|---|
| ||||
bin./uninstallDaemon.sh start |
Windows
Running your DataSync for ServiceNow Agent in the Foreground
Start
Double-click the following file in the bin folder to initiate the running of your DataSync for ServiceNow Agent:
Code Block | ||||
---|---|---|---|---|
| ||||
Agent.bat |
Stop
Execute the following keys to stop running your DataSync for ServiceNow Agent:
Code Block | ||||
---|---|---|---|---|
| ||||
Ctrl+C |
Running your DataSync for ServiceNow Agent in the Background
Install
Running your DataSync for ServiceNow Agent in the background will require you to install your DataSync for ServiceNow Agent as a service first.
Double-click the following file in the bin folder to initiate an install of the Agent service:
Code Block | ||||
---|---|---|---|---|
| ||||
installService.bat |
Start
Double-click the following file in the bin folder to initiate the running of your DataSync for ServiceNow Agent:
Code Block | ||||
---|---|---|---|---|
| ||||
startService.bat |
Stop
Double-click the following file in the bin folder to stop the running of your DataSync for ServiceNow Agent:
Code Block | ||||
---|---|---|---|---|
| ||||
stopService.bat |
Uninstall
Double-click the following file in the bin folder to uninstall the Agent service:
Code Block | ||||
---|---|---|---|---|
| ||||
uninstallService.bat |
Similar topics
Content by Label showLabels false max 5 showSpace false sort modified cql label = "data-sync" and space = currentSpace()