Skip to content

Enable Transactional Logging by Default #19

@JoelProminic

Description

@JoelProminic

From @JustinProminic

Per this part of your e-mail:

Maintaining a Domino server with 12K+ databases presents significant challenges. For example, an unexpected shutdown causes Domino to run consistency checks on all databases during startup, which can extend the boot time from 1–2 minutes to over 10–15 minutes and complete the check spend some hours for 12k database, and in some cases even lead to another automatic shutdown. These scenarios have come up during my stress tests, and it's something we should be mindful of when scaling.

Please note we almost always have Domino Transactional Logging enabled. You should make this a default for your tests. In fact, it should already be a default for any Super.Human.Installer created instances of Domino.

Some documentation links:
https://help.hcl-software.com/domino/14.5.0/admin/othr_serverdocumenttransactionalloggingtab_t.html
https://help.hcl-software.com/domino/14.0.0/admin/admn_backupandrestorerequirements.html?scLang=en
https://help.hcl-software.com/domino/14.0.0/admin/upgrades_and_transactional_logging.html

Checking some servers that were recently created with the provisioners, it looks like Transactional logging is already enabled.

Image

The fields are:

Image

The values for TRANSLOG_Status, TRANSLOG_AutoFixup, and TRANSLOG_USEALL are:

Enabled|1
Disabled|0

The values for TRANSLOG_Style are:

Circular|0
Archived|1
Linear|2

The values for TRANSLOG_Performance are:

Favor runtime|1
Standard|2
Favor restart recovery time|3

I see the values are configured here:

"TRANSLOG_AutoFixup": "{{ domino_translog_auto_fixup }}",
"TRANSLOG_MaxSize": {{ domino_translog_max_size }},
"TRANSLOG_Path": "{{ domino_translogs_path }}",
"TRANSLOG_Performance": "{{ domino_translog_performance }}",
"TRANSLOG_Status": "{{ domino_translog_status }}",
"TRANSLOG_Style": "{{ domino_translog_style }}",
"TRANSLOG_UseAll": "{{ domino_translog_use_all }}",

domino_translogs_path: /local/translogs
domino_translog_auto_fixup: ""
domino_translog_max_size: 1024
domino_translog_performance: "2"
domino_translog_status: "1"
domino_translog_style: "0"
domino_translog_use_all: "0"

With added comments:

# This is a simple directory by default:  https://github.com/STARTcloud/hcl_roles/blob/1fedb89a6261e7c03001639fb353310a60281b68/roles/domino_config/tasks/main.yml#L212
domino_translogs_path: /local/translogs
# Defaults to Enabled?.  Expected values are "0" and "1"
domino_translog_auto_fixup: ""
# 1 GB, min is 192, max is 4096 (4095?)
domino_translog_max_size: 1024
# Standard (default and recommended)
domino_translog_performance: "2"
# Enabled
domino_translog_status: "1"
# Circular (default)
domino_translog_style: "0"
# No.  Allows domino_translog_max_size to take effect
domino_translog_use_all: "0"

I also see some notes.ini options:
https://github.com/STARTcloud/hcl_roles/blob/1fedb89a6261e7c03001639fb353310a60281b68/roles/domino_java_config/templates/notes.ini.j2#L36C1-L40C1

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions