Skip to content

Commit 7913662

Browse files
committed
documentation rewrite
1 parent a24997b commit 7913662

File tree

2 files changed

+101
-94
lines changed

2 files changed

+101
-94
lines changed

docs/index.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,16 @@ has_children: true
88

99
# Introduction
1010

11-
The Domino cross platform start/stop and diagnostic script has been written
12-
to unify and simplify running Domino on Linux and UNIX. The start script
13-
is designed to be "one-stop shopping" for all kind of operations done on the
14-
Linux/UNIX prompt. The script can start and stop the server, provides an interactive
15-
console and run NSD in different flavors.
11+
[The Domino cross platform start/stop and diagnostic script](https://github.com/nashcom/domino-startscript)
12+
has been designed to unify and simplify running Domino on Linux and UNIX.
13+
The start script is designed to be "one-stop shopping" for all kind of operations performed on the Linux/UNIX prompt.
14+
The script can start and stop the server, provides an interactive console and run NSD in different flavors.
1615
It ensures that the environment is always setup correct and supports multiple partitions.
1716

1817
This script is designed to run with a dedicated user for each partition.
19-
Out of the box the script is configured to use the "notes" user/group and the standard
20-
directories for binaries (`/opt/hcl/domino`) and the data directory (`/local/notesdata`).
21-
You should setup all settings in the script configuration file (`/etc/sysconfig/rc_domino_config`).
18+
It is already configured for the default user "notes" user and group (notes:notes).
19+
Binary are assumed to be in`/opt/hcl/domino`, the data directory is assumed in `/local/notesdata`.
20+
Settings are configured in `/etc/sysconfig/rc_domino_config`.
2221

2322
## Systemd
2423

docs/startscript/parameters.md

Lines changed: 94 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ parent: "Domino Start Script"
77
has_children: false
88
---
99

10-
# Configuration Parameters
10+
# Required Configuration Parameters
1111

1212
Parameters are specified in the configuration file `/etc/sysconfig/rc_domino_config`.
1313
The configuration shipped with the start script comes with reasonable defaults.
@@ -32,6 +32,8 @@ Default: `/local/notesdata`
3232

3333
Configuration variable. Needs to be set to `yes` per user to confirm that the environment for this user is setup correctly.
3434

35+
# Configuration Parameters
36+
3537
## DOMINO_LANG
3638

3739
Language setting used to determine local settings
@@ -147,12 +149,6 @@ Enable this option (DOMINO_RESET_LOADMON=`yes`) to remove loadmon.ncf at server
147149
Note: When using this option you will only see a loadmon.ncf in the data directory,
148150
when the server is down, because it will be only written at server shutdown time.
149151

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-
156152
## DOMINO_NSD_BEFORE_KILL (default)
157153

158154
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
178174

179175
Therefore the script only deletes *TMP files in data directory which are at least 1 day old.
180176

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-
213177
## DOMINO_LOG_DB_DAYS
214178

215179
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
287251
Those scripts inherit all current variables of the main script. The scripts are invoked as kind of call-back functionality.
288252
You have to ensure that those scripts terminate in time.
289253

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-
301254
## DOMINO_TIKA_SHUTDOWN_TERM_SECONDS
302255

303256
Tries to shutdown the Tika index server during shutdown.
@@ -316,43 +269,10 @@ Shutdown Delay for delayed shutdown command.
316269

317270
Default is **20 seconds** if script is defined.
318271

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
352273

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.
356276

357277
## DOMINO_START_COMPACT_OPTIONS
358278

@@ -396,6 +316,94 @@ Log compact options.
396316

397317
Start log compact options.
398318

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+
399407
## DOMINO_CONSOLE_SERVERC (expert)
400408

401409
By default live console uses `server -c "cmd"` to run server commands.

0 commit comments

Comments
 (0)