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 cluster coordination wrappers #1

Open
dazza-codes opened this issue Aug 25, 2017 · 0 comments
Open

Create cluster coordination wrappers #1

dazza-codes opened this issue Aug 25, 2017 · 0 comments

Comments

@dazza-codes
Copy link
Owner

dazza-codes commented Aug 25, 2017

Although risky, it might be possible to create an entire cluster coordination wrapper. Some ideas:

  • cap {stage} cluster:up - do everything and do it idempotently (wow, really?)
  • cap {stage} cluster:down - Are you sure? OK, tear it down!

Cluster settings:

  • what services to stand up (and their dependencies)
  • manage the order of spinning up infrastructure resources and installing services
    • e.g. ZooKeeper before Kafka, Mesos etc.
    • an example of dependency management is in the security group validation
    • try to avoid complex dependency graph management/maintenance
  • ensure the service configuration dependencies are initialized and maintained

ZooKeeper is basically required for just about all of it, so how many nodes to install and whether to associate all dependent services with one ZK quorum or use multiple ZK quorums? Try to leave this detail to the settings, just add/manage attributes on services to connect them all up correctly.

What about connections to external services - some external dependencies might exist that do not require spinning up any resources, but just require configuration management for network security groups and connections. Again, an example of this kind of dependency management is in the security group validation for spinning up an EC2 instance.

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

1 participant