Hardware requirements
- Memory: At least 8 GB recommended
- CPU: Only requirement is it has to be of x86-64 architecture. But should be a modern processor with multiple cores
- DISK: At least 30 GB for base and the rest depends on the volume of your data. The rough estimate is that it will take about 2 GB disk space for every million of archive units. So if there is 2 millions of data then 30 + (2 * 2) = 34 GB should be enough
It is highly recommended to install Elasticsearh on a separate machine. For detail info about Elasticsearh hardware requirements see https://www.elastic.co/guide/en/elasticsearch/guide/current/hardware.html
OS requirements
Microsoft Windows Server 2008 R2 or later or Microsoft Windows 7 or later.
Asta requirements
At least Asta v5.4.3 is required.
Install Java
If not already installed need to download and install a Java SE Runtime Environment (JRE). Java 8 is needed.
You can download and install Java follwing https://java.com/en/download/help/windows_manual_download.xml
Install Elasticsearch
Elasticsearch v6.7 can be installed by following https://www.elastic.co/guide/en/elasticsearch/reference/6.7/windows.html
Now we need to change the elasticsearch cluster name. For doing that open /path/to/elasticsearch/config/folder/elasticsearch.yml and change the following
Uncomment cluster.name and set it to astaonline
cluster.name: astaonline
Install ASTA Online
Download the installer from https://drive.google.com/open?id=1YXTVrPd1q6Oriy6cJ_xbX5TozxZuy4Cg
- Run the installer then just follow the instructions
Provide the necessary application properties/configurations in the installer. If desired those can be provided later, open the path_to_application_directory\
a
pplication_prod.properties and change to the appropriate values. LikeC:\Program Files\AstaOnline\application-prod.propertiesasta.origin=http://localhost:8088 asta.institute.id=asta asta.service.requisition.enabled=true oracle.host=localhost oracle.port=1521 oracle.service=xe oracle.username= oracle.password= es.host=localhost server.ssl.enabled=false server.ssl.key-store-type=JKS server.ssl.key-store=path/to/key/file server.ssl.key-store-password= server.ssl.key-alias=
- The installer has option to export data to elasticsearch. At the last page just tick the checkbox if that is desired. Otherwise it can be done later as shown in Export to Elasticsearch section.
The installer will install Asta Online application and Asta Online Syncing application as services. After finishing the installation start those services from Windows Services.
Open http://your_server_host:9090 in the browser to start using ASTA Online.
Export to Elasticsearch
Although not necessary but it is recommended to stop the Asta Online Syncing Application service while doing this. Then invoke
- path_to_application_directory\aoexport.bat
After the export is finished start the Asta Online Syncing Application service again if you have stopped it.
Depending on the amount of data this process may take several hours to complete. It may also hamper the performance of ASTA Online as well as ASTA Engine/Client.
Alias of Elasticsearch
If you have not restarted aosync service after export necessary elasticsearch aliases are not created. In order to create them invoke
- path_to_application_directory\aoesalias.bat
Necessary Ports
- 9090 for accessing AstaOnline (can be changed by server.port property)
- 47632 for syncing with oracle (can be changed by asta.listener.port property)