SCHRIERC
Random thoughts, data, and things I like.
Showing posts with label
commands
.
Show all posts
Showing posts with label
commands
.
Show all posts
Tuesday, June 21, 2011
Primary instances on a node
Sometimes I need a space delimited list of instances on a Ganeti node. There isn't a direct command to get this but an easy bash one-liner:
gnt-node list --no-headers -opinst_list $node | tr ',' ' '
pinst_list fetches the primary instances on the node. You can replace this with sinst_list for the secondaries.
Older Posts
Home
Subscribe to:
Posts (Atom)