Config Netapp Autosupport
Config Netapp Autosupport
Cause
Relaying on the mail server server may not be configured properly.
The relay mailserver be configured to treat netapp.com as a local domain.
On the mailhost either relaying is denied or misconfigured.
The antivirus check of the mailrelay might have altered the subject.
Solution
To determine if the mail host is configured properly for relaying, complete the following steps:
1. From a Windows, UNIX or Linux host, telnet to port 25 of the mailhost.
telnet mailhost 25
If a message is received similar to "Relaying denied", contact the mail host vendor for
assistance. However, if the dialogue returns "Ok", then continue.
DATA [enter]
SUBJECT: TESTING [enter]
THIS IS A TEST [enter]
. [enter]
Note: Make sure to issue the last period (.) on a line by itself. This tells the mail server
that the message is complete.
If a message is received stating "Unknown User" or "Unknown mailbox," the mailhost is
attempting to deliver e-mail addresses to [email protected] to a local user on your
own network, which is a indication that relaying is not configured properly, or your
mailserver thinks netapp.com is a local domain. Contact your mail host vendor for
assistance.
For example, in Sendmail versions 8.x, adding the "netapp.com" domain name and
thestorage system IP to the /etc/mail/relay-domains file may resolve the issue.
Procedure
To determine if the problem is the mail server:
To delineate ASUP problems, try setting up a freeware SMTP gateway on the client. For
example, ArGoSoft from http://www.softpile.com/Internet/Email/Review_04285_index.html.
This application has a log that can be useful when troubleshooting.
Quick setup instructions:
1.
2.
3.
4.
options autosupport.mailhost
<ip of your desktop>options autosupport.doit test
7. Check to see if any errors are encountered on the filer or the log of the new mail server. If
able to receive ASUPs with this configuration, then the issue points to the mail server.
To verify that SMTP gateway is working correctly:
From the mail host such as Exchange, do the following:
1. Go to Start > File > Run > cmd.exe telnet 127.0.0.1 25 helo mail from:
[email protected] rcpt to: <your account email>data This is a testmail! quit
2. If this can be performed successfully, and an email is received, then the SMTP gateway is
working.
Note:
Some email servers do not allow SMTP traffic to talk on port 25. Ensure the TCP port for
communication is 25. To check this do the following on the Exchange box:
o
o
o
Check SMTP Virtual Server > Properties > Connections to determine if the filer is
allowed to use SMTP relay
Check the SMTP Virtual Server > Properties > Access. Check to see if the filer is
allowed to access port 25
If changes were made to these settings, a forced update may be needed from
Active Directory to sync the changes
Cause
--
Solution
Verify the following:
AutoSupports are received locally. If AutoSupports are received locally but not
externally, check that relaying is properly configured on the mail server. AutoSupports
are received to an e-mail address outside the company network (a personal email
address).
AutoSupports are received by NetApp.
Generate a manual AutoSupport:
filer>options autosupport.doit WEEKLY_LOG
Note: AutoSupport status will be updated within four hours to AutoSupport ON.
Related Links:
Cause
Autosupport cannot send username password to proxy server
Solution
In Data ONTAP 7, AutoSupport can post through a proxy server but it cannot negotiate with a
proxy server that requires authentication (username/password). Use a proxy server that does not
require authentication or change transport to SMTP.
The ability to authenticate with a proxy server during AutoSupport submission is added in Data
ONTAP 8.
Description
Set up Autosupport feature
Procedure
To set up Autosupport, you need to specify mail hosts, specify addresses for Autosupport mail,
specify the filer administrator's address, set up the command to send an immediate message, and
specify the recipients of short e-mail messages sent by Autosupport.
1. Specify mail hosts
The command to specify hosts that send Autosupport e-mail messages to NetApp
Technical Support is: options autosupport.mailhost hostname,...
You can specify up to five mail host names. Separate the names with commas, and do not
include spaces in the list. (Default host name is the administration host.) For example:
options autosupport.mailhost host1,host2,host3
NOTES: The filer can send Autosupport messages by SMTP (port 25), HTTP (port 80),
or HTTPS (port 443). HTTPS is the default. If the network connection does not allow
HTTPS or HTTP, you must configure Autosupport for SMTP.
To use HTTP or HTTPS to send Autosupport messages, you need to configure an HTTP
or HTTPS proxy. For information about configure HTTP or HTTPS proxy through
Autosupport options, see the following documents:
Data ONTAP System Administration Storage Management Guide > Configuring
Autosupport
Autosupport Manual Pages
Note: Proxy only needs to be configured if the local network configuration requires it.
See page 333 of the Man Pages.
The autosupport.support.proxy options allows you to set an HTTP proxy if necessary.
This is useful only if autosupport.support.transport is HTTP or HTTPS. Since the web
proxy access syntax is usually specific to the site. it is not possible to show all the
possible examples.
When using with Microsoft's ISA Server (Internet Security and Acceleration Server)
If that server has a non-authenticating HTTP(s) proxy setup, set
autosupport.support.transport to http(s) and autosupport.support.proxy to .
2. Specify addresses for Autosupport mail
The command for specifying the recipients of automatic e-mail messages sent by the
Autosupport daemon is:
options autosupport.to addresses,...
You can specify up to five e-mail addresses. Separate the e-mail addresses with commas,
and do not include spaces in the list. (Default e-mail address is
Cause
--
Solution
Possible issues:
Correct the email server configuration for email spam blocking, or contact the mail server
administrator.
Cause
Autosupport was not properly configured.
A firewall may be blocking communication between the filer and SMTP port 25 on the mail
server.
Antivirus check of the mailrelay may have altered the subject.
Solution
Perform the following tasks if Autosupport is not sending e-mails:
1. If a firewall is in use, verify SMTP port 25 is not blocked between the storage system and
the mail server.
2. If the storage system's /etc/messages file is large, the mail host may reject AutoSupport
e-mail. Disable the storage system options that cause unnecessary messages to be logged.
For example, if 'options cifs.trace_login' is enabled, every CIFS login will be
logged in the /etc/messages file causing the file to be large.
3. Verify AutoSupport is turned on by typing:
Data ONTAP 8 7-Mode: options autosupport.enable
Data ONTAP 8 Cluster-Mode: system autosupport modify -node node_name state enable
7. See if the console or /etc/messages file log messages that AutoSupport was
successfully sent.
8. If AutoSupport was not sent, enter the following commands to confirm the storage
system can reach the mailhost and that the hostname resolves to the proper IP address.
Data ONTAP 8 7-Mode: ping -s hostname
Data ONTAP 8 Cluster-Mode: network ping -node node_name -destination
<remote inetaddress>
The above response shows that the mailhost is listening for SMTP requests on port 25.
For Windows 2000/2003 mailhosts:
Log onto the Windows server, open a command prompt and enter: netstat -a | find
/i "SMTP"code>
The above response shows that the mailhost is listening for SMTP requests on port 25.
10. Test the port by telneting to the SMTP port from another host:
# telnet mailhost 25
Trying 10.0.0.2 ...
Connected to mailserver.
Escape character is '^]'.
220 mailserver.domain.com
Sendmail X.X/SMI-X.X ready at Thu, 30 Nov 95 10:49:00 PST
In the above example, the telnet response of mailhost mailserver shows that the SMTP
process is responding and accepting connections.
Notes: