Download CIMPLICITY HMI Server Redundancy Operation

Transcript
§
Primary server–its clocked time when one of the servers went down and came
back up
These files are then used to synchronize the databases.
To synchronize the databases on the primary and secondary nodes, on the
primary server:
1.
Open the project's Workbench.
2.
Click the Tools menu.
3.
Select Command prompt.
4.
In the Command Prompt dialog box, type:
datamerge
5.
(Optional) Run the datamerge.exe utility with optional parameters to merge
specific times. The command format is:
datamerge.exe [[source] [dest] time1 time2]
where
the parameters are:
source
Name of the source server
dest
Name of the destination server
time1
Start time for merging data
time2
End time for merging data
Important: You can only run datamerge.exe on the primary server - that is, the
server that has all of the ODBC data sources defined. Therefore, the primary server has to
be running before you begin.
As it executes, the datamerge.exe utility:
1.
Reads the ptnr_<timestamp>.log files on the primary and secondary servers.
2.
Determines from the ptnr_<timestamp>.log files in the primary server's \log
directory what data needs to be merged from the primary server's database to the
secondary server's database
3.
Executes the merge from primary to secondary.
4.
Determines from the ptnr_<timestamp>.log files in the secondary server's
\log directory what data needs to be merged from the secondary server's
database to the primary server's database
5.
Executes the merge from secondary to primary.
A db_merge.log file is generated to report the success or failure of the merge.
Note: When you run the datamerge.exe utility with specific start and end times, the
ptnr_timestamp.log files on the secondary and primary servers are not used.
GFK-1353F
Recovery Procedures
5-9