Exported on 19-Aug-2021 14:41:40
Name
|
Type
|
Script Reference
|
Default Value
|
Comment
|
Linux Node
|
Linux / Unix Server
|
linuxNode
|
|
|
|
Linux User
|
Linux OS Credential
|
linuxUser
|
|
|
|
The connection details have changed from the last step.
Login as user
{Linux User}
on node
{Linux Node}
Connect via SSH
ssh user@hostname
Deploy archive
MongoDB - Auth Config Files.zip
to remote path
files/
- Locate Files archive "MongoDB - Auth Config Files.zip", This can be
downloaded from Attune
- Copy the Files archive to the server
- Extract the root of the Files archive to
files/, relative to the home directory
- Check that the files are in the correct location
Login as user
{Linux User}
on node
{Linux Node}
Connect via SSH
ssh user@hostname
This is a
Bash Script
make sure you run it with
bash -l
from a terminal session
echo 'db.adminCommand( { listDatabases: 1 } )' | mongo
Login as user
{Linux User}
on node
{Linux Node}
Connect via SSH
ssh user@hostname
This is a
Bash Script
make sure you run it with
bash -l
from a terminal session
Login as user
{Linux User}
on node
{Linux Node}
Connect via SSH
ssh user@hostname
This is a
Bash Script
make sure you run it with
bash -l
from a terminal session
sudo rm -rf /etc/mongod.conf
sudo cp files/mongod.conf /etc/mongod.conf
sudo service mongod restart