gnt-info
4 years agofind instances with slaves stuck in WFConnection
Dobrica Pavlinusic [Tue, 27 Aug 2019 08:16:49 +0000 (10:16 +0200)]
find instances with slaves stuck in WFConnection

4 years agodocument mudrac migration from ceph to lvm
Dobrica Pavlinusic [Mon, 26 Aug 2019 09:16:50 +0000 (11:16 +0200)]
document mudrac migration from ceph to lvm

4 years agokeep old eth0 names for interfaces on 4.9 kernel
Dobrica Pavlinusic [Fri, 9 Aug 2019 13:18:05 +0000 (15:18 +0200)]
keep old eth0 names for interfaces on 4.9 kernel

4 years agoadded rsync_server to which we push backup
Dobrica Pavlinusic [Fri, 9 Aug 2019 13:15:39 +0000 (15:15 +0200)]
added rsync_server to which we push backup

5 years agoboot from pxe server
Dobrica Pavlinusic [Wed, 1 May 2019 14:00:58 +0000 (16:00 +0200)]
boot from pxe server

5 years agokill ganeti instance kvm
Dobrica Pavlinusic [Tue, 30 Apr 2019 12:07:26 +0000 (14:07 +0200)]
kill ganeti instance kvm

5 years agotcpdump instance interface
Dobrica Pavlinusic [Tue, 30 Apr 2019 11:55:11 +0000 (13:55 +0200)]
tcpdump instance interface

5 years agoganeti upgrade, ceph rbd showmapped -p broke
Dobrica Pavlinusic [Thu, 25 Apr 2019 07:25:22 +0000 (09:25 +0200)]
ganeti upgrade, ceph rbd showmapped -p broke

5 years agodisplay GROUP_VERIFY_DISKS, but don't watch them
Dobrica Pavlinusic [Mon, 22 Apr 2019 09:18:13 +0000 (11:18 +0200)]
display GROUP_VERIFY_DISKS, but don't watch them

5 years agoreport failures from smart log
Dobrica Pavlinusic [Sun, 21 Apr 2019 07:19:02 +0000 (09:19 +0200)]
report failures from smart log

5 years agoshow last job running instead of first one
Dobrica Pavlinusic [Sat, 20 Apr 2019 13:29:06 +0000 (15:29 +0200)]
show last job running instead of first one

5 years agoadded Reallocated and Pending
Dobrica Pavlinusic [Sat, 20 Apr 2019 12:54:37 +0000 (14:54 +0200)]
added Reallocated and Pending

5 years agonotes about windows 10 virio/safemode problems
Dobrica Pavlinusic [Mon, 4 Mar 2019 08:49:13 +0000 (09:49 +0100)]
notes about windows 10 virio/safemode problems

5 years agogrub-install --no-floppy
Dobrica Pavlinusic [Sun, 7 Oct 2018 09:05:27 +0000 (11:05 +0200)]
grub-install --no-floppy

5 years agodrbd should catch all unknown devices (e.g. rbd)
Dobrica Pavlinusic [Fri, 5 Oct 2018 07:23:31 +0000 (09:23 +0200)]
drbd should catch all unknown devices (e.g. rbd)

5 years agogrub hook from ganeti list
Dobrica Pavlinusic [Wed, 3 Oct 2018 10:48:15 +0000 (12:48 +0200)]
grub hook from ganeti list

https://groups.google.com/forum/#!searchin/ganeti/debootstrap|sort:date/ganeti/N8_r8lKoA-k/8ExYRnPUAQAJ

5 years agocommit to etckeeper
Dobrica Pavlinusic [Fri, 5 Oct 2018 07:20:38 +0000 (09:20 +0200)]
commit to etckeeper

5 years agoinstall deboostrap-4k-msdos fix, run on every node
Dobrica Pavlinusic [Fri, 5 Oct 2018 07:18:48 +0000 (09:18 +0200)]
install deboostrap-4k-msdos fix, run on every node

5 years agomotivational example which looks wrong, but works
Dobrica Pavlinusic [Thu, 4 Oct 2018 15:24:29 +0000 (17:24 +0200)]
motivational example which looks wrong, but works

5 years agouse ganeti symlink for running instance disks
Dobrica Pavlinusic [Thu, 4 Oct 2018 15:14:46 +0000 (17:14 +0200)]
use ganeti symlink for running instance disks

