Installation: Mevinet-Q2
Installation: Mevinet-Q2
MEVInet-Q2
Installation - MEVInet-Q2
E-Mail: info@ims-gmbh.de
www.ims-gmbh.de
© IMS Messsysteme GmbH. All rights reserved. This documentation is protected in all
parts by copyright laws. Distribution and reproduction without the prior written authorisation
of IMS Messsysteme GmbH are prohibited. All company and product names used in this
documentation may be registered trademarks.
Contents
1 Introduction ...................................................................................................................... 4
1.1 General .............................................................................................................................. 4
1.2 System Requirements ....................................................................................................... 4
2 Preparations ..................................................................................................................... 5
2.1 Configure SQL Database ................................................................................................... 5
2.1.1 Important Database Settings ............................................................................................. 6
2.1.2 Settings for “IMS” Database .............................................................................................. 6
1 Introduction
1.1 General
Multiple components The IMS MEVInet-Q2 system consists of various software components that
have to be installed and configured on the target platform.
Necessary knowledge This document describes the individual steps for a complete system setup. It
is aimed at people with knowledge in the following:
administration of Windows operating systems.
MEVInet-Q2 system components.
use of SQL servers and databases.
Individual hardware The hardware for the IMS MEVInet-Q2 system must be coordinated with IMS
for the intended purpose on a case by case basis. It is not possible to
generalise in this regard.
MS Windows Server Microsoft Windows Server is used as operating system and Microsoft SQL
SQL Server
Server as database.
2 Preparations
Installation requirements The following preparatory work must have been completed before installing
the MEVInet-Q2 system:
installation of the operating system,
installation of SQL Server,
installation of Microsoft .NET Framework.
The database directory for SQL Server should be placed in its own separate
disk partition of suitable size. This prevents later problems with system
memory.
Create database “IMS” An empty database named “IMS” must be created in SQL Server on the
target platform for initial installation. It is best to use the management tools of
SQL Server for this.
Limit database size Once the “IMS” database has been created, its growth must be restricted to a
maximum size derived from the disk space available. The log file is also
restricted.
Permission to connect to Enable The account for the SQL Server user “sa”
database engine first has to be enabled after a new installation
(version-dependent).
Password “saims” The password for the user “sa” must be set
once. The MEVInet-Q system is pre-
configured for this password. The password
must therefore be changed on both sides.
Database default locations D:\MSSQL\ The database files of the IMS database are
on drive D stored here.
Assign file system rights NT Service\ (SQL Server 2005 and newer):
for the database directory MSSQLSERVER In order to be able to save files in the new
directory, its NTFS permissions for the local
SQL Server user account must be set on full
access. The user account can be selected in
the NTFS Share dialogue.
Increase in file size of In megabytes; 200 MB This prevents the procurement of new
“IMS.mdf” memory taking too long.
Maximum file size of Limited; 100 MB The log file will never grow bigger than the
“IMS_log.ldf” specified value.
MEVInet Installation The MEVInet-Q2 system is installed with the IMS installation application
Tool
“MEVInet Installation Tool.exe” (MIT). MIT enables selection of individual
software components and executes installation in the right order.
Since it also makes system settings for certain services, MIT must be run with
administrator rights.
Copy setup files First copy the complete setup directory to the target system.
Start installation Then start installation with the file “Mevinet Installation Tool.exe” in
the setup directory.
“Install”
“MEVInet-Q V2”
The next dialogue presents various options for installation. Select the option
“MEVInet-Q V2” to install all MEVInet-Q2 core components automatically and
then click the button “Next >”. The option “Custom” allows specific selection
of individual components.
Installation of the
components
When installation has been finished successfully, the individual services must be configured.
Transfer measured data ImportService transfers the measured data from the measuring systems’
measurement log files (*.tm1) to the database. It is normally configured
during commissioning of the measuring systems.
Configure dclconfig.xml To configure a simple gauge, the following settings must be made in
dclconfig.xml:
Name of database 1. Open the file with a simple text editor (e.g. Notepad.exe) and replace the
server
entry 'SERVERNAME' at <!ENTITY SQLSERVER 'SERVERNAME'> with
the name of the database server that is to be used. It is normally the
same as the host name of the host computer (Q-Server).
Setting of parameters for 2. The entries for “simple” material tracking are to be found in the bottom
material tracking
part of the file. Various parameters must be set there. The parameters
concerned are highlighted in bold in the following text extract.
<mtdefinitions current="Kunde">
<materialtracking name="Kunde">
<mtid table="ValuesKundeMessstelle"
mtid="@longtable.Bandnummer"
primary="DateTime"/>
</materialtracking>
Two variants of IMS DataViewer is the client application for visualisation and evaluation of
DataViewer Client
stored data. For this, it connects directly to an IMS DCLService available in
the network.
To distribute DataViewer to multiple workplaces, there are two installation
variants.
Load DataViewer from DataViewer is loaded from the Q-Server via the network during installation of
Q-Server
the NetClient. This is the recommended installation variant.
Simple updates The advantage of this variant is that it does not entail complex software
distribution. This simplifies updates in particular.
Distribute rights and The only disadvantage is the initial work required to distribute certain rights
shares
and share directories.
4.1.1 Preparations
Share “IMS To prepare for use of NetClients, the directory “IMS MEVInet-Q2” on the Q-
MEVInet-Q2”
Server must be shared with all network users who are to use a NetClient.
Set permissions
NTFS permissions
Shared symbol
You can then see the Shared symbol for this folder in the status line of
Windows Explorer.
.NET security policy In order to be able to call up DataViewer via the network, the .NET security
policy of the (local) client system must be set accordingly. In principle, every
code that is not installed locally (e.g. via the network) must explicitly be
granted permission in .NET to run.
Q2LinkBuilder Since .NET Framework from Version 2.0 only has a relatively complicated
command line program to set security policies, MEVInet-Q2 Setup places the
utility program “Q2LinkBuilder” on the Q-Server to this end. It simplifies the
steps needed to configure NetClients.
The correct version of .NET Framework must have been installed on the
target system.
Standard dialogue box The dialogue box shown below appears after launch.
In it enter all information with which a Windows link to the Q-Server’s
DataViewer.exe and a project that is to be loaded automatically can be
created.
Description of standard In the field “DataViewer”, enter the UNC path to DataViewer.exe on the Q-
settings Server.
The “Startup Options” set the language, operating mode and project file with
which DataViewer should start.
The field “Query” is used to define a main query configuration that should
always be loaded on launch.
A custom but unique link name under which the link is saved must be entered
as name of the “Shortcut”.
Click the button “Create Shortcut” to create the link on the desktop.
Description of additional “Execute Query” defines whether the main query is to be executed
settings
automatically after opening.
“Load all Queries” ensures that the query conditions in all query pages are
loaded.
“Autostart Pages” allows you to select the pages that are to be opened
automatically.
The field “Preview” shows the finished start command for the link that is to be
created for your information.
This installation variant is only useful if the network between target system
and Q-Server is slow or heavily utilised. The standard client is installed on the
target system with MEVInet-Q2.
To configure the standard client, the following steps must be carried out one after the other:
2. Install the correct version of .NET Framework on the target system. You
need administrator rights for this.
3. Run MIT (MEVInet Installation Tool) and select the option “Custom” in
the setup dialogue.
4. In the dialogue that follows select only the point “DataViewer” and start
installation by clicking the button “Next >”.