Monday 9 February 2015

Basic Ganeti Commands

Show nodes and instances:
# gnt-node list
# gnt-instance list
List instances and there primary and secondary disks:
# gnt-instance list --no-headers -o name,pnode,snodes
Move secondary disks to another node:
# gnt-instance replace-disks -n  
Migrate instance to secondary node:
# gnt-instance migrate 
View storage & volumes
# gnt-node list-storage

# gnt-node volumes