WLSDM for WebLogic
Published in

WLSDM for WebLogic

Sample Operational Scheduler Script on WLSDM

Batch server process needs daily start and stop threadpoolworker operations. We have prepared how to stop and start threadpoolworker process. You can schedule these scripts/actions in WLSDM…

How to schedule threadpoolworker process?

WLSDM DevOps MBean Script:

Start TPW process is using “starttpw.sh -l job” command. The script is counting TPW process, if TPW process already exist, the script exits without execute starttpw.sh -l job command.

stopTPW.sh script stops threadpoolworker by “spl.sh -b stop” command. stopTPW.sh is also checking TPW processes, if the process still exists, process executes “kill -9 $PID” command.

WLSDM Threadpoolworker Scheduler Output:

How to move WebLogic/threadpool rotated logs?

If Threadpoolworker logs or server logs getting too large, there is another schedule script “WLSDM-LinuxMoveLogs.sh”. The script finds rotated log files then moves log files to the backup folder. Set “logPath” and “backupPath” then use WLSDM scheduler for daily backup.

WLSDM DevOps MBean Script:

WLSDM Script Output:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store