Mike's PBX Cookbook

Load Patch procedure

There are TWO kinds of VxWorks patches:

  1. Deplist - Dependancy List: platform specific system patches for the core equipment (Call Server).
  2. Loadware - PSDL (Peripheral Software DownLoad) firmware files for specific peripheral equipment.

Patches are downloaded from Avaya's Enterprise Solutions PEP Library (restricted access).

Patching can be service affecting, so perhaps don't do it at 9am on a Monday morning!

With High Availability systems, it's possible to split cores in LD 135, patch the inactive side, cutovr, check everything is OK - then patch the newly inactive side, and finally re- join again. Be careful of this approach with different MGC loadware versions though.

Finally, don't forget to edd (LD 43) before and after patching.


Local Procedure:

Deplist:

  1. Copy the patch zip file onto a compact flash (8.3 name), and place it in the Call-Server front panel CF slot,
    or the A: drive on an SSC (via a PCMCIA adapter) as the process creates a temporary directory on the a: drive.

  2. In LD 143, issue the following command:

    Large: mdp install /cf2/dep.zip (assuming you've named the file dep.zip).
    -or-
    Small: mdp install a:dep.zip (assuming you've named the file dep.zip).

>ld 143
 
CCBR000
.mdp install /cf2/dep.zip
 
 
Install will deactivate and remove all PEPs from the system,
 
and install new PEPs from the MDP distribution.
 
Do you want to proceed (y/n)?  [y] <enter>
 
 
Extracting Archive /cf2/dep.zip
 
---------------------------------
 
extracting: CPM/PATCH/DEPLIST/mcore_01.cpm
extracting: CPM/PATCH/p17588_1.cpm
extracting: CPM/PATCH/p24307_1.cpm
extracting: CPM/PATCH/p25747_1.cpm
:
:
It's also possible to copy the unzipped files to a directory on the compact flash card, eg SWLOAD.
In this case, use mdp install /cf2/swload to install them all at once. This goes a little quicker.
  1. There is no need to remove pre-installed patches first. This procedure also works for 7.5 systems.
  2. mdp issp shows status of deplist patches on call server

Loadware:

Requires PDT access, or you can do it from Element Manager.

  1. Log into pdt on the call server (if in sec domain this is same account username and password)
  2. Then type cd /cf2, type ll and you should see the loadware files (having previously copied them to the CF).
pdt> cd /cf2
/cf2/  - Volume is OK
pdt> ll
 
Directory of '/cf2':
 
   SIZE          DATE       TIME         NAME
----------   -----------  --------   ------------
   1971456   Jan-25-2012  18:44:14   DSP1AB06.LW
   1971456   Jan-25-2012  18:44:28   DSP2AB06.LW
   1971456   Jan-25-2012  18:44:40   DSP3AB06.LW
   2316160   Jan-25-2012  18:44:56   DSP4AB06.LW
   2316160   Jan-25-2012  18:45:12   DSP5AB06.LW
   3533440   Aug-08-2012  13:38:34   MGCCCD03.LW
    800512   Jan-25-2012  18:45:40   MGCFAA19.LW
    298368   Jan-25-2012  18:45:42   T1E1AA19.LW
      2048   Sep-26-2012  09:31:50   backup                    <DIR>
    696192   Feb-04-2012  23:35:52   DEP.ZIP
 
pdt>
  1. One file at a time, copy the loadware in with copy <filename> /u/loadware
pdt> copy dsp1ab06.lw /u/loadware                     copy file to u/loadware directory
1971456 bytes copied
 
pdt> copy dsp2ab06.lw /u/loadware
1971456 bytes copied
 
pdt> ... continue for all .LW files
  1. Use lwload <filename> [all] and lwinst <handle> [all]
pdt> lwload dsp1ab06.lw                               load patch
Loading loadware patch from "/u/loadware/dsp1ab06.lw"
Loadware patch number is 0.                           ← note patch #
 
pdt> lwinst 0                                         install patch # 0 (from above)
Loadware  "DSP1AB03" will be replaced by  "DSP1AB06+"
Do you wish to continue (y/n)? [y]
MGC Loadware patches have been put into service.
Do you want to upgrade all MGCs now (y/n)? [y] n      *** ALWAYS SAY NO!!
Please use UPGMG commands in Ovl143 to upgrade.
 
pdt> ... continue for all .LW files
You can make this considerably easier by doing lwload all and lwinst all after copying all files to /u/loadware
  1. lwstat shows status of loadware patches on call server

Remote Procedure:

1. Remove current Patches

SSH or rlogin into the call server (admin2/0000 or secure login).

Check if there are any patches already installed - on a new installation, there won't be.

2. FTP upload the new patch file

On the local PC, copy the patch file to the root directory c:\
Filename must be 8.3 (no longer than 8 characters)

Open a CMD prompt, change directory to root, enter: C:\>ftp

At the FTP prompt, enter: ftp>open <IP of call-server> (login with pdt2/Password)

Change the remote directory, type: ftp>cd /u/patch (check you ARE in the /u/patch directory with PWD)

Type: ftp>bin to set BINARY mode, then type: ftp>mput <filename.zip>, and enter y to confirm.
The file is sent to the call server. When the upload is complete, type: ftp>bye to exit the FTP program.

Refer to CS File Transfer Protocol for some additional FTP commands and information.

3. Install new patches

Log into a CS TTY, admin2/0000

Goto LD 143, type: mdp install /u/patch/<filename.zip>

If the patch file is found you will be prompted to press <enter> or y to proceed.
Watch the screen scroll, and wait for the folowing message!

 299 patches on system activated.

PCH0153: Install routine completed successfully.

4. Check the installed patches, and confirm they are indeed installed.

Still in LD 143, type: mdp issp to list the installed patches (in-service PEPs):

.mdp issp

VERSION 4021
RELEASE 5
ISSUE 00 W +
DepList 1: core Issue: 02 (created: 2010-07-20 10:00:01 (est))

IN-SERVICE PEPS
PAT# PRS/CR     PATCH REF #     NAME            DATE      FILENAME      SPECINS
000  Q01454085-02 ISS1:1OF1       p06006_1        22/09/2009  p06006_1.cpm  NO
001  Q00349046  ISS1:1OF1       p17588_1        22/09/2009  p17588_1.cpm  NO
002  Q01217796  ISS1:1OF1       p19348_1        22/09/2009  p19348_1.cpm  NO
003  Q01446798-01 ISS6:1OF1       p22847_6        22/09/2009  p22847_6.cpm  NO
004  Q01501706  ISS2:1OF1       p23027_2        22/09/2009  p23027_2.cpm  NO
005  Q01725096  ISS2:1of1       p23200_2        22/09/2009  p23200_2.cpm  NO
:
:
:
MDP>LAST SUCCESSFUL MDP REFRESH :2009-09-22 11:29:04(Local Time)
MDP>USING DEPLIST ZIP FILE DOWNLOADED :2010-07-29 08:18:20(est)

5. Loadware

Loadware files are copied to the call servers /u/loadware directory.
Use the PDT command lwload <filename> [all] - followed by lwinst <handle> [all] to install.
lwstat shows status of loadware patches on call server.