This works with all types of storage and nicely showcases wrong
partition sizes on devices with 4k blocksize

5 years agodocument debootstrap msdos 4k problem and solution
Dobrica Pavlinusic [Thu, 4 Oct 2018 15:08:55 +0000 (17:08 +0200)]
document debootstrap msdos 4k problem and solution

5 years agoMerge branch 'master' of https://github.com/ffzg/gnt-info
Dobrica Pavlinusic [Thu, 4 Oct 2018 07:19:24 +0000 (09:19 +0200)]
Merge branch 'master' of https://github.com/ffzg/gnt-info

5 years agorun fdisk on instance disk
Dobrica Pavlinusic [Thu, 4 Oct 2018 07:18:57 +0000 (09:18 +0200)]
run fdisk on instance disk

5 years agoadded one-liner for easy copy/paste
Dobrica Pavlinusic [Mon, 24 Sep 2018 07:41:23 +0000 (09:41 +0200)]
added one-liner for easy copy/paste

5 years agonote about wiping partitions from disks before md create
Dobrica Pavlinusic [Fri, 21 Sep 2018 12:15:07 +0000 (14:15 +0200)]
note about wiping partitions from disks before md create

5 years agoadded more descriptive comments
Dobrica Pavlinusic [Fri, 21 Sep 2018 08:58:18 +0000 (10:58 +0200)]
added more descriptive comments

5 years agoMerge branch 'master' of github.com:ffzg/gnt-info
Dobrica Pavlinusic [Fri, 21 Sep 2018 08:57:46 +0000 (10:57 +0200)]
Merge branch 'master' of github.com:ffzg/gnt-info

5 years agosilent curl output
Dobrica Pavlinusic [Fri, 21 Sep 2018 08:57:07 +0000 (10:57 +0200)]
silent curl output

5 years agodocument before and after bios update megaraid speed
Dobrica Pavlinusic [Thu, 20 Sep 2018 13:45:01 +0000 (15:45 +0200)]
document before and after bios update megaraid speed

5 years agowriteback cache_mode
Dobrica Pavlinusic [Thu, 20 Sep 2018 12:28:00 +0000 (14:28 +0200)]
writeback cache_mode

5 years agoattach cache device back to bcache0
Dobrica Pavlinusic [Thu, 20 Sep 2018 12:23:10 +0000 (14:23 +0200)]
attach cache device back to bcache0

5 years agore-create bcache, vg
Dobrica Pavlinusic [Thu, 20 Sep 2018 06:51:43 +0000 (08:51 +0200)]
re-create bcache, vg

5 years agocreate md array
Dobrica Pavlinusic [Wed, 19 Sep 2018 18:44:39 +0000 (20:44 +0200)]
create md array

5 years agobegin documenting migration from megaraid to md
Dobrica Pavlinusic [Wed, 19 Sep 2018 13:05:42 +0000 (15:05 +0200)]
begin documenting migration from megaraid to md

5 years agowatch drbd for instance on primary node
Dobrica Pavlinusic [Wed, 19 Sep 2018 07:40:58 +0000 (09:40 +0200)]
watch drbd for instance on primary node

5 years agoMerge branch 'master' of github.com:ffzg/gnt-info
Dobrica Pavlinusic [Tue, 18 Sep 2018 13:50:29 +0000 (15:50 +0200)]
Merge branch 'master' of github.com:ffzg/gnt-info

5 years agoneed to sort file which we'll use in join
Dobrica Pavlinusic [Tue, 18 Sep 2018 13:50:04 +0000 (15:50 +0200)]
need to sort file which we'll use in join

5 years agoinstructions how to make disk JBOD using megacli
Dobrica Pavlinusic [Tue, 14 Aug 2018 15:15:06 +0000 (17:15 +0200)]
instructions how to make disk JBOD using megacli

5 years agofix LdPdInfo dump
Dobrica Pavlinusic [Tue, 14 Aug 2018 14:58:18 +0000 (16:58 +0200)]
fix LdPdInfo dump

5 years agoboot instance own kernel
Dobrica Pavlinusic [Mon, 13 Aug 2018 13:16:41 +0000 (15:16 +0200)]
boot instance own kernel

5 years agoprompt to enable vnc
Dobrica Pavlinusic [Wed, 1 Aug 2018 13:19:55 +0000 (15:19 +0200)]
prompt to enable vnc

