#
5. Adding a node to an existing cluster
Sometimes, it may be necessary to add a node to a cluster after the cluster has already been created. This can be done with the following steps:
- Create a new instance, following the steps to create a compute node on the same platform as the login instance.
Make sure that settings such as network, subnet, security group, user data, etc are all set correctly.
Log in to the login node.
#
Parse Node
- Parse the newly created node with the command
flight hunter parse
. See here for more detailed information on parsing nodes.
#
Add genders
Optionally, you may add genders to the newly parsed node. For example, in the case of adding the node
newnode
to the groupall
:flight hunter modify-groups --add all newnode
Finally, apply an identity to the new node:
flight profile apply newnode compute
flight profile apply newnode worker