Search code examples
weblogicweblogic11g

How can I create a new WebLogic managed server and add it to the cluster "dynamically"?


I want to be able to "spin up" additional WebLogic 11g managed servers in a cluster to add additional horizontal instances.

The use case is that I start with a WebLogic cluster that has X instances and I want to add an additional instance dynamically i.e. using a script and using a live system (without any downtime).

What can I use (e.g. WLST?) to create the additional managed server, configure it e.g. add it to the domain? Has anyone done this?


Solution

  • here is an example. You can do a svr.setCluster and svr.setMachine