Litte scripts for ganeti admins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lukas 3ab7fc1393 edit the gnt-instance command 1 year ago
.gitignore git init 1 year ago
README.md git init 1 year ago
gnt-cheatsheet.md edit the gnt-instance command 1 year ago
gnt-list git init 1 year ago
gnt-vnc git init 1 year ago

README.md

Ganeti Tools

Requirements

apt-get install python3 xtightvncviewer

Tools

gnt-vnc

Open a vnc console from everywhere (master and nodes).

vmhosta:~# gnt-vnc ex01
...

gnt-list

Just a nicer summary.

vmhosta:~# gnt-list
Instance  Status     Primary_node Secondary_Nodes ConfigVCPUs Memory Disk/0 Disk/1 NicIP/0        NicIP/1 VNC_bind_address Network_port
dc01      running    vmhosta      vmhostb                   2   8.0G  20.0G      - 192.168.1.16   -       127.0.0.1        11022
fs01      running    vmhostb      vmhosta                   4   8.0G 100.0G 100.0G 192.168.1.17   -       0.0.0.0          11011
ca01      running    vmhosta      vmhostb                   4   4.0G 300.0G      - -              -       0.0.0.0          11008
dv01      ADMIN_down vmhosta      vmhostb                   4      - 150.0G  10.0G 1.1.1.1        -       0.0.0.0          11001
ex01      ADMIN_down vmhostb                                4      - 130.0G 600.0G -              -       0.0.0.0          11005

gnt-cheatsheet

The (pixi-)book of ganeti knowledge. A little collection of the most used ganeti-commands.