WebLogic JVM Instance (Managed Server): if “high CPU” then “SHUTDOWN”
I have prepared a new screen cast. May be it will inspire you to create your own automation.
New screen cast published to manage Oracle #WebLogic Server as a DevOps.
In this tutorial you are going to learn how to auto shutdown WebLogic managed server when it consumes all the server CPU in the machine.
Script Source
Script source GitHub URL: https://github.com/admineer/shutdownWebLogicManagedServer
WLST Script:
import sys connect('weblogic','welcome1','t3://localhost:7001') domainRuntime() print("argument1: " + sys.argv[1]) shutdown(sys.argv[1],'Server','true',1000,force='true', block='true')
Youtube Screen-Cast: