+

Search Tips   |   Advanced Search

Configure servers with scripting

  1. Create servers.

    Use ServerManagement or AdminServerManagement script library

  2. Configure a unique HTTP session clone ID for each application server.

    Required for session affinity

  3. Configure database session persistence.

    Use the AdminConfig object to configure database persistence.

  4. Configure the Java virtual machine to run in debug mode.

    Use ServerManagement or configureJavaVirtualMachine script in the AdminServerManagement script library to modify the JVM configuration.

  5. Configure EJB containers.

    Use the AdminConfig object or the configureEJBContainer script in the AdminServerManagement script library to configure EJB containers in the configuration.

  6. Configure the Performance Monitoring Infrastructure.

    Configure the PMI in the environment. PMI enables the server to collect performance data from various product components. PMI provides information about average system resource usage statistics, with no correlation between the data across different components.

  7. Limit the growth of Java virtual machine log files.

    Use the AdminConfig object or the configureJavaProcessLogs script in the AdminServerManagement script library to configure the size of JVM log files. JVM logs record events or information from a running JVM.

  8. Configure Object Request Broker (ORB) services.

    Use the AdminConfig object or the configureORBService script in the AdminServerManagement script library to configure an ORB service in the environment. An ORB manages the interaction between clients and servers, using the Internet InterORB Protocol (IIOP). It enables clients to make requests and receive responses from servers in a network-distributed environment.

  9. Configure processes.

    Use the AdminConfig object or the configureProcessDefintion script in the AdminServerManagement script library to configure processes in the application server configuration. Enhance the operation of an application server by defining command-line information for starting or initializing the application server process. Process definition settings define runtime properties such as the program to run, arguments to run the program, and the working directory.

  10. Configure the runtime transaction service.

    Use the AdminControl object or the configureTransactionService script in the AdminServerManagement script library to configure transaction properties for servers. The transaction service is a server runtime component that coordinates updates to multiple resource managers to ensure atomic updates of data. Transactions are started and ended by applications or the container in which the applications are deployed.

  11. Set port numbers to the serverindex.xml file.

    Use the AdminConfig object, AdminTask object, or the scripts in the AdminServerManagement script library to modify the port numbers specified in the serverindex.xml file. The end points of the serverindex.xml file are part of different objects in the configuration.

  12. Disable components.

    Use the AdminConfig object or the configureStateManageable script in the AdminServerManagement script library to disable components by invoking operations. This topic describes how to disable the nameServer component of the product. We can modify the examples in this topic to disable other components.

  13. Disable the trace service.

    Refer to the topic on disabling trace service for more information.

  14. Configure servlet caching.

    We can configure servlet caching with scripting and the wsadmin tool. The dynamic cache service works within an application server JVM, intercepting calls to cacheable objects. For example, it intercepts calls through a servlet service method or a command execute method, and either stores the output of the object to the cache or serves the content of the object from the dynamic cache.

  15. Modify variables.

  16. Increase the Java virtual machine heap size.


Subtopics

  • Use wsadmin scripting
  • Get started with wsadmin scripting