Configuring Your EMS Server or EMS Console Server on Windows/Lin

EMS Configuration Files

RAD Studio provides the scripts to render the web-browser console, the EMS server configuration file and the script to create the EMS database, and the stand-alone applications to run theEMS Console Serverand theEMS Server.

InC:\Program Files (x86)\Embarcadero\Studio\19.0\ObjRepos\en\EMSfolder you can find:

  • webresources folder:This folder contains scripts to render the web-browser console. You can customize the appearance of yourEMS Console Serverby modifying the layouts, templates and styles defined here.
  • emsserver.ini file:This is a template for the EMS server configuration file (for theEMS Serverand for theEMS 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.exeandEMSDevServer.exe) are located in the following folders:

  • 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 emsserver.ini file does not exist.

Note:For a production environment, you need to set up theInterbase EMS database properlybefore running the EMS Setup Wizard.

To start the EMS Setup Wizard:

  1. Locate one of the following stand-alone applications on your system, and double-click:
    • EMSDevConsole.exe:TheEMS Consoleopens with a confirmation dialog.
    • EMSDevServer.exe:TheEMS Serveropens with a confirmation dialog.
  2. ClickYesto run the configurationEMS Setup Wizard. TheEMS Setup Wizardopens to create a new EMS database.
  3. 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 useEMS
        Note:SeeEMS Database Requirements for a Production Environment on Windowsfor more information.
      • DB File Name:emsserver.ib
      • DB File Directory:The default path isC:\Users\Public\Documents\Embarcadero\EMS
      • DB User Name:sysdbaas the parameter by default.
      • DB Password:masterkeyas the parameter by default.
        Note:SelectShow passwordto see the unencrypted password.
      • ClickNext.
    Configuring Your EMS Server or EMS Console Server on Windows/Lin
  4. TheDatabase creationpage opens.
    • Select how to create the new EMS database from the delivered files.
      • Copy the license template file.
      • Run the SQL script.
      • ClickNext.
    Configuring Your EMS Server or EMS Console Server on Windows/Lin
  5. TheSample Datapage opens.
    • Select one or more options indicating the sample data to be generated in the EMS database.
    Configuring Your EMS Server or EMS Console Server on Windows/Lin
  6. ClickNext. TheConsolepage opens.
    • Specify aConsole User Nameand aConsole Password. The default values are:consoleuserandconsolepass.
      Note:The user name and password are saved in theemsserver.inifile in plain text.
    Configuring Your EMS Server or EMS Console Server on Windows/Lin
  7. ClickNext. TheFinalizepage opens.
    • ClickFinishto 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 have anInterBaseserver running.
      • Configuration File:The EMS Server configuration file (emsserver.ini).
      • Registry Key:The EMS Registry key on the system.
    Configuring Your EMS Server or EMS Console Server on Windows/Lin
  8. AnInformationwizard appears with the files created and the data added to the database. ClickOK.
    Configuring Your EMS Server or EMS Console Server on Windows/Lin

If you are planning to have the EMS Server and the EMS Console running on different servers, you need a configuration file (.ini) on each server.

In this scenario, you need to configure the .ini file on the Console Server to access the Interbase database on the EMS Server.

Running the Setup Wizard

You can run the setup wizard again as follows:

  1. Open the command prompt (cmd.exe).
  2. Type the following command:
emsdevserver -setup
  1. Open the command prompt (cmd.exe).
  2. 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
  3. 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

ems