Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Jul 19, 2019 3:48 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Upgrades
PostPosted: Thu Jul 30, 2009 12:27 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5323
Location: United Kingdom
The PA README doesn't mention whether you need to re-apply the pa.sql during an upgrade. It doesn't look like the SQL contains anything to check if the table already exists, or anything to add new columns though. I don't know if the structure actually changes from one release to the next...

Also, the "more detailed documentation" at http://cactiusers.org/wiki/PluginArchitectureInstall doesn't mention SQL files at all, let alone upgrades...

_________________
Weathermap 0.98 is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 02, 2009 5:00 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
Currently there are not additional changes to pa.sql required for the PIA 2.5. However, with your recent request (that of priority/ordering), I suspect that this will happen in the near future.

I would like for the PIA to detect the presence of it's own tables, and if they don't exist, install/upgrade them. Sound like a good plan?

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 02, 2009 5:08 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5323
Location: United Kingdom
TheWitness wrote:
I would like for the PIA to detect the presence of it's own tables, and if they don't exist, install/upgrade them. Sound like a good plan?


I always thought that was a good plan - it's been working for plugins just fine, and there are plenty of threads on the forum which end with "did you import pa.sql?". My impression was that Jimmy didn't, however.

_________________
Weathermap 0.98 is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 02, 2009 5:26 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
If you want to propose a patch to do 1) ordering of plugins, 2) auto create tables as a draft PIA 2.6, I would support it.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 23, 2009 9:54 am 
Offline
Cacti User

Joined: Wed Jun 18, 2008 10:21 am
Posts: 111
Location: France
TheWitness wrote:
Currently there are not additional changes to pa.sql required for the PIA 2.5.

To 2.5 from which version ?
If the system uses a 2.1 version of the PA, is it still true ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 23, 2009 7:18 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
There have been no database changes since 2.0.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 24, 2009 2:52 am 
Offline
Cacti User

Joined: Wed Jun 18, 2008 10:21 am
Posts: 111
Location: France
TheWitness wrote:
There have been no database changes since 2.0.

TheWitness

Ok. Thank you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group