5 years agoselect only instances with rbd disks
Dobrica Pavlinusic [Wed, 1 Aug 2018 13:19:27 +0000 (15:19 +0200)]
select only instances with rbd disks

5 years agoignore rbd disks
Dobrica Pavlinusic [Wed, 1 Aug 2018 13:19:15 +0000 (15:19 +0200)]
ignore rbd disks

5 years agoverify that rsync backup target exists
Dobrica Pavlinusic [Mon, 30 Jul 2018 11:42:16 +0000 (13:42 +0200)]
verify that rsync backup target exists

before creating snapshot and invoking anything.

5 years agorsync_host env var to specify destination host
Dobrica Pavlinusic [Sun, 29 Jul 2018 12:33:00 +0000 (14:33 +0200)]
rsync_host env var to specify destination host

5 years agofinish rsync backup from ceph rbd and document it
Dobrica Pavlinusic [Sat, 28 Jul 2018 09:47:54 +0000 (11:47 +0200)]
finish rsync backup from ceph rbd and document it

5 years agoremove partial backup snaps
Dobrica Pavlinusic [Sat, 28 Jul 2018 08:39:01 +0000 (10:39 +0200)]
remove partial backup snaps

5 years agoread first partition offset before mounting
Dobrica Pavlinusic [Sat, 28 Jul 2018 08:38:06 +0000 (10:38 +0200)]
read first partition offset before mounting

5 years agognt-rbd documentation
Dobrica Pavlinusic [Sat, 28 Jul 2018 08:23:31 +0000 (10:23 +0200)]
gnt-rbd documentation

5 years agocreate rbd snap from instance disk
Dobrica Pavlinusic [Sat, 28 Jul 2018 08:09:08 +0000 (10:09 +0200)]
create rbd snap from instance disk

5 years agoformat image snapshots in copy/paste friendly format
Dobrica Pavlinusic [Sat, 28 Jul 2018 07:43:48 +0000 (09:43 +0200)]
format image snapshots in copy/paste friendly format

5 years agolist all istance rbd disks and snapshots
Dobrica Pavlinusic [Fri, 27 Jul 2018 22:11:54 +0000 (00:11 +0200)]
list all istance rbd disks and snapshots

5 years agodocument windows 2003 import into ganeti
Dobrica Pavlinusic [Thu, 26 Jul 2018 14:08:05 +0000 (16:08 +0200)]
document windows 2003 import into ganeti

5 years agomove windows-backup.txt to doc
Dobrica Pavlinusic [Wed, 25 Jul 2018 14:14:05 +0000 (16:14 +0200)]
move windows-backup.txt to doc

5 years agoadded tags
Dobrica Pavlinusic [Wed, 25 Jul 2018 14:04:20 +0000 (16:04 +0200)]
added tags

5 years agomove grml documentation into doc dir
Dobrica Pavlinusic [Wed, 25 Jul 2018 14:03:00 +0000 (16:03 +0200)]
move grml documentation into doc dir

5 years agocreate /dev/shm/instance, fix domain
Dobrica Pavlinusic [Wed, 25 Jul 2018 14:00:52 +0000 (16:00 +0200)]
create /dev/shm/instance, fix domain

5 years agouse only layering feature of ceph until upgrade
Dobrica Pavlinusic [Tue, 17 Jul 2018 13:36:08 +0000 (15:36 +0200)]
use only layering feature of ceph until upgrade

5 years agodocument ganeti upgrade to stretch
Dobrica Pavlinusic [Tue, 17 Jul 2018 13:08:20 +0000 (15:08 +0200)]
document ganeti upgrade to stretch

5 years agoshow also unknown lines
Dobrica Pavlinusic [Mon, 16 Jul 2018 07:45:58 +0000 (09:45 +0200)]
show also unknown lines

5 years agodocument booting grml cdrom image for recovery
Dobrica Pavlinusic [Mon, 2 Jul 2018 08:23:26 +0000 (10:23 +0200)]
document booting grml cdrom image for recovery

5 years agouse /dev/shm/mac-ip-vlan from enesej to find instance ip
Dobrica Pavlinusic [Sat, 23 Jun 2018 14:00:38 +0000 (16:00 +0200)]
use /dev/shm/mac-ip-vlan from enesej to find instance ip

