Procedure for downgrade from rel2.6 to rel2.5

From TBwiki
(Difference between revisions)
Jump to: navigation, search
 
(28 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
'''Warning''': Major downgrades require service interruption.
 
'''Warning''': Major downgrades require service interruption.
 +
 +
  
 
==== Configure a valid DNS  ====  
 
==== Configure a valid DNS  ====  
Line 7: Line 9:
 
vi /etc/resolv.conf
 
vi /etc/resolv.conf
 
  nameserver 8.8.8.8  <- Should insert a valid DNS here
 
  nameserver 8.8.8.8  <- Should insert a valid DNS here
 
  
 
==== Download the proper v2.5 installer from TB site  ====
 
==== Download the proper v2.5 installer from TB site  ====
Line 14: Line 15:
 
   Contact TB support to get the complete link for the proper installer.
 
   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 telcobridges --password tbsupport
+
   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
 
2- Change the permission of the installer
Line 20: Line 21:
 
   ex.  chmod +x TBToolPack-2.5.142-Linux-centos5-x86_64-Install
 
   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)  ====
 
==== Run Toolpack Installer (same as 2.4)  ====
  
 
:[[Toolpack installer 2-4|Toolpack Installer]]
 
:[[Toolpack installer 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/
  
  
Line 29: Line 43:
  
 
   vi /lib/tb/toolpack/setup/12358/2.5/toolpack.ini
 
   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
 
   TBX_PRIMARY_HOST    = TRUE
 
+
...
  
 
==== Verify that the Toolpack service will start v2.5  ====
 
==== Verify that the Toolpack service will start v2.5  ====
  
Open the following file with vi (Linux).  
+
Open the following file with vi.  
 
+
Example with default settings:
+
  
 
   vi /lib/tb/toolpack/setup/12358/service/config.txt               
 
   vi /lib/tb/toolpack/setup/12358/service/config.txt               
Line 45: Line 60:
  
  
==== 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
+
  
  
==== Start Toolpack Service  ====
+
==== Change boardmode (require for TMG800 only) ====
  
  tbtoolpack start
+
'''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
  
==== 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">
+
==== Start Toolpack Service  ====
For migrating system from v2.4 or earlier only. (Systems which are already running v2.5 need to skip this step.)
+
 
</span>
+
skip this step if it is TMG800 since toolpack will get restart after rebooting the host
 +
 
 +
  tbtoolpack start
 +
 
  
:[[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