Jump to content

server farm binary name cfg


wilton_rad
 Share

Recommended Posts

I'm setting up a test address and managed to get access to 2 servers to work, but sometimes it displays an error stating that the executable file was not informed in the cgf file, this happens randomly

serv-bd (master)

gepweb_e.exe  -> binary my app compiled version 1552

gepweb_d.dll -> dll hyperserver  - version 1552

site configured in IIS

in my gepweb_d.cfg  

[http_transport]
start_port=42200

[server-0]
enabled=1
url=http://10.0.3.106:8077
name=SERV-APP1
token=saktid21092908074XXX

[server-1]
enabled=1
url=http://10.0.4.13:8077
name=SERV-APP2
token=ffsigc21092908424XXXX


[hyper_server]
binary_name=GEPWEB_E.EXE
initial_nodes=2
max_nodes=5
max_sessions=0
sessions_per_nodes=0
prompt_login=1
persistent_node_zero=0
port=8077
url_path=
url_referer=
ext_root=[ext]\
uni_mobile_root=[unim]\
uni_root=[uni]\
uni_packages_root=[unipack]\
max_requests=500
detailed_log=0
server_title=serv-bd
antiflood_per_ip=0
server_root=
framework_files_root=
session_one_per_ip=0
server_build=1.90.0.1552
dont_create_backup=0
allow_remote_config=1

-------------------------------

 


in serv-app1

GEPWEB_D.CFG 
content:
[transport]
pool_size=0
command_timeout=20000
request_timeout=300000
connect_timeout=20000


[http_transport]
start_port=43000

[hyper_server]
binary_name=GEPWEB_E.EXE
initial_nodes=2
max_nodes=4
max_sessions=0
sessions_per_nodes=0
prompt_login=1
persistent_node_zero=0
port=8077
url_path=
url_referer=
ext_root=[ext]\
uni_mobile_root=[unim]\
uni_root=[uni]\
uni_packages_root=[unipack]\
max_requests=500
detailed_log=0
server_title=SERV-APP1
antiflood_per_ip=0
server_root=
framework_files_root=
session_one_per_ip=0
server_build=1.90.0.1552
http_max_pool=1000
max_connections=1000
dont_create_backup=0
allow_remote_config=1


GEPWEB_E.EXE -> exe may aplication compiled with version 1552
hyper_service.exe -> service hs

hyper_service.cfg -> cfg
content:
[transport]
pool_size=0
command_timeout=20000
request_timeout=300000
connect_timeout=20000

[http_transport]
start_port=45000

[hyper_server]
binary_name=GEPWEB_E.EXE
initial_nodes=2
max_nodes=4
max_sessions=0
sessions_per_nodes=0
prompt_login=1
persistent_node_zero=0
detailed_log=0
port=8077
url_path=
url_referer=
ext_root=[ext]\
uni_mobile_root=[unim]\
uni_root=[uni]\
server_root=
framework_files_root=
uni_packages_root=[unipack]\
max_requests=1000
http_max_pool=1000
max_connections=1000
antiflood_per_ip=0
session_one_per_ip=0
server_title=SERV-APP1
server_build=1.90.0.1552
dont_create_backup=0
allow_remote_config=1
token=saktid21092908074XXX  ->copied and past to server master

install hs in prompt
hyper_service /install gep_teste 

 

 

image.png.dfcb7b73fce2cbfb8e73700268a6d6f1.png

 

image.thumb.png.db19ee186af4e3d1e2b06f8869cc399e.png

 

image.thumb.png.2809804938d8ef91a71477d8eadbe416.png

I put this label on the login screen to know which server the system was loaded on, and it's correctly redirecting the system to the servers.

 

 

image.png.f42df177fba488afaf7227f797944b7a.png

 

 

 

Link to comment
Share on other sites

hs.rar

 

the file exists, and yes I need the master server to also start sessions, but I couldn't do that, then I just tried to leave the master server without opening requisitions.

in that case should I install the hs service on the master server too?

Link to comment
Share on other sites

  • Administrators
6 minutes ago, wilton_rad said:

hs.rar

 

the file exists, and yes I need the master server to also start sessions, but I couldn't do that, then I just tried to leave the master server without opening requisitions.

in that case should I install the hs service on the master server too?

If you want to avoid master server from creating local nodes just set its max_nodes=0.

Link to comment
Share on other sites

4 minutes ago, Farshad Mohajeri said:

Se você deseja evitar que o servidor mestre crie nós locais, apenas defina seu max_nodes = 0.

no, I need the master server to create sessions too

I will limit a maximum of 10 us
and the other servers I'll leave with 20

because the master server has a good configuration, 24 colors 128 ram

in the initial tests, I'm trying to get at least the other servers working.
then I activate the master server to also start sessions

Link to comment
Share on other sites

looks like I found the problem.

there were 2 sessions [hyper_server]
in the file
GEPWEB_D.CFG
on the master server

and the second section was empty without the binary name.

I think it was created when I tried to install the hs service on the master server

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...