OpenIDM 4.0 Installation

OpenIDM 4.0 Installation

Before going to install OpenIDM, you need to sign up in ForgeRock backstage and then download OpenIDM software.

Here we are going to showing OpenIDM 4 installation which is the old version and in next article we will show latest version of OpenIDM 6.5 installation. So that you can understand the differentiation between them.

ForgeRock backstage sign up

 

0-Forgerock-Backstage-Register

 

Download OpenIDM 4.0.0

 

After successful registration, login into backstage and then go to -> Identity Management

0.1-Forgerock-Identity-Management

 

Go to -> Archive

0.2-Forgerock-Identity-Management-Archive

 

Go to -> OpenIDM -> 4

0.3-Forgerock-Identity-Management-4

0.3-Forgerock-Identity-Management-4

 

Click on Full Release

0.4-Forgerock-Identity-Management-Full-Release

0.4-Forgerock-Identity-Management-Full-Release

 

Click on OpenIDM 4 Zip –> GET

1-OpenIDM-Download

 

Copy downloaded file to D:\forgerock\blog\ and then unzip it to openidm

 

OpenIDM Unzip

OpenIDM Unzip

 

 

OpenIDM Installation

Key Points

  1. OpenIDM having in built server i.e Felix server so no need to installation any external server
  2. OpenIDM having in built default orient DB as data base for development so no need to install any external database. But for production, it’s not recommended.
  3. OpenIDM having sample project for different type of purpose so you can reuse it and update according to requirement.

 

Step 1: Default port change

 

OpenIDM default port is 8080 and this port might be using in your system so for better change the port to other port which is not using in your system

Here changing 8080 port to 8087

Go to D:\forgerock\blog\openidm\conf\boot

Open boot.properties file and change openidm.port.http parameter value

openidm.port.http=8080 –> openidm.port.http=8087

Save the file after port changed.

 

Step 2: Back-end Database Setup

 

Here we are using default embedded OrientDB as a back-end database so no need to install any other database.

Generally we need to file for database setup those are

1. datasource.jdbc-default.json

it contains database configuration details

2. repo.jdbc.json

it contains operational queries

Embedded OreintDB database one file is enough i.e repo.orientdb.json which is already available in the conf folder. so no need to do changes and leave it as it is.

You can find other database configuration in next article.

 

Step 3: Start OpenIDM

Open command prompt, and go to D:\forgerock\blog\openidm and then execute startup.bat

D:\forgerock\blog\openidm>startup.bat

Then OpenIDM popup window will be opened and wait for few minutes to start.

Here you can see -> OpenIDM ready. It means that OpenIDM installed successfully.

Now you can access OpenIDM by using the follow details

OpenIDM Admin Portal Details

Admin URL: http://localhost:8087/admin

Default Admin Username: openidm-admin

Default Admin Password: openidm-admin

OpenIDM Self-Service Portal Details

Self-Service URL:  http://localhost:8087/

 

OpenIDM Apache Felix Server admin console details

Felix Server URL: http://localhost:8087/system/console

Felix Server Default Username: admin

Felix Server Default Password: admin

OpenIDM-Apache-Felix-Server

OpenIDM-Apache-Felix-Server

 

 

How to check list of services with status

scr list

Displaying list of services with state i.e active (service loaded/configured) or unsatisfied (service not loaded/not configured).

Here you can see orient db status is active

Using boot properties at D:\forgerock\blog\openidm\conf\boot\boot.properties
Feb 21, 2020 8:10:10 AM com.orientechnologies.common.log.OLogManager log
WARNING: segment file 'database.ocf' was not closed correctly last time
-> OpenIDM ready
scr list
   Id   State          Name
