Changes

Understanding Configuration Options

740 bytes added, 08:05, 18 March 2019
no edit summary
{{TOC right}}
__NOEDITSECTION__
==Standalone versus Client-Server Configuration==__NOEDITSECTION__To determine the initial configuration of the IMSMA<sup>NG</sup> system, it is important to understand the two ways in which IMSMA<sup>NG</sup> can be set up and the basic architecture of the system. IMSMA<sup>NG</sup> is a client-/server software application designed to run in stand-alone or client-/server mode. In a stand-alone system, both the IMSMA<sup>NG</sup> client and server are installed on the '''same ''' computer. The stand-alone configuration is the simpler type of installation: it requires no additional network equipment or infrastructure and is easy to maintain.
{| class="wikitable"
|+ Comparison of Standalone Stand-alone and Client-Server /server Configuration Options
! Configuration
! Advantages
! Disadvantages
|-
| <b>StandaloneStand-alone</b>
|
* Simple to set up and maintain
* Limited IT knowledge required
* Can be upgraded to a networked client/server configuration later
|
* One-at-a-time data access
|-
| <b>NetworkedClient/server</b>
|
* Multiple concurrent data access
|
* Complicated to set up and maintain
* Networked Local Area Network infrastructure required
* Multiple computers required
|-
|}
In a client-/server configuration, one computer acts as a server and many other computers can connect to it simultaneously over a network, enabling multiple people to access the same data at the same time. A client-/server installation requires at least two computers and a network infrastructure connecting the computers together. Using a client-/server installation, a mine action programme can have multiple data entry clerks entering data at the same time.
[[Image:Understanding Configuration Options - Networked Config.png|center|300px|''Client-Server /server Config'']]
<div align="center">
''Client-Server Configuration/server configuration''
</div>
{{importantNote| Be aware of the following when running IMSMA in a client-/server installation:
* The server and client(s) must be running the exact same version of IMSMA.
* The properties-service.xml and gisServer.properties files file on the server must be configured. For more information, see the IMSMA 4.0 Installation Guide for a client-server installation. * The client(s) must be configured to connect to the server. For more information, see the IMSMA 4.0 Installation Guide for a Client-Server Installation.
* Maps only need to be installed on the server.
* Data entered into the server or clients will be automatically rendered to all clients (as well as the server). However, GIS geospatial information (points, polygons) will NOT be immediately rendered to all clients. To either post your GIS-related geospatial updates to the server (thus making them available to other clients) or to receive updates from the server, you must log out of IMSMA and then log back in.
* Fonts will need to be installed on both the server and client(s)
}}
==Client-Server /server Architecture==__NOEDITSECTION__
Whether a programme uses a stand-alone installation or a client-/server installation, the IMSMA<sup>NG</sup> software has two main components:
* the IMSMA<sup>NG</sup> server
The figure below shows the parts of the software; the following sections then explain the functions that each part performs.
{| border="1" cellpadding="5"
|- valign="top"
|
[[Image:stand_alone Architecture.png|center|300px|''Stand-alone architecture'']]
|[[Image:Understanding Configuration Options- Client Server Architecture.png|center|500px600px|''Client-Server Architecture/server architecture'']]<div align="center">''Client-Server Architecture''</div>
|}
===Server===__NOEDITSECTION__
The IMSMA<sup>NG</sup> server stores data and manages much of the data processing. The server has two main parts, the datastore and the business layer. The datastore is where data is stored for retrieval by the IMSMA<sup>NG</sup> client. IMSMA<sup>NG</sup> uses a MySQL PostgreSQL relational database to store data on the server. Additionally, IMSMA<sup>NG</sup> stores other data including attachments and some configuration files on the server in file format. The MySQL PostgreSQL database is accessible via a variety of database access tools designed for browsing relational databases.
{{warning|While the database contains many relational database constraints designed to preserve data integrity, all updates of data should be handled through the business layer rather than with direct SQL updates in order to maintain integrity. Failure to do so will likely cause data corruption or loss}}
===Client===__NOEDITSECTION__
The IMSMA<sup>NG</sup> client is the interface through which users can connect to the server and browse the system, enter data and generate outputs. The client includes an integrated GIS component and reporting tools. Based on ESRI’s ArcGIS Engine, the GIS component performs all geospatial calculations including distance/bearing calculation, coordinate conversion and reprojection. The GIS component also allows each client to load and manage its own maps and geographic data which the client receives from the IMSMA<sup>NG</sup> server. As a result, each client receives and locally stores a complete copy of geographic data from the IMSMA<sup>NG</sup> server when it is connected to the server. This synchronized data is stored in a client ―sandbox‖ separate from the server and can always be updated by connecting to the server.
JasperSoft’s iReport tool is built into each IMSMA<sup>NG</sup> client and allows users to access data from the database via the business layer. With iReport, users can generate reports containing tabular data, subreports and cross tabs as well as various types of charts and graphs. These reports can easily be localized into any language that IMSMA<sup>NG</sup> supports. Additional reporting options include direct connections to the IMSMA<sup>NG</sup> database via ODBC. This functionality supports tools such as Crystal Reports, Microsoft® Access®, Microsoft Excel® and various open-source reporting tools.
 
===Memory settings===__NOEDITSECTION__
 
By reserving memory for {{IMSMANG}}, less memory may be used by other applications. It also depends on how much memory the computer has if is possible to reserve more memory for {{IMSMANG}}.
 
[[Image:memory_settings.png|500px]]
 
If you would like to reserve more memory for the IMSMA server '''process''', edit row 3 in ''C:\IMSMAng\trayLauncher\TrayLauncher.properties''.
 
If you would like to reserve more memory for the IMSMA client '''process''', edit row 12 in ''C:\IMSMAng\trayLauncher\TrayLauncher.properties''. Start with increasing it to 1024 and then evaluate.
 
{{Note |
* Since IMSMA NG is a 32-bit application there is no effect by reserving more than total 4 GB.
* On the physical server in a client/server configuration there is need to start the client, take backup and restore so do not set the client process memory to less than 512. }}
{{NavBox Information Management}}
 [[Category:Information managementNAA]]
6,632
edits