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.
The active server sends surveillance notifications for:
All platform events that the active server detects on itself
All platform notifications received from the non-active server (the active server inserts the hostname of the non-active server before the event text for these notifications)
Some applications events (not all application events generate surveillance notifications; for more information, see Automatic Monitoring of Events).
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”.)
The user must be root to specify the start or stop for <Action>.
None.
# 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 #
Table 1 shows the files for the lsmssurv command.
Filename |
Type |
Location |
---|---|---|
lsmsSurv.log |
Error/Debug log file |
/var/TKLC/lsms/logs/ |
survlog.log |
Notification log file |
/var/TKLC/lsms/logs/ |
The designated response will not occur for five to ten seconds after execution.
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. |