Configuring Solution Package for Solace, Version 5.1.1

This section describes the required configurations, for both RTView Cloud and On-premise, as well as the optional configurations available for the Solution Package for Solace in the RTView Configuration Application. You must define data source connections for each message router or High Availability pair that you want to monitor on the CONNECTIONS tab. You can also optionally modify the default data update rates and historical data collection configurations on the DATA COLLECTION and DATA STORAGE tabs.

Configuring Data Collection

To configure data collection:

  • Navigate to the Solution Package Configuration > Solace > CONNECTIONS tab and click the icon.

The Add Connection dialog displays.

  • Select the HA Pair button to create connections to your primary and backup servers.

  • Specify the connection information and click SAVE where:

Connection Name: Enter a unique string to identify the connection.

Primary URL: Enter the URL to be used for the Primary Broker connection, which contains the IP address or host name and the port number that can be resolved by your network name resolution method.

Primary Username: Enter the username to be used when connecting to the Primary Broker. This field is only required when the connection has been secured.

Primary Password: This password is used when connecting to the Primary Broker. This field is only required when the connection has been secured. By default, the password entered is hidden. Click the  icon to view the password text.

Backup URL: Enter the URL to be used for the Backup Broker connection, which contains the IP address or host name and port number. The host name is the one that can be resolved by your network name resolution method.

Backup Username: Enter the username to be used when connecting to the Backup Broker. 

Backup Password: This password is used when connecting to the Backup Broker.  By default, the password entered is hidden. Click the  icon to view the password text.

  • Select the Standalone Broker button to create a connection to a standalone broker.
  • Specify the connection information and click SAVE where:

Edition: Toggle ON if the connection is a Solace PubSub+ Event Broker: Cloud service instance.

Connection Name: Enter a unique string to identify the connection of the message broker.

Host:Port: Enter the host:port combination to be used for the broker. Only available when the Edition toggle is disabled.

URL: Enter the URL to be used for the connection, which contains an IP address or the host name that can be resolved by your network name resolution method and the port number configured for your broker. Only available when the Edition toggle is enabled.

Username: The username is used when creating the connection to the broker. 

Password: This password is used when creating the connection to the broker.  By default, the password entered is hidden. Click the  icon to view the password text.

SEMP Version: Specify the SEMP Version used by the connection. Only available when the Edition toggle is enabled.

Solace Cloud Event Brokers: You need to provide the exact SEMP version on each Solace Cloud Broker. Use the Solace Cloud console to get the value for the Solace Broker Version field, under Stats. The broker version aligns with the SEMP v1 version. You will use the first three digits, including any decimal points, of the value shown in the Solace Cloud Event Broker Solace Broker Version field, concatenated with this string: VMRFor example, if the value for the Solace Broker Version field is 9.1.1.1.0, you enter: 9.1.1VMR

VPN Name: Enter the name of the VPN that you want to monitor. Only available when the Edition toggle is enabled.

Once saved, your newly saved connection displays in the Message Broker Connections region on the CONNECTIONS tab.

  • If you want to modify the default values for the poll rates for all caches, you can update the default polling rates in Solution Package Configuration > Solace > DATA COLLECTION > Poll Rates.

Note: When modifying poll rates, you should take your system architecture and number of elements per cache into account and ensure that you are not changing the poll rates to values that might negatively impact system performance.

The following options are available:

Poll Rate: Enter the query interval, in seconds, to collect data updates. Caches impacted by this field are SolEndpointStats, SolEndpoints, SolClients, SolClientStats, SolBridges, SolAppliances, SolBridgeStats, SolApplianceInterfaces and SolApplianceMessageSpool.

Poll Rate Large: Enter the time interval, in seconds, to check for data updates. Caches impacted by this field are SolCspfNeighbors and SolEnvironmentSensors.

  • If you want to modify the default value for the time in which alerts in the SolaceEventAlertCache are cleared, you can update the default value in the Clear Time field in Solution Package Configuration > Solace > DATA COLLECTION > Solace Event Module Alerts.

Obtain SEMP Version

This section is only relevant to you if Edition is toggled on for the connection (because the connection is a Solace Event Broker: Cloud service instance).

You need to provide the exact SEMP version on each of your Solace Cloud Brokers.

Refer to the Solace Cloud console (see the value for the Solace Broker Version field) to obtain the SEMP version from Solace Cloud Brokers.  The broker version aligns with the SEMP v1 version. You enter in the property is the first three digits of the version concatenated with this string: VMR.

For example: 9.1.1VMR

Configuring Data Storage (Optional)

You can specify the number of history rows to store in memory, the compaction rules, the duration before metrics are expired and deleted, and the different types of metrics that you want the Historian to store in the DATA STORAGE tab in the RTView Configuration Application. This section is optional.

Defining the Storage of In Memory History

You can modify the maximum number of history rows to store in memory in the DATA STORAGE tab. The History Rows property defines the maximum number of rows to store for the SolVpns, SolClientStats, SolAppliances, SolEndpoints, SolCspfNeighbors, SolBridgeStats, SolApplianceInterfaces, SolApplianceMessageSpool, SolEndpointStats, and SolAppliancesQuality. caches. The default setting for History Rows is 50,000. To update the default settings:

  • Navigate to the Solution Package Configuration > Solace > DATA STORAGE tab.
  • In the Size region, click the History Rows field and specify the desired number of rows.

Defining Compaction Rules

Data compaction, essentially, is taking large quantities of data and condensing it using a defined rule so that you store a reasonably sized sample of data instead of all of your data, thus preventing you from potentially overloading your database. The available fields are:

Condense Interval -- The time interval at which the cache history is condensed for the following caches: SolVpns, SolClientStats, SolAppliances, SolEndpoints, SolCspfNeighbors, SolBridgeStats, SolApplianceInterfaces, SolApplianceMessageSpool, and SolEndpointStatscaches.. The default is 60 seconds.

Condense Raw Time -- The time span of raw data kept in the cache history table for the following caches: SolVpns, SolClientStats, SolAppliances, SolEndpoints, SolCspfNeighbors, SolBridgeStats, SolApplianceInterfaces, SolApplianceMessageSpool, and SolEndpointStats. The default is 1200 seconds.

Compaction Rules -- This field defines the rules used to condense your historical data in the database for the following caches: SolVpns, SolClientStats, SolAppliances, SolEndpoints, SolCspfNeighbors, SolBridgeStats, SolApplianceInterfaces, SolApplianceMessageSpool, and SolEndpointStats. By default, the columns kept in history will be aggregated by averaging rows with the following rule 1h -;1d 5m;2w 15m, which means the data from 1 hour will not be aggregated (1h - rule), the data over a period of 1 day will be aggregated every 5 minutes (1d 5m rule), and the data over a period of 2 weeks old will be aggregated every 15 minutes (2w 15m rule).

To modify these settings:

  • Navigate to the Solution Package Configuration > Solace > DATA STORAGE tab.
  • In the Compaction region, click the Condense Interval, Condense Raw Time, and Compaction Rules fields and specify the desired settings.

Note: When you click in the Compaction Rules field, the Copy default text to clipboard link appears, which allows you copy the default text (that appears in the field) and paste it into the field. This allows you to easily edit the string rather than creating the string from scratch.

Defining Expiration and Deletion Duration Metrics

The data for each metric is stored in a specific cache and, when the data is not updated in a certain period of time, that data will either be marked as expired or, if it has not been updated for an extended period of time, it will be deleted from the cache altogether. The following fields are available:

Expire Time - The number of seconds to wait for a data update before cached history data is shown as Expired in displays. The default time is 60 seconds. The caches impacted by this field are SolVpns, SolBridges, SolClients, SolClientStats, SolAppliances, SolEndpoints, SolCspfNeighbors, SolBridgeStats, SolApplianceInterfaces, SolApplianceMessageSpool, SolEndpointStats, SolEnvironmentSensors and SolAppliancesQuality.

Delete Time - The number of seconds to wait for a data update before cached history data is removed from displays. The default time is 1200 seconds. The caches impacted by this field are SolVpns, SolBridges, SolEndpoints, SolBridgeStats, SolEndpointStats and SolEnvironmentSensors.

Delete Time for Clients - The number of seconds to wait for a response from clients before removing client from displays. The default time is 600 seconds. The caches impacted by this field are SolClients and SolClientStats.

To modify these defaults:

  • Navigate to the Solution Package Configuration > Solace > DATA STORAGE tab.
  • In the Duration region, click the Expire TimeDelete Time, and Delete Time for Clients fields and specify the desired settings.

Enabling/Disabling Storage of Historical Data

The History Storage section allows you to select which metrics you want the Historian to store in the history database. By default, the following historical data is saved to the database: Message Brokers (SolAppliances cache), CSPF Neighbors (SolCspfNeighbors cache), and VPNs (SolVpns cache). The remaining historical data is not saved to the database by default (Bridge Stats (SolBridgeStats cache), Client Stats (SolClientStats cache), Endpoint Stats (SolEndpointStats cache), Endpoints (SolEndpoints cache), Interface (SolApplianceInterfaces cache), Message Spools (SolApplianceMessageSpool cache), Syslog Events (SolEventModuleEvents cache), and Syslog Event Alerts (SolEventModuleAlerts cache). To enable/disable the collection of historical data for the caches in which History Storage is (optionally)  configured, perform the following steps:

  • Navigate to the Solution Package Configuration > Solace > DATA STORAGE tab.
  • In the History Storage region, (de)select the toggles for the various metrics that you (do not) want to collect. Blue is enabled, gray is disabled.

Defining a Prefix for All History Table Names for Metrics

The History Table Name Prefix field allows you to define a prefix that will be added to the database table names so that the Monitor can differentiate history data between data servers when you have multiple data servers with corresponding Historians using the same solution package(s) and database. In this case, each Historian needs to save to different tables, otherwise the corresponding data server will load metrics from both Historians on startup. Once you have defined the History Table Name Prefix, you will need to create the corresponding tables in your database as follows:

  • Locate the .sql table creation sentences for your database platform under rtvapm/solmon/dbconfig and make a copy of the template.
  • Add the value you entered for the History Table Name Prefix to the beginning of all table names in the copied .sql file.
  • Use the copied .sql table creation sentences to create the tables in your database.

Note: If you are using Oracle for your Historian Database, you must limit the History Table Name Prefix up to 2 characters because Oracle does not allow table names greater than 30 characters (and the longest table name for the solution package is 28 characters).

To add the prefix:

  • Navigate to the Solution Package Configuration > Solace > DATA STORAGE tab.
  • Click on the History Table Name Prefix field and enter the desired prefix name.