Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello - I am wondering if there is a way to stop and resume replicate tasks via some kind of batch command, or powershell command. Hoping to be able to run windows patches without someone being involved in the process.
Thank you.
Lori
Hey @LoriHalsey ,
Here is an article explaining the commands to start and stop via Replicate repctl commands.
For windows, you will need to run as administrator from command prompt or powershell:
C:\Program Files\Attunity\Replicate\bin>
C:\Program Files\Attunity\Replicate\bin>repctl
Enter a command or quit
For linux, you need to source site_arep_login.sh or export LD_LIBRARY_PATH like below:
export LD_LIBRARY_PATH=/opt/attunity/replicate/lib:/usr/lib64:$LD_LIBRARY_PATH
cd /opt/attunity/replicate/bin/
./repctl
Enter a command or quit
NOTE: The command for stop/starting is not officially supported by replicate. The commands work, but there is no guarantee that they will not change in the future.
Best,
Kelly
Hi,
For stopping and resuming a task via a command you can use the QEM API. FYI here is a link to the QEM API guide:
https://help.qlik.com/en-US/enterprise-manager/November2021/Content/EnterpriseManager/EnterpriseMana...
Regards,
Orit
Hey @LoriHalsey ,
Here is an article explaining the commands to start and stop via Replicate repctl commands.
For windows, you will need to run as administrator from command prompt or powershell:
C:\Program Files\Attunity\Replicate\bin>
C:\Program Files\Attunity\Replicate\bin>repctl
Enter a command or quit
For linux, you need to source site_arep_login.sh or export LD_LIBRARY_PATH like below:
export LD_LIBRARY_PATH=/opt/attunity/replicate/lib:/usr/lib64:$LD_LIBRARY_PATH
cd /opt/attunity/replicate/bin/
./repctl
Enter a command or quit
NOTE: The command for stop/starting is not officially supported by replicate. The commands work, but there is no guarantee that they will not change in the future.
Best,
Kelly
Thanks for the link to the QEM API. Now I just need to enlist the help of a .Net developer. My coding days ended back in 1996 with COBOL.
Lori