How to configure AIA

zygolux

New Member
Hi,

I have installed an AIA on a Web Server (Windows IIS) using Jrun4, in order to reach some Progress DB running on a Linux Server.
I succeed in getting the "AIA1 OK" message when I run the URL web-server:port/aia/Aia, which confirms the AIA is working OK.:)

Now, I would like to connect this AIA1 instance to a Nameserver (a one running on another Windows server which connects to a Db running on a Linux server). I am sure this name server is running OK as it is used by other application. My question is how to configure the AIA1, I mean what to write in the ubroker.properties file in order for this AIA1 to connect to a specific NS. I tried to set the properties broker and port, but I can't see this broker/port when I run the URL AIA1 to get the status.

Another question is about several AIA instances. Actually, I have more than 10 DBs and my idea was to create 10 AIA (AIA1, AIA2, etc ...) - 1 per DB. So how the ubroker.properties should look like and what is the connection string for an AIA1 , AIA2, etc ... In the example provided by Progress, the connection string for AIA1 is "http://web-server:port/aia/Aia", so I don't understand how to link this connection string to AIA1. Is it done by the web.xml file ? I guess yes ... but if I want to set a connection for each DB, does this mean I need 10 AIA instances, which means 10 different web.xml ... I am a little in lost in my case with several DB.:(

Thanks for any help.:)
 
The AIA is not meant to connect directly to a Database.

AIA = Appserver Internet Adapter.

It to connect to a AppServer thru the internet.


So you don,t need multiple AIA for multiple Database. You will need multiple Appserver instance each running on a different database. Your URL will specify wich appserver you wish to connect to thru the same AIA.

Example :
https://192.168.1.1:8443/aia/Aia?AppService=asbroker1
 
Hi François,
Thanks for your explanation ...
Actually, I have already some AS running on other servers (some run on the linux servers which hosts the DB, some others run on windows servers) but none of them run on the webserver where the AIA is installed.
How should I configure the ubroker.properties file on the webserver where the AIA is installed to have get connected to one AS or another AS installed on another machine ? So far, under the section [Aia.Aia1] I entered a broker host and a port (which reference an AS running on another machine), and the connection to this AS thru the AIA works OK, but how to make it dynamic in the URL.
What is asbroker1 ? Is it another AS that I have to set up on the webserver ? I am a little lost in this structure ... As I would have expected an URL like //99.99.99.99:999/aia/Aia?Appservice=Broker:Port.
Thanks.
 
Back
Top