Skip to content

Manage your nodes using knife from the crowbar admin node

sheburn edited this page Oct 16, 2013 · 2 revisions
Clone this wiki locally

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.

Something went wrong with that request. Please try again.