Install Guide
Introduction to remote database
A remote or cloud database (DB) is a database that is built for a virtualized environment, such as hybrid cloud, public cloud, or private
cloud. In Wyse Management Suite, you can congure either the Mongo database (MongoDB) or the Maria database (MariaDB) or both
databases based on your requirement.
Topics:
• Conguring Mongo database
• Conguring Maria database
Conguring Mongo database
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.
To congure MongoDB, do the following:
1 Install the MongoDB version 3.2.9.
2 Copy the MongoDB les 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 le named mongod.cfg.
5 Open the mongod.cfg le 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 le.
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(
{
A
Introduction to remote database 25