Actions

Toolpack system systemId reconfiguration 2-3: Difference between revisions

m (Error type Start intead Stop.)
 
(9 intermediate revisions by 2 users not shown)
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:


Line 11: Line 11:
* Press the Save button
* Press the Save button


====Directly in the database====
====Second Method: Directly in the database====
To use if you don't have access to the web portal.
To use if you don't have access to the web portal.
* Connect to the database.
* Connect to the database.
     mysql -utbdb -p -h 'MyHostName' toolpack_0
     mysql -utbdb -p -h 'MyHostName' toolpack_0
* Modify the adapter serial number (serial number of the Tmedia motherboard) WARNING:: Do not confuse with Linux host serial number!
    UPDATE virtual_adapters SET serial='[NewTmediaSerial]' WHERE serial='[OldTmediaSerial]';
    UPDATE virtual_adapters SET name='[NewTmediaSerial]' WHERE name='[OldTmediaSerial]';
* Modify the system_infos table
* Modify the system_infos table
     UPDATE system_infos SET gw_port='NewSystemId' where gw_port='OldSystemId';
     UPDATE system_infos SET gw_port='NewSystemId' where gw_port='OldSystemId';
Line 20: Line 23:
     exit
     exit


=== Install the new [[System_Id|SystemId]] ===
=== Step 2: Install the new [[System_Id|SystemId]] ===
* Use the Toolpack installer to install the [[System_Id|SystemId]]:
* Use the Toolpack installer to install the [[System_Id|SystemId]]:


[[toolpack_system_reconfiguration_2-3|System reconfiguration procedure for Toolpack release v2.3]]
[[toolpack_system_reconfiguration_2-3|System reconfiguration procedure for Toolpack release v2.3]]


 
=== Step 3: Stop the Toolpack service ===
=== Stop the Toolpack service ===
* Stop the service
* Stop the service
     tbtoolpack stop OldSystemId
     tbtoolpack stop OldSystemId


 
=== Step 4: Change the [[System_Id|SystemId]] of all the Tmedia and TMS ===
=== Change the [[System_Id|SystemId]] of all the Tmedia and TMS ===
* Telnet to a Tmedia
* Telnet to a Tmedia
** For example, on a TMG, "telnet 172.31.1.1"


* Enter the 'set_boot' command
* Enter the 'set_boot' command
Line 50: Line 52:
* Repeat those steps for all the Tmedia and TMS of your system
* Repeat those steps for all the Tmedia and TMS of your system


 
=== Step 5: Start the Toolpack service ===
=== Start the Toolpack service ===
* Start the new service
* Stop the new service
     tbtoolpack start NewSystemId
     tbtoolpack start NewSystemId


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


=== Enable the new Toolpack service at startup ===
=== Step 7: Enable the new Toolpack service at startup ===
* If you want the Toolpack service to start when the host boot, enter the following command:
* If you want the Toolpack service to start when the host boot, enter the following command:
     tbtoolpack enable NewSystemId
     tbtoolpack enable NewSystemId

Latest revision as of 16:30, 31 March 2010

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

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 adapter serial number (serial number of the Tmedia motherboard) WARNING:: Do not confuse with Linux host serial number!
   UPDATE virtual_adapters SET serial='[NewTmediaSerial]' WHERE serial='[OldTmediaSerial]';
   UPDATE virtual_adapters SET name='[NewTmediaSerial]' WHERE name='[OldTmediaSerial]';
  • Modify the system_infos table
   UPDATE system_infos SET gw_port='NewSystemId' where gw_port='OldSystemId';
  • Exit
   exit

Step 2: Install the new SystemId

  • Use the Toolpack installer to install the SystemId:

System reconfiguration procedure for Toolpack release v2.3

Step 3: Stop the Toolpack service

  • Stop the service
   tbtoolpack stop OldSystemId

Step 4: Change the SystemId of all the Tmedia and TMS

  • Telnet to a Tmedia
    • For example, on a TMG, "telnet 172.31.1.1"
  • 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

Step 5: Start the Toolpack service

  • Start the new service
   tbtoolpack start NewSystemId

Step 6: 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

Step 7: 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