> For the complete documentation index, see [llms.txt](https://tmediadocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tmediadocs.telcobridges.com/telecom-references/developer-reference/toolpack-api/tboamapp.md).

# tboamapp

### Started By

Tboamapp is started by the [tbtoolpack\_service](https://tmediadocs.telcobridges.com/other-pages/operations/tbtoolpack-service). [Tbtoolpack\_service](https://tmediadocs.telcobridges.com/other-pages/operations/tbtoolpack-service) also monitors tboamapp and restarts it if required.

### Roles

#### Master

The master tboamapp is responsible for these roles:

* Starting the election process if another tboamapp instance is detected/lost
* Replicating packages (files + binaries) from [primary](https://tmediadocs.telcobridges.com/products/tmedia/features-and-solutions/features/redundancy-and-high-availability/primary-secondary) to [secondary](https://tmediadocs.telcobridges.com/products/tmedia/features-and-solutions/features/redundancy-and-high-availability/primary-secondary) host
* Managing/monitoring all the other Toolpack applications running on its host(ensuring that they are always running)
* Selecting configuration database(s) ([primary](https://tmediadocs.telcobridges.com/products/tmedia/features-and-solutions/features/redundancy-and-high-availability/primary-secondary) or [secondary](https://tmediadocs.telcobridges.com/products/tmedia/features-and-solutions/features/redundancy-and-high-availability/primary-secondary))
* Creating/upgrading the configuration database
* Applying package upgrades throughout the system
* Installing firmware and licenses on the device hardware
* Applying configuration changes throughout the system

#### Slave

The master tboamapp is responsible for these roles:

* Starting election process if another tboamapp instance is detected/lost
* Managing all the other Toolpack applications running on its host(ensuring that they are always running)

### High Availability

Tboamapp is a [Master/Slave](https://tmediadocs.telcobridges.com/products/tmedia/features-and-solutions/features/redundancy-and-high-availability/master-slave) type application. Every time a tboamapp instance is detected or lost, an election process is triggered. The election process will select one tboamapp instance to become [master](https://tmediadocs.telcobridges.com/products/tmedia/features-and-solutions/features/redundancy-and-high-availability/master-slave), and the other will be [slave](https://tmediadocs.telcobridges.com/products/tmedia/features-and-solutions/features/redundancy-and-high-availability/master-slave). If it is available, the tboamapp running on the [primary](https://tmediadocs.telcobridges.com/products/tmedia/features-and-solutions/features/redundancy-and-high-availability/primary-secondary) host will always win the election process; therefore, the [master](https://tmediadocs.telcobridges.com/products/tmedia/features-and-solutions/features/redundancy-and-high-availability/master-slave) will always fall back to the [primary](https://tmediadocs.telcobridges.com/products/tmedia/features-and-solutions/features/redundancy-and-high-availability/primary-secondary) host when available.

### Logs

* Logs for tboamapp can be located in one of the following three places:

> \[InstallDir]/toolpack/setup/*SystemId*/*MajorVersion*/apps/tboamapp/ /lib/tb/toolpack/setup/12358/2.3/apps/tboamapp/ C:\TelcoBridges\toolpack\setup\12358\2.3\apps\tboamapp\\


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://tmediadocs.telcobridges.com/telecom-references/developer-reference/toolpack-api/tboamapp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
