configuration/environments_scripts/central_mongo_setup/files/etc/mongodb/mongodb-archive.conf
... ...
@@ -14,4 +14,6 @@ systemLog:
14 14
path: "/var/log/mongodb/archive.log"
15 15
replication:
16 16
replSetName: "archive"
17
-
17
+# Disable FTDC to avoid crashes
18
+setParameter:
19
+ diagnosticDataCollectionEnabled: false
configuration/environments_scripts/central_mongo_setup/files/etc/mongodb/mongodb-hidden-live-replica.conf
... ...
@@ -14,4 +14,6 @@ systemLog:
14 14
path: "/var/log/mongodb/hidden-live-replica.log"
15 15
replication:
16 16
replSetName: "live"
17
-
17
+# Disable FTDC to avoid crashes
18
+setParameter:
19
+ diagnosticDataCollectionEnabled: false
configuration/environments_scripts/central_mongo_setup/files/etc/mongodb/mongodb-slow.conf
... ...
@@ -14,4 +14,6 @@ systemLog:
14 14
path: "/var/log/mongodb/slow.log"
15 15
replication:
16 16
replSetName: "slow"
17
-
17
+# Disable FTDC to avoid crashes
18
+setParameter:
19
+ diagnosticDataCollectionEnabled: false
configuration/environments_scripts/mongo_instance_setup/files/etc/mongod.conf
... ...
@@ -43,3 +43,6 @@ replication:
43 43
#auditLog:
44 44
45 45
#snmp:
46
+# Disable FTDC to avoid crashes
47
+setParameter:
48
+ diagnosticDataCollectionEnabled: false
configuration/environments_scripts/repo/usr/local/bin/imageupgrade_functions.sh
... ...
@@ -456,6 +456,12 @@ EOF
456 456
if ! grep "logRotate: reopen" /etc/mongod.conf; then
457 457
sudo sed -i -e 's/^ logAppend: true/ logAppend: true\n logRotate: reopen/' /etc/mongod.conf
458 458
fi
459
+sudo su - -c "cat >>/etc/mongod.conf << EOF
460
+# Disable FTDC to avoid crashes
461
+setParameter:
462
+ diagnosticDataCollectionEnabled: false
463
+EOF
464
+"
459 465
}
460 466
461 467
# Copies the /root/secrets and /root/mail.properties file to the local instance, ensuring only root can read it
configuration/environments_scripts/sailing_server/setup-sailing-server.sh
... ...
@@ -32,7 +32,7 @@ else
32 32
sudo mv imageupgrade_functions.sh /usr/local/bin
33 33
# build-crontab
34 34
. imageupgrade_functions.sh
35
- # Install MongoDB 5.0 and configure as replica set "replica"
35
+ # Install MongoDB 7.0 and configure as replica set "replica"
36 36
setup_mongo_7_0_on_AL2023
37 37
sudo su - -c "cat << EOF >>/etc/mongod.conf
38 38
replication:
wiki/howto/onboarding.md
... ...
@@ -16,7 +16,7 @@ First of all, make sure you've looked at [http://www.amazon.de/Patterns-Elements
16 16
- Announcements relevant for developers are posted on [GitHub](https://github.com/SAP/sailing-analytics) in the Discussions tab. In order to get notifications you can subscribe to discussions by clicking on "Watch" in the Repository, then "Custom". In the new Popup select "Discussions" and confirm by clicking "Apply".
17 17
18 18
<img src="/wiki/images/github/GitHubWatch.jpg" style="width: 50%"/>
19
- <img src="/wiki/images/github/GitHubSubscribe.jpg" style="width: 50%"/>
19
+ <img src="/wiki/images/github/GitHubSubscribe.jpg" style="width: 45%"/>
20 20
21 21
- In case you'd like to get access to the external git at `ssh://trac@sapsailing.com/home/trac/git` please send your SSH public key to one of the project maintainers, requesting git access. Make sure to NOT generate the key using Putty. Putty keys don't work reliably under Linux and on Windows/Cygwin environments. Use ssh-keygen in a Cygwin or Linux or MacOS/X environment instead. For further instructions for generating an ssh-key see [GitHub](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent).
22 22
Note: If you want to use the ssh-key in the context of our solution, it can be an RSA or ED25519 format. Example for creating a key: `ssh-keygen -t ed25519 -b 512 -C "test@test.com"`. Make sure to set a non-empty password for your key.