-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add remote host to multivisor web server #85
Comments
Can you paste the full supervisor configurations, please? If you have [inet_http_server]
port=:9001
[rpcinterface:multivisor]
supervisor.rpcinterface_factory = multivisor.rpc:make_rpc_interface
bind=*:9002 |
Hi, thanks for the reply.
From the firewall of the instance where the web server is installed I have all the traffic allowed incoming from the instance where I installed the multivisor RPC service. My Python application is running on port 9001, should I bind to port 9002 in order to manage it from the web interface? Maybe it’s a configuration error of mine for misinterpreting English, I’m not an advanced user in English language. Regards, |
To avoid port conflicts please configure it like this: In each supervisor config file put [rpcinterface:multivisor]
supervisor.rpcinterface_factory = multivisor.rpc:make_rpc_interface
bind=*:9002 Also make sure that multivisor is installed and accessible to supervisor on each supervisor machine. You can find out if you start supervisor in foreground (with In your multivisor configuration file, for each supervisor: [<supervisor name>]
url=<host or IP>:9002 Restart all supervisors and multivisor |
@tiagocoutinho thanks for the reply. From the instance where I installed the web servers I still do not see the supervisor of the client instances.
I don’t see any erros in the supervisor’s logs:
I try with eventlistener but not see process in the web server.
Which ports should I open on the server and on the client? Regards, |
The connection to port 9002 of the instance where the rpc interface is installed from the webserver can be done correctly |
Hello, any helps? |
Hi, My question is about basic configuration. I will use one instance as a central server to manage all the processes I have up in other instances.
In multivisor web server i add this
[sql0]
url=10.54.130.5:9001
[sql1]
url=10.54.130.4:9001
In the remote instances I have added this configuration to the supervisor.
[rpcinterface:multivisor]
supervisor.rpcinterface_factory = multivisor.rpc:make_rpc_interface
bind=*:9001
From the web interface I am not being able to see the other supervisor, what am I doing wrong?
REgards,
The text was updated successfully, but these errors were encountered: