![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1001903.1 : Sun Storage 3000 Arrays: How to Log Events to /var/adm/messages
PreviouslyPublishedAs 202639 Applies to:Sun Storage 3511 SATA Array - Version Not Applicable and laterSun Storage 3320 SCSI Array - Version Not Applicable and later Sun Storage 3310 Array - Version Not Applicable and later Sun Storage 3510 FC Array - Version Not Applicable and later All Platforms GoalThis document describes how to manually configure the remote logging functionality on Sun Storage 3310/3320/3510/3511 arrays to report array events in the host's /var/adm/messages file without using the ssconsole GUI via in-band management. Solution
Customers should install the latest SUNWsscs sofware package, version 2.5, by referring to <Document 1004352.1> How to Download and Install Sun Storage Configuration Service Software (SUNWsscs). The software is compatible with all versions of 3310/3320/3510/3511 array controller firmware.
Dec 15 13:11:23 sanconfig SUNWscsdMonitor[389]: [ID 513617 daemon.error] [SUNWscsd 0x30B1D08: Informational] Controller Event, Controller Init Complete. Controller has been rebooted. Informational message. (Primary, Thu Jan 1 03:00:26 1970) {SN#123456}
# Any line starting with
# is ignored. # Each entry is of the following form: # RAID_CONTROLLER=:: # The first field is the key which must be RAID_CONTROLLER. # The value of must be either Disable or Enable # is the serial number of Primary controller in decimal integer. # is the serial number of Secondary controller in decimal integer. # If there are more than one entry for the same serial number of the # controller, only the first one will be used. # Typical entries: # # RAID_CONTROLLER=Enable:3132567:3132597 # RAID_CONTROLLER=Disable:3125305:3125707 # # By default, controller is disabled. So, to disable a controller, it is not # necessary to have an entry with "Disable" in the second field. #
sccli> show redundancy-mode
Primary controller serial number: 1234567 <-- PrimarySN Redundancy mode: Active-Active Redundancy status: Unknown Secondary controller serial number: 7654321 <-- SecondarySN sccli> show inquiry-data Vendor: SUN Product: StorEdge 3510 Revision: 327R Peripheral Device Type: 0x0 Page 80 Serial Number: 0015374XXXXXXA00 Page 83 Logical Unit Device ID: 600C0FF0000000000015374XXXXXXA00 Page 83 Target Device ID: 206000CXXXXXX537 IP Address: 129.157.218.148 Page D0 Target ID: 1 Page D0 Node Name: 206000CXXXXXX537 <-last 6 digits for sscontlr.txt entry Page D0 Port Name: 216000CXXXXXX537 Page D0 Port Name: 216000CXXXXXX537 Device Type: Primary unique-identifier: 01537 Using the above output, the following entry can be added in sscontlr.txt file: RAID_CONTROLLER=Enable:1234567:7654321:001537
Once the entry is added, the ssmon daemon will start to trap events reported by that array and report them via the host's syslog facility. By default, the Solaris Operating System logs all events in /var/adm/messages file. To redirect the events to a desired file, the /etc/syslog.conf file can be configured with filter: "local7.*" or "daemon.error". To configure the /etc/syslog.conf file, add the line daemon.error /var/adm/messages.daemon. Note: In the /etc/syslog.conf file, the TAB is used as a separator but not SPACE.
Since syslogd can't specifically identify any particular daemon, the repercussion of this would be that errors from all other daemons (e.g. ftpd) in the system will also be logged in this file. User needs to identify the messages from SUNWscsd/ssagent.
_start)
export SSCS_SUPPORT_MESSAGELEVELS=1 9. To make the configuration effective, the SSCS daemon should be restarted using the below scripts: #/etc/init.d/ssagent stop
#/etc/init.d/ssagent start
Attachments This solution has no attachment |
||||||||||||
|