Search code examples
pythonweblogicwlst

WLST - Node Manager Commands : "nmStart" can it start many weblogic servers at the same time?


we are using "WLST - Node Manager Commands" to control our servers restart.

but to minimize the restarting time, can we run multi servers at the same time ?

our code right now working like this :

nmConnect('weblogic','password','net4dns','5556','mydomain','/weblogic103/domains/mydomain')
    nmStart('Net4')
    nmDisconnect()

this code is starting Net4 server only but I want to start many servers together.

is that possible ?


Solution

  • Better you use this following logic block='false' that allows you parallel processing

        connect('weblogic','weblogic','t3://yourhost.com:7001')
        start('net1', block='false')
        start('net2', block='false')
        start('net3', block='false')