I have to do some work on my OpenEdge system and don't want ProTop to alert me while this is going on, how do I put alert emails and texts on hold?
NOTE: If you have configured ProTop to monitor your OE Replication server (running OE Repl+) be sure to repeat these steps on your target db server.
Stopping ProTop for Dictionary Changes
If you apply dictionary changes in single-user mode or use online schema changes, ProTop does not interfere and does not need to be stopped.
If the database runs in multi-user mode and you attempt to load a df from the data dictionary without checking the "Add new objects online" box, the ProTop agent, a regular 4GL client, will prevent exclusive access to the database schema.
In that case, you can pause ProTop using one of the following methods:
Schedule an Outage (Preferred)
Run the maintenance.sh (or .bat on Windows) script, using the "on" option and specifying the number of hours for the outage:
bin/maintenance.sh on 2 <== for *nix
or
bin\maintenance.bat on 2 <== for Windows
This will disable ProTop for all of the resources on this server. It shuts down the Progress sessions so other sessions can get a schema lock. It also creates an Outage entry on the ProTop Portal for these resources so that emails and pages are not sent out during that window.
Manual Stop
If you prefer to control the stop and start of ProTop manually:
-
Stop the ProTop service
- For UNIX - comment out the dbmonitor cron job
- For Windows - stop the ProTop3 DB Monitor Windows service
- Delete $PROTOP/tmp/*.flg. This stops all ProTop processes (dbmonitor and pt3agents).
Restart ProTop
When you finish your schema changes or other maintenance, re-enable ProTop by either:
- Restarting the ProTop Service if you stopped it manually or, by
- Ending the scheduled maintenance you created above by running:
bin/maintenance.sh off <== for *nix
or
bin\maintenance.bat off <== for WindowsThis will allow the ProTop Service (dbmonitor) to restart monitoring for the resources on this server and deactivate the Outage entry on the portal.
- Repeat on your target db server(s).
Additionally ...
As of ProTop 326, the maintenance.[sh|bat] feature honors PORTALPORT, PORTALOPTIONS, and PROXY.