Mirror of Unidata's AWIPS2.
Find a file
2016-09-15 12:14:02 -05:00
build pare down grib logging 2016-08-03 13:01:15 -05:00
cave Hide AlertVisualization dialog by default on cave start 2016-09-15 12:14:02 -05:00
cm/AWIPS2_NWS Merge branch 'master_16.2.1-p1-lx' into master_16.2.2 2016-06-08 10:55:30 -04:00
deltaScripts Omaha #5783 Typo in delta script 2016-08-30 13:11:02 -05:00
edexOsgi decoderpostprocessors naming 2016-09-15 12:12:24 -05:00
javaUtilities Merge branch 'omaha_16.2.1' into omaha_16.2.2 2016-01-06 11:55:00 -06:00
localApps 12.4.1-4 baseline 2012-04-18 15:18:16 -05:00
localization remove files large than 50M 2016-06-27 15:35:21 -05:00
nativeLib ufpy->python-awips; runso binary; distribution file regex additions for thredds files; Hydro app defaults; purge rules for UCAR build 2016-06-27 15:44:11 -05:00
pythonPackages Omaha #5769 Fix mixed case issues in a few formatter. Improve reliablity of VTEC auto tests. 2016-08-30 13:10:11 -05:00
RadarServer /data_store->/awips2/data_store; EDEX raw data purge every hour; incl. hydroapps linux32 libs in RPM build; other pkg updates 2016-07-28 14:04:15 -06:00
rpms Radar map resource and lpi file lgx and psf additions 2016-09-12 13:56:03 -05:00
testProcedures/testDocuments Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
tests Omaha #4839 Update for Jetty9 compatibility. Remove jetty jars from tests. 2015-11-19 15:56:02 -05:00
.gitignore gitignore swp files 2016-09-12 15:13:42 -05:00
installCAVE.sh installl scripts should account for el7 repo 2016-08-23 16:54:16 -05:00
installEDEX.sh installl scripts should account for el7 repo 2016-08-23 16:54:16 -05:00
README.md UCAR build and install scripts, RPM specs, edex deploy, p2 build 2016-06-27 14:17:07 -05:00

Install AWIPS II

These scripts should be run as root:

CAVE Client

Download and run installCAVE.sh

wget http://www.unidata.ucar.edu/software/awips2/installCAVE.sh
chmod 755 ./installCAVE.sh
./installCAVE.sh

EDEX Server

Download and run installEDEX.sh:

wget http://www.unidata.ucar.edu/software/awips2/installEDEX.sh
chmod 755 ./installEDEX.sh
./installEDEX.sh

What do these scripts do?

  1. Downloads http://www.unidata.ucar.edu/software/awips2/doc/awips2.repo to /etc/yum.repos.d/awips2.repo
  2. Runs yum clean all
  3. Runs yum groupinstall awips2-server and/or yum groupinstall awips2-cave

System Requirements

EDEX operations systems supported:

  • CentOS 5 and 6
  • Red Hat 5 and 6
  • Fedora Core 12 to 14

Not supported for EDEX:

  • Debian, Ubuntu, SUSE, Solaris, OS X, Fedora 15+, CentOS/RHEL 7, Windows

It will probably work on Scientific Linux.

selinux should be disabled (read more about selinux at redhat.com)

CentOS/RHEL 6 Server Config

Download awips2.repo yum file

wget -O /etc/yum.repos.d/awips2.repo http://www.unidata.ucar.edu/software/awips2/doc/awips2.repo

create user awips and group fxalpha

groupadd fxalpha
useradd -G fxalpha awips

create /awips2 and set owner to awips:fxalpha

mkdir -p /awips2/data_store 
chown -R awips:fxalpha /awips2

edit /etc/security/limits.conf

Qpid is known to crash on some systems which have not defined a higher security limit for user processes and files. To be sure that Qpid can handle the high number of messages from edexBridge, add the following two lines to /etc/security/limits.conf

printf "awips soft nproc 65536\nawips soft nofile 65536\n" >> /etc/security/limits.conf

Or copy manually:

awips soft nproc 65536
awips soft nofile 65536

/etc/sysconfig/iptables

To serve data from an EDEX server, iptables must allow TCP connections on ports 5672, 9581 and 9582. The following lines added to /etc/sysconfig/iptables, followed by the command service iptables restart, will configure iptables for EDEX.

-A INPUT -p tcp -m tcp --dport 5672 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 9581 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 9582 -j ACCEPT

Install with Yum

yum groupinstall awips2-server

The EDEX Data Server packages will take roughly 20-30 minutes to install, so you may want to let this run and come back.

yum groupinstall awips2-server -y 2>&1 | tee -a edex_install.log

Start EDEX

edex start

If you see an error from the above command, check your EDEX configuration with the command

edex setup

(this is done once during installation, but it's a good idea to check again) Confirm that all EDEX services are running:

[root@edex ~]# edex
[edex status]
 postgres    :: running :: pid 7317
 pypies      :: running :: pid 7345
 qpid        :: running :: pid 7378
 EDEXingest  :: running :: pid 8271
 EDEXgrib    :: running :: pid 8317
 EDEXrequest :: running :: pid 8218
 ldmadmin    :: running :: pid 1337 

 edex (status|start|stop|setup|log|purge)

Watch Logs

edex log
[edex] EDEX Log Viewer

 :: No log specified - Defaulting to ingest log
 :: Viewing /awips2/edex/logs/edex-ingest-20140413.log. Press CTRL+C to exit


INFO  2014-04-13 20:48:25,413 [genericThreadPool-59] Ingest: EDEX: Ingest - obs:: /awips2/data_store/text/13/20/SPXX61_KWBC_132048_25234695.20140413Apr processed in: 0.1600 (sec) Latency: 0.3280 (sec)
INFO  2014-04-13 20:48:25,415 [genericThreadPool-91] Ingest: EDEX: Ingest - taf:: /awips2/data_store/text/13/20/FTXX60_KWBC_132048_25234702.20140413Apr processed in: 0.0060 (sec) Latency: 0.3300 (sec)
INFO  2014-04-13 20:48:25,445 [genericThreadPool-62] Ingest: EDEX: Ingest - sfcobs:: /awips2/data_store/text/13/21/SXUS20_KWNB_132100_25234700.20140413Apr processed in: 0.1850 (sec) Latency: 0.3600 (sec)
  • edex log grib - Grib Products
  • edex log radar - Radar Products
  • edex log satellite - Satellite Products
  • edex log text - Text Products
  • edex log ldm - LDM log

Confirm EDEX Hostname

Check the file /awips2/edex/bin/setup.env to confirm that the EDEX hostname is resolvable both from inside and outside your machine.