Swapping out nodes in the cluster

Hello,

I am swapping out some old nodes in Elasticsearch 5.6.3 cluster with new ones. I don’t have a lot of indices/shards in it at the moment.

If were to stop the old node, and start the new node (provided I don’t have same replica and primary shards located on that node) will everything eventually re-allocate through out the cluster including the new node?

Or if I were to add the new node, is it possible to set one of the old nodes not accept any more nodes and manually moves shards out of that old node?

Thanks in advance

Found this transient setting I can use to prep the node for decommissioning

cluster.routing.allocation.exclude._ip
After which I should be able to start moving the shards from that node to the new