Actions

Reset Host Role for TMG7800 CTRL

Revision as of 16:28, 22 June 2018 by Nicole Tan (talk | contribs) (NT completed the reset host role part)

Applies to TMG7800 CTRL server which are NOT manufactured by Telcobridges

Applies to version v2.8 and above

IIf your TMG7800 CTRL are Telcobridges' severs, please refer to TMG:Change Internal Subnets Procedure


This procedure describes how to reset the host role for changing the TMG7800 CTRL setup, or the 1+1 internal Subnet.

- Convert a TMG7800 CTRL 1+1 to 2 standalone CTRL

- Change the internal Subnet


Convert a TMG7800 CTRL 1+1 to 2 standalone CTRL

  • ssh to the TMG7800 CTRLs
  • vim /lib/tb/toolpack/setup/12358/x.y/toolpack.ini

x.y is the toolpack version, e.g. 2.10 or 3.0

On both Primary and Secondary CTRL:

TBX_PRIMARY_HOST = 1

TBDB_SERVER_SEC = /

e.g.: On the Primary:

 # Variables related to networking
 TBX_GW_PORT         = 12358
 TBX_GW_ADDRESS_0    = 192.168.10.50
 TBX_GW_ADDRESS_1    = 192.168.11.50
 TBX_PRIMARY_HOST    = 1
 # Variables related to database access driver
 TBDB_DRIVER         = ODBC
 TBDB_ODBC_DRIVER    = MySQL
 # Name of the MySQL database that contains Toolpack configuration
 # Note: Current major version is added to the name,
 # For example "toolpack" -> "toolpack_2_10"
 TBDB_DB_NAME        = toolpack
 # Variables related to database server configuration
 TBDB_SERVER_PRI     = 192.168.10.50/192.168.11.50
 TBDB_UID_PRI        = tbdb
 TBDB_PWD_PRI        = tbdbpw
 TBDB_PORT_PRI       = 3306
 TBDB_SERVER_SEC     = /
 TBDB_UID_SEC        = tbdb
 TBDB_PWD_SEC        = tbdbpw
 TBDB_PORT_SEC       = 3306

On the Secondary:

 # Variables related to networking
 TBX_GW_PORT         = 12358
 TBX_GW_ADDRESS_0    = 192.168.10.51
 TBX_GW_ADDRESS_1    = 192.168.11.51
 TBX_PRIMARY_HOST    = 1
 # Variables related to database access driver
 TBDB_DRIVER         = ODBC
 TBDB_ODBC_DRIVER    = MySQL
 # Name of the MySQL database that contains Toolpack configuration
 # Note: Current major version is added to the name,
 # For example "toolpack" -> "toolpack_2_10"
 TBDB_DB_NAME        = toolpack
 # Variables related to database server configuration
 TBDB_SERVER_PRI     = 192.168.10.51/192.168.11.51
 TBDB_UID_PRI        = tbdb
 TBDB_PWD_PRI        = tbdbpw
 TBDB_PORT_PRI       = 3306
 TBDB_SERVER_SEC     = /
 TBDB_UID_SEC        = tbdb
 TBDB_PWD_SEC        = tbdbpw
 TBDB_PORT_SEC       = 3306

Note: One of the above CTRLs now should be moved to a different network.