Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

What's the difference between stack upscale and cluster upscale?

avatar

I read the following documentation on upscaling and wondering how is `cluster upscale` different from `stack upscale`, the two commands seem to accept similar arguments.

Public documentation:

Upscale cluster

If you need more instances to your infrastructure, you can upscale your selected stack:

stack node --ADD --instanceGroup host_group_slave_1 --adjustment 6

Other available option is --withClusterUpScale - this indicates also a cluster upscale after the stack upscale. You can upscale the related cluster separately if you want to do this:

cluster node --ADD --hostgroup host_group_slave_1 --adjustment 6

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Hi @Anuraj Pandey,

Stack contains the virtual machines, and cluster the Ambari cluster itself. If you upscale only your stack Cloudbreak creates new instances, but doesn't add new nodes to the cluster. If you upscale only the cluster Cloudbreak adds already created but unused nodes to the cluster. If you want to do it in one step you you should execute stack upscale command with --withClusterUpScale flag.

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

Hi @Anuraj Pandey,

Stack contains the virtual machines, and cluster the Ambari cluster itself. If you upscale only your stack Cloudbreak creates new instances, but doesn't add new nodes to the cluster. If you upscale only the cluster Cloudbreak adds already created but unused nodes to the cluster. If you want to do it in one step you you should execute stack upscale command with --withClusterUpScale flag.

avatar

Make sense, thanks @rkovacs 🙂