Reset Host Role for TMG7800 Controllers
From TBwiki
Applies to TMG7800 Control servers which are NOT manufactured by Telcobridges
Applies to version v2.8 and above
If your TMG7800-CTRL are provided by Telcobridges, please refer to TMG:Change Internal Subnets Procedure
This procedure describes how to reset the host role for third party control servers.
- ssh to the controller
- vim /lib/tb/toolpack/setup/12358/x.y/toolpack.ini
x.y is the toolpack version, e.g. 2.10 or 3.0
For 1+1 CTRLs, 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.