Keeping a failed backend out until manual intervention

Comments

7 comments

  • MARLOT Alexandre

    I am interesting by this feature but I guess it's no possible easily as it's inside VCL. It would be great as well to have the status in real time of each backend (green or red and since how many times)

  • Peter Wohlers

    Part of the issue here is that an origin's health is from the perspective of each and every POP.

    e.g. internet weather events may make a POP briefly unavailable.

    This means that sometimes an origin may appear to be unavailable from Aukland but be fine from Seattle, so how to manage this gets a bit more complicated.

  • MARLOT Alexandre

    Hello Peter, Thanks. you are right it can be quite complex. The thing if one of our backend if never used by Fastly (as maybe down from internet) we don't have any way to know it. Same question as well from lhankins : Is there a way to put a backend offline/online easily ? (I guess we need to edit/deploy VCL in all case. no ? Thanks, Alex

  • iamjroot66

    The thing if one of our backend if never used by Fastly (as maybe down from internet) we don't have any way to know it. Same question as well from lhankins : Is there a way to put a backend offline/online easily ? (I guess we need to edit/deploy VCL in all case. no ? joe root hr@ Online Assignment help

  • Peter Wohlers

    To take a backend offline, you could alternately just chmod the file you use for your healthcheck to something that will cause the healthcheck to fail, if that's easier than updating your Fastly config.

    ssh \ chmod 600 \

  • MARLOT Alexandre

    hello Peter, I agree but you need to connect to server and have access to it. If one operation do it as server level it's manual operation and can do a mistake. If with your new products Load Balancing https://www.fastly.com/products/load-balancing/ it's possible to do it in the interface ? Thanks, alex

  • Peter Wohlers

    There's an API for the dynamic servers. You could remove them from the pool: https://docs.fastly.com/api/dynamicservers#intro

Please sign in to leave a comment.