Database with TIBCO Enterprise Message Service™ Configuration for bwagent
The bwagent can be configured to use an external relational database for persistence and TIBCO Enterprise Message Service™ (EMS) for transport among bwagents. PostgreSQL, MySQL, Microsoft SQL, and Oracle are the supported databases.
For a multi-agent, multi-machine environment using an external database and TIBCO Enterprise Message Service, the following properties in the bwagent.ini file are important.
Property Name | Description |
---|---|
bw.agent.technology.dbems.db.provider | Database provider. One of: |
bw.agent.technology.dbems.db.driver | The database driver.
Example: dbDriver=org.postgresql.Driver |
bw.agent.technology.dbems.db.connectionURL | The URL to connect to the database.
Example: jdbc:postgresql://localhost:5432/bwadmindb |
bw.agent.technology.dbems.db.userName | The user name to authenticate to the database. |
bw.agent.technology.dbems.db.password | The password to authenticate to the database. |
bw.agent.technology.dbems.ems.serverUrl | The URL to connect to the EMS server.
Example: tcp://localhost:7222 |
bw.agent.technology.dbems.ems.userName | The user name to authenticate to the EMS server. The default is admin. |
bw.agent.technology.dbems.ems.password | The password to authenticate to the EMS server. There is no password by default. You can provide obfuscated password. For more information about how to obfuscate passwords, see Obfuscating or Encrypting Password for Database, EMS, and FTL Users. |
bw.agent.technology.dbems.ems.requestQueueName | Member Queue Name. Set the value as
bw6.admin.operations.queue.<memberQueueName> where
memberQueueName is the value of
bw.agent.memberName.
For example, If bw.agent.memberName=machine1, bw.agent.technology.dbems.ems.requestQueueName=bw6.admin.operations.queue.machine1 |
bw.agent.technology.requestTimeout | Timeout for requests sent to other bwagents The default value is 6000 milliseconds. |
bw.agent.technology.remote.status.requestTimeout |
Timeout for requests sent to bwagents to find the status of AppNodes, applications, and other bwagents. The default value is 3000 milliseconds. |
bw.agent.technology.dbems.ems.reconnection.interval |
Set the
bw.agent.technology.dbems.ems.reconnection.interval property to specify, in milliseconds, how often the bwagent checks its connection with the EMS server.
The default value is 10000 milliseconds. |
- PostgreSQL — For instructions, see Configuring bwagent for PostgreSQL and TIBCO Enterprise Message Service.
- MySQL — For instructions, see Configuring bwagent for MySQL and TIBCO Enterprise Message Service.
- Microsoft SQL — For instructions, see Configuring bwagent for Microsoft SQL Server and TIBCO Enterprise Message Service.
- Oracle — For instructions, see Configuring bwagent for Oracle and TIBCO Enterprise Message Service.
- DB2 — For instructions, see Configuring bwagent for DB2 and TIBCO Enterprise Message Service.