Report this

What is the reason for this report?

Suspend/Resume server from HAProxy

Posted on November 20, 2013

Hi All,

I have a requirement where in I would like to suspend/resume a server (which is vm) when there are no requests for some threshold time period.Is it possible to suspend/resume a server from HAProxy? I want to do it programatically. So please let me know if there are any APIs which helps to do the above functionality.

Thanks, Pradeep



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Check out <a href=“https://www.digitalocean.com/community/articles/how-to-use-the-digitalocean-api”>How To Use the DigitalOcean API</a> and/or <a href=“https://www.digitalocean.com/community/articles/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps”>How To Use HAProxy to Set Up HTTP Load Balancing on an Ubuntu VPS</a>.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.