Cisco CDA (Context Directory Agent) – Applying Patches

KB ID 0001024 Dtd 19/01/15

Problem

Having a button that you could upload patches from, that would crazy eh? Cheers Cisco! I deployed a CDA appliance recently, and it needs (eventually) to be able to talk to Cisco ISE so I knew it had to be up to patch 2. At time of writing we are at patch 4, so I thought I’d put them all on.

I don’t know if the patches are cumulative, and patch 3 looks a little smaller than patch 2 so I thought I would apply them all, in order to be on the safe side.

Solution

Before you start make sure your patches are downloaded and in the root of your FTP server (I use 3cDaemon).

`

In the process below I will install patch 4, the procedure is the same for all of the patches, the only difference is patch 1 does not automatically reboot the CDA when it is finished, all the others do.

1. Connect to the CDA either directly to the console or via SSH. Go to config mode and create a repository.

Petes-CDA/admin# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Petes-CDA/admin(config)# repository CDAPatch4
Petes-CDA/admin(config-Repository)# url disk://CDAPatch4
Petes-CDA/admin(config-Repository)# end
Petes-CDA/admin#

2. Make a directory that the repository will use.

Petes-CDA/admin# mkdir disk://CDAPatch4
Petes-CDA/admin# dir

Directory of disk:/

       4096 Jan 19 2015 13:00:07  CDAPatch4/
      16384 Dec 08 2014 14:15:07  lost+found/

           Usage for disk: filesystem
                  172765184 bytes total used
                14275043328 bytes free
                15234142208 bytes available

3. Copy your patch over from your FTP server. (You wont get any response to say it worked!)

Petes-CDA/admin# copy ftp://192.168.1.100/cda-patchbundle_1.0.0.011-4.i386.gz disk://CDAPatch4
Username: PeteLong
Password: **********

4. Check the file is there.

Petes-CDA/admin# dir recursive

Directory of disk:/

       4096 Jan 19 2015 13:02:11  CDAPatch4/
      16384 Dec 08 2014 14:15:07  lost+found/

Directory of disk:/CDAPatch4

    3974740 Jan 19 2015 13:02:11  cda-patchbundle_1.0.0.011-4.i386.gz

Directory of disk:/lost+found

No files in directory

           Usage for disk: filesystem
                  176746496 bytes total used
                14271062016 bytes free
                15234142208 bytes available

5. Install the patch.

Petes-CDA/admin# patch install cda-patchbundle_1.0.0.011-4.i386.gz CDAPatch4
Save the current ADE-OS running configuration? (yes/no) [yes] ? yes
Generating configuration...
Saved the ADE-OS running configuration to startup successfully

Initiating Application Patch installation...

% This application Install or Upgrade requires reboot, rebooting now...

Broadcast message from root (pts/0) (Mon Jan 19 13:52:39 2015):

The system is going down for reboot NOW!

Patch successfully installed
Petes-CDA/admin#

6. After the CDA has rebooted, check the patch version(s) installed.

Petes-CDA/admin# show ver

Cisco Application Deployment Engine OS Release:
ADE-OS Build Version:
ADE-OS System Architecture: i386

Copyright (c) 2005-2011 by Cisco Systems, Inc.
All rights reserved.
Hostname: Petes-CDA


Version information of installed applications
---------------------------------------------

Cisco Context Directory Agent
---------------------------------------------
Version      : 1.0.0.011
Build Date   : Tue May  8 15:34:26 2012
Install Date : Mon Dec  8 14:24:18 2014

Cisco Context Directory Agent Patch
---------------------------------------------
Version      : 1
Build number : NA
Install Date : Mon Jan 19 13:22:19 2015

Cisco Context Directory Agent Patch
---------------------------------------------
Version      : 2
Build number : NA
Install Date : Mon Jan 19 13:34:54 2015

Cisco Context Directory Agent Patch
---------------------------------------------
Version      : 3
Build number : NA
Install Date : Mon Jan 19 13:44:30 2015

Cisco Context Directory Agent Patch
---------------------------------------------
Version      : 4
Build number : NA
Install Date : Mon Jan 19 13:52:36 2015

Petes-CDA/admin#
 

Related Articles, References, Credits, or External Links

NA

Author: Migrated

Share This Post On