wiki.getshifting.com

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


start

SHIFT-WIKI - Sjoerd Hooft's InFormation Technology

This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.


NetApp Syslog

Summary: How to setup syslog on a Netapp Filer.
Date: Around 2015
Refactor: 7 March 2025: Checked links and formatting.

Configuring syslog on a netapp filer is pretty straight forward, with one catch. You can't edit the /etc/syslog.conf file, and that for two reasons:

  1. There is no syslog.conf
  2. There is no editor

You can create an empty syslog.conf file however, and while doing that, put in all the required configuration. So first step is looking at the current sample file so you can create the syslog.conf from that:

filer1> rdfile /etc/syslog.conf.sample
# $Id: //depot/prod/ontap/R7.3.4x/files/syslog.conf.sample#1 $
# Copyright (c) 1994-1996 Network Appliance.
# All rights reserved.
# Sample syslog.conf file.  Copy to /etc/syslog.conf to use.
# You must use TABS for separators between fields.

# Log messages of priority info or higher to the console and to /etc/messages
*.info                                  /dev/console
*.info                                  /etc/messages

# Edit and uncomment following line to log all messages of priority
# err or higher and all kernel messages to a remote host, e.g. adminhost
# *.err;kern.*                          @adminhost

# Edit and uncomment following line to log all messages of priority
# err or higher and all kernel messages to the local7 facility of the
# syslogd on a remote host, e.g. adminhost.
# *.err;kern.*                          local7.*@adminhost

# Edit and uncomment following line to log all messages of priority
# err or higher and all kernel messages to a remote host, e.g. adminhost,
# at priority debug.
# *.err;kern.*                          *.debug@adminhost

# Edit and uncomment following line to log all messages of priority
# err or higher and all kernel messages to the local5 facility of the
# syslogd on a remote host, e.g. adminhost, at priority info.
# *.err;kern.*                          local5.info@adminhost

Now that we have the original file we'll recreate the file:

filer1> wrfile /etc/syslog.conf
Notice that the file is empty.

Fill in all the original information and an extra line for your syslog server:

# $Id: //depot/prod/ontap/R7.3.4x/files/syslog.conf.sample#1 $
# Copyright (c) 1994-1996 Network Appliance.
# All rights reserved.
# Sample syslog.conf file.  Copy to /etc/syslog.conf to use.
# You must use TABS for separators between fields.

# Log messages of priority info or higher to the console and to /etc/messages
*.info                                  /dev/console
*.info                                  /etc/messages
*.info                                  @10.10.5.14

# Edit and uncomment following line to log all messages of priority
# err or higher and all kernel messages to a remote host, e.g. adminhost
# *.err;kern.*                          @adminhost

# Edit and uncomment following line to log all messages of priority
# err or higher and all kernel messages to the local7 facility of the
# syslogd on a remote host, e.g. adminhost.
# *.err;kern.*                          local7.*@adminhost

# Edit and uncomment following line to log all messages of priority
# err or higher and all kernel messages to a remote host, e.g. adminhost,
# at priority debug.
# *.err;kern.*                          *.debug@adminhost

# Edit and uncomment following line to log all messages of priority
# err or higher and all kernel messages to the local5 facility of the
# syslogd on a remote host, e.g. adminhost, at priority info.
# *.err;kern.*                          local5.info@adminhost
Make sure you leave an empty line at the end. Press <CTRL>+C to close the editor. Check the file when you're done with the rdfile command.

You should, btw, see a line like this when you're done:

filer1> Thu May  5 14:31:28 CEST [filer1: kern.syslogd.restarted:info]: syslogd: Restarted.

→ Read more...

2025/06/01 11:59

NetApp Storage

Summary: How to get started with storage on a Netapp Filer.
Date: Around 2015
Refactor: 7 March 2025: Checked links and formatting.

→ Read more...

2025/06/01 11:59

NetApp: A Complete Setup of a Netapp Filer

Summary: How to setup a Netapp Filer.
Date: Around 2015
Refactor: 7 March 2025: Checked links and formatting.

After reinitializing and resetting a filer to factory defaults there is always a time when you want to re-use your prescious 100k+ baby. Thinking, this should be a piece of cake, I encountered some unforeseen surprises which led to this document. Here I'll show you how to setup a filer from the start to the end. Notice this is a filer with a partner, so there is a lot of switching around.

Note that I copied a lot of output from the filers to this article for your convenience. Also note, that I mixed output from the two filers and that all steps need to be done on both filers.

→ Read more...

2025/06/01 11:59

NetApp Scrubbing

Summary: How to perform a scrub on a Netapp Filer.
Date: Around 2015
Refactor: 7 March 2025: Checked links and formatting.

What does scrubbing do? The RAID-level scrub finds and corrects parity and checksum errors as well as media errors. The continuous media scrub is to detect and correct media errors in order to minimize the chance of storage system disruption due to a media error while a storage system is in degraded or reconstruction mode. All the information you find below is about the RAID-level scrubbing.

→ Read more...

2025/06/01 11:59

<< Newer entries | Older entries >>

This wiki has been made possible by:

start.txt · Last modified: by sjoerd