Configuring environments - HxGN EAM - 12.0.1 - Installation & Upgrade

HxGN EAM Application Installation

Language
English
Product
HxGN EAM
Search by Category
Installation & Upgrade
HxGN EAM Version
12.0.1
  1. Open the file [APP_HOME]/depconfig/properties/external/config.yml in a text editor.

  2. Add/modify DB connections definition like the example below.

    datasources:
    tenant: <db-connection name>
    url: jdbc:oracle:thin:@SERVER1:PORT1:INSTANCE1
    driver: oracle.jdbc.OracleDriver
    user: <user>
    password: '<password>'
    min-size: <min-size>
    max-size: <max-size>
    idle-timeout-minutes: 1
    tenant: <db-connection2 name>
    url: jdbc:oracle:thin:@SERVER2:PORT2:INSTANCE2 driver: oracle.jdbc.OracleDriver
    user: <user2>
    password: '<password2>'
    min-size: <min-size>
    max-size: <max-size>
    idle-timeout-minutes: 1

    • <db-connection name> - Specify the name of the connection, which you must match with the tenant name that users provide on the login URL.

    • <url> - Specify the host name of the database server, the port number for the database server, and the SID or service name of the database.

      <database name> is the name of the SQL Server construct that contains the EAM tables, not the database server name.

    • <user> - Specify the user name.

    • <password> - Specify the user access password.

    • <min-size> - Specify the number of connections created during the Application Server startup.

    • <max-size> - Specify the maximum number of connections allowed per data source.

  3. Save the file.

  4. Change to directory [APP_HOME]/depconfig.

  5. For JBoss on Windows run deploy.bat. For JBoss on Linux run deploy.sh.

    When the modifications are complete and the server is restarted, the URL that identifies which environment is running is http://ServerName/web/base/logindisp?tenant=<db-connection name>, where <db-connection name> would be what was set as <db-connection name> in our example above.