Actions

Reset Host Role or Change Internal Subnet for TMG7800: Difference between revisions

mNo edit summary
(Updated page to remove TMG7800-CTRL)
 
Line 1: Line 1:
__NoToc__
__NoToc__
=== '''''Applies to TMG7800 CTRL server which are NOT manufactured by Telcobridges''''' ===
=== '''''Applies to TMG7800 Control servers which are NOT manufactured by Telcobridges''''' ===
=== '''''Applies to version v2.8 and above''''' ===
=== '''''Applies to version v2.8 and above''''' ===
If your TMG7800 CTRL are Telcobridges' servers, please refer to [[TMG:Change_Internal_Subnets_Procedure|TMG:Change Internal Subnets Procedure]]
If your TMG7800-CTRL are provided by Telcobridges, please refer to [[TMG:Change_Internal_Subnets_Procedure|TMG:Change Internal Subnets Procedure]]
{{DISPLAYTITLE:Reset Host Role for TMG7800 CTRL}}
{{DISPLAYTITLE:Reset Host Role for TMG7800 Controllers}}


This procedure describes how to reset the host role for TMG7800 CTRL.
This procedure describes how to reset the host role for third party control servers.


* ssh to the TMG7800 CTRLs
* ssh to the controller
* vim /lib/tb/toolpack/setup/12358/x.y/toolpack.ini
* vim /lib/tb/toolpack/setup/12358/x.y/toolpack.ini
x.y is the toolpack version, e.g. 2.10 or 3.0
x.y is the toolpack version, e.g. 2.10 or 3.0


For TMG7800 1+1 CTRLs, on both Primary and Secondary CTRL:
For 1+1 CTRLs, on both Primary and Secondary CTRL:


TBX_PRIMARY_HOST    = 1
TBX_PRIMARY_HOST    = 1

Latest revision as of 10:54, 7 January 2019

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.