• No results found

Chapter 7 Backup and Transfer of Application Data

U: Allows loading even if network/node numbers differ in dump and target By default, the network/node numbers must agree.

7.4 Dumping and Loading for Redimensioning

WARNING

Risk of malfunctions. The RAM is cleared after a cold start or when the command RECONFIG is used. This means that the process control application ceases immediately.

PC programs and the data base must be reloaded.

Data Base

Redimensioning of the data base is necessary if the previously dimensioned data base is too small to create all needed DB elements. You can redimension the data base as follows. Case 1

Enough spare area is left.

Use the command DIMDB to increase the number of the additionally needed DB element type (see Section 3.2.1.3, Memory Space). Redimensioning the data base in this way is only permitted if the PC part is not dimensioned.

Case 2

Not enough spare area is left and the PC part is not dimensioned. 1. Perform a data base dump (DUTDB).

2. Cold start the system. Set the start mode selector to CLEAR and press the ENTER button or use the RECONFIG command (see Section 2.8.3, Resetting the Controller).

3. Load the data base dump (LOTDB) and redimension the data base (see Section 7.4.3, Loading the Data Base).

Case 3

Not enough spare area is left and the PC part is dimensioned.

1. Perform a data base dump (DUTDB) and a PC dump (DUTPT).

2. Cold start the system. Set the start mode selector to CLEAR and press the ENTER button or use the RECONFIG command (see Section 2.8.3, Resetting the Controller).

3. Load the data base dump (LOTDB) and redimension the data base (see Section 7.4.3, Loading the Data Base).

$03/&RQILJXUDWLRQ$GYDQW &RQWUROOHU6HULHV5HIHUHQFH0DQXDO 6HFWLRQ 'XPSLQJWKH'DWD%DVH

PC Part

Redimensioning of the PC program space is necessary if the previously dimensioned PC part is too small for all PC programs or the User Disk Application Segments backup function. You can redimension the PC part as follows:

1. Perform a data base dump (DUTDB) and a PC dump (DUTPT).

2. If the reason for redimensioning is that you need more space for the User Disk Application Segments backup function, use the SHUDAS command to check out how much memory space is at least required.

3. Cold start the system. Set the start mode selector to CLEAR and press the ENTER button or use the RECONFIG command (see Section 2.8.3, Resetting the Controller).

4. Load the data base dump (LOTDB) (if necessary, also redimension the data base) (see Section 7.4.3, Loading the Data Base).

5. Load the PC dump (LOTPT) (see Section 7.4.4, Loading PC Programs). NOTE

The User Disk Application Segments are not affected and does not have to be involved in redimensioning. (If, for some reason, you use DUTDB and DUTPT instead of DUAP to make a security copy of the application program, also copy the User Disk Application Segments separately.)

7.4.1 Dumping the Data Base

DUTDB

Use the command DUTDB (DUmp Total Data Base) to create a total dump of the data base in the Advant Controller 400 Series.

Syntax:

'87'% [dump_name]

dump_name: one...six characters

All data base concepts within the target system are included in the dump. The command dialog is self-instructive and the valid answers are listed within the prompting text of every question. You can terminate the command by pressing <Ctrl-Break> or, during the dialog, by entering the answer “Q” to any question. You can enter a message with a maximum of 10 text lines which are stored on the dump volume.

During the dump process, messages are given to the effect that dumping has started, that it is in progress and whether it has been correctly performed or has failed.

7.4.2 Dumping PC Programs

DUTPT

Dump PC programs with the command DUTPT (DUmp Total Program Tables). Syntax:

'8737 [dump_name]

'8737 [dump_name, volume]

dump_name six characters volume four characters

The command operates in dialog mode. It compresses the PC area automatically before the dump takes place (Advant Controller 400 Series). For other types of systems, use the CSPT (CompreSs Program Tables) command before dumping. You can enter a message that is stored on the dump volume. The text is printed out before the loading procedure starts and makes it easy to identify the correct PC dump. Press <Ctrl-Break> to leave the function.

• All blocked PC elements in the PC program are automatically deblocked when the PC program is loaded back into the Advant Controller 400 Series.

• Dumping can be done with the PC programs in any state. • Any blocking disappears when the PC program is reloaded.

• The dump covers all PC programs of the Advant Controller 400 Series. The User Disk Application Segments are not included in the dump (see Section 7.1, General).

• The volume SRCE is used as default volume for the dump.

7.4.3 Loading the Data Base

LOTDB

Use the command LOTDB (LOad Total Data Base) to load a total dump of a data base into the Advant Controller 400 Series. The receiving Advant Controller 400 Series must be identical to the Advant Controller 400 Series from which the dump is taken.

Syntax:

/27'% [dump_name]

dump_name: one...six characters

The dialog is self-instructive and the valid answers are listed within the prompting text of every question.

The load command prompts for the following: COMPRESS DATA BASE DUMP? (Y/N/Q) = REDIMENSION? (Y/N/Q) =

For the redimension dialog, please refer to the DIMDB command for instructions (type HELP DIMDB). Compression is intended for use when the data base population is finalized.

By compression, any spare memory space is released and made available for other purposes, e.g., for PC programs.

$03/&RQILJXUDWLRQ$GYDQW &RQWUROOHU6HULHV5HIHUHQFH0DQXDO 6HFWLRQ /RDGLQJ3&3URJUDPV

If you want to redimension the Advant Controller 400 Series, invoke the dimensioning command (see Section 3.2.1, Dimensioning the Data Base). Using this command, you can dimension the data base for the required size. You can combine the commands COMPRESS and REDIMENSION.

During the loading process, messages are given to the effect that dumping has started, that it is in progress and whether it has been correctly performed or has failed.

7.4.4 Loading PC Programs

LOTPT

Use the LOTPT (LOad Total Program Tables) command to load the PC programs previously dumped. The receiving Advant Controller 400 Series must be identical to the Advant Controller 400 Series from which the dump is taken.

Syntax:

/2737 [dump_name]

/2737 [dump_name, volume]

dump_name six characters volume four characters.

The volume SRCE is used as default volume for the dump.

• The Advant Controller 400 Series must be in CONFIGURATION mode and PC must be undimensioned. The data base must be populated (loaded).

• The command operates in dialog mode and asks for the dump name if not specified. • Press <Ctrl-Break> to leave the function.

The LOTPT command checks that the PC dump is taken from the same type of Advant Controller 400 Series as the system to which the load attempt is being made. If this is not the case, an error message appears and execution of the command is terminated.

As previously mentioned, the PC dump also includes information on the PC area at the time of dumping and how the area is used.

The load command offers the option of redimensioning the PC area as follows: RE-DIMENSION? (Y/N/Q)

If you want to redimension, answer “Y”, and the dimensioning command is started. With its help, you can then dimension the PC area to the required size (but not less than the area required by the dump) or increase the number of PC programs. If the User Disk Application Segments backup function must be redimensioned, dimension it as the SUDAS command responded, when the saving procedure failed. When dimensioning is finished, the load command continues to load the PC area of the Advant Controller 400 Series.

If you do not want to redimension the PC, answer “N” and the Advant Controller 400 Series uses the old dimensioning.

If you answer “Q”, the command terminates.

After loading is complete, the loaded PC programs are checked. If the backup function for the User Disk Application Segments is activated, the first backup to the Advant Controller 400 Series can be performed.

Related documents