jhuapl-boss / boss-manage

Repo for Boss configuration and management software
Apache License 2.0
5 stars 6 forks source link

Adds scale stack utility script #106

Closed dxenes1 closed 3 years ago

dxenes1 commented 3 years ago

Starting on/off stacks was tedious so made a short script to "stop" a stack but not delete it.

Usage:

./scale_stack {bosslet} {mode} [-h] [--asg-only]

To scale up, meaning setting the capacity of all auto-scale groups to 1 and starting cachemanager and bastion:

./scale_stack xenesd1.boss up

Scaling down:

./scale_stack xenesd1.boss down

Scaling down but only modifying ASG:

./scale_stack --asg-only xenesd1.boss down