Toolpack minor upgrades 2-3

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Active New package)
(Run Toolpack Installer)
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
=== Run Toolpack Installer ===
 
=== Run Toolpack Installer ===
  
: [[toolpack_installer_2-3|Toolpack Installer]]
+
: [[toolpack_installer_2-3|Toolpack Installer for release 2.3]]
 +
: [[toolpack_installer_2-4|Toolpack Installer for release 2.4]]
 +
: Toolpack Installer for release 2.5 (same as 2.4)
  
 
=== Active New package ===
 
=== Active New package ===
Line 25: Line 27:
 
Please note that a backup of the '''Mysql configuration database''' will be created here and can be restored if needed:
 
Please note that a backup of the '''Mysql configuration database''' will be created here and can be restored if needed:
 
   /toolpack/pkg/[Version]/web
 
   /toolpack/pkg/[Version]/web
For example, for release 2.3.20 on Linux:
 
  /lib/tb/toolpack/pkg/2.3.20/web
 
For example, for release 2.3.20 on Windows:
 
  C:\TelcoBridges\toolpack\pkg\2.3.22\web
 
 
 
Format is like this:
 
Format is like this:
 
   database_upgrade_bkp_[db_name]_[date]_[time]_[db_version]_[SystemId]_is_valid.sql
 
   database_upgrade_bkp_[db_name]_[date]_[time]_[db_version]_[SystemId]_is_valid.sql
File will look something like this
+
 
   database_upgrade_bkp_toolpack_0_2009_09_15_14_47_04_v0_40_0_12361_is_valid.sql
+
For example, software release 2.3.20 on Linux:
 +
  /lib/tb/toolpack/pkg/2.3.20/web/database_upgrade_bkp_toolpack_0_2009_09_15_14_47_04_v0_40_0_12361_is_valid.sql
 +
Same on Windows:
 +
   C:\TelcoBridges\toolpack\pkg\2.3.22\web\database_upgrade_bkp_toolpack_0_2009_09_15_14_47_04_v0_40_0_12361_is_valid.sql
  
 
==== To restore a database backup file into your database ====
 
==== To restore a database backup file into your database ====
  
mysqldump -u [MySqlUserName] --password=[MySqlPassword] < [[BackupNameFile].sql
+
mysql -u [MySqlUserName] --password=[MySqlPassword] < [[BackupNameFile].sql
  
 
example:
 
example:
 
   mysql -u tbdb --password=tbdbpw toolpack_0 < database_upgrade_bkp_toolpack_0_2009_09_15_14_47_04_v0_40_0_12361_is_valid.sql
 
   mysql -u tbdb --password=tbdbpw toolpack_0 < database_upgrade_bkp_toolpack_0_2009_09_15_14_47_04_v0_40_0_12361_is_valid.sql

Latest revision as of 10:58, 18 May 2010

This page is the procedure to do a minor upgrade on a 2-3 system.

Note: Minor upgrades can be done without service interruption if the system is HA.

Contents

Run Toolpack Installer

Toolpack Installer for release 2.3
Toolpack Installer for release 2.4
Toolpack Installer for release 2.5 (same as 2.4)

Active New package

  • Check if Software Package is available in the web portal

Click on:

 Packages->Edit

Note: If not available click on "Create New Package"


  • Activate new software package
 Systems->Edit->Activate Package

Select software Package and click on

 Activate

It may take a few minutes to do the upgrade. You can refresh the main Status page to get update on the process.

Database backup is created on Activate New Package

Please note that a backup of the Mysql configuration database will be created here and can be restored if needed:

 /toolpack/pkg/[Version]/web

Format is like this:

 database_upgrade_bkp_[db_name]_[date]_[time]_[db_version]_[SystemId]_is_valid.sql

For example, software release 2.3.20 on Linux:

 /lib/tb/toolpack/pkg/2.3.20/web/database_upgrade_bkp_toolpack_0_2009_09_15_14_47_04_v0_40_0_12361_is_valid.sql

Same on Windows:

 C:\TelcoBridges\toolpack\pkg\2.3.22\web\database_upgrade_bkp_toolpack_0_2009_09_15_14_47_04_v0_40_0_12361_is_valid.sql

To restore a database backup file into your database

mysql -u [MySqlUserName] --password=[MySqlPassword] < [[BackupNameFile].sql

example:

 mysql -u tbdb --password=tbdbpw toolpack_0 < database_upgrade_bkp_toolpack_0_2009_09_15_14_47_04_v0_40_0_12361_is_valid.sql
Personal tools