Actions

Installing Toolpack

Revision as of 16:23, 6 May 2016 by Lucas Trottier (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Applies to version(s) v2.4 to v2.8


Get installation package

  • You need to obtain the new version of the Toolpack software from the designated location. Please contact the TelcoBridges support team to know which version to use. The package name starts with TBToolPack.
  • Upload this package to the server running Toolpack with scp or a SFTP tool like FileZilla

Toolpack installation options

Option Description
dbhost Toolpack database hostname
dbpass Toolpack database password
dbuser Toolpack database user
dbdriver Toolpack database ODBC driver
systemid Toolpack System Id (previously know as tbxgwport)
primip IP address of primary ethernet interface of the localhost. Also known as tbxgwaddr0
redip IP address of the redundant ethernet interface of the localhost. Also known as tbxgwaddr1


Usage examples

TMP6400 usage example installing release 2-4-24 on a CentOS 5 64 bits host:

 TBToolPack-2.4.24-Linux-centos5-x86_64-Install

TMG3200/TMG800

For the TMG3200/TMG800 you need to use the right installer.

WARNING: Failure to use the correct installer for the TMG3200/TMG800 will damage your system.

Follow this link for the How to select the proper TBLinux installer

TMG3200/TMG800 usage example, installing release 2-4-24:

Warning: For TMG3200/TMG800 setting --primip and --redip is mandatory and needs to be set to --primip 172.31.1.2 --redip 172.31.1.2.

 TBToolPack-2.4.24-Linux-tbrel-1-28-ppc-Install --primip 172.31.1.2 --redip 172.31.1.2

Toolpack Multi system support

Toolpack installer now allows to have more than one setup being configured on the same host.

To enable this feature, the directory tree changed a little, here's what it looks like now:

 /lib/tb/toolpack/setup/12358/service
 /lib/tb/toolpack/setup/12358/2.4/apps
 /lib/tb/toolpack/setup/12358/2.4/licenses
 /lib/tb/toolpack/setup/12358/2.4

Note: 12358 was added in the setup path.

Each setup is installed as a service of the Operating System, under the following name:

 tbtoolpack_${SystemId}  -> ie: tbtoolpack_12358

Each service instance can be managed individually using "tbtoolpack" command.

 tbtoolpack start 12358
 tbtoolpack stop 12390

Note: If no SystemId is given, the tbtoolpack will prompt the user to select one among the installed one.

Toolpack Graphical Installation

Welcome screen Pane

Toolpack Welcome Screen Release 2-4

Installation Type Pane

Toolpack Typical Pane Screen Release 2-4 Toolpack Custom Pane Screen Release 2-4


Basic parameters Pane

Fields with * are advanced parameters not show in typical setup.

Toolpack Basic Parameter Pane Screen Release 2-4

  • System Id: This is the unique id of the system and will install tbtoolpack_${SystemId} OS service.
  • Multi-Host System: Tells if the system wil be composed of more than one host. (Must be true for DBHA)
  • Service Start Type: "Auto Start" is use to start the Toolpack service at host boot up, "Demand Start" requires manual start.
  • Primary local IP: For TMG3200, it must always be set to 172.31.1.2. For TMP6400, this value should be set if the host has multiple network interfaces.
  • Redundant local IP: For TMG3200, it must always be set to 172.31.1.2. For TMP6400, this value should be set if the host has multiple network interfaces.
Multi-Host parameters Pane

Toolpack Multi-Host Pane Screen Release 2-4

  • HostRole: Set to Primary on host responsible for File replication and/or the HA database configuration.
  • Database HA: Yes to use two databases in HA mode.


Primary Database Connection Pane

Toolpack requires access to a MySQL database through ODBC. Provide required connection parameters.

Fields with * are advanced parameters not show in typical setup.

Toolpack Primary Database Pane Screen Release 2-4

  • HostName: localhost and 127.0.0.1 are not allowed.
  • OdbcDriver: Name of the ODBC driver to use.

Note: MySQL® Connector/ODBC (aka MyODBC) version 3.51 needs to be installed on all platforms prior to toolpack installation. On Unix machines, unixODBC must also be installed and properly configured (ie: must have an entry [MySql] in /etc/odbcinst.ini). See Toolpack prerequisite for details.

Secondary Database Connection Pane

Toolpack requires access to a MySQL database through ODBC. Provide required connection parameters. Fields with * are advanced parameters not show in typical setup.

Toolpack Secondary Database Pane Screen Release 2-4

  • HostName: localhost and 127.0.0.1 are not allowed.

Note: Hostname for the Secondary database must differ from the Primary database hostname.

Optional License Installation Pane

Installer can optionally install license(s) for the Tmedia products. License file can be either a single license (*.dat), or a group of licenses (*.zip). To skip license installation , press Next button.

Toolpack License Pane Screen Release 2-4

Note: If you want to add a new license after the installation, simply copy it in the pkg/licenses/ of your toolpack installation.

Installation Review Pane

Toolpack Review Screen Release 2-4


Installation Progress Pane

Toolpack Progress Screen Release 2-4


Installation Complete Pane

After having clicked Finish. Type tbtoolpack start at a shell prompt to start the service, or simply launch the service

For 2.2.X Release: ${INSTALLDIR}/toolpack/service/tbtoolpack_service with administrator rights.

For 2.3.X Release and up:${INSTALLDIR}/toolpack/setup/{SystemId}/service/tbtoolpack_service with administrator rights.

For 2.4.X Release and up:${INSTALLDIR}/toolpack/setup/{SystemId}/service/tbtoolpack_service with administrator rights.


Toolpack complete Screen Release 2-4

Toolpack Text-mode Installation

If your host has more than one network interface. It is recommended to set --primip and --redip parameters.

TMG3200/TMG800

TMG3200/TMG800 usage example, installing release 2-4-44:

Warning: For TMG3200 setting --primip and --redip is mandatory and needs to be set to --primip 172.31.1.2 --redip 172.31.1.2.

 TBToolPack-2.4.44-Linux-tbrel-1-28-ppc-Install --primip 172.31.1.2 --redip 172.31.1.2


The next example shows the installation of Toolpack on the TB Linux

 # ./TBToolPack-2.4.44-Linux-tbrel-1-28-ppc-Install --primip 172.31.1.2 --redip 172.31.1.2
 
 1.8.6 >= 1.8.5
 0.9.4 >= 0.9.0

This will configure TBToolPack version 2.4.44 on your computer. Continue? [n/Y]Y



Basic parameters
 System Id [12358]
 
 
 Service Start Type ("Auto Start" "Demand Start") [Auto Start]
  • System Id: This is the tbx gateway port and will install tbtoolpack_${SystemId} OS service.
  • Service Start Type: "Auto Start" is use to start the Toolpack service at host boot up, "Demand Start" requires manual start.
Multi-Host parameters
 Multi-Host System [y/N] N
  • Multi-Host System: Tells if the system wil be composed of more than one host. For TMG users, only choose "N".
Primary Database Connection
 OdbcDriver (MySQL) [MySQL]
 
 
 Primary Database Hostname [TB005996] 172.31.1.2
 
 
 Primary Database Redundant IP []
 
 
 Primary Database Username [tbdb]
 
 
 Primary Database Password [tbdbpw]
 
 
 Primary Database Port [3306]
  • HostName: localhost and 127.0.0.1 are not allowed.
Optional License Installation

Note: If you want to add a new license after the installation, simply copy it in the pkg/licenses/ of your toolpack installation.

 License Location (*.zip/*.dat)
Installation Progress
 Installing TBToolPack...
 Copying
 Copying /lib/tb/toolpack/setup/12358/2.4/apps/toolpack_sys_manager/toolpack_sys_manager
 Copying /lib/tb/toolpack/tbtoolpack
Installation Complete
 Installation of TBToolPack complete.
 
 To start tbtoolpack service, type the following command at a shell prompt:
 tbtoolpack start
 
 For more options:
 tbtoolpack help
 #

Note: It is not necessary for you to start tbtoolpack again if you didn't stop it before. If you are not sure, always start tbtoolpack at this point.