Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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/agent.bat convenience scripts or runConsole.sh/runConsole.bat commands, it is advised to always terminate the Agent as documented below with Ctrl+C

(info) NOTE: Enhanced integration with various security options provided by our supported OS platforms may result in the user receiving additional prompts for Administrator or SUDO permission. 

Info
Users MUST install and run the Agent as an Administrator in Windows or with sudo in Linux.

(warning) WARNING: Regardless of how you are running the Agent, it is advised to always stop the Agent following the instructions below, based on the situation. This allows the interactive agent session to exit gracefully

. Warning
iconfalse

, ensuring no records are lost. Failure to do so may result in lost records and a lingering Java process which must be killed or terminated manually. 

Prerequisites


(warning) First, you will need to install the DataSync for ServiceNow Agent.


Linux 


Running your DataSync Agent in the Foreground 

Start

Execute the following command to start running your DataSync

for ServiceNow Agent (Linux)

Agent:

Code Block
languagebash
themeEclipse
 ./runConsole.sh 

Stop 

Execute the following keys to stop running your DataSync Agent:

Code Block
languagebash
themeEclipse
	Ctrl+C

(warning) WARNING: Remember to stop the Agent properly! 


Running your DataSync Agent in the Background

Install

Running your DataSync Agent in the background will require you to install your DataSync Agent as a service first. 

Execute the following command to initiate an install of the Agent service: 

Code Block
languagebash
themeEclipse
	./installDaemon.sh 

Start

To start running the DataSync for ServiceNow Agent on your Linux device, follow these steps:

UI Steps
UI Step

Change your current directory to Perspectium_Replicator_Agent 

Open a terminal window and change your current directory to the directory where you installed your DataSync for ServiceNow Agent files. Then, change your current directory to Perspectium_Replicator_Agent

UI StepExecute the Agent start command

Execute the following command to start running your DataSync

for ServiceNow

Agent:

Run the startService.bat file

Navigate to the directory where you installed your DataSync for ServiceNow Agent files. Then, navigate to the bin directory and double-click to run the startService.bat file, which will
Code Block
languagebash
themeEclipse
bin
	./startDaemon.sh
start

Start running your DataSync for ServiceNow Agent (Windows)

To start running the DataSync for ServiceNow Agent on your Windows device, follow these steps:

UI Steps
UI Step

Stop

Execute the following command to stop running your DataSync Agent:

Code Block
languagebash
themeEclipse
	./stopDaemon.sh

(warning) WARNING: Remember to stop the Agent properly! 

Uninstall

Execute the following command to uninstall the Agent service:

Code Block
languagebash
themeEclipse
	./uninstallDaemon.sh




Windows


Running your DataSync Agent in the Foreground

Start

Double-click the following file in the bin folder to initiate the running of your DataSync

for ServiceNow Agent in the background.

Agent:

Code Block
languagebash
themeEclipse
agent.bat

Stop

Execute the following keys to stop

Stop

running your DataSync

for ServiceNow Agent (Linux)

To start running the DataSync for ServiceNow Agent on your Linux device, follow these steps:

UI Steps
UI Step

Change your current directory to Perspectium_Replicator_Agent 

Open a terminal window and change your current directory to the directory where you installed your DataSync for ServiceNow Agent files. Then, change your current directory to Perspectium_Replicator_Agent

Agent:

Code Block
languagebash
themeEclipse
Ctrl+C

(warning) WARNING: Remember to stop the Agent properly! 


Running your DataSync Agent in the Background

Install

Running your DataSync Agent in the background will require you to install your DataSync Agent as a service first. 

Double-click the following file in the bin folder to initiate an install of the Agent service: 

Code Block
languagebash
themeEclipse
	installService.bat

Start

Double-click the following file in the bin folder to initiate the running of your DataSync

UI Step

Execute the Agent stop command

Execute the following command to stop running your DataSync for ServiceNow

Agent:

Code Block
languagebash
themeEclipse
	startService.bat

Stop

Double-click the following file in the bin folder to stop the running of your DataSync Agent:

Code Block
languagebash
themeEclipse
	stopService.bat

(warning) WARNING: Remember to stop the Agent properly! 

Uninstall

Double-click the following file in the bin folder to uninstall the Agent service:

Stop running your DataSync for ServiceNow Agent (Windows)

To stop running the DataSync for ServiceNow Agent on your Windows device, follow these steps:

Run the stopService.bat file

Navigate to the directory where you installed your DataSync for ServiceNow Agent files. Then, navigate to the bin directory and double-click to run the stopService.bat file, which will initiate the running of your DataSync for ServiceNow Agent.
Code Block
languagebash
themeEclipse
	uninstallService.bat
bin/stopDaemon.sh start
UI Steps
UI Step




Similar topics


Content by Label
showLabelsfalse
max5
showSpacefalse
sortmodified
cqllabel = "data-sync" and space = currentSpace()