Reference Guide
Table Of Contents
- Dell Wyse Management Suite Version 3.x High Availability Guide
- Contents
- Introduction
- High availability architecture
- High availability on Windows Server 2012 R2/2016/2019
- Achieve high availability on Windows Server 2012 R2/2016/2019
- Achieve high availability for MySQL InnoDB
- Achieve high availability on MongoDB
- Achieve high availability for Teradici devices
- Install Wyse Management Suite on Windows Server 2012 R2/2016/2019
- Post installation checks
- Upgrade Wyse Management Suite version 1.3 to 1.4
- Upgrading from Wyse Management Suite version 1.4/1.4.1/2.x/2.1 to Wyse Management Suite version 3.x
- Troubleshooting
{ role: "readWriteAnyDatabase", db: "admin" },
{ role: "dbOwner", db: "DBUser" }]})
Create database user
Create an user, for example, DBUser using the Wyse Management Suite to access MongoDB.
NOTE: The database user and password are examples and can be created using a different name and password at your
work place.
Run the following command to create the DBUser:
db.createUser({
user: "DBUser",
pwd: <db_password>,
roles: [ { role: "userAdminAnyDatabase", db: "admin" },
{ role: "dbAdminAnyDatabase", db: "admin" },
{ role: "readWriteAnyDatabase", db: "admin" },
{ role: "dbOwner", db: "DBUser" }]
})
Create DBadmin user for MongoDB
Login to the MongoDB using the user account created in the previous section. The DBadmin user is created with the
administrative privileges.
Run the following command to create the DBadmin user:
mongo -uDBUser -pPassword admin
use admin
db.createUser( {
user: "DBadmin",
pwd: <DBadmin user password>,
roles: [ { role: "DBadmin", db: "admin" } ]
})
Edit mongod.cfg file
You must edit the mongod.cfg file to enable the security for the MongoDB database.
1. Login to MongoDB as root user that you have already created and run the following command:
mongo -uroot -<root password> admin
2. Go to \data\bin\mongod.cfg directory, and open mongod.cfg file in a text editor.
3. Edit mongod.cfg file as shown in the following command:
Achieve high availability on MongoDB
61