6 years agoprocess each instance only once
Dobrica Pavlinusic [Mon, 29 Jan 2018 15:06:25 +0000 (16:06 +0100)]
process each instance only once

Useful for instances with more than one disk

6 years agosort output
Dobrica Pavlinusic [Sun, 28 Jan 2018 06:17:48 +0000 (07:17 +0100)]
sort output

6 years agoadded load count to diganose firmware errors
Dobrica Pavlinusic [Sat, 27 Jan 2018 16:56:08 +0000 (17:56 +0100)]
added load count to diganose firmware errors

6 years agoadded Load cycle count
Dobrica Pavlinusic [Sat, 27 Jan 2018 16:55:17 +0000 (17:55 +0100)]
added Load cycle count

6 years agorebuild broken sencoday node drbd
Dobrica Pavlinusic [Sat, 27 Jan 2018 16:53:49 +0000 (17:53 +0100)]
rebuild broken sencoday node drbd

This is really ugly, and requires instance reboot, but it allows
you to resize your disk array and do single transfer. YMMV

6 years agoadded OSFAMIY for snf-image
Dobrica Pavlinusic [Sat, 27 Jan 2018 12:30:21 +0000 (13:30 +0100)]
added OSFAMIY for snf-image

6 years agomore compact output
Dobrica Pavlinusic [Sat, 27 Jan 2018 12:29:39 +0000 (13:29 +0100)]
more compact output

6 years agoiostat: replace disks with instance:disk and hide idle ones
Dobrica Pavlinusic [Fri, 26 Jan 2018 15:13:24 +0000 (16:13 +0100)]
iostat: replace disks with instance:disk and hide idle ones

6 years agoreport drives without tests run on them
Dobrica Pavlinusic [Tue, 23 Jan 2018 15:08:52 +0000 (16:08 +0100)]
report drives without tests run on them

