On the Synchronization tab, define the properties required to use the export configuration to synchronize one server to another server or to all the servers in a cluster:
Synchronize Server Select the servers to synchronize. To synchronize all the servers, select All. If you do not want to synchronize any of the servers, select None. The configuration property name is synchronizeTo, and it defines the list of both servers and clusters to synchronize.
Synchronize Cluster To synchronize the contents of the export configuration with the servers in one or more clusters, select the clusters. To synchronize the servers in all the clusters, select All. If you do not want to synchronize the servers in any of the clusters, select None. The configuration property name is synchronizeTo.
Build Before Synchronizing Select this option to build the export configuration before synchronizing another server or cluster. By default, this option is enabled. The configuration property name is buildBeforeSync.
Update After Restart If you select this option, an export configuration .zip file, located in the %DJC_HOME%\temp\sync directory on the destination server, is unzipped when the server is restarted. This prevents “file in use” errors that may occur while updating files that are in use by a running server. The configuration property name is updateAfterRestart.
Restart Servers After Synchronizing Select to restart the destination servers after unzipping the export configuration on each server. The configuration property name is restartAfterUpdate.
Restart Timeout Specify the number of seconds to wait before abandoning attempts to restart a server. The default is 300 (5 minutes). The configuration property name is restartTimeout.
Building an export configuration using the Management Console
Highlight the export configuration, right-click, and select Build.
A JAR file is created, which contains the classes, entities, and files that are directly included in the export configuration, and its dependencies. Then the JAR file and a .properties file, which defines the JAR, are compressed into a .zip file.
Synchronizing an export configuration using the Management Console
Highlight the export configuration, right-click, and select Synchronize.
In the wizard, specify the server to synchronize.
The export configuration .zip file is copied to the /temp/sync subdirectory on the remote server, and the server is restarted.
The user name and password must be the same on all the
servers that you want to synchronize.
Building or synchronizing an export configuration on the
command line
Change to the EAServer bin directory, and run:
export-config -action action [-verbose] name
where action is the action to perform (build or synchronize) and name is the name of an existing export configuration—see export-config.