Tuesday, November 23, 2010

synchronization

Any deployement, config changes are done from the DMGR .. these changes are modified in the xml files in the master cell repository.. as the nodes in question needs this information .. there is a process of sync wherein the confurations are pushed to each nodes.

So the DMGR maintains a master cell repository and a local node repository managed by node agent

The process is using a Epoch and Digest

If a change to a configuration file is made through the administration programs (Administration console, wsadmin, or other), then the overall repository epoch and the epoch for the folder in which that file resides is modified.

During configuration synchronization operations, if the repository epoch has changed since the previous synchronization operation, then individual folder epochs will be compared.

If the epochs for corresponding node and cell directories do not match,
then the digests for all files in the directory are recalculated, including that changed file.

And only the modified files are pushed to the nodes and not the entire repository


This is the overview of the synchronization
------------------------------
In the Network Deployment Administration console, you can click on "System Administration" and then "Nodes" to see a list of the nodes in the cell. \

You will notice "Synchronize" and "Full Resynchronize" buttons on the page. The "Synchronize" button is "normal synchronization" (no re-reading of the files).

The "Full Resynchronize" button is the "reset and recalculate" function.

Select the node or nodes to be updated with manual changes and click on the "Full Resynchronize" button.

----------------------
--------------------
-----------

If u do any change by using Administrative clients like ws admin, console and command prompt; the configuration change will be in Master configuration(Dmgr). Here In master configuration it contains all the nodes info whicjh were federated. Later the changes updated to respective nodes. This is Sychronization.
Its of 2 types: automatic and manual. Changes using admin clients can be done automatically. But Manual changes like using text editors didnt update. Here we need to do manually. we use syncNode.sh from application server command promt like
syncNode localhost 8879(Dmgr SOAP). U can also do from console of dmge by clicking nodes under system administration.
By default automatic sync is set for 1min so for every 1min sync takes place. Ucan see it in nodeAgent-->FileSynchronization service.

No comments:

Post a Comment