jump to navigation

Making a fallback copy via the command calendar – Nokia BSC

The command calendar is a program entity which is used to execute the MML
commands and command files at a given time or on the basis of alarms.
Set the backup procedure permanently into the command calendar. Activate the command calendar.

The command calendar can handle only one task at a time. If a task execution should start when the previous one is still on, it is set to pending and the execution is delayed.

There are three modes for making a fallback:
1. FULL creates a new fallback build
2. DATA makes a safecopy of data files
3. ARCHIVE makes a safecopy of changed files

Steps
1. Define the command into the command calendar (ICI).

ZICI:<mml command code>,::<execution parameters>;
After the ICI command execution, the necessary parameters for the given
MML command are requested.
<mml command code>:MODE=<mode>,DIRE=<dire>,
NAME=<name>;

Example 1. Data type
ZICI:WKS,::TIME=01-00,PTYPE=DA,PNBR=1,NBR=255;
The parameters for the command WKS are requested:
MODE=DATA;
The command calendar makes a safecopy of the data files every night at 01:00 a.
m.

Example 2. Archive type
ZICI:WKS,::TIME=01-00,PTYPE=DA,PNBR=1,NBR=255;
The parameters for the command WKS are requested:
MODE=ARCHIVE;
The command calendar makes a safecopy of the changed files every night at 01:00 a.m.

Example 3. Full type
If the command calendar is used for making a fallback of the entire software build, do not define an existing file or directory name for the FB build in the command. If you want to use an existing name, delete it from the Winchester disk before executing the command.
In the following example, the delete command of the existing fallback is added to the calendar before the actual fallback command and a sufficient amount of time is reserved for the deleting operation. The command calendar deletes the existing
fallback build every night at 01:00 a.m. and makes a safecopy of the entire software build every night at 02:00 a.m.
Deleting the existing fallback:
ZICI:WQD,::TIME=01-00,PTYPE=DA,PNBR=1,NBR=255;
The parameters for the command WKS are requested:
DIRE=<fallback directory>:MAFILE,::;
Making a new fallback:
ZICI:WKS,::TIME=02-00,PTYPE=DA,PNBR=1,NBR=255;
The parameters for the command WKS are requested:
MODE=FULL,DIRE=<fallback directory>,NAME=<fallback
name>;

2. Test the task execution of the command calendar (ICT).

ZICT;
Further information:
With the ZICL command you can list the command calendar tasks.

3. Check that the fallback is successfully completed by displaying the log file of the fallback (WKP).

ZWKP:<fallback type>:<execution parameters>;
Expected outcome
The fallback is successfully completed when no errors occur during the procedure.
Unexpected outcome
If there are errors, you must do the fallback again.
Check the usability of the copy in the supplementary information field of the alarm.
For more information, see Expected/unexpected results.

4. Check the states of the databases (DBS).

The states of the databases BSDATA and OEDATA should be normal or dumping. The state of the database EQUIPM in the spare unit should be abnormal.
Further information:
You can delete a command calendar task with the ICD command.

Below is a captured screen of a command calendar using the ZICL;

< ZICL;
LOADING PROGRAM VERSION 6.2-0
BSC3i     XXXXBSC01                 2009-02-17  11:53:51
ID    CMND CFILE       QUE USER    DATE       TIME  NBR   PNBR  PTYPE  ALARM
============================================================================
1     WQD   -          TIM AWSRDC  2009-02-18 01:00 FOREV 1     DAY      –
2     WKS    -          TIM AWSRDC  2009-02-18 02:00 FOREV 1     DAY      –
COMMAND EXECUTED

Comments»

1. Saransh Dhawan - August 14, 2010

hey..!!
can u tell me more about the data bases such as BSDATA, OEDATA,PDDATA,ILDATA,EQUIPM

2. Yugten - December 12, 2010

Sory for the delayed reply. I would suggest visiting NOLS website. Please click this link https://online.portal.nokiasiemensnetworks.com/entry/open/DoUp?action=login&TYPE=33554433&REALMOID=06-00016567-e062-1083-acba-83132513fd21&GUID=&SMAUTHREASON=0&METHOD=GET&SMAGENTNAME=G4PUE7ZyKlgWmpkKWRVxQtXxLQBTN8qu9qfI8FWZl4wbcLacqWIpt0TSil2zBk0H&TARGET=$SM$https%3a%2f%2fonline%2eportal%2enokiasiemensnetworks%2ecom%2fhomepageredirect%2ejsp

Thank you for visiting my blog! Goodluck!


%d bloggers like this: