<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta name="GENERATOR" content="Quadralay WebWorks AutoMap 2003 Platinum Edition Client for FrameMaker 8.6.6597.0" />
    <meta name="TEMPLATEBASE" content="emwebh8-1-17" />
    <meta name="LASTUPDATED" content="08/01/13 14:48:30" />
    <title>Configuring System Message Logging Servers </title>
    <!-- Copyright 2010-2013, Cisco Systems, Inc. All rights reserved. -->

    <link rel="StyleSheet" href="document.css" type="text/css" />
    <link rel="StyleSheet" href="catalog.css" type="text/css" />


<script> 
    var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; 
   
    if(is_chrome){document.domain=document.domain}
   </script>
    <script type="text/javascript" language="JavaScript1.2" src="expand.js"></script>
    <script type="text/javascript" language="JavaScript1.2" src="page.js"></script>

    <script type="text/javascript" language="JavaScript1.2">
     <!--
      function  WWNoOp() {}
      function  WWNoValue() { return ""; }

      var  VarDropDown;

      if (typeof(HTMLHelp_Object) != "undefined")
      {
        VarDropDown = new WWDropDown_Object();
      }
      else
      {
        VarDropDown = new Object();
        VarDropDown.fAnchorOpen  = WWNoOp;
        VarDropDown.fAnchorClose = WWNoOp;
        VarDropDown.fDIVOpen  = WWNoOp;
        VarDropDown.fDIVClose = WWNoOp;
      }
     // -->
    </script>

  
<SCRIPT language="javascript">
<!--
  self.document.write("<link href='"+top.relPath+"shared/style.css' rel='stylesheet' type='text/css'>");
  myid=2364;
  self.document.write("<script type='text/javascript' language='JavaScript' src='"+top.relPath+"shared/con_utils.js'></scr"+"ipt>");
//-->
</SCRIPT>
</head>

  <body onload="highlightSearchTerms();" bgcolor="#ffffff">

    
    <blockquote>
    <a name="top"></a>

    
    


<a name="wp1184487"> </a><h1 class="pTitle">
Configuring System Message Logging Servers

</h1>
<a name="wp1306542"> </a><p class="pBody">
You can configure a maximum of three system message logging servers. One of these syslog servers 
should be DCNM-SAN if you want to view system messages from the Event tab in DCNM-SAN.

</p>
<a name="wp1282419"> </a><p class="pBody">
To send log messages to a UNIX system message logging server, you must configure the system message 
logging daemon on a UNIX server. Log in as root, and follow these steps:

</p>
<div class="pSmartList1"><ol type="1" class="pSmartList1">
<a name="wp1282420"> </a><li class="pSmartList1">Add the following line to the /etc/syslog.conf file.
</li>
<div class="pPreformattedRelative"><pre class="pPreformattedRelative">
<b style="font-weight: bold" class="cBold">local1.debug                    /var/log/</b><span style="font-weight: normal">myfile</span><b style="font-style: normal" class="cBold">.</b><b style="font-style: normal" class="cBold">log</b><a name="wp1282421"> </a>
</pre></div>
<a name="wp1282422"> </a><p class="pListNote1">
<strong>Note	&nbsp;&nbsp;&nbsp;</strong> Be sure to add five tab characters between<b class="cBold"> local1.debug </b>and <b style="font-weight: bold" class="cBold">/var/log/</b><span style="font-style: italic; font-weight: normal">myfile</span><b style="font-style: normal" class="cBold">.log</b>. Refer to entries 
in the /etc/syslog.conf file for further examples.

</p>
<a name="wp1282423"> </a><p class="pListBodyLevel1">
The switch sends messages according to the specified facility types and severity levels. The <b class="cBold">local1</b> 
keyword specifies the UNIX logging facility used. The messages from the switch are generated by user 
processes. The <b class="cBold">debug </b>keyword specifies the severity level of the condition being logged. You can set 
UNIX systems to receive all messages from the switch.

</p>
<a name="wp1282424"> </a><li class="pSmartList1">Create the log file by entering these commands at the UNIX shell prompt:
</li>
<div class="pPreformattedRelative"><pre class="pPreformattedRelative">
<b style="font-weight: bold" class="cBold">$ touch /var/log/</b><span style="font-style: italic; font-weight: normal">myfile</span><b style="font-style: normal" class="cBold">.log</b><a name="wp1282425"> </a>
<b style="font-weight: bold" class="cBold">$ chmod 666 /var/log/</b><span style="font-style: italic; font-weight: normal">myfile</span><b style="font-style: normal" class="cBold">.log</b><a name="wp1282426"> </a>
<a name="wp1282427"> </a>
</pre></div>
<a name="wp1282428"> </a><li class="pSmartList1">Make sure the system message logging daemon reads the new changes by entering this command:
</li>
<div class="pPreformattedRelative"><pre class="pPreformattedRelative">
<b class="cBold">$ kill -HUP ~cat /etc/syslog.pid~</b><a name="wp1282429"> </a>
</pre></div>
</ol></div>
<a name="wp1306547"> </a><p class="pBodyAutonumNoRule">
<strong>Note	&nbsp;&nbsp;&nbsp;</strong> Most tabs in the Information pane for features using CFS are dimmed until you click the CFS tab. The 
CFS tab shows which switches have CFS enabled and shows the master switch for this feature. Once you 
click the CFS tab, the other tabs in the Information pane that use CFS are activated. 

</p>
<a name="wp1275010"> </a><h2 class="pHeading2">
Detailed Steps
</h2>
<a name="wp1306552"> </a><p class="pBody">
To configure system message logging servers, follow these steps:

</p>
<div class="pSmartList1"><ol type="1" class="pSmartList1">
<a name="wp1306553"> </a><li class="pSmartList1">Expand <b class="cBold">Events </b>and select<b class="cBold"> SysLog </b>in the Physical Attributes pane.
</li>
<a name="wp1306554"> </a><li class="pSmartList1">Click the <span style="font-weight: bold">Servers</span> tab in the Information pane.
</li>
<a name="wp1306555"> </a><p class="pListBodyLevel1">
In Device Manager, choose<span style="font-weight: bold"> Logs &gt; Syslog &gt; Setup </span>and click the <span style="font-weight: bold">Servers</span> tab in the syslog dialog box.

</p>
<a name="wp1306556"> </a><li class="pSmartList1">Click the <span style="font-weight: bold">Create Row icon </span>in DCNM-SAN, or click <span style="font-weight: bold">Create </span>in Device Manager to add a new syslog 
server.
</li>
<a name="wp1306557"> </a><li class="pSmartList1">Enter the name or IP address in dotted decimal notation (for example, 192.168.2.12) of the syslog server 
in the<span style="font-weight: bold"> </span>Name or IP Address field.
</li>
<a name="wp1306558"> </a><li class="pSmartList1">Set the message severity threshold by clicking the <span style="font-weight: bold">MsgSeverity </span>radio button<span style="font-weight: bold"> </span>and set the facility by 
clicking the <b class="cBold">Facility</b> radio button.
</li>
<a name="wp1306559"> </a><li class="pSmartList1">Click the <span style="font-weight: bold">Apply Changes</span> icon in DCNM-SAN, or click <span style="font-weight: bold">Create </span>in Device Manager to save and apply 
your changes.
</li>
</ol></div>
<hr /><br><p class="pBody">Copyright 2010-2013, Cisco Systems, Inc. All rights reserved.</p> 

    </blockquote>

  </body>
</html>
