Toolpack system systemId reconfiguration 2-7
From TBwiki
(Difference between revisions)
Candy Chan (Talk | contribs) (Toolpack system systemId reconfiguration 2-7) |
Candy Chan (Talk | contribs) (Minor text edits) |
||
Line 10: | Line 10: | ||
− | === Step 3: Install | + | === Step 3: Install Toolpack with new [[System_Id|SystemId]] === |
− | * Use the Toolpack installer to install the [[System_Id|SystemId]]: | + | * Use the Toolpack installer to install Toolpack on the new [[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]] |
Latest revision as of 03:03, 4 December 2014
This procedure explains how to change the SystemId of a Toolpack system.
Step 1: Backup the current database
- Backup and download the database dump from the Web Portal
Step 2: Stop the Toolpack service
- Stop the service
tbtoolpack stop OldSystemId
Step 3: Install Toolpack with new SystemId
- Use the Toolpack installer to install Toolpack on the new SystemId:
System reconfiguration procedure for Toolpack release v2.3
Step 4: Update database system ID
- 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
Step 5: 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)? :
- Enter the new SystemId value
- Press the Enter key
- Press Ctrl + c
- Reboot the Tmedia
reboot
- Repeat those steps for all the Tmedia and TMS of your system
Step 6: Start the Toolpack service
- Start the new service
tbtoolpack start NewSystemId
Step 7: 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 8: 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