Top
PRIMECLUSTER  Reliant Monitor Services (RMS) with Wizard Tools Configuration and Administration Guide 4.6
FUJITSU Software

F.4.1 Managing base monitor log levels

By default, base monitor logging is not running when RMS starts up. You can set the initial log level by specifying hvcm with the -l option:

hvcm -l <level> -c <configuration_file> ...

Is RMS is already running, you can use the following commands to manage the base monitor log level:

hvutil -l display
hvutil -l off
hvutil -l <level>

The first hvutil command displays the current base monitor log level setting, and the second hvutil command turns off base monitor logging.

Specifying '-l <level>' with hvcm or hvutil activates base monitor logging, where <level> is one or more numbers in one of the following formats:

Note

  • Specifying a log level of 0 (zero) activates all log levels. You must specify the special level off to deactivate logging.

  • If RMS is being operated continuously for one day or more days when the base monitor logging is activated, to avoid the RMS logs taking up the disk space, configure the cron job setting to execute the hvlogclean command once a day. According to the setting, the log files are saved for each day. The older log files beyond the days specified by RELIANT_LOG_LIFE are deleted automatically. For details on the hvlogclean command, see the section "F.8.1 hvlogclean".

The current log level remains in effect until another 'hvutil -l <level>' is issued, a 'hvutil -l off' is issued, or until RMS is shut down.

Table 11 lists the valid base monitor log levels.

Table F.2 Base monitor log levels

Log Level

Meaning

0

Turn on all log levels

1

Unused

2

Turn on detector tracing

3

hvdisp level

4

Turn on mskx tracing (stack tracing of the base monitor)

5

Error or warning message

6

Heartbeats and communication

7

Base monitor level

8

Generic controller message

9

Administrative command message

10

Basic-type level

11

Dynamic reconfiguration contracting level

12

Shutdown debug level

13

Token level

14

Detector message

15

Local queue level

16

Local queue level

17

Script level

18

userApplication contract level

19

Temporary debug traces

20

SysNode traces

21

Message level

22

bm tracelog

23

Unused