Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
I tested with version 2021-Nov,.
I did not want to run endpoint server process. So I added "disable_endpoint_server":true in repctl.cfg.
But it is not worked.
When I tested before version, endpoint server process did not run. But this version is running.
What is problem ?
"disable_endpoint_server":true
[cdcadm@vm171 bin]$ ps -ef |grep cdcadm
root 394187 394132 0 12:15 pts/0 00:00:00 su - cdcadm
cdcadm 394188 394187 0 12:15 pts/0 00:00:00 -bash
cdcadm 398991 1 0 13:52 pts/0 00:00:00 /home/cdcadm/attunity/replicate/bin/repctl -d /home/cdcadm/DATA01 service start port=4110 rest_port=4112
cdcadm 398992 398991 2 13:52 ? 00:00:00 /home/cdcadm/attunity/replicate/bin/repctl -d /home/cdcadm/DATA01 service start port=4110 rest_port=4112
cdcadm 399086 398992 0 13:53 ? 00:00:00 /bin/bash ./rependctl.sh -d /home/cdcadm/DATA01/endpoint_srv/data -plugins rependsrv server secure off
cdcadm 399090 399086 99 13:53 ? 00:00:03 /home/cdcadm/attunity/replicate/endpoint_srv/bin/../../jvm/bin/java -XX:+UseG1GC -Dfile.encoding=UTF-8 -cp /home/cdcadm/attunity/replicate/endpoint_srv/bin/../externals/*:/home/cdcadm/attunity/replicate/endpoint_srv/bin/../lib/* com.attunity.infrastructure.server.PluginServer -d /home/cdcadm/attunity/replicate/endpoint_srv/bin/../data -plugins rependsrv -d /home/cdcadm/DATA01/endpoint_srv/data -plugins rependsrv server secure off
cdcadm 399112 394188 0 13:53 pts/0 00:00:00 ps -ef
cdcadm 399113 394188 0 13:53 pts/0 00:00:00 grep --color=auto cdcadm
[cdcadm@vm171 bin]$ QRI4112 stop
"disable_endpoint_server":false
[cdcadm@vm171 bin]$ QRI4112 start
[cdcadm@vm171 bin]$ ps -ef |grep cdcadm
root 394187 394132 0 12:15 pts/0 00:00:00 su - cdcadm
cdcadm 394188 394187 0 12:15 pts/0 00:00:00 -bash
root 399307 399247 0 13:54 pts/2 00:00:00 su - cdcadm
cdcadm 399308 399307 0 13:54 pts/2 00:00:00 -bash
cdcadm 399501 1 0 14:04 pts/0 00:00:00 /home/cdcadm/attunity/replicate/bin/repctl -d /home/cdcadm/DATA01 service start port=4110 rest_port=4112
cdcadm 399502 399501 3 14:04 ? 00:00:01 /home/cdcadm/attunity/replicate/bin/repctl -d /home/cdcadm/DATA01 service start port=4110 rest_port=4112
cdcadm 399614 399502 0 14:04 ? 00:00:00 /bin/bash ./rependctl.sh -d /home/cdcadm/DATA01/endpoint_srv/data -plugins rependsrv service host
cdcadm 399618 399614 0 14:04 ? 00:00:00 /home/cdcadm/attunity/replicate/endpoint_srv/bin/../../jvm/bin/java -XX:+UseG1GC -Dfile.encoding=UTF-8 -cp /home/cdcadm/attunity/replicate/endpoint_srv/bin/../externals/*:/home/cdcadm/attunity/replicate/endpoint_srv/bin/../lib/* com.attunity.infrastructure.server.PluginServer -d /home/cdcadm/attunity/replicate/endpoint_srv/bin/../data -plugins rependsrv -d /home/cdcadm/DATA01/endpoint_srv/data -plugins rependsrv service host
cdcadm 399628 394188 0 14:04 pts/0 00:00:00 ps -ef
cdcadm 399629 394188 0 14:04 pts/0 00:00:00 grep --color=auto cdcadm
[cdcadm@vm171 bin]$
Regards,
KwangHo
Hello KwangHo,
The setting does work well for me on both CentOS 8.4, and Windows Server 2019. Replicate version is 2021.11 GA release.
Do you mind to share your files "repctl.cfg" and end point server log file (default name is "/opt/attunity/replicate/data/endpoint_srv/data/logs/rependsrv.log"). I'd like to check for you.
Regards,
John.
Hello John,
My test steps are
1. install/update with "runservice=false".
2. uninstall default instance and modified repctl.cgf (include "disable_endpoint_server": true)
3. create instance and start
4. check endpoint server -> running endpoint server
so I stop instance and start instance , after than endpoint server is not ruuning.
Buf Web console displayed message like as
"One or more Endpoint Servers cannot be reached Open Endpoint Server Settings"
why this message is shown ?
In my memory, before version is not running when I tested same steps.
Regards,
KwangHo
Hello KwangHo,
The error message means the Endpoint Server was not startup.
BTW, the line should like below:
"disable_endpoint_server": true,
(if it's the latest line then remove ",")
Regards,
John.
My repctl.cfg is below;
{
"port": 3552,
"plugins_load_list": "repui",
"mandatory_plugins": "repui",
"logger_status": {
// set logger severity to one of DEFAULT,ERROR,WARNING,INFO,VERBOSE,TRACE
// if logger severity was set to DEFAULT atctl does not set this logger severity and simply ignore this logger"
"REST_SERVER": "DEFAULT",
"REPUI_PLUGIN": "DEFAULT"
},
"verbose": false,
"session_timeout_seconds": 60,
"check_for_expired_session_interval_seconds": 50,
"login_pam_libpam_full_path": "/lib64/libpam.so.0",
"login_pam_service_name": "system-auth",
"enable_execute_user_defined_commands": false,
"disable_endpoint_server": true,
"enable_passthrough_filter": true,
"enable_internal_connection_props": true,
"remote_repsrv_address": "127.0.0.1",
"enable_data_logging": true
}
this version is created endpoint server but before version is not. So error message is shown when I connect web GUI.
Regards,
KwangHo
Hello @khchoy ,
Both of your previous pictures show the Endpoint Server is not startup. And I checked your config file carefully, it's correct. Looks to me the config parameter in your file "repctl.cfg" works fine, the Endpoint Server is preventing from auto-startup.
if you got unexpected behavior, I'd like to know how about a fresh installation (on default location). Or can you write me the exact steps (include exact commands) so far I can give it a try in my env.
thanks,
John.
Notes:
After adding the parameter in C:\Attunity\Replicate\bin\repc
restart the Replicate Service.
"enable_passthrough_filter":tr