Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

What is a Service Processor and how do I use it?

Views:
1,502
Visibility:
Public
Votes:
1
Category:
fas-systems
Specialty:
hw
Last Updated:

 

Applies to

FAS and AFF platforms.

Answer

What is a Service Processor and how do I use it?

A Service Processor (SP) provides remote management capabilities, including console redirection, logging and power control. It also extends AutoSupport by sending additional system event alerts. For example, the SP monitors the system temperatures, voltages, currents, and fan speeds. When an environmental sensor has reached an abnormal condition, the SP logs the abnormal readings, notifies Data ONTAP of the issue, and sends alerts and 'down system' notifications as necessary through an AutoSupport message, regardless of whether the storage system can send AutoSupport messages.

The SP is an integral, behind-the-scenes part of NetApp storage system products, starting with the FAS32xx Series.

So, for storage systems with the SP, there are two additional types of AutoSupport messages—SP-generated AutoSupport messages about the storage system, and storage system-generated AutoSupport messages about the SP.

SP-generated AutoSupport messages include the following information:

  • In the subject line: a notification from the SP of the storage system, listing the system condition or event that caused the AutoSupport message and the log level.
  • In the message body: SP configuration and version information, the storage system ID, serial number, model, and host name.
  • In the attachments: the system event logs, the system sensor state as determined by the SP, and the console logs (the console logs are omitted if the autosupport.content option is set to minimal).

 

What systems have Service Processor available to them?
  • FAS22x0
  • FAS25xx
  • FAS/V32x0
  • FAS/V62x0
  • FAS8000 / AFF8000
  • FAS2600 / AFF A200
  • FAS8200 / AFF A300
  • FAS9000 / AFF A700

 

What are the prerequisites for configuring the SP?

You need information about your network and AutoSupport settings when you configure the SP.

You need the following information:

  • Network information

If you are using a static IP address for the SP you need the following information:

  • An available static IP address for the SP
  • The netmask of your network
  • The gateway IP of your network
  • AutoSupport information

The SP sends event notifications based on the settings of the following AutoSupport options:

  • autosupport.to 
  • autosupport.mailhost

At the minimum, consider setting the autosupport.to option before configuring the SP. Data ONTAP automatically sends AutoSupport configuration to the SP, allowing the SP to send alerts and notifications through an AutoSupport message. You are prompted to enter the name or the IP address of the AutoSupport mail host when you configure the SP.

 

How to configure the SP
Data ONTAP 7-Mode

When setting up a storage system for the first time, a prompt to configure the SP is displayed.

Would you like to configure the SP? (y/n)? y
Would you like to enable DHCP on SP LAN interface? (y/n)? n
Please enter the IP address for the SP [ ]: 10.100.10.11
Please enter the netmask for the SP [ ]: 255.255.255.0
Please enter the IP address for the SP gateway [ ]: 10.100.10.1

The SP can be reconfigured at any time from within Data ONTAP by running the following command:

filer> sp setup
Would you like to configure the SP? (y/n)? y
Would you like to enable DHCP on SP LAN interface? (y/n)? n
Please enter the IP address for the SP [ ]: 10.100.10.11
Please enter the netmask for the SP [ ]: 255.255.255.0
Please enter the IP address for the SP gateway [ ]: 10.100.10.1

At times, a reboot of the SP is required before SSH connections are allowed. The SP can be rebooted by running the sp reboot command from the command line interface.

Clustered Data ONTAP / ONTAP 9

Run the system node service-processor network modify command to enable the SP and configure it on a clustered Data ONTAP system:

cluster1::> system node service-processor network modify -node node1 -address-type IPv4 -enable true -ip-address 192.168.1.201 -netmask 255.255.255.0 -gateway 192.168.1.1

The settings can be verified using the following command:

cluster1::> system service-processor network show
                             Address
Node          Status         Type      Link State  IP Address
------------- -------------- --------- ----------- ------------------------
node1         online         IPv4      up          192.168.1.201

                                 DHCP: v4
                          MAC Address: ab:cd:ef:fe:ed:01
                      Network Gateway: 192.168.1.1
             Network Mask (IPv4 only): 255.255.255.0
            Prefix Length (IPv6 only): -
              IPv6 RA Enabled: -
                          Subnet Name: -
              SP Network Setup Status: succeeded


