How to auto shutdown WebLogic Managed Server? if “high CPU” then “SHUTDOWN” (WLST Script)

auto shutdown weblogic managed server wlst script and wlsdm and devops

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.

auto shutdown weblogic managed server wlst script and wlsdm and devops

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:

 

Leave a Comment

Your email address will not be published. Required fields are marked *