Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Connecting to AMP's database using ODBC 

Jun 09, 2014 01:26 PM

There are 2 levels of security that need to be changed to allow ODBC connections to AMP's database. The following instructions refer to config files in /var/lib/pgsql/data/ :

1. In hba.conf, add a line for your clients that can connect. In my environment, I added this:

host all all 10.51.0.0 255.255.0.0 trust

A more secure option is to force username/password login like this:

host all all 10.51.0.0 255.255.0.0 ident airwave

2. In postgresql.conf this line

virtual_host = 'localhost'

defines the addresses that postgres will listen from. Since you want to listen for more addresses than just localhost, you'll need to add entries or just comment out the line. I commented it out like this:

#virtual_host = 'localhost'

Once I had those two files configured, I restarted postgres like this:

# service postgresql restart

And was able to connect to AMP's database from my laptop via PGAdmin III and with MS Access using ODBC. I understand from my old notes that the ODBC drivers are available inVisualStudio.NET.

The default username and password for AMP's database are airwave/airwave.

Statistics
0 Favorited
7 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.