Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Hardware requirements

  • Memory: At least 8 GB recommended
  • CPU: 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


Note

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

...

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

...

Download the installer from https://asta-online.s3.eu-north-1.amazonaws.com/installer_win

  • 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\application_prod.properties and change to the appropriate values. Like

    Code Block
    titleC:\Program Files\AstaOnline\application-prod.properties
    asta.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.

Note

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.

...

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)

...