...
Smarts NCM Device Server (DS) cannot perform pull config on deviceSyslog is sent by device to the Smarts NCM Device Server (DS), but the Smarts NCM DS does not perform the pull config on the device
This issue is observed when the Rsyslog service is in use on the Smarts NCM server. When the Rsyslog service is started, the syslogs are written in the Syslog file (the default location for Smarts NCM Device Server Syslogs source is /opt/smarts-ncm/cm/Syslog. But, when the logs are rotated the syslogs continue to be written in the same file/old file that has now another name (Syslog-time stamp). So the new Syslog file doesn't have incoming syslogs and NCM is not performing pull config as required. The problem is with the log rotation mechanism. In /etc/logrotate.d/, a script called eventlogrotate performs the log file rotation. As shown in the following example, this script only mentions the syslogd service (not rsyslog). [root@xxx logrotate.d]# cat eventlogrotate # (c) Copyright 2009, EMC Corporation, All Rights Reserved # # Version 9.2.1.0.48 # $Date: 2009-02-23 20:51:54 $ # $RCSfile: eventlogrotate,v $ # $Revision: 1.6 $ /opt/smarts-ncm/cm/Syslog { rotate 7 daily size=100k compress sharedscripts postrotate /usr/bin/killall -HUP syslogd endscript }
EMC is evaluating the requirements to address this issue in an upcoming Smarts NCM product release. Until a fix is available, environments encountering this issue can apply the following workaround. If you need assistance to have this workaround applied, go to the EMC Online Support site (https://support.emc.com) to open a Service Request (SR), and reference this EMC article number in your SR.WorkaroundThe following workaround is only applicable to environments which use rsyslog service. To address this issue so that the script will handle both syslog and rsyslog rotate operations, do the following: In the /etc/logrotate.d/ directory, open the eventlogrotate script file. Between the "postrotate" and "endscript" lines, replace the "/usr/bin/killall -HUP syslogd" line with the following highlighted entries ("if ps -ae..." to "fi"): /opt/smarts-ncm/cm/Syslog { rotate 7 daily size=100k sharedscripts postrotate if ps -ae | grep rsyslogd > /dev/null then /usr/bin/killall -HUP rsyslogd fi if ps -ae | grep [^r]syslogd > /dev/null then /usr/bin/killall -HUP syslogd fi endscript } Save and close the eventlogrotate file. Restart the Smarts NCM service and Syslog service (rsyslog).
Subscribe to product updatesYou can subscribe to updates on the "Downloads" page for this product so that you will be notified whenever a download is released that addresses this issue. To subscribe to EMC product updates, do the following: On the EMC Online Support site, select Support > Support By Product. In the "Find a product" field, search for your product (field will auto-suggest as you type). From the product page, select Downloads to access the Downloads page for that product. Click "Add Product Subscription" to subscribe to updates for the page.