CentOS 8 3.6.17
[root@abc ~]# mongo XYZ:27717 --norc --eval “db.serverBuildInfo()”
MongoDB shell version v3.6.17
connecting to: mongodb://XYZ:27717/test?gssapiServiceName=mongodb
Implicit session: session { “id” : UUID(“6431a77a-6845-4f3e-b70a-7b4481bcd41f”) }
MongoDB server version: 3.6.17
{
“version” : “3.6.17”,
“gitVersion” : “3d6953c361213c5bfab23e51ab274ce592edafe6”,
“modules” : ,
“allocator” : “tcmalloc”,
“javascriptEngine” : “mozjs”,
“sysInfo” : “deprecated”,
“versionArray” : [
3,
6,
17,
0
],
“openssl” : {
“running” : “OpenSSL 1.1.1g FIPS 21 Apr 2020”,
“compiled” : “OpenSSL 1.1.1 FIPS 11 Sep 2018”
},
“buildEnvironment” : {
“distmod” : “rhel80”,
“distarch” : “x86_64”,
“cc” : “/opt/mongodbtoolchain/v2/bin/gcc: gcc (GCC) 5.4.0”,
“ccflags” : “-fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp”,
“cxx” : “/opt/mongodbtoolchain/v2/bin/g++: g++ (GCC) 5.4.0”,
“cxxflags” : “-Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14”,
“linkflags” : “-pthread -Wl,-z,now -rdynamic -Wl,–fatal-warnings -fstack-protector-strong -fuse-ld=gold -Wl,–build-id -Wl,–hash-style=gnu -Wl,-z,noexecstack -Wl,–warn-execstack -Wl,-z,relro”,
“target_arch” : “x86_64”,
“target_os” : “linux”
},
“bits” : 64,
“debug” : false,
“maxBsonObjectSize” : 16777216,
“storageEngines” : [
“devnull”,
“ephemeralForTest”,
“mmapv1”,
“wiredTiger”
],
“ok” : 1,
“operationTime” : Timestamp(1617065195, 2053),
“$clusterTime” : {
“clusterTime” : Timestamp(1617065195, 2053),
“signature” : {
“hash” : BinData(0,“AAAAAAAAAAAAAAAAAAAAAAAAAAA=”),
“keyId” : NumberLong(0)
}
}
}
[root@abc ~]# cat /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)
[root@abc ~]# mongod --version
-bash: mongod: command not found
[root@abc ~]# ssh XYZ !!
ssh XYZ mongod --version
db version v3.6.17
git version: 3d6953c361213c5bfab23e51ab274ce592edafe6
OpenSSL version: OpenSSL 1.1.1g FIPS 21 Apr 2020
allocator: tcmalloc
modules: none
build environment:
distmod: rhel80
distarch: x86_64
target_arch: x86_64
[root@abc ~]#
CentOS 7 with 3.6.17
[root@abc ~]# mongo DEF:27717 --norc --eval “db.serverBuildInfo()”
MongoDB shell version v3.6.9
connecting to: mongodb://DEF:27717/test
Implicit session: session { “id” : UUID(“967d0f97-1419-44a6-8ca0-2d51ac367dc1”) }
MongoDB server version: 3.6.17
{
“version” : “3.6.17”,
“gitVersion” : “3d6953c361213c5bfab23e51ab274ce592edafe6”,
“modules” : ,
“allocator” : “tcmalloc”,
“javascriptEngine” : “mozjs”,
“sysInfo” : “deprecated”,
“versionArray” : [
3,
6,
17,
0
],
“openssl” : {
“running” : “OpenSSL 1.0.1e-fips 11 Feb 2013”,
“compiled” : “OpenSSL 1.0.1e-fips 11 Feb 2013”
},
“buildEnvironment” : {
“distmod” : “rhel70”,
“distarch” : “x86_64”,
“cc” : “/opt/mongodbtoolchain/v2/bin/gcc: gcc (GCC) 5.4.0”,
“ccflags” : “-fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp”,
“cxx” : “/opt/mongodbtoolchain/v2/bin/g++: g++ (GCC) 5.4.0”,
“cxxflags” : “-Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14”,
“linkflags” : “-pthread -Wl,-z,now -rdynamic -Wl,–fatal-warnings -fstack-protector-strong -fuse-ld=gold -Wl,–build-id -Wl,–hash-style=gnu -Wl,-z,noexecstack -Wl,–warn-execstack -Wl,-z,relro”,
“target_arch” : “x86_64”,
“target_os” : “linux”
},
“bits” : 64,
“debug” : false,
“maxBsonObjectSize” : 16777216,
“storageEngines” : [
“devnull”,
“ephemeralForTest”,
“mmapv1”,
“wiredTiger”
],
“ok” : 1,
“operationTime” : Timestamp(1617065293, 297),
“$clusterTime” : {
“clusterTime” : Timestamp(1617065293, 297),
“signature” : {
“hash” : BinData(0,“AAAAAAAAAAAAAAAAAAAAAAAAAAA=”),
“keyId” : NumberLong(0)
}
}
}
[root@abc ~]# cat /etc/red
redhat-release redis-1.conf redis-2.conf redis-3.conf redis-4.conf redis-5.conf redis.conf
[root@abc ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@abc ~]# ssh DEF mongod --version
db version v3.6.17
git version: 3d6953c361213c5bfab23e51ab274ce592edafe6
OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
allocator: tcmalloc
modules: none
build environment:
distmod: rhel70
distarch: x86_64
target_arch: x86_64
[root@abc ~]#