Network Deployment (Distributed operating systems), v8.0 > Set up the application serving environment > Work with server configuration files


Configuration documents

WAS stores configuration data in several documents in a cascading hierarchy of directories. Most configuration documents have XML content.

The configuration documents describe the available application servers, their configurations, and their contents.



Hierarchy of directories of documents

The cascading hierarchy of directories and the documents' structure support multinode replication to synchronize the activities of all servers in a cell. In a WAS ND environment, changes made to configuration documents in the cell repository, are automatically replicated to the same configuration documents that are stored on nodes throughout the cell.

At the top of the hierarchy is the cells directory. It holds a subdirectory for each cell. The names of the cell subdirectories match the names of the cells. For example, a cell named cell1 has its configuration documents in the subdirectory cell1. The name of the cell must be different from the cluster name pair.

On the WAS ND node, the subdirectories under the cell contain the entire set of documents for every node and server throughout the cell. On other nodes, the set of documents is limited to what applies to that specific node. If a configuration document only applies to node1, then that document exists in the configuration on node1 and in the WAS ND configuration, but not on any other node in the cell.

Each cell subdirectory has the following files and subdirectories:

An example file structure is as follows:

cells
  cell1
     cell.xml resources.xml virtualhosts.xml variables.xml security.xml
     nodes
        nodeX
           node.xml variables.xml resources.xml serverindex.xml
           serverA
              server.xml variables.xml
           nodeAgent
              server.xml variables.xml
        nodeY
           node.xml variables.xml resources.xml serverindex.xml
     applications
        sampleApp1
           deployment.xml
           META-INF
              application.xml ibm-application-ext.xml ibm-application-bnd.xml
        sampleApp2
           deployment.xml
           META-INF
              application.xml ibm-application-ext.xml ibm-application-bnd.xml


Change configuration documents

You can use one of the administrative tools (console, wsadmin, Java APIs) to modify configuration documents or edit them directly. It is preferable to use the administrative console because it validates changes made to configurations. " Configuration document descriptions" states whether you can edit a document using the administrative tools or must edit it directly.


Transformation of configuration files

The WAS master configuration repository stores configuration files for all the nodes in the cell. When you upgrade the dmgr from one release of WAS to another, the configuration files that are stored in the master repository for the nodes on the old release are converted into the format of the new release.

With this conversion, the dmgr can process the configuration files uniformly. However, nodes on an old release cannot readily use configuration files that are in the format of the new release. WAS addresses the problem when it synchronizes the configuration files from the master repository to a node on an old release. The configuration files are first transformed into the old release format before they ship to the node. WAS performs the following transformations on configuration documents:


Work with server configuration files


Related


Configuration document descriptions

+

Search Tips   |   Advanced Search