Use the OpenEdge HealthScanner
- Last Updated: July 3, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
The OpenEdge HealthScanner is intended for use with production instances. System administrators must enable the IP filter to secure the connection used by the HealthScanner.
As an opt-in feature, system administrations must enable the HealthScanner and enable the overhead associated with data collection. To simplify the demonstration of this feature, a development instance is used.
Enable the HealthScanner
The OpenEdge HealthScanner is disabled by default. Use the tcman feature command to enable it.
- Create a PAS for OpenEdge development instance in the OpenEdge WRK directory,
for example:
proenv>cd %WRKDIR% proenv>pasman create -Z dev HealthInstNote: The-Z devoption indicates a development security model, rather than a production security configuration. - Change to the
bindirectory of the instance:proenv>cd instance-name\bin - List the
feature=valuepairs using thetcman featurecommand:
By default, the feature list indicates thatproenv>tcman feature VersionLoggerListener=off SecurityListener=off APRListener=off PSClifecycle=on PSCRegistry=on HealthCheck=off HTTP=on HTTPS=on AJP13=off Cluster=off UserDatabase=on JAASRealm=off LDAPRealm=off PASInstrument=off RemoteHostValve=on RemoteAddrValve=on SingleSignOn=on AccessLog=on CrawlerSessionManager=on StuckSessionValve=offHealthCheck=off, which means that the feature is disabled. - Enable the HealthCheck feature with the following
command:
proenv>tcman feature HealthCheck=on - To verify the change, use TCMAN to poll the HealthCheck
value:
proenv>tcman feature HealthCheck HealthCheck=on
Turn on data collection
The data collector for the OpenEdge HealthScanner must be enabled in
addition to the HealthCheck feature. The settings to enable and configure the data
collector for the OpenEdge HealthScanner are located in the instance-name\conf\appserver.properties file.
When the data collector is enabled, it reads the results from the
probes which are documented in the health.config
file.
To enable data collection for the OpenEdge HealthScanner, perform the following steps:
- Enable the collector to collect data from the probes using the
tcman configcommand:proenv>tcman config psc.as.health.enabled=trueNote: To echo back the newly set value, enter the following command:proenv>tcman config psc.as.health.enabled - To learn more about the probes that provide data to the OpenEdge HealthScanner,
see the
health.configfile located in theinstance-name\confdirectory. - Restart the server:
proenv>tcman pasoestart -restart - Confirm that the HealthScanner is running:
The lineproenv>tcman env proenv>tcman env catalina home: C:\Progress\OpenEdge\servers\pasoe catalina base: C:\OpenEdge\WRK\HealthInst catalina tmpdir C:\OpenEdge\WRK\HealthInst\temp catalina pid: C:\OpenEdge\WRK\HealthInst\logs\catalina-HealthInst.pid java home: C:\Progress\OpenEdge\jdk jre home: manager http port: 8810 manager https port:8811 manager shut port: 8812 manager ajp13 port: 8009 manager health port: 8899 manager URL: http://localhost:8810/manager config type: instance config alias: HealthInst config parent: C:/Progress/OpenEdge/servers/pasoe server running: 1 instance tracking: True instance file: C:\Progress\OpenEdge\servers\pasoe\conf\instances.windows server process-id: 28040 window title: PAS-HealthInst-54629 security model: developer service: false servicename:manager health port: 8899identifies the port for the HealthScanner.
You are ready to Access HealthScanner data, which can be displayed in a variety of formats and in different configurations.