OpenIDM 4.0 Installation
Table of Contents
- 1 OpenIDM 4.0 Installation
- 2 ForgeRock backstage sign up
- 3 Download OpenIDM 4.0.0
- 4 OpenIDM Installation
- 5 Step 1: Default port change
- 6 Step 2: Back-end Database Setup
- 7 Step 3: Start OpenIDM
- 8 OpenIDM Admin Portal Details
- 9 OpenIDM Self-Service Portal Details
- 10 OpenIDM Apache Felix Server admin console details
- 11 How to check list of services with status
- 12 Admin URL: http://localhost:8087/admin
- 13 Self-Service URL: http://localhost:8087/
- 14 OpenIDM 4.0 Installation video
- 15 Reference Links
- 16 Related Posts
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
Download OpenIDM 4.0.0
After successful registration, login into backstage and then go to -> Identity Management
Go to -> Archive
Go to -> OpenIDM -> 4
Click on Full Release
Click on OpenIDM 4 Zip –> GET
Copy downloaded file to D:\forgerock\blog\ and then unzip it to openidm
OpenIDM Installation
Key Points
- OpenIDM having in built server i.e Felix server so no need to installation any external server
- 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.
- 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
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
Self-Service URL: http://localhost:8087/
Enter default admin user details to login into self-service portal
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
Hello! I am Narayanaswamy founder and admin of narayanatutorial.com. I have been working in the IT industry for more than 12 years. NarayanaTutorial is my web technologies blog. My specialties are Java / J2EE, Spring, Hibernate, Struts, Webservices, PHP, Oracle, MySQL, SQLServer, Web Hosting, Website Development, and IAM(ForgeRock) Specialist
I am a self-learner and passionate about training and writing. I am always trying my best to share my knowledge through my blog.