node1         online         IPv6      disabled    -

                                 DHCP: none
                          MAC Address: ab:cd:ef:fe:ed:01
                      Network Gateway: -
             Network Mask (IPv4 only): -
            Prefix Length (IPv6 only): -
              IPv6 RA Enabled: -
                          Subnet Name: -
              SP Network Setup Status: not-setup


node2         online         IPv4      up          192.168.1.202

                                 DHCP: v4
                          MAC Address: ab:cd:ef:fe:ed:02
                      Network Gateway: 192.168.1.1
             Network Mask (IPv4 only): 255.255.255.0
            Prefix Length (IPv6 only): -
              IPv6 RA Enabled: -
                          Subnet Name: -
              SP Network Setup Status: succeeded


node2         online         IPv6      disabled    -

                                 DHCP: none
                          MAC Address: ab:cd:ef:fe:ed:02
                      Network Gateway: -
             Network Mask (IPv4 only): -
            Prefix Length (IPv6 only): -
              IPv6 RA Enabled: -
                          Subnet Name: -
              SP Network Setup Status: not-setup


4 entries were displayed.

To reboot the SP, run the system node service-processor reboot-sp command:

cluster1::> system node service-processor reboot-sp -node node1

Note: If your console connection is through the SP, it will be disconnected.
Do you want to reboot the SP ? {y|n}: y

 

How to log in to the SP

There are two ways to access the SP:

  • From the serial console port, access the SP shell by pressing Control-G; press Control-D to end the session.
  • From an Ethernet connection, access the SP through SSH. The SSH connection will prompt for a username and password. The login for the SP is 'naroot.' This 'naroot' password is the same as the root password for the storage system. However, if the root login password is blank, it will not be possible to connect the SP with SSH. This is by design.

Note: Pressing Control-G while connected to the console port will not prompt for a username or password even if a root password is set.

For 7-mode systems the username to access the SP is "naroot", for Clustered Data ONTAP / ONTAP 9 is "admin". This user shares the same password as the ONTAP "root" or "admin" user respectively.

 

Can the SP logs still be collected if the SP has not been configured?

Yes. You can still gather command output from the SP using console port and pressing Control-G. The console log itself is not saved to disk, but remains in memory buffer even if the storage system is reinitialized. Due to limited buffer space, the system log will be overwritten on an as-needed basis in order to accommodate the latest events.

 

SP commands
Basic commands

date - Outputs the date and time
exit - Exits the SP session and disconnects the client
events - Commands that report system events and event information
help - Command for help
priv - Allows to show & set the session mode
sp - Commands specifically affecting the SP
system - System-level commands from the SP
version - Display the version of SP firmware

Subcommands

events info - Displays system events log information to the console
events newest - Displays the newest available system events
events oldest - Displays the oldest system events
events search - Searches and outputs system events to the console
priv show - Displays the current user mode
priv set - Returns to standard/admin user mode
priv set admin - Changes into admin user mode
priv set advanced - Changes into advanced user mode
priv set diag - Changes into diagnostic user mode
sp reboot - Reboots the SP
sp status - Displays SP Ethernet status information (the same output as 'ifconfig' for a specific adapter)
sp update - Performs an update of the SP firmware
sp uptime - Displays the current uptime of the SP
system battery - Battery related commands
system battery show - Displays the system battery status
system console - Toggles to the system console
system core - Dumps the system core and resets the filer
system log - Displays the system console logs on the console
system power - Command set for controlling system power
system power cycle - Toggles the system power off, then back on
system power off - Powers the system off
system power on - Powers the system on
system power status - Displays the system power status
system reset - Command set for resetting the system using the selected firmware
system reset backup - Reboots/resets the system using the backup firmware
system reset current - Reboots/resets the system using the current firmware
system reset primary - Reboots/resets the system using the primary firmware
system sensors - Command set for controlling system sensors
system sensors show - Displays the status of environmental sensors
system sensors get - Displays the status of a specific environmental sensor
system sensors set-thresh - Sets the threshold for a specific environmental sensor
system sensors set-fan - Sets the speed for a specific fan
system sensors monitor - Displays control sensors monitoring
system sensors thermal-mgmt - Sets specific thermal management controls
system fru - Command set for FRU
system fru show - Displays FRU information for currently installed hardware
system fru list - Displays the current list of FRU ID numbers on the screen

 

 

 

  • Was this article helpful?