Managing environment configurations with properties files using wsadmin scripting
Use this topic to modify your environment using properties files. You can use the wsadmin tool to generate, validate and apply properties files in your application server, profile, node, or other resource configurations.
About this task
Using the PropertiesBasedConfiguration command group for the AdminTask object, you can extract
the configuration attributes and values from your environment to properties files. You can use this
functionality for various purposes, including:
- To modify your existing configuration in one location, instead of configuring multiple administrative console panels or running many commands
- To improve the application development life cycle
- Application servers
- Nodes
- Profiles
- Virtual hosts
- Authorization tables
- Data replication domains
- Variable maps
- Java™ Database Connectivity (JDBC) providers
- Uniform Resource Locator (URL) providers
- Mail providers
- Resource environment providers
- Java™ 2 Connector (J2C) resource adapters
Avoid trouble: You cannot apply a z/OS® operating system
properties file directly to a distributed operating system. Similarly, you cannot apply a
distributed operating system properties file directly to a z/OS operating system.
Complete the following steps to extract a properties file for an application server, edit the
properties, and apply them to your configuration. You can also use interactive mode with these
commands, as the following syntax
demonstrates:
AdminTask.commandName('-interactive')
Procedure
Modify an application server configuration, and apply the changes using a properties
file.