WilsonL Posted June 14, 2023 Share Posted June 14, 2023 I'm trying to use HyperServer Farm as a Service but it isn't working. I've already tried to use with different servers and localhost. I'm testing with ColorButton.exe (DEMO project). Below it's the CFG files for localhost: Server: [server-0] enabled=1 url=http://127.0.0.1:8079 name=SM0 [transport] pool_size=0 command_timeout=600000 request_timeout=600000 connect_timeout=600000 [http_transport] start_port=16384 [hyper_server] binary_name=ColorButton.exe initial_nodes=4 max_nodes=4 max_sessions=0 sessions_per_nodes=1 prompt_login=0 persistent_node_zero=0 port=8078 url_path= url_referer= ext_root=[ext]\ uni_mobile_root=[unim]\ uni_root=[uni]\ uni_packages_root=[unipack]\ max_requests=100 detailed_log=1 server_root=C:\VSS6\LIMSWeb\SAAS\Delphi\LIMSc\ framework_files_root= antiflood_per_ip=0 session_one_per_ip=0 server_title= server_build=1.90.0.1549 dont_create_backup=0 [node_recycling] enabled=0 recycle_after_secs=3600 recycle_after_sessions=0 recycle_after_idle_seconds=0 recycle_when_empty=1 Slave: [transport] pool_size=0 command_timeout=600000 request_timeout=600000 connect_timeout=600000 [http_transport] start_port=16394 [hyper_server] binary_name=ColorButton.exe initial_nodes=8 max_nodes=8 max_sessions=0 sessions_per_nodes=0 prompt_login=0 persistent_node_zero=0 port=8079 url_path= url_referer= ext_root=[ext]\ uni_mobile_root=[unim]\ uni_root=[uni]\ uni_packages_root=[unipack]\ max_requests=100 detailed_log=1 server_root=C:\LIMS\EXE\LIMSSAAS\ framework_files_root= antiflood_per_ip=0 session_one_per_ip=0 server_title= server_build=1.90.0.1549 dont_create_backup=0 [node_recycling] enabled=0 recycle_after_secs=3600 recycle_after_sessions=0 recycle_after_idle_seconds=0 recycle_when_empty=1 I've installed both of them as a Service (QAM and QAS). Steps that I have done: Start QAS service; Check CFG file if the "token" was generated; It was never generated Start QAM service; Access http://localhost:8079/server (Slave), it is working properly; Access http://localhost:8078/server (Master), it is working but it isn't showing the ServerNodes tab; Access http://localhost:8078, it is working properly. Am I doing something wrong? Can someone please help me on that? Note: uni-1.90.0.1549 (not DEMO) Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 5, 2023 Administrators Share Posted July 5, 2023 Hi, Your setup seems to be correct. Can you please check log file for your master HyperServer? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 5, 2023 Administrators Share Posted July 5, 2023 Quote Check CFG file if the "token" was generated; It was never generated Token is placed in CFG file of each HyperServer instance after you run it for first time. HyperServer instance should be able to write to its current directory. Quote Link to comment Share on other sites More sharing options...
WilsonL Posted July 5, 2023 Author Share Posted July 5, 2023 3 hours ago, Farshad Mohajeri said: Token is placed in CFG file of each HyperServer instance after you run it for first time. HyperServer instance should be able to write to its current directory. Both hyper_service.cfg files are editable, because when I start the services, both of them are changed. See below a setting that is changed. [hyper_server] server_build=1.90.0.1549 Quote Link to comment Share on other sites More sharing options...
WilsonL Posted July 5, 2023 Author Share Posted July 5, 2023 3 hours ago, Farshad Mohajeri said: Hi, Your setup seems to be correct. Can you please check log file for your master HyperServer? The logs seem to be OK for me. log.zip log_slave.zip hyper_service_slave.cfg hyper_service.cfg Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 6, 2023 Administrators Share Posted July 6, 2023 Hi, Your version seems to be very old. Not all HyperServer versions support Server Farm. Please switch to latest build. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.