[  25] [active       ] org.forgerock.openidm.config.enhanced
[  38] [active       ] org.forgerock.openidm.provisioner
[  56] [active       ] org.forgerock.openidm.taskscanner
[   8] [active       ] org.forgerock.openidm.api-servlet
[  45] [active       ] org.forgerock.openidm.script
[  35] [active       ] org.forgerock.openidm.maintenance.update.log
[  13] [active       ] org.forgerock.openidm.sync
[  28] [active       ] org.forgerock.openidm.health
[   3] [unsatisfied  ] org.forgerock.openidm.datasource.jdbc
[  48] [unsatisfied  ] org.forgerock.openidm.selfservice
[  49] [active       ] org.forgerock.openidm.selfservice.userupdate
[  34] [active       ] org.forgerock.openidm.maintenance.update.config
[  43] [active       ] org.forgerock.openidm.provisioner.salesforce.confighelper
[  32] [active       ] org.forgerock.openidm.maintenance.update
[  46] [active       ] org.forgerock.openidm.selfservice.kbaservice
[   9] [active       ] org.forgerock.openidm.router
[  11] [active       ] org.forgerock.openidm.auth.config
[  52] [active       ] org.forgerock.openidm.servletfilter.registrator
[  53] [active       ] org.forgerock.openidm.servletfilter
[  54] [active       ] org.forgerock.openidm.servletfilter
[  55] [active       ] org.forgerock.openidm.workflow
[  58] [active       ] org.forgerock.openidm.scheduler
[   7] [active       ] org.forgerock.openidm.http.context
[  16] [active       ] org.forgerock.openidm.endpoint
[  17] [active       ] org.forgerock.openidm.endpoint
[  18] [active       ] org.forgerock.openidm.endpoint
[  19] [active       ] org.forgerock.openidm.endpoint
[  20] [active       ] org.forgerock.openidm.endpoint
[  21] [active       ] org.forgerock.openidm.endpoint
[  22] [active       ] org.forgerock.openidm.endpoint
[  23] [active       ] org.forgerock.openidm.endpoint
[  24] [active       ] org.forgerock.openidm.endpoint
[  27] [active       ] org.forgerock.openidm.external.rest
[   4] [unsatisfied  ] org.forgerock.openidm.repo.jdbc
[  15] [active       ] org.forgerock.openidm.managed
[  39] [unsatisfied  ] org.forgerock.openidm.provisioner.openicf
[  12] [active       ] org.forgerock.openidm.authentication
[  37] [active       ] org.forgerock.openidm.policy
[  29] [active       ] org.forgerock.openidm.info
[  30] [active       ] org.forgerock.openidm.info
[  31] [active       ] org.forgerock.openidm.info
[  42] [active       ] org.forgerock.openidm.internal
[  44] [unsatisfied  ] org.forgerock.openidm.provisioner.salesforce
[   1] [active       ] org.forgerock.openidm.config.manage
[  33] [active       ] org.forgerock.openidm.maintenance.updatemanager
[   5] [active       ] org.forgerock.openidm.repo.orientdb
[   6] [active       ] org.forgerock.openidm.cluster
[  41] [active       ] org.forgerock.openidm.provisioner.openicf.connectorinfoprovider
[   0] [active       ] org.forgerock.openidm.security
[  26] [unsatisfied  ] org.forgerock.openidm.external.email
[  10] [active       ] org.forgerock.openidm.audit
[   2] [active       ] org.forgerock.openidm.config.enhanced.starter
[  50] [active       ] org.forgerock.openidm.ui.context
[  51] [active       ] org.forgerock.openidm.ui.context
[  57] [unsatisfied  ] org.forgerock.openidm.schedule
[  47] [active       ] org.forgerock.openidm.selfservice.kba
[  40] [active       ] org.forgerock.openidm.openicf.syncfailure
[  14] [active       ] org.forgerock.openidm.recon
[  36] [active       ] org.forgerock.openidm.maintenance
->

 

Admin URL: http://localhost:8087/admin

 

Enter default admin user details to login into admin portal

OpenIDM Admin Page

OpenIDM Admin Page

 

OpenIDM Admin Page Home

OpenIDM Admin Page Home

 

 

Self-Service URL:  http://localhost:8087/

 

Enter default admin user details to login into self-service portal

OpenIDM SelfService Page

OpenIDM SelfService Page

 

OpenIDM SelfService Page Home

OpenIDM SelfService Page Home

 

Here you can use defined custom host name in host file instead of localhost. In the host file you can add as follows.

127.0.0.1    openidm.narayanatutorial.com

And then you can access OpenIDM like as follows. For more details

Admin URL: http://openidm.narayanatutorial.com:8087/admin

Self-Service URL:  http://openidm.narayanatutorial.com:8087/

Default Admin Username: openidm-admin

Default Admin Password: openidm-admin

You can find OpenIDM more details in next articles.

OpenIDM 4.0 Installation video

 

Reference Links

https://backstage.forgerock.com/docs/openidm/4

https://backstage.forgerock.com/docs/openidm/4/getting-started

https://backstage.forgerock.com/docs/openidm/4/install-guide/

https://backstage.forgerock.com/docs/openidm/4/samples-guide/

https://backstage.forgerock.com/docs/openidm/4/integrators-guide

 

 

Leave a Reply