Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Wyse Management Suite Version 1.3 Quick Start Guide

Configure Mongo database

Prerequisites

Mongo database (MongoDB) operates on the Transmission Control Protocol (TCP) port number 27017.
NOTE Replace any value that is boldfaced with your environment variables, as applicable.

About this task

To configure MongoDB, do the following:

Steps

  1. Install the MongoDB version 3.2.9.
  2. Copy the MongoDB files to your local system—C:\Mongo.
  3. Create the following directories if they do not exist:
    • C:\data
    • C:\data\db
    • C:\data\log
  4. Go to the Mongo folder (C:\Mongo), and create a file named mongod.cfg.
  5. Open the mongod.cfg file in a notepad, and add the following script:
    systemLog:
    destination:file
    path:c:\data\log\mongod.log
    storage:
    dbPath:c:\data\db
  6. Save and close the mongod.cfg file.
  7. Open command prompt as an administrator, and run the following command:
    mongod.exe --config "C:\Program Files\MongoDB\Server\3.2\mongod.cfg" –install or sc.exe create MongoDB binPath= "\"C:\ProgramFiles\MongoDB\Server\3.2\bin\mongod.exe\"--service --config=\"C:\ProgramFiles\MongoDB\Server\3.2\mongod.cfg\"" DisplayName= "Dell WMS: MongoDB" start="auto"
    MongoDB is installed.
  8. To start the MongoDB services, run the following command:
    net start mongoDB
  9. To start the Mongo database, run the following command:
    mongo.exe
  10. To open the default admin db, run the following command:
    use admin;
  11. After the MongoDB sheet is displayed, run the following commands:
    db.createUser(
    {
    user:"wmsuser",
    pwd:"PASSWORD",
    roles:[{role:"userAdminAnyDatabase",db:"admin"},
    {role:"dbAdminAnyDatabase",db:"admin"},
    {role:"readWriteAnyDatabase",db:"admin"},
    {role:"dbOwner",db:"stratus"}]
    }
    )
  12. To switch to the stratus database, run the following command:
    use stratus;
  13. To stop the MongoDB services, run the following command:
    net stop mongoDB
  14. Add an authentication permission to the admin DB. Modify the mongod.cfg file to the following:
    systemLog:
    destination:file
    path:c:\data\log\mongod.log
    storage:
    dbPath:c:\data\db
    security:
    authorization:enabled
  15. To restart the MongoDB service, run the following:
    net Start mongoDB;

Next steps

In the Wyse Management Suite installer, the administrator must use the same user name and password that was created to access the stratus databases in MongoDB. For information about setting the MongoDB on the Wyse Management Suite installer, see Custom installation.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\