I enhanced/changed the unsupported "upgrade" script (svn://svn.zabbix.com/trunk/upgrades/dbpatches/2.0/mysql/upgrade) which is part of the distribution.
- added node based processing
(i.e. create a debug group for every node)
- code cleanup
- moved sql execution details to do_sql function
- added more errorchecking
- removed differentiation between bash versions
Note: I'm note sure if it is really necessary to process nodes other than the local node on migration because i'm not a zabbix developer.
Any hints? How should i perform a migration on a node based setup? Is there a documentation which provides details for this?
You can use and license my modifications under any software-license.
If you have improvement ideas or discover problems feel free to contact me.