SIEMENS
SPPA-T2OOO Section 14
Course: KW-XMIS System Backup
Copyright (C) SiemensAG2005 18.05.2006A I RightsReseryed. PG L28TrainingCenter
R 1.0 L-UHveRsny
SIEMENS
SPPA.T2OOO Section14
Course: KW-XMIS SystemBackup
Gontents Page
14 SystemBackup
14 SystemBackup...... .......................0
14.1 SystemBackup/Restore......... .................1
DAT-Drive............,...
of an external
14.1.1Connection ...........1
for Backup/Restore
14.1.2Steps ..........................2
14.1.3
Determination / VacantMemory......
of HardDiskCapacity .............4
14.2 ProjectDataBackup................ ................5
copyrighl (C) siemens AG 200518.05.2006All RightsReseryed. PG L28 TrainingCenter
R 1.0 l4- 0 L-UuveRsnv
SIEMENS
SPPA.T2OOO Section14
Course: KW-XMIS SystemBackup
14.1 System Backup/Restore
GelsiusComputers
The SystemBackupsavesthe TXP-software
and the Rootfilesystemof an OM component
on DAT.
Thedataof the longterm archiveare not saved.Theymustbe storedon the MOD.The
Restoreof OM components withlongtermarchiving (SU,PU/SUor CU)requests a new
installation
of the longtermarchive.
The projectdata(loadedthe ES database)arealsonot saved.Theyhaveto be transferred
againafterinstallationof the system.
Thereis a readypreparedsoftwarefor Backup/Restore on two diskettes.Theyare available
fromthe PG Assembling Centeras diskettes 'Boot'
and 'Root filesystem'.Thescripts
Txp.Backup andTxp.Restore presentin thissystemare usedto saveand restorethe
system.Thiscopyis a logicalcopy.
Theoperations
are carriedouton theserviceconsoleof thecomputer.
PentiumComputers
Forthesecomputers the longtermarchiveis includedin the backup.The differenthandling
is representedby the commands Om.Backup andOm.Restore. So you needanothertwo
diskettesfor P170.Theharddiskof P170is copiedphysically,
LINUXComputers
Theyare copiedlikeCelsiuswithoutlongtermarchive.Therearespecialdiskettes
for these
computers.
14.1.'lGonnectionof an externalDAT-Drive
The backupprocedure is basedon datatransferto DATtapes.The DATdrivemustbe
connected to the externalSCSIplug.
The requiredSCSIlD - if it canbe adjustedon the externaldrive- mustbe correctly
set
priorto powERoNof theexternaldrive!
The DATdrivehasalreadybeeninstalled
readyfor usein the OM 650SCOsystem:
Devicenames: /dev/rStp0
S C S Il D : 2
Note:
As a resultof initializationprocedureson the SCSI bus, it may occurwhen addressingthe
DAT drive that the call is rejectedonce or twice with a hardwareerror message!lf the
hardwareis OK, experiencehas shownthat the third attemptis executedwithouterrors.
i? lt'l, p L / .,,:_.< r[' x-l(.,
Copyrighl (Cl Siemens AG 200518.05.2006 All Righls Reserued. PG L28 TrainingGenter
R 1.0 14- 1 L-Unvensnv
SIEMENS
SPPA-T2OOO Section14
Gourse: KW-XMIS SystemBackup
DAT-slreamer
(rear view) :SCSI{D l
l
OM650=2:
(ES 680 = 3)r
14.1.2Stepsfor Backup/Restore
Txp.Backupfor or PU su cu
This scriptis generatinga backupof Celsiuscomputerson 90m DAT-tape
lFirst *h:.rtq:{d}wr"t
and switsh *ff the OM component
I externalDATstreamer
Fviltn-n_-Q_al___q1t-eengr--> selectSCSI lD 2
II
1
--> connect DAT streamer
**$**$"s.,s$sS
i and switch it on
) insertBOOTdisketteintodisk drive
) xsif*h sln OM component
. $yst*n i* b**ting * h*si* n:al* -*-S-,fiil]I)0,-n
At item > boot: ) G
) followdialoo
) insertRooi diskette+ [:Fl
) wait for #
) insertDAT tape
) enter Txp.€*;l*kr*p
. S*n+rntingb+:r*k*p $il min}
*n t*p* {arppr*x.
) response:two numberswhichmustbe equal!!!
) # f"r*fltsy*
* n*stnrt the computer
Copyright (C) SiemensAG 2m518.05.2006 All RightsReserved. PG L28TrainingCenter
R 1.0 14-2 L-UHvensnv
SIEMENS
SPPA.T2OOO Section 14
Course: KW-XMIS System Backup
;)
$)
Txp.Restore for oT PU SU cU
Thisscriptrestorestherbackupfromtapeto Celsiuscomputers
Firstbootthe basicUNIXfrom diskette(see Backup)
# Yxp.ffi*s{#r# t acknowledgeby y
NI
***-r
Service console
;) response:two numberswhichmustbe equall!!
l) # haltsys and restartcomputer
i9 #nr.Sfx* and transferthe processdatafrom ES to OM
Afterrestartof com:uterswith longtermarchive ( SU, GU, PU/$U )
the archivesmust be installednow (no Om.Start!):
) logintxpom
) *d iatsterl*
) Sm.l*'rstxtl (needs 2 hours)
) loginroot (dc,n'tuse su )
) sld h**rjtspnmj*rt*talf
( 2 minutes)
) [dq:r*t"Enstmll
) init ffi
) *nr.$t*rt and transfer the processdata from ES to OM
Copyright (C) SiemensAG 20051
8.05.2006All RiEhtsReserved PG L28 TrainingCenter
R1.0 r4- 3 L-UnveRsnv
SIEMENS
SPPA.T2OOO Section14
Course: KW-XMIS SystemBackup
14.1.3 Determination
of HardDiskGapacity/ VacantMemory
With the SCO UNIX computers,it is possibleto determinethe divisionand the vacant
capacityof the hard disk usingthe serviceconsole(firstconnectif applicable).
In the ES, the hard disk capacityand the loadingcan be determinedin an X-terminal(new
window)usingthe command) bdf.
sco --> openX-TERMINAL
ru.r N'
ffiWffiffiffiffi)$
of --) login:...
-:t
lot :i
--> bdf
--) password:rootsl , i --> password: . Thec*pacityand statisti*of the ES 6SS
...
-> dfspace harddiskaredisplayed
i -> /etc/dfspace i
. The harddisk divisionand vacantcapacity i--> dmesg -> /etc/dmesg
are displayed . Sizcof mcmory,$wapandversionof the
HP-UXaredisplayed
3
(fa
,' f,.W :,P / tl
iJ
Copyrighl {C} SiemensAG200518.05.2006All RighfsReseryed. PG L28TrainingGenter
R 1.0 14-4 L-Uuvensnv
SIEMENS
SPPA.T2OOO Section14
Gourse: KW-XMIS SystemBackup
14.2 ProiectDataBackup
A backupcopyo{ the parts.Theseare:
.db
/ \n.:laeb/ ?l: 3l?
2"{l!-,?.U"f ii}:':T'*"
sP
il.>,L\dr\f<JOr\\
- INGRESdatabasebackup(function
\(J\
diagramsand processing
functions)
.om - OM data(mimics,containers)
. listen - Listswith AS-Data(generatedfiles of the automationsystems)
DB SAVEO1
. - - - - - - -02
\ -
- Data backuP
e80ri::,Pdeki Version1. 2
,:::::::::::r (example)
i\%-**d
+---r---+ !
Listen uJ$et*J
generated AS FUPS
DYNAVIS <i----r--.ar
(mimics,Containers,
generatedmimics...)
INGRES
incl. PF-Data
For example,the containersof the plant
These partsare linkedtogetherby relationships.
mimicsand the containersof the processmimicsare storedin the directory"om" , but the
funcioncodes assignedto these mimics,the mimicshierarchyand the assigneddynamic
processconnectionsare administratedby the ES in the INGRESdatabase.
There are also relationshipsbetweenplantdisplayswhich are basedon the one hand on
configureddisplayselectionkeys and on the other hand on the configureddisplayhierarchy.
Such relationships, or similarones, exist betweenthe individualpartsof the backupcopy. lf
partsof the backupcopy are then combinedtogetheralthoughthey do not belongtogether
as far as the project state is concerned(differentversions,see Section4), faulty data sets
could resultwhich are difficUltor even impossibleto porrect.
mpre,archive-d
For exa ; ;r,;ffi it}. t* ;i'd m rt;;il*$ S},'" arunctioncod
e/sisnal
becausethe invocation
numberassignment
haschangedor no longerexists.
For this reason it is essential to always generate all parts of a
backup copy from the same project state, and to administer and
archive these together.
lf the capacity of the DAT tape doesn't allow to store all data together on one cartridge and
three cartridges have to be used, it is strongly recommended to pack these three cartridges
(e.9. using a tape).
Copyrighl (C) SiemensAG200518.05.2006 All RighlsReserved PG L28 Training Center
R 1.0 l4- s L-Uruvensnv
SIEMENS
SPPA.T2OOO Section14
Course : KW-XMIS SystemBackup
Copyrjghf {C} Siemens AG 200518.05.2006 All Righls Reseryed PG L28 Training Center
R 1.0 L-UruveRsrv