Skip to content
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

Create Consul health checks for PHP stack #132

Open
evan4498 opened this issue Sep 5, 2014 · 7 comments
Open

Create Consul health checks for PHP stack #132

evan4498 opened this issue Sep 5, 2014 · 7 comments

Comments

@evan4498
Copy link

evan4498 commented Sep 5, 2014

Create consul health checks for the various pieces of the php stack (web, db, etc)

@Linuturk
Copy link
Contributor

@evan4498

So, basically we need to have two checks created? One for whatever web service should be running, (apache, nginx, etc) and one for whatever DB service should be running (MySQL, MariaDB, Postgres)?

I think we might be able to write one script and feed it arguments.

  • Check for this process name.
  • Ensure this port is listening.
  • Ensure this text is included in the response.

That sound right?

@Linuturk
Copy link
Contributor

Checkout the new branch: https://github.com/rackspace-cookbooks/platformstack/tree/consulhealthchecks

Should have two check scripts:

  • process name
  • port

and a template for the service check definition. Please review and clear me for a PR attempt.

@prometheanfire
Copy link
Contributor

uh... why are we doing this in platformstack?

@prometheanfire
Copy link
Contributor

also, we need to have a discussion on how exactly consul will integrate with the stacks

@Linuturk
Copy link
Contributor

Doing it here because that is where the issue was created. Absolutely open to discussion on any of it.

@evan4498
Copy link
Author

Per previous discussions PlatformStack is where Consul itself will be installed and have its basic configuration done. Adding the health checks on a per service basis, as well as configuring those services are still TBD on placement, but for now we will keep the health check files in a branch on platformstack @prometheanfire

@Linuturk
Copy link
Contributor

Can we clean this up? No longer need this issue assigned to me.

@Linuturk Linuturk removed their assignment Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants