Linux and UNIX systems: Discover database instances
Enable S-TAP to periodically discover database instances and send the results to the current active S-TAP system.
The Guardium Discovery Agent is a software agent automatically installed with the S-TAP package on a database server. The instance discovery agent reports database instances, listener, and port information to the Guardium system. Discovery does not find and report on every detail of the DB instances on the server.
Auto-discovery is enabled by default. Configure it with the parameter discovery_interval.
- Database types supported by S-TAP Discovery
- Oracle, DB2, Informix, MySQL, PostgreSGL, Enterprise PostgreSQL, Sybase, Hadoop, Teradata, Netezza, MemSQL.
Newly discovered database instances can be seen in the Discovered Instances report. From this report, datasources and inspection engines can quickly be added to Guardium using the Actions menu.
If databases on the database server are not operational (started) or are added later, the
Discovery Agent can still discover these instances by running the Run Discovery Agent command from
the STAP Control window (, and select Run Database Instance Discovery).
S-TAP Discovery can be run manually but this action is not suggested. The main reason to run it manually is for debugging purposes. If a new request comes in from the user interface while a scheduled discovery is running, the new request is ignored.
- with the --update-tap flag: edits the guard_tap.ini to add or update inspection engines
- with the --send-to-sqlguard flag (or with no flag, this is the default): sends the found changes to the Guardium system, where they appear in the Discovered Instances report
- with the --print-output flag: prints the found changes to stdout (for debugging)
WARNING: Discovery is enabled and STAP is running as user guardium.
The discovery function is limited when STAP runs as user guardium.
Discovery is most effective when 'tap_run_as_root=1'
The S-TAP Discovery application parameters should be left at their default values, except for advanced users. Discovery application are described in Linux and UNIX systems: Discovery parameters.
Discovery also uses these parameters:
- tap_ip: the S-TAP with which the database instance is associated.
- sqlguard_ip: S-TAP discovery results are sent to this IP. (The Guardium system with primary=1 in the SQLguard parameters. )