Introduction: Administrative scripting (wsadmin)
The WebSphere admin wsadmin scripting program is a , non-graphical command interpreter environment enabling you to run admin operations in a scripting language. The wsadmin tool is intended for production environments and unattended operations. Use wsadmin to perform the same tasks that we can perform using the admin console.
The following list highlights the topics and tasks available with scripting:
- Getting started with scripting
Provides an introduction to WAS scripting and information about using wsadmin. Topics include information about the scripting languages and the scripting objects, and instructions for starting wsadmin.
- Use the Jython script library
The script library provides Jython script procedures to assist in automating your environment. Use the sample scripts to...
- manage applications
- resources
- servers
- nodes
- clusters
We can also use the script procedures as examples to learn the Jython syntax.
- Deploy applications
Provides instructions for deploying and uninstalling applications. For example...
- stand-alone Java archive files and Web archive files
- the admin console
- remote EAR files
- file transfer applications
- Manage deployed applications
Includes tasks that you perform after the application is deployed. For example...
- starting and stopping applications
- checking status
- modifying listener address ports
- querying application state
- configuring a shared library
- Set servers
Provides instructions for configuring servers, such as...
- creating a server
- modifying and restarting the server
- configuring the Java virtual machine
- disabling a component
- disabling a service
- Set connections to Web servers
Includes topics such as...
- regenerating the plug-in
- creating new virtual host templates
- modifying virtual hosts
- Manage servers
Includes tasks that you use to manage servers. For example...
- stopping nodes
- starting and stopping servers
- querying a server state
- starting a listener port
- Clustering servers
Includes topics about...
- creating clusters
- creating cluster members
- querying a cluster state
- removing clusters
- Set security
Includes security tasks such as enabling and disabling security.
- Set data access
Includes topics...
- Set a JDBC provider
- Defining a data source
- Set connection pools
- Set messaging
Includes topics about messaging, such as...
- JMS connection
- JMS provider
- WebSphere queue connection factory
- MQ topics
- Set mail, URLs, and resource environment entries
Includes topics such as...
- mail providers
- mail sessions
- protocols
- resource environment providers
- referenceables
- URL providers
- URLs
- Dynamic caching
Includes caching topics, for example, creating, viewing and modifying a cache instance.
- Troubleshooting
Provides information about how to troubleshoot using scripting. For example, tracing, thread dumps, profiles, and so on.
- Obtaining product information
Includes tasks such as querying WAS identification.
- Scripting reference material
Includes all of the reference material related to scripting. Topics include the syntax for wsadmin and for the admin command framework, explanations and examples for all of the scripting object commands, the scripting properties, and so on.
Related tasks
Use scripting (wsadmin)