ABS uses a MongoDB database (5.0.18) to store analyzed logs and ABS cluster node information.
- Download either the RHEL or Ubuntu MongoDB 4.2 Linux
tarball
from the MongoDB website.Important:The steps below use a RHEL 7 download, but the equivalent Ubuntu version of MongoDB is also supported. Use the Ubuntu MongoDB URL to download the Ubuntu version.
- Copy the following files to the MongoDB node:
- /opt/pingidentity/abs/mongo/abs_init.js
- /opt/pingidentity/abs/mongo/abs_rs.js
Important:To avoid issues in your production MongoDB deployment, it is advised to follow MongoDB recommended settings. For more information, see MongoDB Operations Checklist and MongoDB Performance.
MongoDB is installed using a replica set. In a replica set, MongoDB is installed on three nodes for high availability (HA).
If you are installing as a non-root user, then increase the ulimit
-n
to 65535.
{
user: “absuser”,
pwd: “abs123",
roles: [{ role: “clusterMonitor”, db: “admin” },
{ role: “readWrite”, db: “abs_metadata” },
{ role: “readWrite”, db: “abs_data” },
{ role: “readWrite”, db: “abs_mldata” },
{ role: “readWrite”, db: “local” } ]
});
Download MongoDB on three nodes that will form the replica set for high availability (HA) and install MongoDB on each node: