Procedure for downgrade from rel2.6 to rel2.5

From TBwiki
(Difference between revisions)
Jump to: navigation, search
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page is the procedure to downgrade Toolpack v2.6 system to a Toolpack v2.5 system.
+
This page is the procedure to downgrade Toolpack v2.6 system to a Toolpack v2.5 system on a TMG3200 or a TMG800 unit.
  
 
'''Warning''': Major downgrades require service interruption.
 
'''Warning''': Major downgrades require service interruption.
  
==== Download the proper v2.5 installer from TB site  ====
 
  
If not already done with the installation copy the license in the licenses directory
 
  
  [InstallDirectory]/pkg/licenses/
+
==== Configure a valid DNS  ====
  
ex.  
+
vi /etc/resolv.conf
 +
nameserver 8.8.8.8  <- Should insert a valid DNS here
  
wget http://download.telcobridges.com/release2.5.142/TBToolPack-2.5.142-Linux-centos5-x86_64-Install --user telcobridges --password tbsupport
+
==== Download the proper v2.5 installer from TB site  ====
  
 +
1- Download installer from TB download site - http://download.telcobridges.com/
 +
  Contact TB support to get the complete link for the proper installer.
 +
 
 +
  ex.  wget http://download.telcobridges.com/release2.5.142/TBToolPack-2.5.142-Linux-centos5-x86_64-Install --user xxxx --password yyyy
  
==== Follow Migration Guide  ====
+
2- Change the permission of the installer
 
+
 
For Toolpack v2.5:
+
  ex. chmod +x TBToolPack-2.5.142-Linux-centos5-x86_64-Install
 
+
The prerequisites are the same for v2.5 and v2.6. Therefore nothing to do. Yay!
+
 
+
For Toolpack v2.3 or v2.4 system:
+
 
+
:[[Toolpack migration 2-5|Migration Guide Procedures for v2.5]]
+
 
+
For Toolpack v2.2 system (migrate your system from v2.2 to v2.3 then v2.3 to v2.5):
+
 
+
:[[Toolpack migration 2-3|Migration guide Procedures for v2.3]]
+
:[[Toolpack migration 2-5|Migration Guide Procedures for v2.5]]
+
  
 +
==== Stop Toolpack Service  ====
 +
skip this step if it is TMG800 since toolpack will get restart after rebooting the host
 +
  tbtoolpack stop
  
 
==== Run Toolpack Installer (same as 2.4)  ====
 
==== Run Toolpack Installer (same as 2.4)  ====
  
 
:[[Toolpack installer 2-4|Toolpack Installer]]
 
:[[Toolpack installer 2-4|Toolpack Installer]]
 
  
 
==== Copy the license  ====
 
==== Copy the license  ====
Line 44: Line 38:
  
 
   /lib/tb/toolpack/pkg/licenses/
 
   /lib/tb/toolpack/pkg/licenses/
  C:\TelcoBridges\toolpack\pkg\licenses
 
  
  
==== Verify that the Toolpack service will start v2.6 ====
+
==== Modify the host role ====
  
Open the following file with vi (Linux) or Notepad (Windows).  
+
  vi /lib/tb/toolpack/setup/12358/2.5/toolpack.ini
 +
...
 +
  TBX_GW_ADDRESS_0    = 172.31.1.2
 +
  TBX_GW_ADDRESS_1    = 172.31.1.2
 +
  TBX_PRIMARY_HOST    = TRUE
 +
...
  
Example with default settings:
+
==== Verify that the Toolpack service will start v2.5  ====
  
  vi /lib/tb/toolpack/setup/12358/service/config.txt                (Linux)
+
Open the following file with vi.  
  notepad C:\TelcoBridges\toolpack\setup\12358\service\config.txt    (Windows)
+
  
Make sure that the 'application=' line contain '2.6'.  
+
  vi /lib/tb/toolpack/setup/12358/service/config.txt             
  
Example with default settings:
+
Make sure that the 'application=' line contain '2.5'.
  
   application= /lib/tb/toolpack/setup/12358/2.6/apps/tboamapp/tboamapp_wd_cfg.ini            (For Linux)
+
   application= /lib/tb/toolpack/setup/12358/2.5/apps/tboamapp/tboamapp_wd_cfg.ini             
  application= C:\TelcoBridges\toolpack\setup\12358\2.6\apps\tboamapp\tboamapp_wd_cfg.ini    (For Windows)
+
  
  
==== Copy audio files from [[TB_StreamServer|StreamServer]] ====
+
==== Copy vlan_management.rb file if using virtual IPs ====
Customs audio files played by the [[TB_StreamServer|StreamServer]] are not copied automatically by the system. Therefore, you are required to copy them by hand.
+
  
