Monitoring, Management & Location Tracking

How to apply a patch on Airwave server
Requirement:

When the fix for an issue that was reported as defect is included in new release [example 8.0.x] then patch can be provided to back port the fix in previous version [example 7.7.x] based on the priority of the issue and request.

 

Patch will be provided by TAC/SE team to customers.

The extension if the files will be .diff ( it can be .patch also but .diff is preffered)



Solution:

Once the patch with extension .diff/.patch is obtained from TAC/SE please following the below instruction to test and apply the patch.
 
1. Copy the patch to the following directory using winscp tool.
   /var/airwave/custom

1a: In case of .diff files, run the below commands.

#cd /var/airwave/custom.

#apply_diff <patch-name.diff>

#root

#screen

#make.

 

1b: In case of non .diff files, we can run below commands.

 

# root
# patch -p0  --dry-run < /var/airwave/custom/<patch file>
 
 Run the following command to apply the patch if the about command doesn't returns any error message.
# root
# patch -p0 < /var/airwave/custom/audit_page.patch
# screen
# make

 

Please contact TAC/SE if this code recompilation [# make] returns error along with the patch and following logs.
a. /tmp/svn_status.log
b. /var/airwave/custom/<patch file>

 



Configuration:

Incase after applying patch, some new issue is seen, please immediately contact TAC and revert the patch.

 

Steps to revert patch.

for .diff files,

#cd /var/airwave/custom

# revert_diff  <file-name.diff>

#screen

#make

 

For non .diff files,

#root

# patch -R -p0 < /var/airwave/custom/file-name

# screen

#make



Verification

Once the patch is successfully applied, the services should come online in a few minutes and the output of #wd from CLI would show the below list of services.

 

Every 1.0s: daemons                                                                                                                                                                                                  Thu Oct 15 14:40:57 2015

  PID  PPID  PGID %CPU %MEM      RSS      ELAPSED CMD
 1911     1  1911  0.0  5.3   870568  31-02:50:19 Daemon::AMONAggregator
 1946     1  1946  0.1  5.3   866464  31-02:50:18 Daemon::APListCacher
 1950     1  1950  0.0  5.3   863300  31-02:50:17 Daemon::APScanner
 1958     1  1958  0.1  5.4   886472  31-02:50:17 Daemon::APWatcher
 1961     1  1961  0.0  5.3   862044  31-02:50:17 Daemon::APWatcherPollNow
 1940     1  1940  0.0  5.3   867528  31-02:50:18 Daemon::AlertD
21867     1 21867  1.2  5.9   962868     02:56:26 Daemon::AsyncLoggerClient
23977     1 23977  0.8  5.9   957404     02:40:26 Daemon::AsyncLoggerClient
 1968     1  1968  0.0  5.3   861716  31-02:50:16 Daemon::ConfigPusher
 1971     1  1971  0.0  5.3   862992  31-02:50:16 Daemon::ConfigVerifier
 1981     1  1981  0.0  5.3   864192  31-02:50:15 Daemon::DNSFetcher
 1974     1  1974  0.0  5.3   873636  31-02:50:16 Daemon::DeviceEvent
 1978     1  1978  0.0  5.3   862592  31-02:50:16 Daemon::DeviceHTTPSHandler
 1908     1  1908  0.0  5.4   877748  31-02:50:19 Daemon::ExecUIQuery
 1784     1  1784  0.1  0.2    27952  31-02:50:25 Daemon::LowLevelServiceWatcher
 1987     1  1987  0.0  5.3   870348  31-02:50:15 Daemon::PAPI
 2071     1  2071  0.0  5.3   869608  31-02:50:05 Daemon::PAPIDecoder
 1990     1  1990  0.0  5.3   865472  31-02:50:15 Daemon::PAPIDecoder
 1993     1  1993  0.1  5.3   866120  31-02:50:14 Daemon::PAPIQueueConsumer
 1996     1  1996  1.0  6.2  1008520  31-02:50:14 Daemon::PEFProcessor
 1984     1  1984  0.0  5.3   864256  31-02:50:15 Daemon::PartialConfigPusher
 1936     1  1936  0.3  5.3   867640  31-02:50:18 Daemon::PerfCollector
 1888     1  1888  0.0  5.3   861364  31-02:50:20 Daemon::PortGrabber
 2002     1  2002  0.0  5.3   862320  31-02:50:14 Daemon::SNMPEnabler
 2006     1  2006  0.0  5.3   862960  31-02:50:14 Daemon::SNMPFetcher
 2012     1  2012  0.1  5.4   878912  31-02:50:10 Daemon::SNMPV2Fetcher
 2015     1  2015  0.1  5.3   868368  31-02:50:10 Daemon::SNMPV2Fetcher
 1999     1  1999  0.0  5.3   866540  31-02:50:14 Daemon::Scriptorium
 1796     1  1796  0.3  5.3   868244  31-02:50:22 Daemon::ServiceWatcher
 1913     1  1913  0.0  5.3   863096  31-02:50:19 Daemon::SwarmHandler
 2018     1  2018  0.3  5.4   887104  31-02:50:10 Daemon::SyncD
 2026     1  2026  0.0  0.2    27708  31-02:50:09 Daemon::TranslationServer
 1894     1  1894  0.1  5.3   870720  31-02:50:19 Daemon::TupleScheduler
 1891     1  1891  0.0  5.3   861272  31-02:50:20 Daemon::TupleSpaces
 2051     1  2051  0.0  5.4   886488  31-02:50:07 Daemon::UCCProcessor
 2042     1  2042  0.0  5.3   865308  31-02:50:07 Daemon::WepKeySetter
 1848     1  1847  0.5  0.3    47932  31-02:50:20 RabbitMQ
 2040  2039  2039 14.8  2.7   437544  31-02:50:07 VisualRF
 1802     1  1802  0.0  0.1    20532  31-02:50:20 airbus
 1699     1  1699  0.0  5.3   866136  31-02:51:49 httpd_
 1917     1  1796  0.0  0.0      752  31-02:50:18 msgHandler
 1931  1930  1930  0.0  0.0     4812  31-02:50:18 pound
 1930     1  1930  0.0  0.0      988  31-02:50:18 pound
 1903     1  1903  5.6  0.1    16620  31-02:50:19 redis
 1445     1  1445  0.0  0.0     1736  31-02:52:19 rrdcached
 2010     1  2010  0.0  2.0   321356  31-02:50:10 snmptrapd


 

 

Version History
Revision #:
2 of 2
Last update:
‎10-30-2015 10:19 AM
Updated by:
 
Labels (1)
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.