EMS Configuration Files
RAD Studio provides the scripts to render the Web-browser console, the EMS server configuration file and the script to CRE Ate the EMS database, and the stand-alone applications to run the EMS Console Server and the EMS server.
In C:\Program Files (x86)\Embarcadero\Studio\19.0\ObjRepos\en\EMS
folder can find:
- webresources folder: This folder contains scripts to render the Web-browser console. You can customize the appearance of your EMS Console Server by modifying the layouts, templates and styles defined here.
- Emsserver.ini File: This is a template for the EMS server configuration file (for the EMS server and for the EMS Console server).
- EMS Database Creation Files:
- Emsmserver.sql and Emsserver.sql files. SQL script files to create the EMS Database.
- Emsmserver. IB and Emsserver. IB files. License template files to create the EMS Database.
The stand-alone applications (EMSDevConsole.exe and EMSDevServer.exe) is located in the following fold ERs
- Windows 32-bit:
C:\Program Files (x86)\Embarcadero\Studio\19.0\bin
- Windows 64-bit:
C:\Program Files (x86)\Embarcadero\Studio\19.0\bin64
Configuring Your EMS Environment for the first time
The EMSDevServer.exe and EMSDevConsole.exe programs only run the Setup Wizard when there is no registry key or if the EMSS Erver.ini file does not exist.
-
Note: for a production environment, you need to set up the Interbase EMS database properly before running the EMS Setup Wizard.
To start the EMS Setup Wizard:
- Locate one of the following stand-alone applications on your system, and double-click:
-
- EMSDevConsole.exe: The EMS Console opens with a confirmation dialog.
- EMSDevServer.exe: The EMS Server opens with a confirmation dialog.
- Click Yes to run the configuration EMS Setup Wizard. The EMS Setup Wizard opens to create a new EMS database.
- TheNew DatabasePage opens.
- Enter the following values on theNew DatabasePage to specify its connection parameters:
- Server Instance: specify the InterBase Instance that hosts the EMS database. Leave it blank for a developer environment; For a production environment use
EMS
-
Note: see ems Dat Abase Requirements for a Production environment on windows for more information.
- DB file Name: emsserver.ib
- DB File Directory: &nb Sp The default path is
C:\Users\Public\Documents\Embarcadero\EMS
- DB User Name:
sysdba
as the parameter by default.
- DB Password:
masterkey
as the parameter by default.
-
Note: select Show password to see the unencrypted PA ssWOrd.
- click Next .
- The Database creation page opens.
- Select How to create the new EMS database from the delivered files.
- Copy the license template file.
- Run the SQL script.
- Click Next.
- The Sample Data page opens.
- Select one or more options indicating the sample data to being generated in the EMS database.
- click Next . the Console page opens.
- specify a console User Name and a console Password . The default values are:
consoleuser
and consolepass
.
-
Note: the user name and password is saved in the emsserver.ini< /strong> file in plain text.
-
- Click Next. The Finalize page opens.
- Click Finish to create the following files in the default path:
C:\Users\Public\Documents\Embarcadero\EMS
- DB File: The EMS Database file (emsserver.ib). You need to a InterBase server running.
- Configuration File: The EMS Server configuration file (Emsserver.ini).
- Registry Key: The EMS Registry key on the system.
- An information Wizard appears with the files created and the data added to the database. Click OK.
If you is planning to has the EMS Server and the EMS Console running on different servers, you need a configuration file (. ini) on each server.
In this scenario, your need to configure the. ini file on the Console Server to access the Interbase database on the EMS Se RVer.
Running the Setup Wizard
You can run the Setup Wizard again as follows:
- Open the command prompt (cmd.exe).
- Type the following command:
Emsdevserver-setup
- Open the command prompt (cmd.exe).
- Navigate to the EMSDevServer.exe folder:
- Windows 32-bit:
C:\Program Files (x86)\Embarcadero\Studio\19.0\bin
- Windows 64-bit:
C:\Program Files (x86)\Embarcadero\Studio\19.0\bin64
- Type the following command:
Emsdevserver.exe-setup
Http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Configuring_Your_EMS_Server_or_EMS_Console_Server_on_Windows
Http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Setting_Up_Your_EMS_Console_Server?utm_source=Facebook_ Organic&utm_medium=social
Configuring Your EMS Server or EMS Console server on Windows/linux