Toolpack system systemId reconfiguration 2-3

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Directly in the database)
(Change the SystemId of your system)
Line 1: Line 1:
 
This procedure explains how to change the [[System_Id|SystemId]] of a Toolpack system.
 
This procedure explains how to change the [[System_Id|SystemId]] of a Toolpack system.
  
=== Change the [[System_Id|SystemId]] of your system ===
+
=== Step 1: Change the [[System_Id|SystemId]] of your system ===
 
Choose one of the 2 following methods:
 
Choose one of the 2 following methods:
  

Revision as of 12:31, 27 August 2009

This procedure explains how to change the SystemId of a Toolpack system.

Contents

Step 1: Change the SystemId of your system

Choose one of the 2 following methods:

First Method: Through the Web Portal

  • Log on the Web Portal
  • Go into the System menu
  • Edit your system (ex. system_1)
  • Change the Gateway Port(SystemId)
  • Press the Save button

Second Method: Directly in the database

To use if you don't have access to the web portal.

  • Connect to the database.
   mysql -utbdb -p -h 'MyHostName' toolpack_0
  • Modify the system_infos table
   UPDATE system_infos SET gw_port='NewSystemId' where gw_port='OldSystemId';
  • Exit
   exit

Install the new SystemId

  • Use the Toolpack installer to install the SystemId:

System reconfiguration procedure for Toolpack release v2.3


Stop the Toolpack service

  • Stop the service
   tbtoolpack stop OldSystemId


Change the SystemId of all the Tmedia and TMS

  • Telnet to a Tmedia
  • Enter the 'set_boot' command
  • Press enter until you see the following line:
   gateway port (TBX_GW_PORT=OldSystemId)? :
  • Press the Enter key
  • Press Ctrl + c
  • Reboot the Tmedia
   reboot
  • Repeat those steps for all the Tmedia and TMS of your system


Start the Toolpack service

  • Stop the new service
   tbtoolpack start NewSystemId

Uninstall the old Toolpack service

  • Uninstall the old Toolpack service (NOTE: uninstalling the service will not erase the [InstallDir]/toolpack/setup/[OldSystemId] directory)
   tbtoolpack uninstall OldSystemId

Enable the new Toolpack service at startup

  • If you want the Toolpack service to start when the host boot, enter the following command:
   tbtoolpack enable NewSystemId
Personal tools