Nx server api with redundancy and failovers
AnsweredHi,
I couldn't find any info on the topic, while using the servers restful api, my http client always resolves the url Ive set.
say we have 3 servers that are configured to failover, 192.168.0.1 / 2 /3
while communicating with the server, say 192.168.0.1, and it fails I should start resolving another server instead? or there is some kind of load balancing or a proxy that handles this issue integrated into Nx?
what can you recommend?
Thank you,
Alex
-
Hi @...,
Could you share your API URL with us?
If you are using the server IP address as the URL destination, since the server fails, there will be no one listening to the API on this IP address.
You will need to change the destination IP to the online server.If your system is connecting to the Nx Cloud, and all of your servers has the access to the internet, then you can use our Cloud API to achieve your goal, the Nx Cloud can help to send the API call to the online server.
All you need to do is:
1. Find the cloudSystemId of your Nx System
2. Update your API call URL to include the Nx Cloud relay
Please refer to this support ARTICLE for further information.Thank you.
0 -
Anderson Chang, thank you for the answer, its a local on-prem server, so can't provide a relevant url.
Has anyone had success or bad experience with nginx for this purpose ?0 -
Hi @...,
A properly configured HTTP proxy might get the job done.
However, I do not have any experience to achieve this purpose, I am afraid that I am not able to provide any suggestions about Nginx on this topic.
0
Please sign in to leave a comment.
Comments
3 comments