Skip to content

Manage your nodes using knife from the crowbar admin node

Adam Spiers edited this page Aug 26, 2016 · 3 revisions

The crowbar admin node manages the individual nodes. The knife command is your friend. Documentation on the knife command can be found at knife

Some useful commands in the crowbar environment are:

knife node list List all nodes

knife status List the status of all nodes.

knife ssh "node:d*" date Get the current time/date from all nodes. The "node:d*"is short hand for specifying all nodes whose name begins with a d. In crowbar land this should be all discovered nodes. If the name of your crowbar-admin node starts with a d, it will be included as well.

knife ssh "node:d*" chef-client Cause a chef-client run to execute on all discovered nodes.