[ZBXNEXT-1927] Improvment for svn://svn.zabbix.com/trunk/upgrades/dbpatches/2.0/mysql/upgrade Created: 2013 Sep 23  Updated: 2021 Jan 03  Resolved: 2021 Jan 03

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: 1.8.17, 2.0.8
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Marc Schoechlin Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: dbpatches, mysql
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File upgrade     File upgrade_v2     File upgrade_v3    

 Description   

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.



 Comments   
Comment by Marc Schoechlin [ 2013 Sep 23 ]

Improved script

Comment by Marc Schoechlin [ 2013 Sep 23 ]

Another update of the file, sorry

Comment by Marc Schoechlin [ 2021 Jan 03 ]

Outdated, and not needed anymore.

Generated at Sat May 11 05:59:53 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.