The information contained herein is subject to change without notice. The only warranties for Hewlett Packard
En te rpri se pro du cts and ser vices are set for t h in the expres s warranty statements accompanying such products
and services. Nothing herein should be construed as constituting an additional warranty. Hewlett Packard
Enterprise shall not be liable for technical or editorial errors or omissions contained herein.
Links to third-party websites take you outside the Hewlett Packard En ter prise w ebsi te. Hewlett Pa cka rd Enterp rise
has no control over and is not responsible for information outside the Hewlett Packard Enterprise website.
Confidential computer software. Valid license from Hewlett Packard Enterprise required for possession, use or
copying. Consistent with FAR 12.211 and 12.212, Commercial Compute r Sof tware, Comp ute r So ft ware
Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's
standard commercial license.
Mellanox®, Mellanox logo, ConnectX®, MLNX-OS®, SwitchX®, Virtual Protocol Interconnect®, are registered
tradema rks of Mell ano x Te ch nol ogi es, Ltd.
Al l othe r t rademarks are p rope rty of their resp ective owners .
For the most updated list of Mellanox trademarks, visit http://www.mellanox.com/page/trademarks
Added Section 2.3, “Update BIOS,” on page 18
Enhanced user manual with printouts of ONIE Grub Menu
Updated Section 2.2, “Boot Modes,” on page 14
Added:
•“onie-sysinfo -v” on page 24
Updated:
•“onie-sysinfo” on page 24
Updated:
•UM to reflect new software printouts
•Chapter 3, “CLI Reference” on page 19 with commands “onie-nos-install”,
“onie-stop”, “onie-start”, and “onie-sysinfo”
Rev 1.3January 15, 2015
Removed PPC content
Updated:
•Section “Related Documentation” on page 5
•Section 2.1.2, “From TFTP Server,” on page 11
•Section 2.1.4, “From Local USB Drive,” on page 13
•Section 2.2.5, “Reinstall,” on page 18
•Section 2.2.3, “Uninstall,” on page 16
•Chapter 3, “CLI Reference” on page 19
Rev 1.2August 31, 2014
Updated Section 2.1.4, “From Local USB Drive,” on page 13
Rev 1.1July 2014Removed sections 1.2, 1.3, 1.4 and 2.3.
Added Section 2.2.4, “Embed,” on page 17
Updated:
Table 2, “Reference Documents,” on page 5
•
•Chapter 3, “CLI Reference” on page 19
Rev 1.0September 2013First release
4
Page 5
Preface
Intended Audience
This document and the system is a bundle intended for system engineers and system developers
interested in assembling their own OS on top of Mellanox switch systems. The system provides
an easy way to install a user-defined OS over a Mellanox switch system.
This document contains instructions supplementary to the official O
enced in the
“Related Documentation” section.
NIE documentation refer-
Related Documentation
The following table lists the documents referenced in this User’s Manual.
Table 2 - Re fe re nc e Do cu me nts
Document NameDescription
Mellanox ONIE Switch Release NotesProvides an overview of the known issues and bug
fixes.
Open Network Install Environment Overview
Open Network Install Environment User
Guide
Open Network Install Environment
x86 CPU Architecture Design
Emphasized wordsItalic fontThese are emphasized words
Note
Warni ng
//// This is a comment
Italic fontenable
<text> This is a note.
<text>Make sure to connect to the
RS-232 RJ-45 port of the
switch and no
port.
Common Abbreviations and Acronyms
Table 4 - Abbreviations and Acronyms
Abbreviations Description
ONIEOpen Network Install Environment
NOSNetwork OS
t to the MGT
6
Page 7
1Introduction
Console
ONIE (Open Network Install Environment) is an open source initiative which enables automatic
installation of user-defined OS whose function is to setup a network OS that provides the following services:
•Re/installing an OS
•Booting in "rescue" mode
•Formatting the system
For more information please refer to the following website:
https://github.com/opencomputeproject/onie.
1.1Accessing the Mellanox System for the First Time
The system provided has DHCP enabled by default, therefore, login may be performed through
the management ports (using "root" username and no password) and/or the serial console as
explained in the following steps:
Introduction
Step 1.Connect the host PC to the CONSOLE (RJ-45) port of the switch system using the supplied
cable. The CONSOLE ports are shown below as examples.
Figure 1: Console Port
Make sure to connect to the CONSOLE port of the switch and not to the MGT port.
7
Page 8
Introduction
Step 2.
Configure a serial terminal program (for example, HyperTerminal, minicom, or Tera Term)
on your host PC with the settings described in the table below.
Table 5 - Serial Terminal Program Configuration for 2016.11-5.2.0004-115200
Baud rate115200
Data bits8
Stop bits1
Parity None
Flow Control None
Step 3.Activate the console by pressing Enter.
Please press Enter to activate this console. Info: eth0: Checking link... up.
** Installer Mode Enabled **
Step 4.(Optional) The system is configured to fetch an image using auto-discovery which is
enabled by default. To disable auto discovery, run:
ONIE:/ # onie-stop
Stopping: discover... done.
1.2Log Facilities
ParameterSetting
Mellanox ONIE uses the following log facilities:
•dmesg
•/var/log/messages
•/var/log/onie.log (Mellanox ONIE OS only)
•/var/log/syslog
The following is an example of
Nov 25 12:47:42 sys-hostname local0.info onie: Starting: klogd...
Nov 25 12:47:42 sys-hostname local0.info onie: done.
Nov 25 12:47:42 sys-hostname local0.info onie: Starting: dropbear ssh daemon...
Nov 25 12:47:43 sys-hostname local0.info onie: done.
Nov 25 12:47:43 sys-hostname local0.info onie: Starting: telnetd...
cat /var/log/onie.log:
8
Page 9
Nov 25 12:47:43 sys-hostname local0.info onie: done.
Nov 25 12:47:43 sys-hostname local0.info onie: Starting: discover...
Nov 25 12:47:43 sys-hostname local0.info onie: done.
Nov 25 12:47:43 sys-hostname local0.info onie: Info: eth0: Checking link...
Nov 25 12:47:43 sys-hostname local0.info onie: up.
Nov 25 12:47:43 sys-hostname local0.info onie: Info: Trying DHCPv4 on interface: eth0
Nov 25 12:47:43 sys-hostname local0.info onie: ONIE: Using DHCPv4 addr: eth0: 10.7.144.133 / 255.255.248.0
Nov 25 12:47:43 sys-hostname local0.info discover: ONIE: Starting ONIE Service Discovery
Nov 25 12:47:51 sys-hostname local0.info discover: [truncated] onie_neighs =
Step 3.The switch system will fetch and install the OS image.
Info: Fetching tftp://20.20.20.20/onie-installer-x86_64-mlnx_x86-r5.2.0004 ...
ONIE: Executing installer: tftp://20.20.20.20/onie-installer-x86_64-mlnx_x86-r5.2.0004
Verifying image checksum ... OK.
Preparing image archive ... OK.
MLNX OS Installer: platform: x86_64-mlnx_x86-r5.0
====== Invoking MLNX OS installer via kexec
====== Network will disconnect, further logs may be reviewed via serial console
Rebooting into ONIE (re)install mode...
ONIE:/ # umount: can't remount rootfs read-only
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Restarting system.
...
How-Tos
2.1.5Via SCP Local File
To install a Network OS from a via SCP local file:
For a full description of the different boot mode options and their function, please refer to the
official ONIE documentation referenced in the “Related Documentation” section.
Lists the supported TLV (type, length and value) codes and names.
Syntax DescriptionN/A
DefaultN/A
History5.0.0100
CLI Reference
Example
Note
ONIE:~ # onie-syseeprom --list
TLV Code TLV Name
======== =================
0x21 Product Name
0x22 Part Number
0x23
0x24 Base MAC Address
0x25 Manufacture Date
0x26 Device Version
0x27 Label Revision
0x28
0x29 Loader Version
0x2a MAC Addresses
0x2b Manufacturer
0x2c Country Code
0x2d Vendor Name
0x2e Diag Version
0x2f Service Tag
0xfd Vendor Extension
0xfe CRC-32
ONIE:~ #
Serial Number
Platform Name
20
Page 21
onie-syseeprom --get
onie-syseeprom --get
Locates a TLV by code and write the value to stdout.
•For live assistance, go to the Contact Hewlett Packard Enterprise Worldwide website:
http://www.hpe.com/assistance
•To access documentation and support services, go to the Hewlett Packard Enterprise
Support Center website:
http://www.hpe.com/support/hpesc
Information to Collect
•Technical support registration number (if applicable)
•Product name, model or version, and serial number
•Operating system name and version
•Firmware version
•Run each of the following in an ONIE session and
save their output:
1. dmidecode
2. onie-syseeprom
3. onie-syseeprom --list
•Extract the following files:
1. dmesg
2. /var/log/messages : tail -f /var/log/onie.log
3. /var/log/onie.log (Mellanox ONIE OS only)
4. /var/log/syslog
•Error messages
•Product-specific reports and logs
•Add-on products or components
•Third-party products or components
25
Page 26
Accessing Updates
•Some software products provide a mechanism for accessing software updates through
the product interface. Review your product documentation to identify the recommende d
software update method.
•To download product updates:
Hewlett Packard Enterprise Support Center
wwww.hpe.com/support/hpesc
Hewlett Packard Enterprise Support Center: Software downloads
wwww.hpe.com/support/downloads
Software Depot
wwww.hpe.com/support/softwaredepot
•To subscribe to eNewsletters and alerts:
wwww.hpe.com/support/e-updates
•To view and update your entitlements, and to link your contracts and warranties with
your profile, go to the Hewlett Packard Enterprise Support Center More Information o nAccess to Support Materials page:
www.hpe.com/support/AccessToSupportMaterials
Important: Access to some updates might require product entitlement when accessed
through the Hewlett Packard Enterprise Support Center. You must have an HPE Passport set
up with relevant entitlements.
Customer Self Repair
Hewlett Packard En
uct. If a CSR part needs to be replaced, it will be shipped directly to you
at your convenience. Some parts do not qualify for CSR. Your Hewlett Packard Enterprise authorized service provider will determine whether a repair can be ac
For more information about CSR, contact your local service provider or go to the CSR website:
http://www.hpe.com/support/selfrepair
terprise customer self repair (CSR) programs al
low you to repair your prod-
so that you can install it
complished by CSR.
26
Page 27
Remote Support
Remote
port agreement. It provides intelligent event diagnosis, and automatic, secure submission of
hard-ware event notifications to Hewlett Packard Enterprise, which will initiate a fast and
accurate resolution based on your product's service level. Hewlett Packard Enterprise
strongly recom-mends that you register your device for remote support.
If your product includes additional remote support details, use search to locate that information.
support is available with supported devices as part of your warranty or contractual sup-
Remote Support and Proactive Care Information
HPE Get Connected
www.hpe.com/services/getconnected
HPE Proactive Care services
www.hpe.com/services/proactivecare
HPE Proactive Care service: Supported products list
To view the warranty for your product or to view the Safety and Compliance Information for
Server, Storage, Power, Networking, and Rack Products reference document, go to the Enterprise
Safety and Compliance website:
To view the regulatory information for your product, view the Safety and Compliance Information for Server, Storage, Power, Networking, and Rack Products, available at the Hewlett Packard Enterprise Support Center:
Hewlett Packard Enterprise is committed to providing our customers with information about the
chemical substances in our products as needed to comply with legal requirements such a s
REACH (Regulation EC No 1907/2006 of the European Parliament and the Council). A chemical information report for this product can be found at:
www.hpe.com/info/reach
For Hewlett Packard Enterprise product environmental and safety information and complianc e
data, including RoHS and REACH, see:
www.hpe.com/info/ecodata
For Hewlett Packard Enterprise environmental information, including company programs, product recycling, and energy efficiency, see:
www.hpe.com/info/environment
Documentation Feedback
Hewlett Packard Enterprise is committed to providing documentation that meets your needs. To
help us improve the documentation, send any errors, suggestions, or comments to Documentation
Feedback (
title, part number, edition, and publication date located on the front cover of the document. For
online help content, include the product name, product version, help edition, and publication date
located on the legal notices page.
docsfeedback@hpe.com). When submitting your feedback, include the document
Websites
General Websites
Hewlett Packard Enterprise Information Library
www.hpe.com/info/EIL
Single Point of Connectivity Knowledge (SPOCK) Storage compatibility matrix
www.hpe.com/storage/spock
Storage white papers and analyst reports
www.hpe.com/storage/whitepapers
For additional websites, see Support and other resources.
28
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.