XS1: MongoDB configuration steps for XS1 installation
Summary:
1. create the user "xs1.admin"
2. create the db "XYGATE_SecurityOne"
3. create the collection "xma"
4. create the user "xs1.owner" with read/write access to the db XYGATE_SecurityOne
5. if needed, modify the mongod configuration file appropriately for XS1 usage
- Required for new/internal installations
Steps:
1. Open command prompt as admin and perform the following commands:
> cd c:\Program Files\MongoDB\Server\4.0\bin
> mongo.exe
> use admin
> db.createUser(
{
user: "xs1.admin",
pwd: "password", // or cleartext password
roles : [
{ role: 'root', db: 'admin' }
]
}
)
> use XYGATE_SecurityOne
> db.createCollection("xma")
> db.createUser(
{
user: "xs1.owner",
pwd: "password", // or cleartext password
roles: [
{ role: "readWrite", db: "XYGATE_SecurityOne" }
]
}
)
> mongod.cfg
- This command will prompt to open in a text editor. (Wordpad or Notepad++ work well)
2. Edit the following perameters to match these settings.
- WARNING: do not use the TAB key while editing the file - use only spaces.
Network Interfaces section:
------------------------------
# network interfaces
net:
port: 27017
bindIp: 0.0.0.0
{Note: the bindip setting is an all or nothing setting: you either have all access (0.0.0.0 as the ip) or none (127.0.0.1 - AKA localhost which is the loopback ipaddress in which the Mongo Database only listens internally for data to read). MongoDB after v3.6 has the setting as the localhost, all previous versions had All available. In this change we are changing the setting to accept all inputs to MongoDb.}
Process Management section:
------------------------------
#processManagement:
security:
authorization: "enabled"
3. Restart the Mongodb service before proceeding with installation steps.
If you are unable to locate the solution needed or if you need additional assistance please Click Here to open a case from our Customer Care Portal.
Related Articles
XMA How To Change Ownership On The Existing Installation
The following methods are available to change the ownership of an XMA environment. Method #1 - Re-Install XMA Procedure: Refer to Chapter 1 " Installing XMA " in the XYGATE Merged Audit (XMA), User's Guide and Reference Manual Method #2 - ...
XSW: How to create a XSW GUI installation log.
All steps are not needed if upgrading. They are only needed if the installed PC version is the same we need an installation log file for. This gives good information for a complete re-installation. Completely uninstall XSW from this PC using the ...
XS1: No Alerts or Monitors not running? - 5 Quick Troubleshooting Steps To Try
The steps below are ordered in a way to solve the issue. If the first step does not help go to the next and so on. If you get through all five steps and the issue persists, please open a support ticket and we will be happy to help you. 1) On the ...
XMA: Steps to edit the Merged Audit FILTERS file using XMA_EDIT_FILTERS
The XMA_EDIT_FILTERS Macro makes a copy of the FILTERS file called NEWFILT and allows you to edit this. Once editing is complete you can choose to install the edited version. This renames the current FILTERS file to OLDFLTXX, and replace it with ...
Steps to Fully Setup XTR With HPE SSL
1. Setup HPESSL When prompted by the SETUP macro, select a listening port and enter it and your XTR port as the target port. For details on running the SETUP macro, see "To install a HPE NonStop SSL PROXYS process for RSC" (beginning on step 3, run ...