Work with server configuration files
Application server configuration files define the available application servers, their configurations, and their contents.
A configuration repository stores configuration data.
By default, configuration repositories reside in the config subdirectory of the profile root directory.
Do not store any non-default XML or XML backup files under the profile_root/config directory. Limit the config directory and subdirectories to valid default WAS configuration files. A variety of symptoms and exceptions are possible if non-default files are stored in this directory.
A cell-level repository stores configuration data for the entire cell and is managed by a file repository service that runs in the deployment manager. The deployment manager and each node have their own repositories. A node-level repository stores configuration data needed by processes on that node and is accessed by the node agent and application servers on that node.
When we change a WAS configuration by creating an application server, installing an application, changing a variable definition or the like, and then save the changes, the cell-level repository is updated. The file synchronization service distributes the changes to the appropriate nodes.
We should periodically save changes to the administrative configuration. We can change the default locations of configuration files, as needed.
Tasks
- Edit configuration files.
The master repository is comprised of .xml configuration files
We can edit configuration files using the administrative console, scripting, wsadmin commands, programming, or by editing a configuration file directly.
(ZOS) The configuration files are in ASCII format. We cannot edit them in the Hierarchical File System (HFS). Instead, transfer the files to your workstation, edit them, and then transfer them back to the HFS.
- Save changes made to configuration files. Using the console, we can save changes as follows:
- In the navigation select System administration > Save changes to master repository.
- Put a check mark in the Synchronize changes with Nodes check box.
- Click Save.
See...
- Handle temporary configuration files resulting from a session timing out.
- Change the location of temporary configuration files.
- Change the location of backed-up configuration files.
- Change the location of temporary workspace files.
- Back up and restore configurations.
Subtopics
- Configuration documents
- Configuration document descriptions
- Object names: What the name string cannot contain
- (iSeries) Backing up and recovering administrative configurations
- Backing up the WAS for z/OS system
- Server configuration files: Resources for learning
- Configuration problem settings
- Runtime events
- Message details
Related:
Remote files services for file transfer and file synchronization Hardening security configurations Use the administrative console Get started with wsadmin scripting Use command-line tools Use administrative programs (JMX)