Jump to content

I would like some help with Farm Server


eduardosuruagy

Recommended Posts

I have two servers and would like to put the "HyperServer Server Farm" option to work.

Currently on server-1 I have the following configuration:

IIS + Hyperserver

on server-2 I placed my application as Hyperserver service. I configured the cfg file on my server-1 and it looked like this.

 

As shown in the figure, sometimes I access it and it shows that I am on server-1 and sometimes on server-2

I would like to know if my settings are correct. Thanks!

Here is my server-1 CFG file configuration:

 

[server-0]
enabled=1
url=http://10.32.30.82:8241
name=SERV-APP1
global_url=
cluster_mode=0
avoid_direct_access=0
error_redirect_master=0
url_timeout_secs=300
token=yvfnfXXXXXXXXXX

[server-1]
enabled=1
url=http://10.32.30.83:8241
name=SERV-APP2
global_url=
cluster_mode=0
avoid_direct_access=0
error_redirect_master=0
url_timeout_secs=300
token=pexmhpXXXXXXXXXX

Sem título.png

Link to comment
Share on other sites

I suggest seeing the documentation and using hyperserver mode 2

basically you will have a different web address for each server
ex:
app1.yoursite.com.br
app2.yoursite.com.br

app.yoursite.com.br


your customer would access app.yoursite.com.br

unigui redirects to app1 or app2

The documentation explains everything.

on each server you will configure the hyperserver dll, and distribute your application as an EXE, I do not recommend using a service

Link to comment
Share on other sites

5 minutes ago, Wilton Ergon said:

Sugiro ver a documentação e usar o modo hiperservidor 2

basicamente você terá um endereço web diferente para cada servidor
ex:
app1.seusite.com.br
app2.seusite.com.br

app.seusite.com.br


seu cliente acessaria app.seusite.com.br

unigui redireciona para app1 ou app2

A documentação explica tudo.

em cada servidor você irá configurar a dll do hiperservidor, e distribuir sua aplicação como um EXE, não recomendo usar um serviço

Boa tarde Wilton, no meu caso eu uso o endereço assim:

app.meusite.com.br/pasta_cliente1

app.meusite.com.br/pasta_cliente2

app.meusite.com.br/pasta_cliente3

Como ficaria o endereço configurado no arquivo? O manual não ficou muito claro pra mim. 

--

Good afternoon Wilton, in my case I use the address like this:

app.meusite.com.br/pasta_cliente1

app.meusite.com.br/pasta_cliente2

app.meusite.com.br/pasta_cliente3

What would the address configured in the file look like? The manual wasn't very clear to me.

Link to comment
Share on other sites

7 minutes ago, Farshad Mohajeri said:

Sua configuração parece estar correta, a menos que haja algo relacionado à sua rede que impeça a comunicação ou algum tipo de software antivírus que bloqueie portas ou talvez um problema de firewall.

I had already released port 8241 on the firewall of both machines. I don't know if it's necessary, but the error continues.

Link to comment
Share on other sites

4 minutes ago, Farshad Mohajeri said:

Você pode tentar a mesma configuração no mesmo PC com nós de servidor rodando em portas diferentes (mas no mesmo computador)?

I will test, do I need to change both ports?
port=8241
[http_transport]
start_port=27264

I only released port 8241 on the firewall, is that correct?

Link to comment
Share on other sites

I was the first user to use the multi server hyperserver, and I had serious performance problems with mode 0, the reason is that all requests continue to be transmitted by the main hyperserver, if you have more than 1000 simultaneous accesses, it is good to think about using mode 2

Link to comment
Share on other sites

1 hour ago, Wilton Ergon said:

Fui o primeiro usuário a utilizar o hiperservidor multiservidor, e tive sérios problemas de performance com o modo 0, o motivo é que todas as requisições continuam sendo transmitidas pelo hiperservidor principal, se tiver mais de 1000 acessos simultâneos, é bom pense em usar o modo 2

Eu estou tentando primeiro o modo 0 porque é o mais simples, depois iria tentar o modo 2, mas nem isso estou conseguindo.
O sistema até entra no servidor-01 e no servidor-2, mas quando abro o hyperserver ele mostra como na figura abaixo. Coloquei uma opção de quando for o servidor 1 ou servidor 2 mostrar no login.
Caso voce possa, eu posso entrar em contato com voce? 

Me daria um suporte? Caso seja cobrado me fala o valor.

-------

I'm trying mode 0 first because it's the simplest, then I would try mode 2, but I'm not even able to do that.
The system even enters server-01 and server-2, but when I open the hyperserver it shows as in the figure below. I added an option to show when server 1 or server 2 is displayed at login.
If so, can I contact you?

Would you give me support? If charged, tell me the amount.

NewVersion.png

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.

×
×
  • Create New...