Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Use the script library to automate the application serving environment using wsadmin.sh


Saving changes to the script library

The script library provides Jython script procedures to assist in automating the environment. We can save changes to the master configuration repository, disable the automatic saving of configuration changes, or discard configuration changes.

The scripting library provides a set of procedures to automate the most common application server administration functions. There are three ways to use the Jython script library.

The script library saves configuration changes to the master configuration repository by default when each script procedure completes. We can disable or enable the automatic saving of configuration changes with the AdminUtilities.configureAutoSave() script procedure. We can alternatively save changes to the configuration before leaving the wsadmin process by using the AdminConfig.sav() command. We can discard configuration changes with the AdminConfig.reset() command.

CAUTION:

If you disable the autosave procedure, call script procedures, then enable the autosave procedure, automatic saving of script procedures in the same wsadmin process does not occur until you call another script procedure.


Procedure


Results

Depending on the steps that you completed, we have disabled or enabled the automatic saving of configuration changes, completed the saving of configuration changes using the save command, or discarded the configuration changes.


What to do next

Continue administering the environment using the script library.
Automate server administration using wsadmin.sh
Automate administrative architecture setup using wsadmin.sh library
Automate application configuration
Automate business-level application configuration
Automate data access resource configuration using wsadmin.sh
Automate messaging resource configuration
Automate authorization group configuration
Automate resource configuration
Display script library help information using scripting


Related


Server settings configuration scripts
Server configuration scripts
Cluster configuration scripts
Cluster administration scripts
Node administration scripts
Node group configuration scripts
Application installation and uninstallation scripts
Application query scripts
Application update scripts
Application export scripts
Application deployment configuration scripts
Application administration scripts
J2C query scripts
J2C configuration scripts
JMS configuration scripts
JMS query scripts
JDBC configuration scripts
JDBC query scripts
Resource configuration scripts
Authorization group configuration scripts
Business-level application configuration scripts
Utility scripts

+

Search Tips   |   Advanced Search