Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Manage servers and nodes with scripting


Set development mode for server objects using scripting

We can use scripting and wsadmin.sh to configure development mode for server objects. Perform the following steps to set the development mode for a server object:


Procedure

  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:

      ### Jacl

      $AdminConfig modify $server "{developmentMode true}"
      

      ### Jython

      AdminConfig.modify(server, [['developmentMode', 'true']])
      

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

  4. In a network deployment environment only, synchronize the node. See the topic about synchronizing nodes using wsadmin.sh for more information.


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


Related


Commands for the AdminConfig object using wsadmin.sh

+

Search Tips   |   Advanced Search