dyoder / befog

Command line utility for cloud management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`befog remove <bank>` and `befog run <bank>` should have the option of specifying individual servers

opened this issue · comments

Maybe I am running a front-end load balancer, and I want to remove certain servers from the available pool before removing them from befog's bank. Maybe one of the servers I'd like to remove isn't the last server befog added.

befog remove bankname --server '/web[2-8]/' or something would be nice. If no regex and I have to remove servers one at a time, or pass some list, that's okay, too.

Would be nice for run as well.

What attribute is the server option referring to? The servers are all named
after the bank. Should we name them another way? You seem to imply that
we're numbering them. Is that what you'd prefer to see?

On Fri, Apr 6, 2012 at 12:49 PM, cflores <
reply@reply.github.com

wrote:

Maybe I am running a front-end load balancer, and I want to remove certain
servers from the available pool before removing them from befog's bank.
Maybe one of the servers I'd like to remove isn't the last server befog
added.

befog remove bankname --server '/web[2-8]/' or something would be nice.
If no regex and I have to remove servers one at a time, or pass some list,
that's okay, too.

Would be nice for run as well.


Reply to this email directly or view it on GitHub:
#34

I believe we should name them another way (say, ["web-prod1", "web-prod2"]), but otherwise, we should be able to pass an instance-id and run a command to remove or execute a command on only the passed instance-id. An array of instance-ids is bonus.

Better as a question and discussion whether this is needed? I have lots of use cases off the top of my head.

Closing this: see #44. You can reference servers by ID.