You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/startscript/parameters.md
+94-86Lines changed: 94 additions & 86 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ parent: "Domino Start Script"
7
7
has_children: false
8
8
---
9
9
10
-
# Configuration Parameters
10
+
# Required Configuration Parameters
11
11
12
12
Parameters are specified in the configuration file `/etc/sysconfig/rc_domino_config`.
13
13
The configuration shipped with the start script comes with reasonable defaults.
@@ -32,6 +32,8 @@ Default: `/local/notesdata`
32
32
33
33
Configuration variable. Needs to be set to `yes` per user to confirm that the environment for this user is setup correctly.
34
34
35
+
# Configuration Parameters
36
+
35
37
## DOMINO_LANG
36
38
37
39
Language setting used to determine local settings
@@ -147,12 +149,6 @@ Enable this option (DOMINO_RESET_LOADMON=`yes`) to remove loadmon.ncf at server
147
149
Note: When using this option you will only see a loadmon.ncf in the data directory,
148
150
when the server is down, because it will be only written at server shutdown time.
149
151
150
-
## DOMINO_CUSTOM_COMMAND_BASEPATH (expert)
151
-
152
-
This option allows you to specify a directory which is used for custom commands.
153
-
If a command which is specified when invoking the script matches a script name which is present in the specified directory (and if the script can be executed) the custom command will execute the script passing all current parameters of the current command.
154
-
This is a new flexible way to plug-in your own commands without changing the code of the main script logic.
155
-
156
152
## DOMINO_NSD_BEFORE_KILL (default)
157
153
158
154
Generates a NSD before finally using NSD -kill to recycle the server.
@@ -178,38 +174,6 @@ In such cases you have to move those files before restarting the server Server-R
178
174
179
175
Therefore the script only deletes *TMP files in data directory which are at least 1 day old.
180
176
181
-
## DOMINO_CUSTOM_REMOVE_TEMPFILES_SCRIPT (expert)
182
-
183
-
This script allows a customizable way to remove temp files on server start.
184
-
A sample script `remove_tempfiles_script` is included. The script works in combination with `DOMINO_REMOVE_TEMPFILES`.
185
-
You have to specify a script name and enable the option. This script overwrites the default code in the start script.
186
-
187
-
## DOMINO_CLEAR_LOGS_STARTUP (expert)
188
-
189
-
Clear Logs on startup before the server starts. See `clearlog` for details about the actions performed.
190
-
191
-
## DOMINO_LOG_CLEAR_DAYS (expert)
192
-
193
-
Number of days until logs are cleared (See details in `clearlog` command description).
194
-
195
-
## DOMINO_LOG_BACKUP_CLEAR_DAYS (expert)
196
-
197
-
Number of days until backup logs are cleared (See details in `clearlog` command description).
198
-
199
-
## DOMINO_CUSTOM_LOG_CLEAR_PATH (expert)
200
-
201
-
Specify this custom location to remove old logs from a directory.
202
-
Can only be used in combination with `DOMINO_CUSTOM_LOG_CLEAR_DAYS`
203
-
204
-
## DOMINO_CUSTOM_LOG_CLEAR_DAYS (expert)
205
-
206
-
Age of log files to be cleared. Works in combination with `DOMINO_CUSTOM_LOG_CLEAR_PATH`.
207
-
208
-
## DOMINO_CUSTOM_LOG_CLEAR_SCRIPT (expert)
209
-
210
-
Custom log clear script will be used instead of the standard log clear operations and replaces all other clear operations!
211
-
(See details in `clearlog` command description).
212
-
213
177
## DOMINO_LOG_DB_DAYS
214
178
215
179
Rename log.nsf database on startup after n days (This will only work for the default log.nsf location and not check the log= notes.ini parameter).
@@ -287,17 +251,6 @@ The following settings are intended to add functionality to the existing start s
287
251
Those scripts inherit all current variables of the main script. The scripts are invoked as kind of call-back functionality.
288
252
You have to ensure that those scripts terminate in time.
289
253
290
-
## DOMINO_3RD_PARTY_BIN_DIRS
291
-
292
-
3rd Party directories to check for running processes when cleaning up server resources specify separate directories with blank in-between. directory names should not contain blanks.
293
-
Those directories are also checked for running processes when cleaning up server resources via `clenup` command by default only the $LOTUS directory is checked for running binaries.
294
-
295
-
## DOMINO_SCRIPT_DIR (expert)
296
-
297
-
This variable can be used to specify a directory for all scripts that can be invoked.
298
-
It is only referenced in the configuration file and used by default for a scripts which are invoked.
299
-
But you can also specify different locations per pre/post script.
300
-
301
254
## DOMINO_TIKA_SHUTDOWN_TERM_SECONDS
302
255
303
256
Tries to shutdown the Tika index server during shutdown.
@@ -316,43 +269,10 @@ Shutdown Delay for delayed shutdown command.
316
269
317
270
Default is **20 seconds** if script is defined.
318
271
319
-
## DOMINO_PRE_STARTUP_SCRIPT (expert)
320
-
321
-
This script is invoked before starting the server.
322
-
323
-
## DOMINO_POST_STARTUP_SCRIPT (expert)
324
-
325
-
This script is invoked after starting the server.
326
-
327
-
## DOMINO_PRE_SHUTDOWN_SCRIPT (expert)
328
-
329
-
This script is invoked before shutting down the server.
330
-
331
-
## DOMINO_POST_SHUTDOWN_SCRIPT (expert)
332
-
333
-
This script is invoked after shutting down the server.
334
-
335
-
## DOMINO_PRE_KILL_SCRIPT (expert)
336
-
337
-
This script is invoked before any `nsd -kill` is executed.
338
-
339
-
## DOMINO_POST_KILL_SCRIPT (expert)
340
-
341
-
This script is invoked after any `nsd -kill` is executed.
342
-
343
-
## DOMINO_PRE_CLEANUP_SCRIPT (expert)
344
-
345
-
This script is invoked before cleaning up server resources native on OS level.
346
-
347
-
## DOMINO_POST_CLEANUP_SCRIPT (expert)
348
-
349
-
This script is invoked after cleaning up server resources native on OS level.
350
-
351
-
## DOMINO_PRE_STATUS_SCRIPT (expert)
272
+
## DOMINO_3RD_PARTY_BIN_DIRS
352
273
353
-
Script which will be executed before the server status is checked.
354
-
This can be helpful in case you want to check status for other tools like monitoring tools before you check the Domino server status.
355
-
The option does not directly impact the status of the Domino status and is mainly intended to add log output.
274
+
3rd Party directories to check for running processes when cleaning up server resources specify separate directories with blank in-between. directory names should not contain blanks.
275
+
Those directories are also checked for running processes when cleaning up server resources via `clenup` command by default only the $LOTUS directory is checked for running binaries.
356
276
357
277
## DOMINO_START_COMPACT_OPTIONS
358
278
@@ -396,6 +316,94 @@ Log compact options.
396
316
397
317
Start log compact options.
398
318
319
+
320
+
# Expert Configuration Parameters
321
+
322
+
The following configuration parameters are intended for experienced administrors only.
323
+
324
+
## DOMINO_CUSTOM_COMMAND_BASEPATH (expert)
325
+
326
+
This option allows you to specify a directory which is used for custom commands.
327
+
If a command which is specified when invoking the script matches a script name which is present in the specified directory (and if the script can be executed) the custom command will execute the script passing all current parameters of the current command.
328
+
This is a new flexible way to plug-in your own commands without changing the code of the main script logic.
329
+
330
+
## DOMINO_CUSTOM_REMOVE_TEMPFILES_SCRIPT (expert)
331
+
332
+
This script allows a customizable way to remove temp files on server start.
333
+
A sample script `remove_tempfiles_script` is included. The script works in combination with `DOMINO_REMOVE_TEMPFILES`.
334
+
You have to specify a script name and enable the option. This script overwrites the default code in the start script.
335
+
336
+
## DOMINO_CLEAR_LOGS_STARTUP (expert)
337
+
338
+
Clear Logs on startup before the server starts. See `clearlog` for details about the actions performed.
339
+
340
+
## DOMINO_LOG_CLEAR_DAYS (expert)
341
+
342
+
Number of days until logs are cleared (See details in `clearlog` command description).
343
+
344
+
## DOMINO_LOG_BACKUP_CLEAR_DAYS (expert)
345
+
346
+
Number of days until backup logs are cleared (See details in `clearlog` command description).
347
+
348
+
## DOMINO_CUSTOM_LOG_CLEAR_PATH (expert)
349
+
350
+
Specify this custom location to remove old logs from a directory.
351
+
Can only be used in combination with `DOMINO_CUSTOM_LOG_CLEAR_DAYS`
352
+
353
+
## DOMINO_CUSTOM_LOG_CLEAR_DAYS (expert)
354
+
355
+
Age of log files to be cleared. Works in combination with `DOMINO_CUSTOM_LOG_CLEAR_PATH`.
356
+
357
+
## DOMINO_CUSTOM_LOG_CLEAR_SCRIPT (expert)
358
+
359
+
Custom log clear script will be used instead of the standard log clear operations and replaces all other clear operations!
360
+
(See details in `clearlog` command description).
361
+
362
+
363
+
## DOMINO_SCRIPT_DIR (expert)
364
+
365
+
This variable can be used to specify a directory for all scripts that can be invoked.
366
+
It is only referenced in the configuration file and used by default for a scripts which are invoked.
367
+
But you can also specify different locations per pre/post script.
368
+
369
+
## DOMINO_PRE_STARTUP_SCRIPT (expert)
370
+
371
+
This script is invoked before starting the server.
372
+
373
+
## DOMINO_POST_STARTUP_SCRIPT (expert)
374
+
375
+
This script is invoked after starting the server.
376
+
377
+
## DOMINO_PRE_SHUTDOWN_SCRIPT (expert)
378
+
379
+
This script is invoked before shutting down the server.
380
+
381
+
## DOMINO_POST_SHUTDOWN_SCRIPT (expert)
382
+
383
+
This script is invoked after shutting down the server.
384
+
385
+
## DOMINO_PRE_KILL_SCRIPT (expert)
386
+
387
+
This script is invoked before any `nsd -kill` is executed.
388
+
389
+
## DOMINO_POST_KILL_SCRIPT (expert)
390
+
391
+
This script is invoked after any `nsd -kill` is executed.
392
+
393
+
## DOMINO_PRE_CLEANUP_SCRIPT (expert)
394
+
395
+
This script is invoked before cleaning up server resources native on OS level.
396
+
397
+
## DOMINO_POST_CLEANUP_SCRIPT (expert)
398
+
399
+
This script is invoked after cleaning up server resources native on OS level.
400
+
401
+
## DOMINO_PRE_STATUS_SCRIPT (expert)
402
+
403
+
Script which will be executed before the server status is checked.
404
+
This can be helpful in case you want to check status for other tools like monitoring tools before you check the Domino server status.
405
+
The option does not directly impact the status of the Domino status and is mainly intended to add log output.
406
+
399
407
## DOMINO_CONSOLE_SERVERC (expert)
400
408
401
409
By default live console uses `server -c "cmd"` to run server commands.
0 commit comments