Notes on operation
4.3 Main and substitute telecontrol server
CP 1242-7
Operating Instructions, 09/2011, C79000-G8976-C247-02
37
Configuration of the main and substitute server
Make sure that the configuration data on the two systems are consistent with each other.
You can achieve this by entering all the configuration data twice manually or after configuring
the main system, by copying the database of the main system to the substitute system using
operating system tools. Follow the steps outlined below:
1.
Copy the database file from the following directory of the main system:
Programdata > Siemens > Automation > TCS Basic > Data > "Smsc.sqlite"
2.
Insert the database file at the same location in the file system of the substitute system.
The existing "Smsc.sqlite" file on the substitute system is overwritten.
3.
If necessary, adapt the addressing of the database server in the configuration of the
substitute server under "Settings" if CMT and the database in the main system are
installed on different computers.
Copying ensures the consistency of the configuration data. Since the system parameters of
the main and substitute system can be configured in the CMT, following copying no editing of
the system parameters of the substitute system is necessary.
Log files
Since the main and substitute system have different dynamic characteristics relating to their
runtime response, the log files have different contents in the database. When you copy the
database, the log files are also copied.
Interaction between the main and substitute server
In a normal situation, the stations are connected to the main telecontrol server. If the main
server cannot be reached, the connection of the remote S7-1200 with the CP 1242-7 fails
over from the main to the substitute server.
Switchover between the main and substitute server by the CP 1242-7
When establishing the GPRS connection to the telecontrol server, the CP automatically
switches over to the substitute server after the 4th dialing attempt if the main server cannot
be reached.
If the substitute server cannot be reached either, the 4th time the CP once again tries to
connect to the main server.
The intervals of the redial attempts are controlled by the "Redial delay" parameter.
You will find an example in the section Redial delay (STEP 7) (Page 38).