Creating the database for session data storage in MongoDB - 8.0

Talend Installation Guide

Version
8.0
Language
English
Operating system
Windows
Subscription type
Subscription
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend LogServer
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
Installation and Upgrade
Last publication date
2022-10-30
You need to create a database for storing session data in MongoDB.

Before you begin

You must have admin rights to be able to create the database.

Procedure

  1. Create a database in MongoDB to store session data, using the following command:
    use <databasename>

    Example

    use sessions
  2. Create a user in this database, using the following command:
    use <databasename>
    db.createUser( { user: "<username>", pwd: "<password>",  roles: [ { role: "dbOwner", db: "<databasename>" }  ] } )
    The command can take the following fields:
    Field Description
    <databasename> The name of the database for session data storage.
    <username> The name for the created user.
    <password> The password for the created user.
    Important: The password must be URL encoded otherwise the connection fails.

    This user must be granted with the dbOwner role to be able to perform any administrative action on the database.

    Example

    To create a user named session-user with the password suser in the database named sessions, use the following command:
    use sessions
    db.createUser( { user: "session-user", pwd: "suser",  roles: [ { role: "dbOwner", db: "sessions" }  ] } )
  3. Stop Talend Identity and Access Management.