Configuring lion.ini
This page will guide you through the process of configuring the Lion.ini file to allow your AMT environment to access the database.
The AMT software needs access to the repository database. The information used to locate the repository database is stored in a file named Lion.ini. A Default_Lion.ini file with default settings can be found in the Lion directory of your AMT environment (in our examples this directory is found at ..\AMT\COBOL\Lion). This file should be copied and renamed to Lion.ini and opened in a text editor.
A list of all configuration options of this configuration file can be found on the Lion.ini Configuration File page.
There are small differences in settings depending on the type of database server that is used, therefore a section is available for both supported database types.
MSSQL
****************************************************************************************
* This is the default lion.ini file for AMT Lion. *
* In this file the recommended parameters are prefilled. *
* To see the meaning of all parameters, please look at the Lion manual *
* Configuration of LION (LION.ini file) *
****************************************************************************************
BACKUPRUNTIME=False
BACKUPDIR=C:\AMT\Lion\Backup
SELECTEDAPPLICATIONS=
SELECTEDAPPPOOL=DefaultAppPool
SINGLEAPPPOOL=False
CONFIGUREAPPLICATIONSIIS=False
WEBSITEROOT=Default Web Site
VIRTUALFOLDER=AMT
URL=http://localhost/AMT
HELPURL=http://localhost/AMT/ControlCenter/Help
#HELPURL=http://help.myasysco.com/AMT%20Helpfiles%20for%20LION/default.aspx
[GENERAL]
#APPLICATIONTYPE=AMT Lion
DBSSYS=MSSQL
SERVERNAMEREPOSDB=<COMPUTERNAME>\MSSQL2014
***** The server and servicename of the LionDev Generator *****
LIONDEVNETSERVICENAME=LionDevNet_Generator
LIONDEVNETSERVERNAME=<COMPUTERNAME>
DBSNAME=<REPOSITORY_DB>
DBUSER=<DBUSER>
DBPSSW=<DBPASSW>
The settings listed below that need to be configured can be found in the [GENERAL] section of the Lion.ini file. All other settings can be ignored at this moment.
DBSSYS: This setting requires the type of database to be set. Set to MSSQL.
SERVERNAMEREPOSDB: This is the ADO name of the database server consisting of the network name of the server and the instance name of the database server (for example: <Server Name>\<DBS Instance Name>).
DBSNAME: This setting refers to name of the repository database (for example: AMT-COBOL_REPOS).
DBUSER: This setting requires the username of the user accessing the database server.
DBPSSW: This setting requires the password of the user accessing the database server.
HELPURL: This setting allows the helpsite web page to be opened from within the AMT Developer Studio when F1 is pressed. This setting should be set later when setting up the Control Center is complete. For example:
"<<URL of Control Center>>/Help/statichelp.htm" |
(Also see Setting up the Control Center).
When internet access is available, for direct access to the online helpfiles the value can also be set to:
"http://help.myasysco.com/AMT%20Helpfiles%20for%20COBOL/?target=IBM" |
The Username and Password entries will be encrypted as a security measure after running Setup.exe from the Setup directory.
Note |
---|
When using Windows authentication instead of SQL authentication to connect to MS-SQL,
the following line should be added: INTEGRATEDSECURITY=TRUE Also see the page Lion.ini Configuration File. |
The next step is to finalize the installation by running Setup.exe. See Finalizing the
Installation.
Oracle
****************************************************************************************
* This is the default lion.ini file for AMT Lion. *
* In this file the recommended parameters are prefilled. *
* To see the meaning of all parameters, please look at the Lion manual *
* Configuration of LION (LION.ini file) *
****************************************************************************************
BACKUPRUNTIME=False
BACKUPDIR=C:\AMT\Lion\Backup
SELECTEDAPPLICATIONS=
SELECTEDAPPPOOL=DefaultAppPool
SINGLEAPPPOOL=False
CONFIGUREAPPLICATIONSIIS=False
WEBSITEROOT=Default Web Site
VIRTUALFOLDER=AMT
URL=http://localhost/AMT
HELPURL=http://localhost/AMT/ControlCenter/Help
#HELPURL=http://help.myasysco.com/AMT%20Helpfiles%20for%20LION/default.aspx
[GENERAL]
DBSSYS=ORACLE
SERVERNAMEREPOSDB=<<Oracle database servername>>
***** The server and servicename of the LionDev Generator *****
LIONDEVNETSERVICENAME=LionDevNet_Generator
LIONDEVNETSERVERNAME=<COMPUTERNAME>
DBSNAME=<<Repos Oracle Tablespace Name>>
SCHEMA=<<Oracle User/Schema used in the Repos Tablespace>>
DBUSER=<<Database user>>
DBPSSW=<<Database password>>
The settings listed below that need to be configured can be found in the [GENERAL] section of
the Lion.ini file. All other settings can be ignored at this moment.
DBSSYS: This setting requires the type of database to be set. Set to ORACLE.
SERVERNAMEREPOSDB: This setting needs to be set to the logical name of the Oracle database server.
DBSNAME: This setting refers to the name of the Oracle Tablespace used for the Repository.
SCHEMA: This setting required to be set to the Oracle User Schema used in the Repository Tablespace.
DBUSER: This setting requires the Username of the user accessing the Oracle database server.
DBPSSW: This setting requires the Password of the user accessing the Oracle database server.
HELPURL: This setting allows the helpsite web page to be opened from within the AMT Developer Studio when F1 is pressed. This setting should be set later when setting up the Control Center is complete. For example:
"<<URL of Control Center>>/Help/statichelp.htm" |
(Also see Setting up the Control Center).
When internet access is available, for direct access to the online helpfiles the value can also be set to:
"http://help.myasysco.com/AMT%20Helpfiles%20for%20COBOL/?target=IBM" |
The Username and Password entries will be encrypted as a security measure after running Setup.exe from the Setup directory.