Sun Microsystems, Inc.  Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1017931.1
Update Date:2012-07-30
Keywords:

Solution Type  Technical Instruction Sure

Solution  1017931.1 :   Sun Fire[TM] 15K: Setting up SMS 1.2 "mld" service to receive domains syslog messages  


Related Items
  • Sun Fire 15K Server
  •  
Related Categories
  • PLA-Support>Sun Systems>SPARC>Enterprise>SN-SPARC: SF-Exxk
  •  
  • .Old GCS Categories>Sun Microsystems>Servers>High-End Servers
  •  

PreviouslyPublishedAs
229192


Applies to:

Sun Fire 15K Server
All Platforms

Goal

Correctly setting up the System Management Software (SMS) "mld" (message logging daemon) configuration to correlate to the domain OS "syslogd" configuration could help to alleviate a known SMS "mld" memory leak condition (SMS 1.2 and above; fix is included into release sms1.3_16 and above; currently supported release SMS 1.6 includes the fix).

Solution

The SMS "mld" service provides logging services to all SMS daemons and processes. "mld" is the first SMS daemon started by "ssd (1M)" in order to capture the output of all other SMS daemons and processes during their startup phases.

Platform log messages are stored in:
/var/opt/SUNWSMS/adm/platform/messages
And domain log messages are stored in :
/var/opt/SUNWSMS/adm/domain_id/messages

The "mld" process on the system controller also receives syslog messages from the domains. Depending on the configuration of the "mld" process (via the mld.cf file) the messages are either logged or simply ignored. To alleviate an inherent issue with the SMS 1.2 "mld" service, where it could potentially run into a memory leak condition when processing incoming (from the domains' syslog) messages, we recommend correlating the SMS 1.2 "mld" configuration alignment with the domain OS "syslogd" configuration.

Here is an example to correlate the "mld" service remote message reception configuration file contents against each specific domains syslog configuration. To align domain A's syslog configuration against "mld" remote messages reception setting for domain A as follows.

On the System Controller (/etc/opt/SUNWSMS/config/mld.cf):
*.err;kern.debug;daemon.notice;mail.crit  /var/opt/SUNWSMS/adm/A/syslog

In addition, the System Controller also uses the information housed in "/etc/opt/SUNWSMS/config/MAN.cf" file to document domain-to-SC, the SC-to-domain, and the SC-to-SC management network. For example, the MAN.cf documents the following IP address assignment for the SC-to-domain A I1 network connection:
I1      SC-I1   v4u-15ka-sc-i1  192.168.103.1

Next, the "/etc/syslog.conf" on each domain resident in the Sun Fire[TM] 15K platform should be 'aligned' to the above mld.cf & MAN.cf configuration information.
For example, based on the above SMS mld.cf and MAN.cf configuration, the domain A's /etc/syslog.conf should be as follows:
*.err;kern.debug;daemon.notice;mail.crit            @192.168.103.1

And the "syslogd" on the domains should be restarted (if any modifications were necessary on the domain OS's /etc/syslog.conf).


Product
Sun Fire 15K Server

Internal Section

More information about mld process:
# man -M opt/SUNWSMS/SMS1.6/man mld

Related Bugs:
  • Bug 4784976 -- Received remote messages which are ignored by the "mld" process are not correctly freed but stay in memory of the "mld" process.
  • Bug 4766254: Memory leakages/growth seen on SMS daemons from 14 domain bootHalt test
--> fix is included into SMS release sms1.3_16: currently supported SMS release includes this fix; we should considering removing this Doc as SMS 1.2 and 1.3 are no longer supported.

Keywords: sms, mld, syslog.conf, mld.cf, MAN.cf

Previously Published As 71353



Attachments
This solution has no attachment
  Copyright © 2012 Sun Microsystems, Inc.  All rights reserved.
 Feedback