Meta Integration® Repository (MIR) Server
"Metadata Management" Solution
README
Table of Contents
- Copyright Notice
- Release Changes
- MIR Server Installation
- Installing on Windows 2000, XP, or 2003 Server
- Installing on Unix / Linux x86
- Java security aspects
- License key
- On Windows 2000, XP, or 2003 Server
- On Unix / Linux x86
- Uninstalling/Re-Installing
- Database Setup
- Setting up Microsoft Access on Windows
- Setting up Microsoft SQL Server on Windows
- Setting up NCR Teradata on Windows
- Setting up Oracle on Windows
- Setting up Oracle on Unix / Linux x86
- Setting up IBM DB2 UDB on Windows
- MIR Server Upgrade
- Administration
- Starting the Server
- Login onto the Server
- Populating the database with the graphical interface
- Populating the database with the command line
- Modifying the MIRSetup.xml file
- Using the RepositoryBridge utility
- Repository Performance Tuning
- Automation Using Batch Scripts
Frequently Asked Questions
Technical Support
Copyright © Meta Integration Technology, Inc. 1997-2006.
All Rights Reserved.
Meta Integration® Model Bridge (MIMB), Works (MIW), Repository (MIR), Repository SDK (MIRSDK),
and Database SDK (MIDBSDK) are trademarks of Meta Integration Technology, Inc.
Other product and company names (or logos) mentioned herein may be the trademarks of their respective owners.
http://www.metaintegration.com
For a full list of changes on this release, you should also have a look at:
the MIW Readme file for the repository client application's improvements
the MIMB Readme file for model bridges improvements
the MIRWeb Readme file for repository web frontend's improvements
- v5.2.2 (10/01/2007)
- v5.2.0 (06/08/2007)
- v5.1.1 (03/23/2007)
- v5.1.0 (12/13/2006)
- Numerous performance improvements and minor bug fixes on the database connection, and the MIW client/server aspects
- New command line functionalities for scripting (e.g. automatic model stitching for model configurations
- v5.0.6 (10/31/2006)
- v5.0.5 (09/06/2006)
- v5.0.4 (08/01/2006)
- UPDATE: improved scripting tool:
- the -e | --export switch can now take a type: Script | Configuration | Repository. It is backwards compatible.
- new -f | --file switch is now used for any export action
- better error handling and return values
- fixed bug when setting password using the -u switch
- UPDATE: MIR Server:
- added more sanity checks on the MIR database when starting the server
- automatic database reconnection when connection lost
- fixed login to always recheck the password
- v5.0.3 (07/07/2006)
- UPDATE: improved scripting tool: the -l | --list switch can now list a subset of the repository
- v5.0.2 (06/02/2006)
- no functionality change
- but Java code reorganization and recompilation (making 5.0.2 client/server incompatible with previous 5.0.0 or 5.0.1)
- v5.0.1 (04/21/2006)
- v5.0.0 (03/10/2006)
- No database upgrade (from 4.3 to 5.0) required
- v4.3.0 (10/21/2005)
WARNING: The database needs to be upgraded by running the SQL script "MIR4_2_TO_4_3-Upgrade-MS-SQLServer.sql" for SQL Server databases, or "MIR4_2_TO_4_3-Upgrade.sql" for all other databases.
The scripts are located in the "Repository\Database" subdirectory of your MIR installation directory
- UPDATE: Database schema update:
- renamed two columns in the table MIR_SYSTEM_VERSION
- add a column in the table MIR_SYSTEM_COUNTERS
- added primary key on all tables
- UPDATE: improved scripting tool:
- added a switch -d | --description to specify the description of a User Defined Property
- added support for min/max and enumerated values for User Defined Property
- v4.2.1 (06/29/2005)
- v4.2.0 (05/27/2005)
- NEW: Extended repository metamodel: support of ETL, Reporting, Expression, and improved OLAP and Data modeling
- NEW: Extended repository metamodel: support for User Defined Properties on repository objects such as Product and Version
- NEW: Extended repository metamodel: support for new Product Type "Configuration"
- NEW: Renamed the MIRShell scripting tool as MIR
- NEW: The MIR scripting tool can now be used to create User Defined Properties on repository objects
- NEW: Improved configuration with conf/MIRSetup.xml file and MIRSetup executable (replacing the former MIRServer.ini)
- NEW: Three new executables to start the tools: MIRClient, MIRServer and MIRStandalone
- v4.1.6 (1/7/2005)
- UPDATE: Fixed a bug when starting the MIR Server as a service: the list of available bridges is now properly retrieved
- UPDATE: Improved the log messages in various places
- v4.1.5 (12/2/2004)
- NO CHANGES: matching the 4.1.5 release of MIMB
- v4.1.4 (11/24/2004)
- UPDATE: The SQL script for DB2 used to create the repository database has been updated with an extra TableSpace capable of handling large views
- UPDATE: Fixed bug specific to Microsoft Access when saving long descriptions in the database
- v4.1.3 (10/08/2004)
WARNING: all libraries have been recompiled because of improvements related to the bridge Manager library
- UPDATE: Support for Java Runtime Environment v1.5 (also known as 5.0)
- v4.1.2 (08/27/2004)
WARNING: The Meta Integration v4.1.2 tools now run on virtually any versions of Windows and Unix operating systems (currently packaged for Sun Solaris and Linux).
Consequently, the source code has been upgraded for C++ 98 compliance, and therefore all libraries and executable have been recompiled (even when no modifications were performed).
WARNING: The database needs to be upgraded by running the SQL script "MIR4_1_0_TO_4_1_2-Upgrade.sql" located in the "Repository\Database" subdirectory of your MIR installation directory
- UPDATE: C++ code cleanup for strict compliance to ANSI C++ 98
- NEW: Debian GNU/Linux Testing (Sarge) version available
- v4.1.0 (07/23/2004)
- UPDATE: Java v1.4.2 is now the required version to run the MIR software
- UPDATE: added a configuration parameter to enable or disable encryption of client/server communications
- UPDATE: fixed bug when saving a Model Mapping
- UPDATE: The SQL DDL script for NCR Teradata is again delivered with this version, to make the repository persistent on a Teradata database
- UPDATE: The SQL DDL script for IBM DB2 UDB has been modified to include creation of a BufferPool and TableSpace in DB2
- v4.1.0 Release Candidate 1 (07/03/2004)
- UPDATE: MIRWeb now works on Tomcat 4.x and 5.x
- UPDATE: MIRWeb now works on Sun Solaris
- v4.1.0 Beta 3 (06/17/2004)
- v4.1.0 Beta 2 (05/14/2004)
- UPDATE: Changed the server-side model validation from Detailed to Basic to avoid memory issues on very large models
- UPDATE: Primary Keys and Foreign Keys are now enforced in the MIR database
- v4.1.0 Beta 1 (05/03/2004)
- UPDATE: the MIRShell utility now replaces the previous MIRProduct, MIRVersion and MIRFormat set of tools
- v4.0.9 Beta (04/09/2004)
- UPDATE: improved open source MIRWeb application with:
- improved model visualization with hyperlink navigation
- performance improvements with server-side metadata caching system
- UPDATE: improved DB2 database installation instructions
- v4.0.7 Beta (03/12/2004)
- UPDATE: improved open source MIRWeb application with better model visualization and search engine capabilities.
- v4.0.6 Beta (03/08/2004)
WARNING: This version is not compatible with the previous versions of MIR.
- NEW: Added MIRWeb which allows running MIR as a Web/Intranet service.
- v4.0.5 Beta (02/06/2004)
WARNING: This version is not compatible with the previous versions of MIR.
- UPDATE: Changed the database schema: all property values are now stored in a single table.
- v4.0.3 Beta (12/18/2003)
WARNING: This version is not compatible with the previous versions of MIR.
- NEW: Added support for the new MIR repository metamodel version 4.
- NEW: Changed database schema for easier extensibility, and added SQL views
to facilitate ad-hoc metadata queries and metadata reporting.
- v3.1.1 (05/30/2003)
- NEW: Added support for MIR on top of an IBM DB2 database.
- v3.1.0 (04/30/2003)
- NEW: All communications between the client and the server are now encrypted.
- NEW: The user passwords are now encrypted in the database. A migration tool is
delivered to help you migrate your existing database.
- UPDATE: MIRModelBridge executable: pattern matching on the name of
the import or export bridge names was sometimes confusing and has been disabled.
The full name of the of the bridge must now be provided (e.g. you must enter
'OracleDesigner', not just 'OracleDes').
- v3.0.10 (02/24/2003)
- NEW: Added full delivery for Solaris 8 (some Model Bridges are not available in Solaris 2.5 delivery).
- v3.0.7 (11/22/2002)
- NEW: Installation: The shortcuts in the Start menu and the icons on the desktop are now created under the
COMMON program group and are shared by all users.
- UPDATE: MIRModelBridge executable: fixed problems related to the subsetting option.
- UPDATE: now correctly save the MIRGrouping objects in the repository.
- UPDATE: AliasPhysicalNames and Notes were sometimes not transferred from the C++ Model to the Java Model
- UPDATE: MIDBODBCConnector:
- DELETE movement type: can now delete using non primary key attributes. The attribute value can be NULL.
- Improved validation and code generation for movement types NULL and INITIALIZE.
- UPDATE: MIDBXMLConnector:
- various performance improvements.
- Source connector: added an option to use the work database to handle where clause on large number of rows.
- Destination connector: added an option to not generate empty tags for PCDATA attributes if their value is NULL.
- Source connector: fixed an error in retrieving non Primary Key Artificial Attributes.
- v3.0.3 (05/17/2002)
- NEW: added a Java Class to invoke the generated C++ data bridges from a Java application.
- NEW: now supports J2SE version 1.4.0.
- NEW: new bridge Informatica MX2 Mapping import (Beta): can be used with MIRModelBridge to save the Informatica
Repository structure into MIR Repository.
- UPDATE: improved saving and loading of large models.
- UPDATE: MIRFormat command line tool: added an option to set the name of the format.
- v3.0.1 (05/17/2002)
- UPDATE: MS Access migration tool: Comments where migrated with an extra
[MIRCOMMENT] prefix. The search "path" property on ClassMaps was not transferred.
- UPDATE: XMLConnector: did not use the search "path" property.
- v3.0.0 (04/29/2002)
- NEW: removed the dependency on a JDBC driver to access the database.
All accesses are now made through an ODBC driver.
- NEW: added Oracle as a target database in the installation program.
- NEW: added a field Parameters in the MIRServer.ini. This field is useful
to set parameters to the MIRServer (e.g. the port), when the server runs as a service on Windows.
- UPDATE: fixed a potential deadlock in the concurrent deletion of models.
- v3.0.0 Beta3 (03/22/2002)
WARNING: This version is not compatible with the previous versions of MIR.
- UPDATE: When saving a model in the MIR repository database, long string properties are truncated, when necessary.
- UPDATE: ODBC Connector: improved support for data movement involving large binary data.
- UPDATE: XML Connector: now 'escapes' the ATTLIST values written in the destination XML file.
- UPDATE: added tools to migrate your MIR repository MS-Access database from version 2.5.x to version 3.0.
- UPDATE: fixed a regression bug in version 3.0.0 Beta2: the update of a data transformation object is possible again.
- UDPATE: MIRSDK improvements: see MIRSDK Readme for details.
- v3.0.0 Beta2 (02/13/2002)
WARNING: This version is not compatible with the previous versions of MIR.
No migration tool is provided with this Beta release, althougth one will be
delivered with the final release.
The schema of the database will change before the final relase. You should use
this version for demo/assessement purposes only, not for production.
- UPDATE: the database schema has been changed to reflect the new MIR SDK.
See the MIRSDK Readme for details.
- Updated this readme file to give more information on the installation of the repository on Solaris and Oracle.
- UPDATE: ODBC Connector: various optimizations. Better support of Microsoft SQL server.
- UPDATE: XML Connector:
- Improvements for better support of the use of the Works Data Query tool against XML documents.
- The XML Connector is now able to log the tags and values that are being written (operation_mode=data_transfer_log).
- Various performance improvements and optimizations.
- The encoding of the input/output data can now be specified (the default is to assume the data are in the locale encoding).
- v2.5.1 (10/12/2001)
- NEW: Tutorial: added section how to run the tutorial on NCR Teradata.
- UPDATE: Tutorial: now contains the demo made at the NCR Partners 2001 Annual User Group Conference.
- v2.5.0 (07/30/2001)
- NEW: the new RepositoryBridge utility allows you to import repository data stored in an
Access file to your favorite repository RDBMS (Teradata, SQL Server, Oracle). It can also export your repository data
as an Access file, which is easily shareable.
- NEW: the MIDBMemoryConnector is now complete. It can replace the MIDBOdbcConnector used for the
work database. The data movement is faster and independant from any work RDBMS.
- UDPATE: data connectors maintenance.
- v2.5.0 Beta (07/02/2001)
- NEW: MIR Repository can now be installed on a NCR Teradata database.
- UDPATE: The schema of the Repository Database has been slightly modified to support NCR Teradata:
- All columns "position" have been renamed to "position_"
- All columns "type" have been renamed to "type_"
- All columns "password" have been renamed to "passwd"
- The table "Miroperation_mirattributemap" has been removed
- UPDATE: The Code Generator now handled all cases of reflexive relationships
- UPDATE: Improved performance in the XML Data Connector (especially when generating large XML files)
- UPDATE: The ODBC Data Connector does not fail anymore when transferring more than 32000 rows
- UPDATE: SDK: some properties have been moved from MIRElement to MIRModelObject.
- v2.4.6.3 (04/24/2001)
- UDATE: The import Model Dialog box now works properly.
- UDATE: MIDBBasicTransformations library: put more information in a
exception object when the conversion from one type to another fails.
- UDATE: First deliver of 2.4.6 on Solaris.
- v2.4.6.2 (04/19/2001)
- v2.4.6.1 (04/17/2001)
- The MIW.jar file delivered in version 2.4.6 was invalid.
- v2.4.6 (04/13/2001)
- UPDATE: Model Bridges: See the Readme file of the MIMB product for a detailed list of
changes (up to version 2.4.6.4)
- UPDATE: ODBC Connector: fixed a bug that prevented to insert more than 60 columns in a table
- UPDATE: ODBC connector: fixed a bug that generated incorrect output log when using the "data_transfer_log" transfer mode.
- UPDATE: ODBC Connector: did not handle correctly column names with spaces.
- v2.4.6 beta2 (04/04/2001)
- NEW: XML data movement tutorial has been rewritten with new examples
- UPDATE: Data Connectors: the XML connnector has been rewritten
- UPDATE: Improved memory management.
- v2.4.5 (10/30/2000)
- UPDATE: Model Bridges: Rose 2000e&2001, ERwin, NCR MDS 2.0, XML DTD...
- UPDATE: Data Connectors: several improvements have been made in the XML connnector
- v2.4.4 (08/28/2000) (Windows only)
- NEW: Java support for the Java™ 2 Platform, Standard Edition, v 1.3.
(Note that this version of MIR will not work with the older Java 2 SDK version 1.2)
- NEW: We have tested and found that this version is compatible with IBM's
new Java 1.3 runtime environment. So you now have the choice between
Sun's and IBM's implementations.
- UPDATE Meta Model: added a multiplicity property to Grouping,
added an optional link between SQLViewAttribute and Type,
moved the link between Class and CandidateKey
to the level of Key, added a extraConstraint property to Attribute,
added a clustered property to Index, added two subtypes of Operation:
Trigger and StoredProcedure.
- UPDATE Meta Model: added a class ClassType, a subtype of Type, to represent classes
used as Types. The Model Mapper has been updated to take advantage of this feature(the Tutorial samples however have not been updated yet).
- v2.4.3 (06/12/2000) (Solaris and Windows)
- UPDATE Meta Model: added a position property to Operation,
added a link between Class and Association to model AssociationClasses,
the link between Attribute and AssociationRole is now an Aggregation link,
the grouping modelisation has been modified.
- UPDATE: Presentation objects and Physical Objects are now stored in the repository.
- Improved functionality.
- v2.4.2 (03/17/2000) (Solaris and Windows)
- UPDATE Data Movement Tutorial with RDBMS Model Mapping Migration example
- UPDATE: MIRProduct worked incorrectly when the product to create already existed
- Improved functionality.
- v2.4.2 beta (02/25/2000) (Windows 9x and Windows NT)
- NEW: support for options in the model bridge invocation
- Improved functionality.
- v2.4.1 beta1 (01/21/2000) (Windows 9x and Windows NT)
- Bug fixes to the ODBC connector and MIRServer
- Update of the Tutorial Documentation
- v2.4.0 (12/27/99) (Windows 9x and Windows NT)
- UPDATE Data Movement Tutorial with RDBMS Multiple Sources example
- Improved functionality.
- v2.4.0 Beta4 (11/05/99) (Windows 9x and Windows NT)
- UPDATE Data Movement Tutorial with XML HL7 example
- v2.4.0 Beta3 (10/29/99) (Windows 9x and Windows NT)
- New Data Connector for XML, specifically HL7
- NEW and improved DTD import.
- Support for extended Select syntax in mappings, e.g., SUM, MAX,....
- Improved parsing of where clauses and operations..
- Extensions to the Repository, creation time stamps for new objects.
- Data query extended to allow the passing of connector specific parameters..
- Full support for stored procedures.
- Migration of Java code to release 1.2.2..
- Improved mapping migration facility.
- Improved functionality.
- v2.3.0 (07/20/99)
(Solaris and Windows NT)
- NEW Microsoft Repository 2.0 (XIF format) import
and export bridges.
- NEW W3C XML's DTD 1.0 import bridge.
- NEW COOL:Entreprise (ADW) version 2.7 import bridge.
- NEW COOL:DBA (Cayenne Terrain for DB2) version 5.3.2 import bridge.
- NEW Sybase PowerDesigner PDM v6.1.x import bridge.
- NEW Silverrun Silverrun-RDM v2.4.4 & v2.6.2 import bridge.
- NEW Data query interface for querying of
source and destination data stores.
- NEW Update and deleting of information in the destination data store is now
available.
- Improved functionality.
- v2.2.0 (06/01/99)
(Solaris and Windows NT)
- NEW availability of the server on Microsoft SQL
Server 7.0 and Oracle 8.0.5.
- NEW packaging: ability to run the repository server (MIR) in a single-user (standalone)
mode or multi-user mode on any platform (OS/RDBMS).
- NEW COOL:Gen version 5.0 import and export bridges
- NEW Designer 2000 version 2.1.2 import and export
bridges
- UPDATE meta model: improvement in the management of types
- v2.1.2 (04/15/99)
- UPDATE Personal Edition: All the notes of an object are now stored in the database
- v2.1.1 (04/09/99)
(Solaris and Windows NT)
- UPDATE meta model: MIRComputedAttributeMap is
renamed to MIRAttributeMap
- UPDATE installation of Personal Edition: the tool is
no longer started iconized
- UPDATE installation of Personal Edition: ODBC DSN
are created for the databridge tutorial databases
- UPDATE databridge tutorial: the northwind.mdb database is now delivered with the tutorial
- v2.1.0 (04/01/99)
(Solaris and Windows NT)
- Updates and Maintenance of the MIR server
- v2.0.0 (01/04/99)
(Solaris and Windows NT)
- NEW: support for data bridges generation
- NEW: Use of Java 2 Platform (formerly named JDK
1.2.1).
- Updates and Maintenance of the MIR server
The Meta Integration Repository and Works software can be installed:
- as a 3 tier architecture with Works (MIW) running on a client computer (third tier),
the Repository server (MIR) running on an application server computer (second tier),
and the data stored persistently on a database server computer (first tier),
- or as a 2 tier architecture with Works (MIW) running on a client computer (second tier),
and both the Repository server (MIR) and the database server running on the same server computer (first tier),
- or as a standalone installation with the client, server and database running on the same computer,
such as the "Repository Works" Personnal Edition based on Microsoft Access.
This document explains how to install and configure both the database server and the repository application server.
Pre-Installation Check-list
-
Be sure that you are either logged on as Administrator or have PowerUser type priviledges that allow write/read/delete
of:
-
The registry
-
Services
-
Environment variables
-
The installation directory
-
If you have an earlier version of Meta Integration software installed and you do not want to save any settings from that previous version (it may have been an evaluation copy), uninstall this one first,
Installation
The installation of the server for the MIR Works Personal Edition and
for the MIR Enterprise Edition is the same except otherwise stated below.
Note: MIR no longer requires a separate installation of Sun Java™ 2 Runtime Environment (J2RE)
- Setup asks for a license key. To obtain a license key,
finish the installation and then follow the steps outlined in
the License Key section.
- For the Enterprise Edition only: Setup lets you choose the target database.
This information is used when creating the DSN.
If you are upgrading a previous installation (Version 2.5 or older) of MIR enterprise Edition,
you should choose a new DSN and a new Database to be able to migrate your existing data.
If you are upgrading a 3.0.x installation of MIR enterprise Edition, you
should keep the same connection information.
- Setup asks the following information about the
database the MIR server connects to:
- User: the user name used to access the database
- Password: the password used to access the
database
- ODBC DSN: the ODBC data source name.
- Database: the name of the database (for the Enterprise Edition only)
- Server: the name of the machine on which the database server is running
(for the Enterprise Edition only)
- The installation procedure will setup an ODBC DSN
corresponding to your specifications so you will not have to create it.
In the Personal Edition, a User DSN is created. In the Enterprise Edition,
a System DSN is created, to be able to start the server as a service of
the System Account.
- Currently the installation does not create a DSN for Oracle. see link below for how
to create one when the installshield is finished.
- If an ODBC DSN already exists, it will be overwritten.
- If you wish to modify the ODBC DSN after the installation, see the specific instructions for
Access,
SQL Server,
Oracle,
Teradata or
DB2.
- Two installation types are available: Typical and
Custom. Typical should always be used. Custom is provided to optionally
install system shared DLLs, sample files and tutorials.
- For MIR Works Personal Edition only:
If you are upgrading an existing installation of MIR Works Personal Edition,
or if you did not delete the MIR database when uninstalling a previous installation
of MIR Works Personal Edition, the Installation will detect the existing database
and ask you if you want to install the database files anyway.
You should answer No to this question unless you really want to overwrite the old database.
Setup stores various information in the file
MIRSetup.xml (see
Modifying the
MIRSetup.xml file):
- the database information, you entered during Setup is stored there,
- the LogFile entry is set to Installation
Directory\log\MIRServer.log,
- the TempDirectory entry is set to the TEMP
directory of your machine and
- the list of available bridges for the import and export operations is written in this file.
On Windows NT and for the Enterprise Edition only, Setup
installs MIR Server as a service of the System
Account. the service starts automatically when the machine is
rebooted. Setup may modify the system environment variable
PATH to add a path to the directory containing the Java JNI library.
In this case, you must configure and populate the database, then reboot the
machine to start the service. Note that the server will fail to start if
the database server is not started when the MIR service starts.
Database Setup :
First, install Sun Java™ 2 Runtime Environment (J2RE) version 1.5 for Unix / Linux x86.
Note that the selected JVM must support native threads (1.5 supports them).
Then install the Meta Integration Repository application server:
- Uncompress and untar the compressed file in a temporary
directory.
- cd to this directory and execute the
installation script ./install.
- This script will
ask questions about your environment and configure MIR Server accordingly. When
asked for a path, always provide an absolute pathname. Also note that if you
execute this script as root, it will install a startup script in
/etc/rc3.d so that the server starts automatically
at boot time.
You will have to provide the following information:
- The installation directory pathname. If the
directory does not exist, it will be created. The files are copied from the
temporary directory to this permanent installation directory.
- A license key. If you don't have one yet, use the
default value "Trial Version".
To get a license key finish the installation and then follow the steps
outlined in the License Key
section.
- Information on your Oracle configuration:
- The pathname of the directory in which the Oracle InstantClient
is installed. The ODBC driver must be present in that direcory.
- The server name or ip address of the Oracle database machine.
- The port number of the Oracle database machine.
- The name of the Oracle database (SID).
- Information on your Database configuration. This is
used by the server to connect to the database.
- The Oracle user name
- The Oracle user password
You must now configure and populate the database before
starting MIR Server, see
Setting up Oracle on Unix / Linux x86.
This product is based on the Java 2 Platform. This Platform uses a
much more sophisticated security system so that the MIR Server will need a policy
file in order to function correctly. This file is supplied with the MIR Server,
please do not delete or modify it. The directives in this file give our Java
classes access to the network and the local files. This file specifically gives
these privileges to our classes and to the JavaHelp classes only.
The server requires a license key in order to run. This
section explains how to get a license key and how to install it.
The "License Key Install" program retrieves some information
that we need to provide you a license key. It also allows you to install
or udpate the license key once you have received it.
If you don't have a license key yet:
- Once you have installed the product, start the
"License Key Install" program in
the program folder "Programs/Meta
Integration" from the Start Menu,
- Note the information under the Host Id label and
- send an email to
with your address, the host id information and the name of
this product.
We will send you back a license key via email.
You can install a license key by following these steps:
- Start the "License Key Install" program in the program folder
"Programs/Meta Integration" from the Start Menu,
- Select the Licensed Version radio button
- Copy and paste the license key in the License Key field and
- Click on SAVE and OK.
Restart the server for it to take into account the new key.
The License Key is stored in a file MIRServer.lic located in
installation directory/bin.
If you don't have a license key yet:
- Note the machine id that is displayed during the
installation or run the tool getMachineId
which is installed in the directory
installation directory/bin and note the
information it displays and
- send an email to
with your address, the host id information and the name of
this product.
We will send you back a license key via email.
Copy this license key in the license key file
installation directory/bin/MIRServer.lic,
in place of the "Trial Version" text. Restart the server for it to take into
account the new key.
Should you run into errors on install on a Windows environment, especially when a previous version is already installed, please check to be sure you are complying with the following:
-
Log as Administrator (or with PowerUser priviledges)
-
Remove any previous Meta Integration installs (Start->Control Panel->Add/Remove Programs)
-
Check to be sure that you have a totally clean removal in these places:
-
Previous Installation directory must be empty or deleted
-
Inspect the registry and eliminate the entry under HKEY_LOCAL_MACHINE\SOFTWARE\Meta Integration
-
Be sure to remove any Meta Integration services (Start->Control Panel->Administrative Tools->Services)
-
Reboot
-
Install
Important: When you uninstall the previous version of the MIR Works Personal Edition,
please make sure you don't delete your database; answer No to the question:
"A file MIR.mdb may already exist in . Do you want to install the database files anyway?"
When re-installing, you will need to install MIRW in the same directory as the previous installation.
The access database file mir.mdb is located in the
installation directory\Repository\Database
directory. This database file contains the database schema
as well as some sample models and tutorial mappings.
There is no further installation necessary as far
as the Microsoft Access database is concerned.
If you so desire, you may copy the file to another
directory, since the size of this file depends upon the number of models that
are to be placed in the database. In this case, you will need to Modify the ODBC
Data Source Name configuration.
The MIR Server installation should have created an ODBC
User Data Source Name for the MIR Server to access the Microsoft ACCESS database. If
this operation failed or if you want to create a new Data Source Name you can
configure ODBC by following these guidelines. You will also need to modify
the MIRSetup.xml file (see Modifying the MIRSetup.xml
file).
Note that your ODBC Administration tool might have a slightly different interface
than the one described here (depending on the version of the OS and the version
of the Access ODBC driver).
- Activate the Control Panel window.
- Open the 32bit ODBC or the ODBC data source
administrator.
- Select the User DSN tab in order to create the new Data Source Name.
- Select the Add option to create the new DSN.
- Select the Microsoft Access Driver from the list of
drivers and click on Finish.
- Fill in the DSN name that was supplied at installation in the
Data Source Name field (or the name of the new DSN you want to create).
- In order to select the database click on the Select button,
go to the location of the mir.mdb file, select it and then
click on OK.
- If a password and username were supplied at
installation you should click on Advanced and fill in the two
fields, then click on OK.
- The configuration of the ODBC driver for Microsoft
Access is now complete, click on OK to validate the changes.
If you want only to modify the location of the database
file:
- Activate the Control Panel window.
- Open the 32bit ODBC or the ODBC data source
administrator.
- Select your Data Source Name in the
User DSN tab and click on the Configure button.
- Click on the Select button, go to the
location of the mir.mdb file, select it
and then click on OK.
- Click on OK to validate the changes.
This section describes how to set up SQL Server 6.5. If you are using
SQL Server 7.0 or SQL Server 2000 ask your Database administrator or contact us
(see Technical Support below).
System Requirements
- Windows 2000, XP, or 2003 Server
- Intel Pentium III-Class PC (300 Mhz or higher recommended)
- 256 MB memory (128 MB recommended), depending on the
average size of a model.
- 50-500 MB free disk storage for the metamodel
information.
- MS SQL Server 6.5.
MS SQL Server database creation
In order to modify the following parameters you will
need to start the SQL Enterprise Manager and log in as a database
administrator. Then follow the guidelines below to configure your database:
- First, increase the amount of memory to 16384. This is an approximate amount which
depends on the number of applications using the server concurrently and the
average size of a model in the database. To increase the amount of memory
select the server that will contain the MIR repository and then select
the Configure SQL Server icon which is the third icon in the
upper left hand corner. Then select the Configuration tab and
look for the memory field in the Configuration
column. Type 16384 into the Current column.
- You must also increase the number of locks that are
available to 10000. In the same window look for the field locks
in the Configuration column and then change the value in the
Current column to 10000. Be very careful that the correct amount
of memory is allocated when increasing the locks or you may have problems
restarting the server.
- After having made these modifications select
Apply Now followed by OK. Now stop and restart the
server by first selecting the stop light icon. To stop the server select the
red stop light and wait for the server to stop. To restart the server,
select the green light.
- Now create a database device for the model
metadata. To do this select the Database devices menu item in
the Manage menu. At this point a display will show the amount of
free disk space. The New device icon should then be selected.
Then supply the name of the new data device and its size. In general, a size
of 500 megabytes should be sufficient for about 100 models with around 50
classes each.
- Next create the database by selecting the
Database menu item in the Manage menu. At this point
the amount of free space in each database device is displayed. Select the
New database icon and supply a name for the database, choose the
database device created in step 4 to contain the database, and set the size
of the database equal to the size of the database device. The selection of a
log device is not necessary.
- The amount of tempdb should also be
increased if you will be storing models with more than 40 classes. To do
this expand the server tree and then expands the
database tree list. Right click on the tempdb
database and select the Edit item. A new window will appear and
you should then select the Expand button. Select a data device
that has room for an expansion of 50 megabytes and then click on the
Expand Now button. If you need another database device to allocate
this additional space, create a new device by selecting new
device and fill out the window as described in step 4.
- Now the database is ready to receive the schema and
the stored procedures that are necessary for the correct functioning of the
MIR database. The schema for the database is located in the
Repository\Database directory of the installed product. To
install the schema expand the server tree and then the database tree. Then
select the newly created database, and select the SQL Query Tool
menu item in the Tools menu. The name of the database should be
in the leftmost pull down menu. Then select the load SQL script
icon and a file selection box will be displayed. Navigate to the database
directory in the installation directory and select the file
MIR-MS-SQLServerCreate.sql. Once this file is
loaded into the window click on the green arrow button to execute the DDL.
- If the login provided during the ODBC configuration
of the MIR Server does not exist yet in the database you must now create it. To
do this expand the server tree and right click on
Logins to select the New Login menu entry. Then type
in the DSN login name, the corresponding password, click on the
Add button and finally click on the Close button.
- Then go back to the database you have just created
and expand it to select Groups/Users. Right click and select the
New User menu entry. Type in the user name and the login you
have just created. Then click on the Add button and then the
Close button.
- The user you have just added to this database
should now be visible in the tree.
- For SQLServer versions earlier than 2003 right click on it and select the
Permissons menu entry. Then Click on the Grant All
button, on the Set button and finally on the Close
button.
- For newer versions of SQL Server expand the server tree and the
Logins tree, right-click the user you created earlier and select
Properties, select the Database Access tab, and select the
database you created earlier, and under database Roles assign the public,
db_datawriter and db_datareader roles.
The database is now configured.
A file is also supplied for removing the schema, MIR-MS-SQLServerDelete.sql.
If you are upgrading from version 2.5.x or 3.0.x to version 3.1, see
MIR Server Upgrade to know how to migrate your data.
The MIR Server installation should have created an ODBC
System Data Source Name for the MIR Server to access the Microsoft MS SQL Server. If
this operation failed or if you want to create a new Data Source Name you can
configure ODBC by following these guidelines. You will also need to modify
the MIRSetup.xml file (see Modifying the MIRSetup.xml
file).
- Activate the Control Panel window.
- Open the 32bit ODBC or the ODBC data source
administrator.
- Select the System DSN tab (or the User DSN tab if you
cannot create System DSNs) in order to create the new Data Source Name. Note that,
if you selected the User DSN tab, you won't be able to start the
server as a service.
- Select the Add option to create the new DSN.
- Select the SQL Server driver from the
list of drivers and click on Finish.
- Fill the fields of the creation window. Depending
on your installation, the ODBC Administrator may instead display a Wizard
that will guide you in the creation of new Data Source Name.
- Fill in the DSN name that you supplied at
installation time in the Data Source Name field (or the name
of the new DSN you want to create).
- Type in the description if desired.
- Then select the server that contains the
database. If the server is not in the list then type in the name of the
server.
- Next click on the Options button in
order to enter the name of the database that was created for MIR Server.
- Validate everything by clicking all the
OK buttons.
After having completed the fields, select the OK button.
If an error such as "unable to find the table
mirproduct" occurs while starting the MIR Server, it is probably due to the fact
that the database field above was incorrectly filled.
This section describes how to set up NCR Teradata on Windows. This is only an overview
of the tasks to perform.You should also contact your Database Administrator for the tuning
of the database.
System Requirements
- Intel-based PC running Windows NT 4.0, Windows 2000 or Windows XP.
- Minimum Pentium 500Mhz processor.
- 128 MB memory (256 MB recommended), depending on the
average size of a model.
- 100-500 MB free disk storage for the metamodel
information.
- NCR Teradata for Microsoft Windows, Version 2 Release 4.0.
NCR Teradata database creation
In order to modify the following parameters you will
need to start the WinDDI and log in as a database
administrator. Then follow the guidelines below to configure your database:
- Start the WinDDI and log in as a database
administrator.
- Make sure the user you provided during the installation exists or create it now.
- Create a Database.
- Use the Database name you provided during the installation (no dashes are allowed).
- Choose the size of the database according to the number and size of models and
mappings you want to store in it.
- Make sure to set the Default Date Form property to "ANSI".
- Make sure the user provided during the installation has read-write-create access to the database
- Quit the tool WinDDI.
- Start the QueryMan tool and log in using the DSN generated during the installation.
- Load the SQL query file MIR-NCR-TeradataCreate.sql located in the
installation directory\Repository\Database directory.
- Select Execute in the Tools main menu to execute the
queries one statement at time.
- Quit QueryMan.
The database is now configured.
If you are upgrading from version 2.5.x or 3.0.x to version 3.1, see
MIR Server Upgrade to know how to migrate your data.
The MIR Server installation should have created an ODBC
System Data Source Name for the MIR Server to access the NCR Teradata Database. If
this operation failed or if you want to create a new Data Source Name you can
configure ODBC by following these guidelines. You will also need to modify
the MIRSetup.xml file (see Modifying the MIRSetup.xml
file).
- Activate the Control Panel window.
- Open the 32bit ODBC or the ODBC data source
administrator.
- Select the System DSN tab (or the User DSN tab if you
cannot create System DSNs) in order to create the new Data Source Name. Note that,
if you selected the User DSN tab, you won't be able to start the
server as a service.
- Select the Add option to create the new DSN.
- Select the Teradata driver from the
list of drivers and click on Finish.
- Fill the fields of the creation window.
- Type in the DSN name that you supplied at installation time
in the Data Source: Name field (or the name
of the new DSN you want to create).
- Type in the description if desired.
- Type in the server name that you supplied at
installation time in the Teradata Server Info: Name field.
- Type in the name of the Repository Database in the Default Database field.
- Type in the name of the user used to connect to the database in the Username field.
- Optionally, type in the password of the user used to connect to the database
in the Password field. Note that the MIR Server will use the user information provided in
MIRSetup.xml file to connect to the database (not the information provided in the DSN).
- Next click on the Options button:
- Change the Session Mode to be "ANSI".
- Change the DataTime Format to be "AAA".
- Check with your Database Administrator if other fields should be modified.
- Validate everything by clicking all the OK buttons.
After having completed the fields, select the OK button.
If an error such as "unable to find the table
mirproduct" occurs while starting the MIR Server, it is probably due to the fact
that the Default Database field above was incorrectly filled.
System Requirements
- Intel-based PC running Windows NT 4.0, Windows 2000 or Windows XP.
- Minimum Pentium 500Mhz processor.
- 128 MB memory (256 MB recommended), depending on the average size of a model.
- 100-500 MB free disk storage for the metamodel information.
- Oracle 8i or later version.
Oracle database creation
First install the Oracle Database software on your computer.
Please refer to the Oracle installation documentation if needed.
This installation process should install on your computer:
- The Oracle database software.
- An Oracle ODBC driver.
- The DBA-Studio database administration tool.
- The SQL-Plus software.
- The Oracle-ODBC-Test software
When the Oracle Database server software is installed, you can either
- setup the MIR schema in the default existing database instance
(or in a previously created database instance),
- or create a new Oracle database instance on the database server to completely isolate
the MIR database from other databases that may be already running on this database server.
In this case, please use the Database Configuration Assistant to create this new database instance.
You may need to manually start the following Windows NT services:
- Oracle<your Oracle Home>TNSListener
- OracleService<your database instance id>.
Once the Database instance is properly running on the Oracle server,
you should create a new Oracle USER <the user> who will be the owner of the MIR schema.
Please use the DBA Studio database administration tool in order to do so.
Make sure this user has the following Roles: CONNECT, DBA, RESOURCE.
Then you should configure your TNS Net Service Name (if necessary) and create
an ODBC DSN pointing to this database. The ODBC DSN should use <the user> name and password (see next paragraph).
You should now test that both the ODBC DSN and the TNS Net Service Name are properly set up
by trying to connect to the database.
To try the ODBC connection, you should use the Oracle-ODBC-Test software and <the user> name and password.
To try the TNS Net Service Name you should try to connect to the database
using the SQL-Plus software and <the user> name and password.
Now, you can install the MIR schema:
- Start the SQL-Plus software.
- Connect to the database using <the user> name and password.
- Type the following command to import and run the DDL file:
@ "C:\Program Files\MetaIntegration\Repository\Database\MIR-OracleCreate.sql";
Please adjust the path to this file if necessary.
- Close the connexion and the SQL-Plus software.
The database is now configured.
A file is also supplied for removing the schema, MIR-MS-OracleDelete.sql.
If the MIR Server installation did not create a DSN, create it now.
If you are upgrading from version 2.5.x or 3.0.x to version 3.1, see
MIR Server Upgrade to know how to migrate your data.
The installation procedure is divided into two parts.
First you need to create a TNS Net Service Name.
- Start the Net8 Configuration Assistant
- Choose Local Net Service Name Configuration and click on Next.
- Choose Add and click on Next.
- Choose the appropriate version of Oracle database you want to access and click on Next.
- Type in the service name or SID of your database and click on Next.
- Choose the network protocol and click on Next.
- Type in the hostname of the machine on which the Oracle database is installed and choose a port, click on Next.
- Perform a test if you want to validate the information you entered and click on Next.
- Enter the Net Service Name for this installation and click on Next.
- Choose "No", click on Next two times then click on Finish.
Now you need to create a new Data Source Name.
- Activate the Control Panel window.
- Open the 32bit ODBC or ODBC data source
administrator.
- Select the System DSN tab (or the User DSN tab if you
cannot create System DSNs) in order to create the new Data Source Name. Note that,
if you selected the User DSN tab, you won't be able to start the
server as a service.
- Select the Add option to create the new DSN.
- Select the Oracle driver from the
list of drivers and click on Finish.
- Fill the fields of the creation window.
- Type in the DSN name that you supplied at
installation time in the Data Source: Name field (or the name
of the new DSN you want to create).
- Type in the description if desired.
- Type in the Net Service Name that you supplied in TNS Service Name creation.
- Depending on the ODBC driver, you may have to enable the option Enable Closing Cursors
- Validate everything by clicking on the OK button.
System Requirements
- 64 MB memory (128 MB recommended), this depends on
the average size of a model.
- 50-600 MB free disk storage for the metamodel
information, this depends on the number of models and their average size.
- Oracle 7.3 or Oracle 8i
- Oracle Basic InstantClient 32 bit
- Oracle ODBC Supplement for InstantClient 32 bit
Oracle database creation
The following guidelines are for Oracle 7.3.
If you want to install on a newer version of Oracle,
we recommend that you ask your DBA to do it for you.
The first thing to do is to create a table space for the
MIR metamodel schema. The size of the table space depends on the average size
and number of models that are going to be placed into the repository. It is
difficult to predict the size of the required database, but on average 500
megabytes should be sufficient for about 100 models with around 50 classes each.
Here is the list of modifications that need to be
performed.
- The parameter shared_pool_size should
be set to 28000000. To modify this value you should edit the file DatabaseName.ora
(where DatabaseName is the Oracle database name that is provided
at installation time or by the administrator) found in the dbs directory located in the
Oracle Home directory. One should be sure to increase the shared
memory parameter in the /etc/system file
so that there is a sufficient amount of shared memory available. This is
done by adding/editing the line
set shmsys: shminfo_shmax, this value should have already been set at the
installation of Oracle.
- Create the table space for the model metadata
information while logged in with the "dba" privilege, the command
would be the following for a 500 megabytes database. You may wish to consult
the Oracle manual for this command since it may change between releases.
CREATE TABLESPACE MIR
DATAFILE 'mir.ora' SIZE 500M DEFAULT STORAGE ( INITIAL 300M NEXT 200K
MINEXTENTS 3 PCTINCREASE 5 );
- Depending on the size of the largest models in the
database you might need to increase the size of the rollback segments. A
size of 1 megabyte is recommended. If a table space is not available for the
rollback segment you should create a tablespace as described in step 2.
CREATE PUBLIC ROLLBACK
SEGMENT R05 TABLESPACE "LeftOver" STORAGE ( INITIAL 3M NEXT 128K
MINEXTENTS 3 );
- You should then log in as the database
administrator and create a user that will use this table space. This user
should have DBA privileges in this table space. The user name must be the
same as the one provided during the installation of MIR Server. You should
also create a temporary table space for the MIR table space if you are going
to place large models into the repository.
CREATE USER jack IDENTIFIED BY lollypop DEFAULT TABLESPACE MIR
TEMPORARY TABLESPACE TEMPORARY_DATA PROFILE DEFAULT;
GRANT CONNECT TO jack;
GRANT DBA TO jack;
The ODBC connection to the database is configured automatically at installation time
with the information provided in the installation script. If you would like to change a
configuration parameter, the files are located under the conf directory of
your Meta Integration installation directory.
The Database Source Name (DSN) is configured in the odbc.ini file:
[MITI-MIR]
Driver=/opt/oracle/instantclient/libsqora.so
ServerName=miroracle
UserID=
UserPassword=
The server name is configured in the tnsnames.ora file:
miroracle=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=_machine_)
(PORT=1521))
(CONNECT_DATA=
(SID=_sid_)))
To test the ODBC connection to the Oracle Database, you can use the scripting command
line utility:
./MIR.sh -l
System Requirements
- Intel-based PC running Windows NT 4.0, Windows 2000 or Windows XP.
- Minimum Pentium 500Mhz processor.
- 128 MB memory (256 MB recommended), depending on the average size of a model.
- 100-500 MB free disk storage for the metamodel information.
- IBM DB2 UDB v8.1 or later version.
DB2 UDB database creation
First install the DB2 UDB Database software on the database server computer (first tier).
Please refer to the DB2 UDB installation documentation if needed.
This installation process should install:
- The DB2 UDB database software.
- The DB2 ODBC driver.
- The DB2 Control Center database administration tool.
- The DB2 Command Window tool
Then, create a new database (DBALIAS) called MIR in the current DB2 instance to isolate
the MIR database from other databases that may be already running on this database instance.
You can use the DB2 Control Center wizard to create this new database.
Then, create a DB2 schema called MIR which will hold the MIR tables and views.
Create a DB2 user with sufficient access rights to access this schema.
You can use the DB2 Control Center tool to do this.
Then, open the MIR SQL DDL script in a text editor to review it.
By default, this file is located in C:\Program Files\MetaIntegration\Repository\Database\MIR-IBM-DB2Create.sql
This script will create a MIR BufferPool and Regular MIR TableSpace which size is
larger than the default DB2 settings.
This configuration is required, because some of the MIR Tables and Views have many large columns.
Please review the MIR BufferPool and Regular MIR TableSpace creation script, and feel free
to customize it to your needs.
Alternatively, the MIR BufferPool and MIR TableSpace can be created manually using
the DB2 Control Center wizard as follows:
(If you do so, please comment or remove the first three lines of the DDL script of course)
- Go into the IBM DB2 Control Center and open your database.
- Click on the folder labelled Tables Spaces.
- Right click on the background and select "Create"
- Enter the name (MIR) for the table space and hit next.
- Select "Regular" and hit next
- At "Specify a buffer pool for your new table space", hit the "CREATE" button.
- In the popup window Give the new Buffer pool a name (MIR), set the page size to "32"
set the size to "250", ensure that "Create bufferpool immediately" is
selected, and hit "ok".
- Make sure your new buffer pool is selected and hit "Next" twice
- Define a new container for your table space (C:\DB2\MIR for example).
It is just a file, but you might want to put the file in the same directory area as your transaction log.
- Then hit "next".
- The larger the prefetch size, the faster the software should run. Then hit "Next".
- Describe your hard drive specs. (they don't need to be completely accurate).
Then hit "Next".
- Review and if everything is right, hit "Finish".
Now, you can run the SQL DDL script to create the MIR Tables and Views:
- start the Command Window software: $\SQLLIB\BIN\DB2CW.BAT
- connect to the database: db2 CONNECT TO <DBALIAS>
- select the current schema for the user db2 SET CURRENT SCHEMA = <schema>
- import and run the DDL file to create the MIR schema:
db2 -tvf "C:\Program Files\MetaIntegration\Repository\Database\MIR-IBM-DB2Create.sql"
Please adjust the path to this file if necessary.
It is necessary to setup the transaction log to allow for import of models into the system.
- Go into the Control Center and find your MIR database. Right click on it and select Configure Database Logging.
- Select "Archive Logging" then hit "Next" twice.
- At the screen "Choose the number and size of your log files" enter at least 15 primary log files and 10 secondary log files. This may seem excessive, but it helps.
- Click Next twice again.
- At the screen Scheduling task execution, click on "Run now without saving task history and press "Finish". You may need to restart the database for it to be fully functional.
The database server is now configured.
A file is also supplied for removing the schema, MIR-IBM-DB2Delete.sql.
During the MIR application server installation process (second tier), an ODBC DSN pointing to this database
will be automatically created using the DBALIAS and user (name and password)
information supplied in the installation wizard.
If you selected "IBM DB2" during installation, an ODBC DSN should have already been created.
You can also configure the ODBC DSN manually, as described below.
To create a new Data Source Name:
- Activate the Control Panel window.
- Open the 32bit ODBC or ODBC data source administrator.
- Select the System DSN tab (or the User DSN tab if you
cannot create System DSNs) in order to create the new Data Source Name. Note that,
if you selected the User DSN tab, you won't be able to start the
server as a service.
- Select the Add option to create the new DSN.
- Select the IBM DB2 ODBC DRIVER driver from the list of drivers
and click on Finish.
- Fill the fields of the creation window.
- Type in the DSN name that you supplied at
installation time in the Data source name field
(or the name of the new DSN you want to create).
- Type in the description if desired.
- Select the Database you want to connect to in the Database Alias field.
- Click on the OK button.
- Edit the definition of the newly created DSN by clicking
on the Configure... button.
- Fill the User ID field with the user name information
- Fill the Password field with the user password information
- Click on the Connect button to check the connection is working.
- Click on the Advanced Settings tab:
- Make sure the value of CLI parameter DBALIAS is set to the database alias
you want to connect to.
- You can also set the value of CLI parameter CURRENTSCHEMA to the schema name
to be used by, if it is different from the default schema for this user.
The MIR Works Personal Edition Version 3.1 is delivered with a Upgrade utility that let you migrate
your Database (version 2.5.x or 3.0.x) to Version 3.1.0:
- First install the new version of MIRW. Follow the installation procedures in the
"MIR Server Installation" section,
including how to un-install your current version.
- Then execute the Upgrade utility MIRUpgrade.exe. Just select
"Upgrade Database from 2.5 or 3.0 to 3.1" in the Start menu "Programs\MetaIntegration".
This will start a command line utility that migrates your Access Database MIR.mdb
located in the folder "Repository\Database" of your installation directory from
version 2.5 or 3.0 to version 3.1.
When migrating from 2.5 to 3.1 the old database is renamed to MIR1.mdb and is migrated.
When migrating from 3.0 to 3.1 the existing database is upgraded.
- You can find the details of the migration in the log file "MIRUpgrade.log"
located in the folder "log" of your installation directory.
The MIR Enterprise Edition Version 3.1 is delivered with a Upgrade utility
that let you migrate your Database Version 3.0.x to Version 3.1.0:
- First install the new version of MIR. Follow the installation procedures in the
"MIR Server Installation" section,
including how to un-install your current version.
- Then execute the Upgrade utility MIRUpgrade.exe. Just select
"Upgrade Database from 3.0 to 3.1" in the Start menu "Programs\MetaIntegration".
This will start a command line utility that upgrade your Access Database MIR.mdb
located in the folder "Repository\Database" of your installation directory from
version 3.0 to version 3.1.
- You can find the details of the upgrade in the log file "MIRUpgrade.log"
located in the folder "log" of your installation directory.
Please contact us at
for the migration of your Enterprise Edition repository database
(Oracle, SQL Server or Teradata) if you are upgrading from release 2.5.
Migration procedures for migrating from the release 2.4.x or older are freely available upon
request. Please use the installation procedures in the
"MIR Server Installation" section then contact us at
for the migration of the old database.
On Windows
In the MIR Enterprise Edition, the MIR Server is installed so that it is started
automatically. On Windows NT it is installed as a service. On Windows 9x it is
installed as a shortcut in the Startup folder.
The MIR Server program may be started as an
application (if is not installed so as to start automatically or if the program
has been stopped). You can start it by
opening the "Start Menu", going to the "Meta Integration"
folder under "Programs", and clicking on the "Repository
Server" entry. You can also start it from the command line by typing
"MIRServer -run" (supposing that you
have set the PATH accordingly).
The client product is also installed by this Setup. To know how to start the client,
see the works client Readme file.
The MIR Server program may also be started as a stand-alone version (Personal Edition).
Setup creates a command batch file
named MIRW.bat in the installation directory (in the 'bin' subdirectory).
It also creates a shortcut to this file in the "Start Menu".
You start the application by opening the "Start Menu",
going to the "Meta Integration" folder under "Programs",
and clicking on the "Repository Works" entry.
On Unix / Linux x86
If the user installing the product is the root user,
the MIR Server is installed so that it is started
automatically using the System V init scripts.
The MIR Server program may be started as an
application (if is not installed so as to start automatically or if the program
has been stopped). The command is
RepositoryServer (supposing the PATH variable has been set to contain installation
directory/bin).
The server requires a user name and a password.
The installation default administrator's login user name is 'administrator' and password 'administrator'.
The installation default user name is 'anonymous' and the default host is 'localhost'.
The models are stored in a hierarchy composed of
Products, Versions and Formats. Thus populating the database consists in
creating these elements in turn using the graphical interface.
When you right click on a Product, Version or Format
object the popup menu will contain an Add option
allowing you to create new objects in the database.
When one of the add option is selected you will be
prompted for the name of the new object. Once the object is created you can
modify its properties in the attribute panel.
From there, there are two ways to attach a model to a
"Model Metadata" Format object.
The first solution is to use Meta
Integration Model Bridge to convert a model to the MIM format. This file can
then be opened in Meta Integration Works, and "copy and pasted" to the
Format object.
The second solution is to use the server to convert the
model. Right click on the Format object, and select the Import entry. In the displayed
dialog box, you can choose your modeling tool among a list of available tools.
You can then select the file containing the model.
It will then be sent to the server, converted to the MIM format and put
in the database.
The models are stored in a hierarchy composed of
Products, Versions and Formats. Thus populating the database consists in
creating these elements in turn using the tools listed below. See the Meta
Integration Repository meta model for more details.
You
can also use Meta Integration Works to create, delete and modify these elements
(you must log in as the "administrator" user).
In the command descriptions below the parameters that
are in bold are mandatory.
MIR - This command creates a product,version or format in the database.
MIR -a repository_object_type -p repository_path
- -a | --add repository_object_type
- the type of object to add to the repository: Product, Version, ModelFormat
.
- -p | --path repository_path
- the path of the object in the repository. This path is absolute: it always starts from the root of the repository and finishes by the name of the object to manipulate.
An example file as well as example metadata for
Rational's Rose, CA's ERwin, etc. is supplied with the MIR product. This
file is called
MIRCreateSampleModels.bat on the Windows
platforms and MIRCreateSampleModels.sh on the Unix / Linux x86 platforms.
After having populated the database start MIRServer. To view the
information, use the MIW client.
The MIRSetup.xml file contains information that is
necessary for the correct functioning of the MIR server application, as well as the MIW Client.
In particular, it provides the parameters of the database connection. memory size specifications, and the
location of the class files to be used by the Java run time environment.
The installation procedure initializes this file so that you should not have to
modify it unless you want to change the location of the log file or use the server with
specific parameters.
The file is self-documenting. Each parameter is given an XML tag, definition, usage and examples within
the text of the file.
This file resides in the MetaIntegration\conf directory.
The MIRSetup.xml file is located in the conf directory.
This file can be modified in any text editor, and is autodocumented using xml comments.
The MIRSetup.xml file contains three sections underneath Setup:
- Directory
- for designating the installation directories.
- Home
- for designating the main Meta Integration directory.
- Bin
- for designating the binary execution directory.
- Log
- for designating the log directory.
- Temp
- for designating the temp directory.
- Java
- Meta Integration Java Environment Setup.
- Directory
- Meta Integration JAR file Directory.
- ClassPath
- Defines the Java Class Path.
- AppendSystemClassPath
- Specifies wether to append the system ClassPath.
- LibraryPath
- Defines the Java Library Path.
- VirtualMachinePath
- Defines the Java Virtual Machine (JVM) Path.
- RunTime
- Java Run Time Environment (JRE or JDK).
- Executable
- Purpose: JRE or JDK execution Options.
- Server
- Meta Integration Server Configuration.
- Parameters
- MIR Server Execution Paramaters.
- Encryption
- MIR Client/Server Communication Encryption.
- Client
- Meta Integration Client Setup.
- Directory
- MIR Client Execution Paramaters.
- Repository
- Meta Integration Repository Configuration.
- Directory
- Identify the MIR base directory.
- Database
- Defines the MIR Database Connection.
- DataSourceName
- Identify the MIR Database Name.
- LoginUser
- Identify the MIR Database Login User.
- LoginPassword
- Identify the MIR Database Login Password.
- ModelBridge
- Meta Integration Model Bridge Information.
- XmlConversationDirectory
- Identify the XML Conversation Directory.
- License
- Meta Integration Licensing Information.
- Mode
- License Key Mode.
- Key
- License Key specific to your hostid.
- Server
- Defines the MIR License Server connection parameters.
- Name
- MIR License Server name or address.
- Port
- MIR Licenser server port number.
Note that these keywords are case sensitive.
Note: Some metadata bridges require shared libraries supplied by the vendors
to be accessible at runtime on the computer where the bridge is executed.
Other bridges may require the complete Design Tool to be installed.
For example:
The Sterling Software CoolGen Export Bridge requires the "Workstation Update API" to be installed.
The Sterling Software CoolGen Import Bridge requires either the "Workstation Read Only API"
or the "Workstation Update API" to be installed.
MIR is delivered with a RepositoryBridge utility that lets you migrate
your repository data between an Access database and your RDBMS Database (Teradata, SQL Server, Oracle).
This utility allows you to export your repositoy data to a shareable Access file or import them
for an MS Access file.
Import from MS Access into your repository:
Warning: the current data in your repository will be deleted and
replaced by the one from the MS Access repository.
To import your repository data from the MS Access (.mdb) file, just run the "RepositoryBridge import" utility in the Start menu "Programs\MetaIntegration".
This program will open a DOS window and guide you through the import process.
Once done, the details of the import process can be seen in the RepositoryBridge log file (log/RepositoryBridgeLog.txt).
Export from your repository to an MS Access file:
To export your repository data into an MS Access (.mdb) file, just run the "RepositoryBridge export" utility
in the Start menu "Programs\MetaIntegration".
This program will open a DOS window and guide you through the export process.
Once done, the details of the export process can be seen in the RepositoryBridge log file (log/RepositoryBridgeLog.txt).
MIR is delivered and initially configured for minimal footprint in installation and memory requirements.
In order to maximize performance and availablity of the server there are several ways to adjust the
systems. In particular, it is important to ensure proper database configuration, proper repository server memory
allocation and utilization, and proper connectivity between the repository server and database server (if they are separate).
Database Performance Tuning
In order to understand how to properly configure the database for efficient access by the repository, it is
important to understand that the MIR does NOT behave like most applications that databases are tuned for. Specifically,
MIR is NOT A TRANSACTION HEAVY application. It is QUITE DIFFERENT from an OLTP, Data Warehouse, or other transaction
based system. Except for the web metadata search query, it is QUITE DIFFERENT from OLAP applications as well. This fact must be
clearly communicated to the Database Administration staff.
Instead, MIR mostly reads and writes ENTIRE MODELS or CONFIGURATIONS (collections of model and mapping formats) at a time,
then does nothing in terms of database access. Thus, in order to
maximize performance, it is necessary to maximize buffer, cashing, cursor, etc., sizes, since the are used intensively in a
short period of time. For specific tuning suggestions, please refer to the documentation of the specific database being deployed,
and tune the parameters for bulk SQL reads and bulk SQL updates.
Repository Server Performance Tuning
Given a fixed clock speed for the repository server, the greatest impact on performance is based upon memory availablilty and
utilization. The MIR uses a single configuration file for all startup options, it is at Meta Integration\conf\MIRSetup.xml.
The setting is defined by the <Options> XML tag contained in the <Setup> and <RunTime> containers in the XML file.
As MIR is a Java application, the memory settings are defined by the Java startup parameters -Xms(size) and -Xmx(size), defining
the initial and maximum memory allocation, e.g.:
<Options>-Xms256m -Xmx512m</Options>
If you are also running the MIRWeb server on this same machine, be sure not to make the memory requirements so large that
MIR is competing with the web server for resources.
Connectivity Between Servers
While it should go without saying, the connectivity, expecially of large, bulk, quantities of data (an entire model at a time),
between the database server and the repository server machine is a very critical factor in performance. Your systems administration
staff should be able to diagnose such problems.
All non-interactive functionality provided by Meta Integration Works (MIW) can be reproduced using
command line calls to MIR.exe and MIMB.exe (on DOS machines). On UNIX the commands are MIR and MIMB.
MIR
MIR allows one to perform all activities, including add, delete, set properties, create reference links
and other repository structure based activities (those accessible from the model manager), based upon
the following command signature:
Usage:
[-l|--list
[-a|--add
[-r|--remove
[-f|--file
[-t|--type
[-v|--value
[-d|--description
[-g|--get
[-s|--set
[-p|--path
[-q|--dstPath
[-e|--export Script|Configuration|Repository
[-u|--userName
[-o|--oldPassword
[-n|--newPassword
[-b|--expiredAttributeName
[-c|--changedSince
[-z|--stitch [ fromSource | fromDestination ]
[-m|--migrateFrom
= [ |
]
= [ Product | Version | ModelFormat |
MappingFormat | FileFormat ]
= .
= ..
= [ String | Number | Date ]
Sample:
MIR --add Product.Level --type Number --value 1 --description "Required Level to
access this Product."
MIR --set Product.Level --path P1\P2 --value 12
MIR --get Product.Level --path P1\P2
It is possible to add constraints to a property type:
[min,max]: min/max value, min or max can be empty
MIR --add Product.Min --type Number[12, ] --value 12
MIR --add Product.Max --type Number[ ,42] --value 12
MIR --add Product.MinMax --type Number[12,42] --value 12 ([Name=]Value,...): enumerated values
MIR --add Product.ColorS --type String(Red ,Green ,Blue ) --value Red
MIR --add Product.ColorN --type Number(Red=0,Green=1,Blue=2) --value 0
Updating password:
MIR -u userName -o oldPassword -n newPassword
Stitching models:
MIR --stitch --path Source\1\Model --dstPath Destination\1\Model
Checking for triggers:
Triggers can be checked on both --list and --export
MIR --list --expiredAttributeName Product.ExpirationDate
MIR --export --changedSince "20061212"
MIMB
MIMB allows one to execute any bridge (import or export) based upon the following command syntax:
usage: MIMB.exe [-?|--?] [-h|--help]
[-i|--import (import bridge name: CaErwin3Erx, ...)]
[-f|--from (file or directory to import from)]
[-o|--importOption (import bridge option: name=value) ...]
[-s|--subset (P1/P2/D1, PACKAGE_FILES, DIAGRAM_FILES)]
[-e|--export (export bridge name: IbmRationalRose98, ...)]
[-t|--to (file or directory to export to)]
[-p|--exportOption (export bridge option: name=value) ...]
[-l|--logFile (MIMBAction::log file: stderr by default)]
[-c|--consistency (validation level : 0, 1 ,2)]
[-v|--validation (validation level: NONE, BASIC, ADVANCED)]
[-r|--request (request XML File)]
[-y|--reply ( reply XML File)]
[-m|--mapping (file to save the mapping to: xml or csv)]
[-j|--join (INNER,OUTER_EXPORT,OUTER_IMPORT,FULL_OUTER)]
There are numerous examples in /scripts. Additionally, use the "Script As"
button in MIMB Desktop to create a batch script version of any import and export sequence that can
be created using the MIMB UI.
You can also look at the Frequently Asked Questions in the MIW Readme file.
1. On Windows, when launching the self
extracting executable, an "Overwrite Protection" window appears:
"The following file is already installed on your system".
This is because you have launched this executable
shortly after a previous installation and the previous InstallShield Setup has
not yet finish its cleanup. Click on "Cancel" and restart the program.
If you click on any other button, you may experience problem during the
installtion because some files would not have been copied correctly. Typically,
an error (-113) will occur during the move data process. If you experience such
an error, wait a few seconds then restart the installation.
2. On Windows, why must I be an Administrator
to install MIRServer?
For the MIR Enterprise Edition for Microsoft
SQL Server, Setup installs MIRServer as a service of the System
Account. You don't need to be an administrator to install MIR Personal Edition.
3. The server refuses to start. where can I get information?
Examine the log file to determine the type of error that
has occurred:
- The server cannot load the MIRSetup.xml file or
the server gets a security error: make sure that the user starting the
server has the rights to read the policy file located in the installation
directory on Unix / Linux x86 or in the installation bin directory
on the Microsoft Window operating system.
- The server receives an undefined error and cannot
start the server: make sure that another server is not running on the same
system by using the Task Manager of Microsoft or by executing the following
command on the Unix / Linux x86 operating systems "ps -eaf | grep java".
If there is another task or process
the user should stop it before starting the new server.
- The License Key has expired or is not valid. Contact our
Technical Support to get a new key.
- The default port the MIR server uses for RMI is already in use by
another program. You can change the default port on the command line
(use the -port option). If the server runs as a service you will have to add
the "Parameters" entry in the MIRSetup.xml file. Remember that the MIW clients
will have to use the same port to connect to the server.
4. Problems with the file MIRSetup.xml.
The MIRSetup.xml file contains information about connecting to the database - DSN, user name, and password.
When the system cannot connect to the database or cannot read the file it gives the same error. If the file
exists you should check and make sure that the information for connecting to the database is correct.
5. I have problem writing to the database. The error message is "unable to update a counter". Why?
If the database is Mircrosoft ACCESS this error may result if
the mdb file is read only. If the database is Microsoft SQL Server
or Oracle 7.3 or 8.0, this error may appear if
you don't have write access to the tables.
In this case, the database administrator must give the access to the tables for the user
specified in the MIRSetup.xml file. In general,
this user should create the tables to avoid any problems in Microsoft SQL Server and Oracle.
6. In the personal edition, where do I set the Classpath variable
for the JDBC bridge so that it may locate my driver class?
The directory or jar file pathname must be set on the command line in
the batch file that starts the MIRServer application.
You need to edit the batch file MIRW.bat
to append the directory or jar file pathname to the
'-classpath' option, and then restart the application.
7. On windows, I cannot start the Repository Server,
it complains that it cannot find jvm.dll. Why?
On Windows NT, the error
message box says "The dynamic link library jvm.dll could not be
found in the specified path...".
This may happen if you installed
the product as one user and you run it using another identity.
The installation updates the user environment
variable "path" so that it contains the path to a jvm.dll library.
On windows 9x, the error message is "A required DLL file, JVM.DLL, was not found".
The installation modifies the environment variable "path" in the file "autoexec.bat".
For this change to take effect, you must reboot your machine. Before to do so,
make sure the installation updated the autoexec.bat file (the update may have
failed because the file was read-only). The file should contain a line like:
set path=c:\progra~1\jre\1.3\bin\hotspot;<other paths>
Note that the jvm.dll path does not need to appear first. The pathname to the
jvm.dll file varies with the version of the JRE being installed.
8. On Windows, when Repository Server is started as a
Service and I log off, the Service stops with an error. Why?
You use J2SE version 1.3.0 or earlier. Install J2RE 1.5 and reinstall MIR.
Because of a bug in JDK 1.3.0, the server will not work properly as a Service.
This was fixed in JDK 1.3.1 but requires the option "-Xrs" to be set. The JDK 1.3.0
and earlier don't have this option.
9. When saving a large Model into a MIR repository server based on IBM DB2,
the following error occurs "SQL0964C The transaction log for the database is full".
The size of the transaction rollback log of this DB2 database is not large enough,
please contact your IBM DB2 database administrator so that he increases its size.
These parameters can be changed in the DB2 Control Center tool as follows:
- Stop the MIR repository server
- In DB2 Control Center, right-click on the database holding the repository and choose
the option 'Configure Database Logging...'
- Change the values of parameters LOGPRIMARY (Number of Primary Log Files),
LOGSECOND (Number of Secondary Log Files), LOGFILSIZ (Size of Each Log File (4K Pages))
to greater values, according to the size of your models. For example, some large models
may require a total size ((LOGPRIMARY+LOGSECOND)*LOGFILSIZ*4K) of 150MB to 200MB.
- Restart this DB2 database.
- Restart the MIR repository server.
10. My batch script (on Windows) ends up in an infinite loop due to a call to another
script that is not referred to in the original script.
On windows, the .bat extension is given precedence over the .exe extension. This means that if
a script calls MIR.exe by using MIR (without an extension) it may instead be calling a faile named MIR.bat
someplace in the PATH environment variable locations. Best practice on Windows installations is to
always fully qualify the name of the MIR and MIMB commands by using MIR.exe and MIMB.exe.
The best way to get support is to send an email to
with a detailed description of your
problem, the MIR version that you use, your platform and your database.
You can also get more information about our products by
going to our Web Site,
http://www.metaintegration.com or
sending an email to
.