APS
APS
1.0 Introduction:
The application program system (APS) covers the
software stored on external memory (magnetic disk) in a
certain EWSD exchange, in the common memory (CMY) of
the CP and in the memories of GPs and which must be loaded
upon initial start up. Together with the hardware and
firmware, the APS forms a certain exchange according to
following criteria:
According to type:
• local exchange
• long distance exchange
• international gateway exchange
• mobile switching centre
Resident Software
Software modules belonging to the above group are linked in
one major linkage run and deposited in a file named
SY.TASKLIB or SY.PSW.Txxx. The term “resident” signifies
that the software is permanently in the memory.
Off-line Software
These modules are stored in a file -e.g. SY.INSTALL- in an
additional linkage run. The modules are not required for
running operations but instead to initialize a hard disk, for
example, or to copy to disk the storage content of magnetic
tape.
Firmware
By means of a special device, programs subsequently required
to be stored in the PROM are installed as FW in the PROMS
after linkage.
SY.PSW.Txxxx
This data results from the subscriber lines and from the
port numbers of an exchange. Data is thus normally given by
the administration.
ALTTC/SW-II
Basic APS
10/46
(SY.Files): 5.4-APS/1.08.2002
The BAPS contains after passing the
Integration Department the complete
(project specific and general parts) SW of
an APS-version for a country. The database
is not yet adapted to a specific exchange
EWSD Application Program System
IPL b
a IMON SY.SLRAM
SY.TRANSL
BIOS c
CIL
M
Fig 4.1.1
MDD:
Now the entire software must be copied from tape to
disk. The entire software means the SW for
CP,LTG,DLU,CCNC,IOP. IMON is again used for the
copying procedure(command TRANS FILE).
IPL
SW SY.SLRAM
SY.TRANSLOG
IMON
Fig. 4.1.2
IPL SY.SLRAM
a
SY.TRANSLOG
CIL
b SY.TASKLIB
SY.LOADLIB.LA
SY.LOADLIB.CA
Memory SY.LOADLIB.MA
SY.PSW.Txxx
ALTTC/SW-II 15/46 SY.INSTALL
5.4-APS/1.08.2002
EWSD Application Program System
Fig 4.1.3
a) CIL is transferred to CMY
b) SY.TASKLIB is loaded using CIL.
Fig. 4.1.4
T- DATA
Memory
Fig. 4.1.5
IPL SY.GENLIST
CODE
UPDATE
P-DATA
CF. SI SL TL LLL
command HEAP(Free
files Space)
ODAGEN
ALTTC/SW-II 18/46 SI SL TL LLL
5.4-APS/1.08.2002
Fig. 4.1.6
Note: Abbreviations are same as in fig.4.1.5.
4.1.7 Loading of peripheral SW:
Finally the periphery must be loaded likewise. This
entails the transfer of the codes(various load types
SY.PSW.T0xxx) to the LTG and CCNC. The data
components for the LTG and DLU are loaded from CMY,
the data for the CCNC from SY.SIMP( for SIMP) and from
CMY (for CPI).
On completion of this final step, normal EWSD
operation is established. That is to say the system is running,
subscriber can telephone, call charges are stored and
operator input is possible.
CODE
P-DATA PSW
HEAP PSW
T-DATA
PSW
Fig. 4.1.7
One APS generation is always made up of several files (fig. 5.1). So as not to take up
too much memory space on the magnetic disks, files which are identical in several
generations are only stored once per disk and are indicated as being part of other
generations. For the recovery “fallback to an old generation” concept it is not allowed
that files of one generation are shared with other generations (fig.5.2). The table of
contents belonging to a generation takes place through the generation list
(SY.GENLIST). This contains all the necessary information for a generation - e.g.
generation name, indication of status and related disk files - are given.
The information from the SY.GENLIST can be read using the following commands:
DISP GEN ;
(Protocoling of the generation list)
SY.TASKLIB
SY.LOADLIB.LA
SY.LOADLIB.MA
SY.LOADLIB.CA
SY.SEMILIB This APS will be called Generation A
SY.PSW.xxx
•
•
SY.SIMP
Generation A Generation B
SY.TASKLIB SY.TASKLIB
SY.LOADLIB.LA SY.LOADLIB.LA
SY.SEMILIB SY.SEMILIB
SY.SIMP SY.SIMP
SY.LOADLIB.CA
SY.LOADLIB.MA
SY.PSW.xxx
DISPGEN ;
DISPGEN:DISPL=FILES; ACCEPTED
ODAGEN
GEN=11500034(MOD DBSIZE) GEN=11500100
SY.SEMILIB SY.SEMILIB
SY.SIMP SY.SIMP
SY.TASKLIB SY.TASKLIB
SY.LOADLIB.LA SY.LOADLIB.LA
SY.LOADLIB.MA
SY.LOADLIB.CA
SY.PSW.Txxx
BACKUP/GOLDEN (COPYGEN:OUTPUT=GEN....;)
GEN=11500100 GEN=11500101
SY.SEMILIB SY.SEMILIB
SY.SIMP SY.SIMP
SY.TASKLIB SY.TASKLIB
SY.LOADLIB.LA SY.LOADLIB.LA
SY.LOADLIB.MA SY.LOADLIB.MA
SY.LOADLIB.CA SY.LOADLIB.CA
SY.PSW.Txxx SY.PSW.Txxx
GEN=11500101 GEN=11500102
SY.SEMILIB SY.SEMILIB
SY.SIMP SY.SIMP
SY.TASKLIB
SY.LOADLIB.LA
SY.LOADLIB.MA
SY.LOADLIB.CA
SY.PSW.Txxx
Fig. 5.3: Example of Create Generations
Meaning of the generation name :
Generation name 11 50 0 1 00
Version
Correction Status
Local Correction counter
ODAGEN counter
Fixpoint counter
The local correction counter is incremented during APSCHG, the ODAGEN counter
after each ODAGEN run, the FIXPOINT counter after the routine or quarterly saving.
binary
6.1.2 All necessary files are transferred from magnetic tape onto magnetic disk.
6.2 Loading and starting the opearting system from magnetic disk (initial start) with
the special start address.
6.5.2 The first generation of APS-files is made and the file SY.GENLIST is created.
6.5.3 The file SY.SEMILIB is created and all semiresident data from SY.TASKLIB are
transferred into SY.SEMILIB.
6.5.4 The address relations between TASKLIB and LOADLIB are created.
6.13 Second installation recovery: loading the ODAGEN generation from MDD into the
CMY.
6.16 Incorporation of data base which can be executed in installation mode. The relevant
command files are started.
6.19 Incorporation of dat base which can be executed in operation mode only.
Fallback generation and golden generation consist of an equal number of files since the
file lists of the two generations are identical, the generations can only be identified by
their HISTORY attributes (GOLDEN or BACKUP respectively).
A new fallback generation labeled as BACKUP is created during each first routine
saving in the current quarter and is updated by the actual generation during all later
routine savings.
SY.GENLIST
SY.LOADLIB.CA
SY.LOADLIB.LA
SY.LOADLIB.MA
SY.TASKLIB
SY.PSW.Txxx (number depending on project)
SY.SEMILIB
SY.SIMP
SY.GENLIST
SY.INSTALL
SY.LOADLIB.CA
SY.LOADLIB.LA
SY.LOADLIB.MA
SY.TASKLIB
SY.PSW.Txxx (number depending on project)
SY.SEMILIB
SY.SIMP
SY.MSGXREF
CG.SA.yyyy (save procedures)
The generation with the attribute FIXPOINT, which is created on tape during the
routine saving, consists of the following files :
SY.GENLIST
SY.SEMILIB
SY.SIMP
The tape contains in addition all LOG files which were created since the last quarterly
saving was carried out.
Additional the meter files which are saved daily are also written to that tape.
TAPE MOD
Procedure SW210 is used for the saving and generation of an APS fallback generation
on disk. In case of a quarterly saving a complete generation is also saved on tape. In
case of a routine saving only the semipermanent data (in the files SY.SEMILIB and
SY.SIMP) are saved on tape.
Please note
The type and number of meter files are project-dependent. The meter files
CA.xx.UCHA or MS.TFSUCHA are to be saved daily.
From version 10 onwards we use ICHASTA meters in place of IAR ,ST and TR
meters.
The meter file saving is to be done using the command file CG.SA.M11AP for magtap
or CG.SA.M21AP for MOD. The command file is to be started daily by a time job.
The saving of individual data is done using the command files CG.SA.RCAMA,
CG.SA.RCMAL, CG.SA.RCMOB, CG.SA.RCDNB and CG.SA.RCTST.
The two-stage saving principle gives the EWSD user the greatest possible safety in the
generation and management of APS save tapes.
For each exchange and year the following tapes are required for the two saving stages :
Level Saving Stage Group Quantity Size
1 APS routine saving A 4 large tapes 730 m
2 APS quarterly saving B 6 large tapes 730 m
The tapes must be kept in a separate place, sorted and identified according to groups.
The tapes of the various groups are assigned permanent VSN designations
MML commands which modify the data base should not be entered during the run time
of the command file of the relevant saving branch.
The password management that is valid at the time of APS saving must be saved in
order to ensure that the system can be operated in case of a fallback. The TAC1 must
ensure that in an emergency the access time to the saved password management will be
as short as possible.
For the introduction of this safeguarding concept the TAC 1 must initiate the following
measures.
If the first application does not coincide with an installation, the following actions are
not be done.
command repetition
NAME OF CURRENT GENERATION: <actgen>
LIST OF GENERATIONS :
BACKUP
hh:mm:s
s
If the printout contains further entries in the column “GENERATION”, all of these
further generations are to be deleted.
At 2-week intervals, a fixpoint of the actual generation and the LOG file are written to
a tape of group A.
The same tape is additionally used for the daily saving of charge meters on tape. The
meter saving is done before, during and after the routine saving.
Fourteen days after the 5th routine saving has been carried out, the quarterly saving is
done. At the next routine saving date a new tape of group A is to be used.
This-14 days cycle is adhered to during the whole life of an APS version.
During the routine saving (command file) the active LOG file LG.LOGx.Ay is
deactivated (RSET LOG) and a new file LG.LOGx+1.A1 is activated (SET
LOG:FILE=LOGx1,...). The deactivated LOG file is copied to the save tape which
already contains the fixpoint generation.
After five routine savings have been carried out within a quarter the LOG files
LG.LOG1.A0-A1 up to LG.LOG5.A0-A1 and the latest fixpoint are on the
corresponding save tape.
The still missing LOG fies LG.LOG6.A0-A1 will be copied to the saving tape during
the quarterly saving which comes next.
A1 A2 A3 A4 A1
2week
12 weeks
B1 B2 B3 B2 B1 B2
a) create fixpoint
ACT GEN on disk SY.GENLIST
SY.SEMILIB
FIXPOINT b) Transfer SY.SIMP
fixpoint to tape
BACKUP
GOLDEN
FIXPOINT
b) cancel old BACKUP and FIXPOINT
BACKUP (old) generation
BACKUP (new)
GOLDEN
B1yy
B1yy B2
APS APS
(GOLDEN (GOLDEN
GEN) GEN)
Abbreviations :
In order to reduce the expenditure of labor with regards to meter saving the meter files
as well as the routinely backup files (LOG-file, FIXPOINT) are saved to a common
tape LOGTAP).
Normally, the saving of meter files is performed daily. For the saving of new
meter files the old ones must be deleted from tape. the saving process is
controlled by a command file. To simplify the deletion, a neutral dummy file is
created on the tape before the meter file, each of which is deleted afterwards.
Thus, all consecutive files are marked as deleted, too.
During every routine saving the tape is initialized. In order to prevent the loss
of LOG.files these must first be buffered on disk.
After the FIXPOINT has been created, both, the buffered and the new LOG-
files are saved to tape. Subsequently the meter files are saved to the same tape
and the buffered LOG files are retained on disk with TLG.prefix e.g.
TLG.LG.LOG1.A1 etc..
3.2.1.3 Saving time table
B C D E F G H I K L M N
QS 1.RS 2.RS 3.RS 4.RS 5.RS QS 1.RS 2.RS 3.RS 4.RS 5.RS QS
AO First Saving Quarter A1 Second Saving Quarter A2
A0 First quarterly saving, immediately following the APS installation or the start of
The saving schedule
:: ::
Meter saving on medium A0 after the first quarterly saving (immediately following the
APS installation of the saving schedule)
1.FIX-
METERS DUMMY LG.1 LABEL
POINT BOT
LG.1 2.FIX-
METERS DUMMY LABEL
+2 POINT BOT
a)
b)
c)
d)
sequence :
For quarterly saving, two tapes of group B are normally required. the two save
tapes are created in accordance with a fixed time pattern. The first two tapes of
this group form yearly tape 1 (B1yy) and are indentical with the APS change
tapes.
Two further quarterly saves are made, each on two new tapes (B2, B3). When
the third quarterly save is done, tapes B2 are overwritten and when the fourth
quarterly save is done, tapes B3 are overwritten, etc.. Thus in addition to the
APS change tape here are always two pairs of tapes with a complete
generation.
The save tape created during the first part of the quarterly save is verified
acording to the procedure described in SW211.
The startup test consists of several stages. First of all, during the software split
on the non-switching system side, manual startup is performed of the APS
copied in beforehand from the quarterly save tape. This verifies that the CP
software can be started up. After this, the test of the startup ability of the GP
software is performed on selected LTGs in the merged ON-LINE system.
Finally the routine switchover of the CCNC in the night resulsts in the startup
test of PSW.T097 and PSW.T098.
After a successful startup test, the tape must be marked as having been tested
for startup.
Note 2 : In addition to the savings performed at fixed times during the year, a
quarterly saving must also be performed after the following events :
In these cases a startup with the appropriate generation is integrated in the sequence of
operations. However, testing of the generation written to tape must still be performed
in CP split mode operation in order to check the save tape. In these cases it is then not
necessary to check the loadability of the periphery as this has been demonstrated by the
successful startup.
The save tapes for APS must be created in accordance with MMN procedure SW210
(quarterly saving).
ACT GEN
SA1TAP
BACKUP
a) create golden gen (temp.) on disk
GOLDEN (old) b) Transfer golden gen (temp.) to tape
ACT GEN
SA1TAP
BACKUP
GOLDEN
GOLDEN (old)
(new)
GOLDEN (new)
Start up test
. Split the system
SPLIT SSP : TEST = NO;
Step 1 and 2 must be performed on the call processing side
ACT GEN
Step 1 non Step 2
BACKUP - format memory call test commands
- start up with processing STAT SSP;
GOLDEN (old) GOLDEN (new) side STAT LOG;
GOLDEN (new)
ACT GEN
cancel generations
BACKUP
GOLDEN (old)
GOLDEN (new) set generation valid
copy
ACT GEN
GOLDEN (new)
disk-x disk-y
Fig. 7.5.5b : Basic steps of start up test
A-tape
B-tape
- change the LOG function
from LG.6 to LG.1
ACTUAL
- create GOLDEN
BACKUP 5 GOLDEN X +
generation X + 1 from current
GOLDEN X 1
generation on disk and copy of B-
LG.6
tape;
LG.1
B-tape
- transmit files having no
generation to tape with GOLDEN
ACTUAL GOLDEN X + 1
X+1
BACKUP 5 SY.MSGXREF
- transmit LG.6 to tape of
GOLDEN X CG.
last routine saving and delete
from disk.
LG.1
A-tape
Fixpoint 5
LG.1.. LG.6
Fig. 8
ALTTC/SW-II 49/46 5.4-APS/1.08.2002
EWSD Application Program System
B-tape
ACTUAL
GOLDEN generation if
GOLDEN
simultaneously BACKUP generation
until the first routine saving
LG.1
ACTUAL
BACKUP 1 Fixpoint 1
- create BACKUP
GOLDEN LG.1
generation on disk
LG.2
Fig. 10
ALTTC/SW-II 51/46 5.4-APS/1.08.2002
EWSD Application Program System
ACTUAL
BACKUP during nth routine saving, BACKUP Fixpoint n
GOLDEN n was created on disk and LG.1... LG.1.. LG.n
LG.n +1 LG.n were copied on disk
LG.n + 2
Fig .11