6 years agoclean argument purges /dev/shm/*smart* cache files
Dobrica Pavlinusic [Tue, 23 Jan 2018 15:01:05 +0000 (16:01 +0100)]
clean argument purges /dev/shm/*smart* cache files

6 years agoMerge branch 'master' of https://github.com/ffzg/gnt-info
Dobrica Pavlinusic [Mon, 22 Jan 2018 16:53:38 +0000 (17:53 +0100)]
Merge branch 'master' of https://github.com/ffzg/gnt-info

6 years agodon't use host tag so instance are hidden from chronograf hosts view
Dobrica Pavlinusic [Mon, 22 Jan 2018 16:50:14 +0000 (17:50 +0100)]
don't use host tag so instance are hidden from chronograf hosts view

6 years agoMerge branch 'master' of https://github.com/ffzg/gnt-info
Dobrica Pavlinusic [Fri, 19 Jan 2018 12:01:07 +0000 (13:01 +0100)]
Merge branch 'master' of https://github.com/ffzg/gnt-info

6 years agoadded serial, use cache output in /dev/shm
Dobrica Pavlinusic [Fri, 19 Jan 2018 11:04:23 +0000 (12:04 +0100)]
added serial, use cache output in /dev/shm

6 years agocreate cache output in /dev/shm/gnt-smart
Dobrica Pavlinusic [Fri, 19 Jan 2018 11:03:59 +0000 (12:03 +0100)]
create cache output in /dev/shm/gnt-smart

6 years agofix hwraid.list path
Dobrica Pavlinusic [Thu, 18 Jan 2018 10:52:05 +0000 (11:52 +0100)]
fix hwraid.list path

6 years agofix smart megaraid detection pattern
Dobrica Pavlinusic [Thu, 18 Jan 2018 10:49:57 +0000 (11:49 +0100)]
fix smart megaraid detection pattern

6 years agocleanup log output
Dobrica Pavlinusic [Thu, 18 Jan 2018 10:44:58 +0000 (11:44 +0100)]
cleanup log output

6 years agocleanup Firmware version 1.22.52-1909 built on Sep 21 2012 at 15:29:16
root [Wed, 17 Jan 2018 18:22:45 +0000 (19:22 +0100)]
cleanup Firmware version 1.22.52-1909 built on Sep 21 2012 at 15:29:16

6 years agoMerge branch 'master' of github.com:ffzg/gnt-info
Dobrica Pavlinusic [Wed, 17 Jan 2018 18:19:00 +0000 (19:19 +0100)]
Merge branch 'master' of github.com:ffzg/gnt-info

6 years agoLSI controller boot log
Dobrica Pavlinusic [Wed, 17 Jan 2018 18:18:39 +0000 (19:18 +0100)]
LSI controller boot log

6 years agocorrectly format output with errors
Dobrica Pavlinusic [Wed, 17 Jan 2018 16:45:36 +0000 (17:45 +0100)]
correctly format output with errors

6 years agocheck if we need to re-run smart tests
Dobrica Pavlinusic [Wed, 17 Jan 2018 16:40:00 +0000 (17:40 +0100)]
check if we need to re-run smart tests

6 years agobetter detect megaraid controllers
Dobrica Pavlinusic [Wed, 17 Jan 2018 10:57:07 +0000 (11:57 +0100)]
better detect megaraid controllers

6 years agoMerge branch 'master' of https://github.com/ffzg/gnt-info
Dobrica Pavlinusic [Mon, 15 Jan 2018 18:34:13 +0000 (19:34 +0100)]
Merge branch 'master' of https://github.com/ffzg/gnt-info

6 years agogenerate full report by default
Dobrica Pavlinusic [Mon, 15 Jan 2018 18:32:58 +0000 (19:32 +0100)]
generate full report by default

just add '^# 1' as arument to get quick report

6 years agoreport test remaining if self-test is running
Dobrica Pavlinusic [Mon, 15 Jan 2018 16:52:26 +0000 (17:52 +0100)]
report test remaining if self-test is running

6 years agoMerge remote-tracking branch 'lib15/lib15'
Dobrica Pavlinusic [Sun, 14 Jan 2018 13:46:11 +0000 (14:46 +0100)]
Merge remote-tracking branch 'lib15/lib15'

6 years agouse smartctl on megaraid controller only once
Dobrica Pavlinusic [Sun, 14 Jan 2018 13:41:26 +0000 (14:41 +0100)]
use smartctl on megaraid controller only once

If you export multiple vds from controller, they will all have
full set of disks attached from smartctl's point of view, so there
is no need to run this more than once

6 years agoreport smart for whole cluster
Dobrica Pavlinusic [Sun, 14 Jan 2018 13:23:40 +0000 (14:23 +0100)]
report smart for whole cluster

6 years agoexecute SMART smartctl params on each drive
Dobrica Pavlinusic [Sun, 14 Jan 2018 12:55:46 +0000 (13:55 +0100)]
execute SMART smartctl params on each drive

e.g. SMART="-t long" ./smart-megaraid.sh

6 years agosmart script is not ganeti specific
Dobrica Pavlinusic [Sun, 14 Jan 2018 12:28:42 +0000 (13:28 +0100)]
smart script is not ganeti specific

6 years agoreport smart status from megaraid controller
Dobrica Pavlinusic [Sun, 14 Jan 2018 11:51:25 +0000 (12:51 +0100)]
report smart status from megaraid controller

6 years agodisplay last selftest log for each disk
Dobrica Pavlinusic [Sun, 14 Jan 2018 10:29:02 +0000 (11:29 +0100)]
display last selftest log for each disk

6 years agoretrive rsync.args from rsync server for each instance if it exists
Dobrica Pavlinusic [Tue, 5 Dec 2017 12:08:10 +0000 (13:08 +0100)]
retrive args from rsync server for each instance if it exists

This allows us server-side --exclude 'var/lib/php5/sess_*' and similar
directives which can't really be specified in server rsyncd.conf beacause
it will produce rsync error, and not remove snapshot at end
(and prevent future backups)

6 years agodisplay vnc connection info over ssh for instance
Dobrica Pavlinusic [Tue, 7 Nov 2017 07:32:30 +0000 (08:32 +0100)]
display vnc connection info over ssh for instance

6 years agoask ganeti for vg, execute zfs snap using ssh command=
Dobrica Pavlinusic [Thu, 5 Oct 2017 21:13:27 +0000 (23:13 +0200)]
ask ganeti for vg, execute zfs snap using ssh command=

6 years agouse backup enviroment var for top-level backup dir
Dobrica Pavlinusic [Thu, 5 Oct 2017 16:44:49 +0000 (18:44 +0200)]
use backup enviroment var for top-level backup dir