Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
How to recover a task by repctl execute command ?
When I met some kind of error , I want to restart task by repctl command with recovery option.
But command help did not useful for me.
Could you help and explain about "execute" command with example ?
-------------------------------------------------------------------------------------------------------
Enter a command or quit
execute ?
command execute:
request arguments:
task:required string
operation:required enum, valid values:
01 - EXECUTE_OPERATIONS_LOAD
02 - EXECUTE_OPERATIONS_CDC
03 - EXECUTE_OPERATIONS_BOTH
flags:optional enum, valid values:
00 - RESUME
01 - FRESH
02 - METADATA_ONLY
03 - FRESH_METADATA_ONLY
04 - COLLECTION
08 - RECOVERY
cdcposition:optional string
stop_at:optional string
response arguments:
status:required int32
message:optional string
Regards,
Kwangho
There is little information about repctl
I think we are supposed to use another tool, a management tool that runs on windows and that provides a rest API. For me this is very annoying because this tool is a separate tool that does not run on linux. But I definitively needs to be able to automate everything at the command line (even though the gui via the console is nice, you still need the command line to be able to automate).
About repctl, I found this following web page
Pierre
Hello,
There are only a few functions with repctl that are documented and supported. Please see the Replicare user guide that corresponds to your version for that very limited list. For additional command line needs please see the: "Qlik Enterprise Manager Developer's Guide". There we list many functions that can be invoked through the command line.
Thanks,
Lyka
When I do repctl stoptask task=ABC I get following but from console I see task never stops. Is there anything else I need to do?
command stoptask response:
{
"status": 0
}
[stoptask command] Succeeded
Hello,
FYR:
Paramaters:
1 = Start Full Load only
2 = Start Change Capture only
3 = Start Both
Flags Values:
0 = Resume
1 = Fresh Start (like starting as of now)
repctl connect; execute task_n
Note: The execute command may take up to several minutes to complete.
Stop a Task:
repctl connect ; stoptask task; disconnect
Remotely:
repctl connect ip=192.168.165.11 port=3552 ; stoptask task; disconnect
Thanks
Lyka