WAS v8.5 > Script the application serving environment (wsadmin) > Manage servers and nodes with scripting

Disable parallel startup using scripting

We can use scripting to disable parallel startup of servers.

Before starting this task, wsadmin must be running. See the topic about starting the wsadmin scripting client using wsadmin.sh for more information.

Perform the following steps to disable parallel startup:

  1. Locate the server object. The following example selects the first server found:

    • Jacl:

        set server[$AdminConfig getid /Server:server1/]
    • Jython:

        server = AdminConfig.getid('/Server:server1/']

  2. Enable development mode. For example:

    • Jacl:

        $AdminConfig modify $server "{parallelStartEnabled false}"
    • Jython:

        AdminConfig.modify(server, [['parallelStartEnabled', 'false']])

  3. Save the configuration changes. See the topic about saving configuration changes with wsadmin for more information.


Related


Use the wsadmin scripting AdminConfig object for scripted administration
Start the wsadmin scripting client using wsadmin.sh
Save configuration changes with wsadmin


Reference:

Commands for the AdminConfig object using wsadmin.sh


+

Search Tips   |   Advanced Search