Linux (copy audio files from a v2.5 system to v2.6)
+
Copy **[[Media:vlan_management.zip|vlan_management.rb]]** (if before 2.5.147) to this folder:
  cp /lib/tb/toolpack/setup/12358/2.5/apps/tbstreamserver/*.wav /lib/tb/toolpack/setup/12358/2.6/apps/tbstreamserver
+
cp /lib/tb/toolpack/setup/12358/2.5/apps/tbstreamserver/prompts/*.wav /lib/tb/toolpack/setup/12358/2.6/apps/tbstreamserver/prompts
+
  
Windows (copy audio files from a v2.5 system to v2.6)
+
  /lib/tb/toolpack/12358/2.5/apps/tboamapp/
copy C:\TelcoBridges\toolpack\setup\12358\2.5\apps\*.wav C:\TelcoBridges\toolpack\setup\12358\2.6\apps\tbstreamserver
+
 
copy C:\TelcoBridges\toolpack\setup\12358\2.5\apps\*.wav C:\TelcoBridges\toolpack\setup\12358\2.6\apps\tbstreamserver/prompts
+
 
 +
==== Change boardmode (require for TMG800 only) ====
 +
 
 +
'''Warning''': This step is important for TMG800 and it has to be done before start toolpack on rel2.5. For TMG3200, skip this step.
 +
 
 +
  telnet 172.31.1.1
 +
  tml>debug2 CE-AA-CD-72 C8-A8-4E-BB
 +
  Installing spr
 +
  Done installing debug level 2 shell commands.
 +
  tml>set_boardmode 1
 +
  ***********************************************************
 +
  WARNING: Will restart the board to activate new board mode.
 +
  ***********************************************************
 +
  Continue? (y|n)=n? :y
  
  
 
==== Start Toolpack Service  ====
 
==== Start Toolpack Service  ====
  
  tbtoolpack start
+
skip this step if it is TMG800 since toolpack will get restart after rebooting the host
  
 +
  tbtoolpack start
  
==== Configuration Upgrade ====
 
<span style="color:#B22222">
 
Note: This procedure is mandatory if you plan to do <b>ANY</b> modifications to your configuration.
 
</span>
 
 
<span style="color:#B22222">
 
For migrating system from v2.4 or earlier only. (Systems which are already running v2.5 need to skip this step.)
 
</span>
 
  
:[[Web Portal migration guide v2-5]]
+
==== Set tbuctwriter to “don’t run” ====
 +
  Webportal -> Applications -> Instances -> Status tab -> tbuctwriter -> Oam target state [Don't Run]

Latest revision as of 07:29, 30 April 2013

This page is the procedure to downgrade Toolpack v2.6 system to a Toolpack v2.5 system on a TMG3200 or a TMG800 unit.

Warning: Major downgrades require service interruption.


Contents

Configure a valid DNS

vi /etc/resolv.conf

nameserver 8.8.8.8   <- Should insert a valid DNS here

Download the proper v2.5 installer from TB site

1- Download installer from TB download site - http://download.telcobridges.com/

  Contact TB support to get the complete link for the proper installer.
 
  ex.  wget http://download.telcobridges.com/release2.5.142/TBToolPack-2.5.142-Linux-centos5-x86_64-Install --user xxxx --password yyyy

2- Change the permission of the installer

  ex.  chmod +x TBToolPack-2.5.142-Linux-centos5-x86_64-Install

Stop Toolpack Service

skip this step if it is TMG800 since toolpack will get restart after rebooting the host

 tbtoolpack stop

Run Toolpack Installer (same as 2.4)

Toolpack Installer

Copy the license

If not already done with the installation copy the license in the licenses directory

 [InstallDirectory]/pkg/licenses/

ex.

 /lib/tb/toolpack/pkg/licenses/


Modify the host role

 vi /lib/tb/toolpack/setup/12358/2.5/toolpack.ini

...

 TBX_GW_ADDRESS_0    = 172.31.1.2
 TBX_GW_ADDRESS_1    = 172.31.1.2
 TBX_PRIMARY_HOST    = TRUE

...

Verify that the Toolpack service will start v2.5

Open the following file with vi.

 vi /lib/tb/toolpack/setup/12358/service/config.txt               

Make sure that the 'application=' line contain '2.5'.

 application= /lib/tb/toolpack/setup/12358/2.5/apps/tboamapp/tboamapp_wd_cfg.ini             


Copy vlan_management.rb file if using virtual IPs

Copy **vlan_management.rb** (if before 2.5.147) to this folder:

 /lib/tb/toolpack/12358/2.5/apps/tboamapp/ 


Change boardmode (require for TMG800 only)

Warning: This step is important for TMG800 and it has to be done before start toolpack on rel2.5. For TMG3200, skip this step.

 telnet 172.31.1.1
 tml>debug2 CE-AA-CD-72 C8-A8-4E-BB
 Installing spr
 Done installing debug level 2 shell commands.
 tml>set_boardmode 1
 ***********************************************************
 WARNING: Will restart the board to activate new board mode.
 ***********************************************************
 Continue? (y|n)=n? :y 


Start Toolpack Service

skip this step if it is TMG800 since toolpack will get restart after rebooting the host

 tbtoolpack start


Set tbuctwriter to “don’t run”

 Webportal -> Applications -> Instances -> Status tab -> tbuctwriter -> Oam target state [Don't Run]
Personal tools