lsmssurv

Surveillance Monitor Control

Starts, stops, and retrieves the status of the Surveillance Monitor.

The notification output from the Surveillance Monitor is written to Serial Port 3 on each server. The non-active server, whether its state is STANDBY or UNINITIALIZED "INHIBITED", sends surveillance notifications only for platform events that it detects on itself. It also forwards those notifications to the active server.

By default, all notification output that is sent to Serial Port 3 on a given server is written also to the log file on that server, /var/TKLC/lsms/logs/survlog.log. (See “Files”.)

Keyword

lsmssurv

Permission

The user must be root to specify the start or stop for <Action>.

Syntax

# $LSMS_DIR/lsmssurv <Action>

Options

None.

Parameters

Action
Specifies the action to be performed on the Surveillance Monitor. This is a mandatory parameter with the following values:
  • start
  • stop
  • status
  • last

Sample Output

# Start LSMS Surveillance Process
#
$LSMS_DIR/lsmssurv start
LSMS Surveillance feature started  
# Request LSMS Surveillance Process status
#
$LSMS_DIR/lsmssurv status
LSMS Surveillance feature is currently started
# Stop LSMS Surveillance Process
#
$LSMS_DIR/lsmssurv stop
LSMS Surveillance feature stopped 
# Return LSMS Surveillance Process to last valid state. The following
# output indicates that the process had been running prior to termination
#
$LSMS_DIR/lsmssurv last
LSMS Surveillance feature started 
#

Files

Table 1 shows the files for the lsmssurv command.

Files: lsmssurv

Filename

Type

Location

lsmsSurv.log

Error/Debug log file

/var/TKLC/lsms/logs/

survlog.log

Notification log file

/var/TKLC/lsms/logs/

Response Notes

The designated response will not occur for five to ten seconds after execution.

Possible Errors

Error Messages: lsmssurv

Exit Code

Message

Cause

Suggested Recovery

1

LSMS Surveillance feature is currently running.

LSMS Surveillance feature is running

No action necessary.

1

LSMS Surveillance feature is not currently running.

LSMS Surveillance feature is not running

No action necessary.

1

LSMS Surveillance feature did not start successfully Please review log file: /var/TKLC/lsms/logs/lsmsSurv.log for errors

Socket communication problems, hang on opening of console/serial ports

Contact the My Oracle Support (MOS).

1

Must be root to start the LSMS  Surveillance feature

User ID must be root to start the LSMS Surveillance feature

Change user to root.