WAS v8.5 > Script the application serving environment (wsadmin)Manage servers and nodes with scripting
Use wsadmin to administer your administrative architecture and runtime settings.
- Use the following topics to manage server configurations with wsadmin:
- Stopping servers using scripting
- Querying server state using scripting
- List running applications on running servers using wsadmin.sh
- Start listener ports using scripting
- Manage generic servers using scripting
- Set development mode for server objects using scripting
- Disable parallel startup using scripting
- Obtain server version information with scripting
- Use the following topics to view wsadmin command reference information for server and node management:
- UnmanagedNodeCommands command group for AdminTask using wsadmin.sh
- ManagedObjectMetadata command group for AdminTask
- Utility command group of AdminTask
- ConfigArchiveOperations command group for AdminTask using wsadmin.sh
- Use the following topics to use properties files to manage the environment:
- Create server, cluster, application, or authorization group objects using properties files and wsadmin scripting
- Delete server, cluster, application, or authorization group objects using properties files
- Create and deleting configuration objects using properties files and wsadmin scripting
Subtopics
- Create server, cluster, application, or authorization group objects using properties files and wsadmin scripting
Use this topic to create new server, cluster, application, or authorization group objects for the configuration.- Delete server, cluster, application, or authorization group objects using properties files
Use this topic to delete server, cluster, application, or authorizationgroup objects from your configuration.- Create and deleting configuration objects using properties files and wsadmin scripting
Use this topic to use an extracted properties file to create or delete configuration objects that are not server, cluster, application, or authorization group object types.- Stopping a node using wsadmin.sh
Use scripting to stop a node agent.- Stopping servers using scripting
We can stop servers using scripting and wsadmin.- Querying server state using scripting
We can use wsadmin and scripting to query server states.- List running applications on running servers using wsadmin.sh
Use wsadmin and scripting to list all the running applications on all the running servers.- Start listener ports using scripting
These steps demonstrate how to start a listener port on an application server using scripting.- Set development mode for server objects using scripting
We can use scripting and wsadmin to configure development mode for server objects.- Disable parallel startup using scripting
We can use scripting to disable parallel startup of servers.- Obtain server version information with scripting
Use wsadmin and scripting to obtain server version information.- PropertiesBasedConfiguration command group for AdminTask using wsadmin.sh
We can use scripting to customize part of your system configuration using properties files. The WebSphere configuration repository stores many different types of configurations. We can use properties files to customize some of these configurations. We can customize some configurations created by the WebSphere Common Configuration Model (WCCM) or configurations deployed as Java EE applications.- NodeGroupCommands command group for AdminTask using wsadmin.sh
We can use the Jython or Jacl scripting languages to manage servers with wsadmin. The commands and parameters in the NodeGroupCommands group can be used to create and manage node groups and node group members.- Utility command group of AdminTask
We can use the Jython or Jacl scripting languages to manage servers with wsadmin. The commands and parameters in the Utility group can be used to change the host name of a node, to query for the name of the deployment manager, and to determine if the system is a single server or network deployment.- ManagedObjectMetadata command group for AdminTask
We can use the Jython or Jacl scripting languages to manage servers with wsadmin. The commands and parameters in the ManagedObjectMetadata group can be used to retrieve configuration and metadata information for a specified node.- ServerManagement command group for AdminTask
We can use the Jython or Jacl scripting languages to manage servers with wsadmin. The commands and parameters in the ServerManagement group can be used to create and manage application server, web server, proxy server, generic server and JVM configurations.- UnmanagedNodeCommands command group for AdminTask using wsadmin.sh
We can use the Jython or Jacl scripting languages to manage servers with wsadmin. The commands and parameters in the UnmanagedNodeCommands group can be used to create and query for managed and unmanaged nodes. An unmanaged node is a node that does not have a node agent or a deployment manager.- ConfigArchiveOperations command group for AdminTask using wsadmin.sh
We can use the Jython or Jacl scripting languages to configure servers in the environment. The commands and parameters in the ConfigArchiveOperations group can be used to export or import server configurations and entire cell configurations.- Stopping a node using wsadmin.sh
Use scripting to stop a node agent.- Start servers using scripting
We can use scripting and wsadmin to start servers.- Stopping servers using scripting
We can stop servers using scripting and wsadmin.- Querying server state using scripting
We can use wsadmin and scripting to query server states.- List running applications on running servers using wsadmin.sh
Use wsadmin and scripting to list all the running applications on all the running servers.- Start listener ports using scripting
These steps demonstrate how to start a listener port on an application server using scripting.- Manage generic servers using scripting
We can use WAS to define, start, stop, and monitor generic servers.- Set development mode for server objects using scripting
We can use scripting and wsadmin to configure development mode for server objects.- Disable parallel startup using scripting
We can use scripting to disable parallel startup of servers.- Obtain server version information with scripting
Use wsadmin and scripting to obtain server version information.- NodeGroupCommands command group for AdminTask using wsadmin.sh
We can use the Jython or Jacl scripting languages to manage servers with wsadmin. The commands and parameters in the NodeGroupCommands group can be used to create and manage node groups and node group members.- Utility command group of AdminTask
We can use the Jython or Jacl scripting languages to manage servers with wsadmin. The commands and parameters in the Utility group can be used to change the host name of a node, to query for the name of the deployment manager, and to determine if the system is a single server or network deployment.- ManagedObjectMetadata command group for AdminTask
We can use the Jython or Jacl scripting languages to manage servers with wsadmin. The commands and parameters in the ManagedObjectMetadata group can be used to retrieve configuration and metadata information for a specified node.- AdminSDKCmds command group for AdminTask
We can use commands and parameters in the AdminSDKCmds group in the Jython or Jacl scripting languages to manage software development kit configurations.- ServerManagement command group for AdminTask
We can use the Jython or Jacl scripting languages to manage servers with wsadmin. The commands and parameters in the ServerManagement group can be used to create and manage application server, web server, proxy server, generic server and JVM configurations.- UnmanagedNodeCommands command group for AdminTask using wsadmin.sh
We can use the Jython or Jacl scripting languages to manage servers with wsadmin. The commands and parameters in the UnmanagedNodeCommands group can be used to create and query for managed and unmanaged nodes. An unmanaged node is a node that does not have a node agent or a deployment manager.- ConfigArchiveOperations command group for AdminTask using wsadmin.sh
We can use the Jython or Jacl scripting languages to configure servers in the environment. The commands and parameters in the ConfigArchiveOperations group can be used to export or import server configurations and entire cell configurations.- Directory conventions
References in product information to app_server_root, profile_root, and other directories imply specific default directory locations. This article describes the conventions in use for WAS.
Related
Use wsadmin scripting
Get started with wsadmin scripting