trademarks may be trademarks of their respective owners.
2018 - 06
Rev. A05
Contents
1 About this guide............................................................................................................................................. 7
Related documents............................................................................................................................................................ 7
2 ONIE and Dell EMC OS installation instructions.............................................................................................8
ONIE and DIAG OS installation.........................................................................................................................................9
ONIE service discovery and OS installation....................................................................................................................9
Installation ONIE from BIOS............................................................................................................................................10
ONIE UEFI-based installation using USB.................................................................................................................10
Capture support data from ONIE............................................................................................................................. 16
View system information..................................................................................................................................................17
Diagnostic test suite.................................................................................................................................................. 22
list output....................................................................................................................................................................38
get output...................................................................................................................................................................39
set output................................................................................................................................................................... 39
test Output..................................................................................................................................................................41
get Output.................................................................................................................................................................. 44
Info output.................................................................................................................................................................. 48
Test output................................................................................................................................................................. 49
Data ow.....................................................................................................................................................................49
This guide provides site preparation recommendations, step-by-step procedures for rack mounting and desk mounting, inserting optional
modules, and connecting to a power source.
Notices
CAUTION: To avoid electrostatic discharge (ESD) damage, wear grounding wrist straps when handling this equipment.
WARNING: Only trained and qualied personnel can install this equipment. Read this guide before you install and power up this
equipment. This equipment contains two power cords. Disconnect both power cords before servicing.
WARNING: This equipment contains optical transceivers, which comply with the limits of Class 1 laser radiation.
1
Figure 1. Class 1 laser product tag
WARNING: When no cable is connected, visible and invisible laser radiation may be emitted from the aperture of the optical
transceiver ports. Avoid exposure to laser radiation and do not stare into open apertures.
Related documents
For more information about the Open Networking (-ON) platform, see the following documents.
•Dell EMC OS10 User Guide
•Dell EMC OS9 Command Line Reference Guide
•Dell EMC OS9 Conguration Guide
•Dell EMC Getting Started Guide or Dell EMC Setup Guide
•Dell EMC Installation Guide
•Dell EMC Release Notes
About this guide7
ONIE and Dell EMC OS installation instructions
This section describes the dierent methods to install ONIE and the Dell EMC OS on your system.
NOTE: After installing the networking operating software (NOS) and diagnostics operating system (DIAG-OS), if you boot into
ONIE Install mode, ONIE assumes ownership of the system; ONIE Install mode is sticky. In this situation, ONIE stays in Install
mode until NOS and DIAG-OS are successfully installed again. If you want to boot into ONIE for any reason other than
installation, use Rescue mode or Update mode.
NOTE: To access ONIE, use the RJ-45 console port.
ONIE expansion
To view all the ONIE commands available, from the ONIE prompt, enter onie- and click <tab> twice.
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, `e' to edit the commands
before booting or `c' for a command-line.
ONIE and DIAG OS installation
The following steps describe how to load ONIE and DIAG-OS on your system:
•Installing ONIE—these instructions use the universal serial bus (USB) method. To boot from a Linux USB, you must preinstall BIOS on
your system.
•Installing the DIAG-OS—Install the DIAG-OS from the ONIE prompt. Ensure that your TFTP server is reachable over your network.
•ONIE operates using a 115200 baud rate. Ensure that any equipment attached to the serial port supports the required 115200 baud rate.
NOTE: The following output examples are for reference only; your output may vary.
NOTE: The management port IP, FTP server IP address, MAC address, and user-id shown are for illustration purpose only. Use
your system’s applicable values.
ONIE service discovery and OS installation
ONIE attempts to locate the installer through several discovery methods, as shown. To download and run an installer, the ONIE Service
Discovery feature uses the rst successful method found.
1 Pass from the boot loader.
2 Search locally attached storage devices for one of the ONIE default installer lenames—for example, USB.
3 Discover the URLs from DHCPv4.
4 Report discovered URLs based on the DHCPv4 responses.
5 Query to the IPv6 link-local neighbors using HTTP for an installer.
6 Start TFTP waterfall—from the DHCPv4 option 66.
ONIE ifconfig eth0 command examples
If none of the ONIE Service Discovery methods are successful, you can disable this using the onie-discovery-stop command.
You can install an operating system manually from HTTP, USB, FTP, or TFTP using the onie-nos-install <URL> command.
NOTE
: If you have a recovery USB plugged into your system, you must remove it before installing the DIAG-OS using the onie-
nos-install <URL> command.
The ONIE Install environment uses DHCP to assign an IP address to the management interface, eth0. If that fails, it uses the link-local
IPv4 address 169.254.209.190/16.
To display the IP address, use the ifconfig eth0 command, as shown:
To assign an IP address to the management interface, eth0, and verify network connectivity, use the ifconfig eth0 <ip address> command, as shown:
ONIE:/ # ifconfig eth0 x.x.x.x netmask x.x.x.x UP
Then set speed on management interface as below
ONIE:/ # ethtool -s eth0 speed 100 duplex full
Verify the network connection with ping.
ONIE:/ # ping x.x.x.x
PING x.x.x.x (x.x.x.x): 56 data bytes
64 bytes from x.x.x.x: seq=0 ttl=62 time=1.357 ms
64 bytes from x.x.x.x: seq=1 ttl=62 time=0.577 ms
^C
Installation ONIE from BIOS
There are two options for installing ONIE from the BIOS.
•Media (usb) boot using the ONIE installer USB (using the OCP Procedure)
•Media (usb) boot using the Ubuntu installer USB (using the custom-bootable USB procedure)
Pre-requisites
The BIOS running on your system must meet the following requirements:
•Allows a change to the boot order so the system can boot from media (USB).
•Allows a baud-rate change. This feature is optional; you do not need it if your BIOS is running at 115200 baud rate. The default baud rate
for ONIE is 115200.
CAUTION
•These procedures are for x86-based targets only, particularly targets using Rangeley or Centerton CPU-based boards.
•Check the console (UART-0/1) used on the target.
•The log messages included in this guide are subject to change.
NOTE: The following procedure is generic and does not list a particular target. Therefore, the ONIE images are specied using
the <platform>_<cpu> notation. For example, the ONIE media (usb) iso image is onie-recovery-x86_64-dell_<platform>_<cpu>-r0.iso.
:
ONIE UEFI-based installation using USB
The following steps describe how to create a bootable unied extensible rmware interface (UEFI) ONIE-based USB to install ONIE using
Embed mode:
To install ONIE UEFI on your system, use any existing ONIE-based system to make an ONIE UEFI-based bootable USB. To make a bootable
USB, use the ONIE ISO le.
1 Boot the ONIE target in ONIE Rescue mode.
Use ONIE Rescue mode to make the ONIE UEFI-bootable USB.
To select which entry is highlighted, use the up and down arrow keys. Press Enter to select an operating software-selected OS or
enter e to edit the commands before booting. Enter c for a command line. The highlighted entry, displaying *, executes automatically
in the operating system.
6 Copy the ISO image to the USB using the dd command.
ONIE:/ # dd if=./onie-recovery-x86_64-dell_<platform>_c2538-r0.iso of=/dev/sdb bs=10M
3+1 records in
3+1 records out
39780352 bytes (37.9MB) copied, 6.890503 seconds, 5.5MB/s
ONIE:/ #
7 Move the USB from the ONIE target—the system with ONIE—to the USB slot in your switch—the system without ONIE.
8 Turn-on your system and enter the BIOS setup menu by selecting Del when BIOS message is displayed.
If you already powered on your system, reboot the system and enter the BIOS setup menu by selecting Del.
9 In the BIOS Boot menu, select UEFI USB. Select Save and Exit.
ONIE and Dell EMC OS installation instructions
11
Figure 2. Setup utility
After the system exits the BIOS Boot menu, the system boots with the ONIE USB and presents the following menu:
Figure 3. Embed ONIE menu
10 Select the Embed ONIE option.
This step installs the UEFI ONIE version 3.26.1.1 on system. Any previous installation is removed.
Do not press any key during the Embed ONIE installation.
The following are the Embed ONIE logs:
ONIE: Embedding ONIE ...
Platform : x86_64-dell_<platform>_c2538-r0
Version : x.xx.x.x
Build Date: 2016-04-26T09:14-0700
[ 4.066378] dummy-irq: no IRQ given. Use irq=N
[ 14.296290] esas2r: driver will not be loaded because no ATTO esas2r devices were found
ONIE and Dell EMC OS installation instructions
12
[ 14.463587] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 16.328319] i8042: No controller found
[ 16.397853] fmc_write_eeprom fake-design-for-testing-f001: fmc_write_eeprom: no busid
passed, refusing all cards
[ 16.568122] intel_rapl: driver does not support CPU family 6 model 77
Info: Mounting kernel filesystems... done.
Info: Mounting ONIE-BOOT on /mnt/onie-boot ...
Info: Using eth0 MAC address: 4c:76:25:f4:7c:80
Info: eth0: Checking link... [ 18.571495] scsi 6:0:0:0: Direct-Access Kingston DataTraveler
2.0 1.00 PQ: 0 ANSI: 4
[ 18.707185] sd 6:0:0:0: Attached scsi generic sg1 type 0
[ 18.707703] sd 6:0:0:0: [sdb] 15148608 512-byte logical blocks: (7.75 GB/7.22 GiB)
[ 18.796392] sd 6:0:0:0: [sdb] Write Protect is off
[ 18.797033] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support
DPO or FUA
[ 19.159563] sd 6:0:0:0: [sdb] Attached SCSI removable disk
up.
Info: Trying DHCPv4 on interface: eth0
ONIE: Using DHCPv4 addr: eth0: 1[ 20.053045] random: dropbearkey urandom read with 94 bits
of entropy available
x.xx.xxx.xx / xxx.xxx.xxx.x
Starting: dropbear ssh daemon... done.
Starting: telnetd... done.
discover: ONIE embed mode detected. Running updater.
Starting: discover... done.
Please press Enter to activate this console. Info: eth0: Checking link... up.
Info: Trying DHCPv4 on interface: eth0
ONIE: Using DHCPv4 addr: eth0: x.xx.xxx.xx / xxx.xxx.xxx.x
ONIE: Starting ONIE Service Discovery
Info: Found static url: file:///lib/onie/onie-updater
[ 29.744855] random: nonblocking pool is initialized
ONIE: Executing installer: file:///lib/onie/onie-updater
Verifying image checksum ... OK.
Preparing image archive ... OK.
ONIE: Version : x.xx.x.x
ONIE: Architecture : x86_64
ONIE: Machine : dell_<
ONIE: Machine Rev : 0
ONIE: Config Version: 1
Installing ONIE on: /dev/sda
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
ONIE: Success: Firmware update URL: file:///lib/onie/onie-updater
ONIE: Success: Firmware update version: x.xx.x.x
ONIE: Rebooting...
discover: ONIE embed mode detected.
Stopping: discover...start-stop-daemon: warning: killing process 1441: No such process
Stopping: dropbear ssh daemon... done.
Stopping: telnetd... done.
platform>_c2538
Stopping: syslogd... done.
Info: Unmounting kernel filesystems
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
After the Embed-ONIE installation completes, the system bootups and presents the ONIE menu.
ONIE and Dell EMC OS installation instructions
13
Figure 4. ONIE install menu
The system comes up in ONIE Install mode by default, as shown:
ONIE: OS Install Mode ...
Version : x.xx.x.x
Build Date: 2016-04-26T09:14-0700
ONIE: OS Install Mode ...
Version : x.xx.x.x
Build Date: 2016-04-26T09:14-0700
[ 4.759116] dummy-irq: no IRQ given. Use irq=N
[ 4.835970] esas2r: driver will not be loaded because no ATTO esas2r
devices were found
[ 5.003050] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 6.867708] i8042: No controller found
[ 6.937375] fmc_write_eeprom fake-design-for-testing-f001:
fmc_write_eeprom: no busid passed, refusing all cards
[ 7.107669] intel_rapl: driver does not support CPU family 6 model 77
Info: Mounting kernel filesystems... done.
Info: Mounting ONIE-BOOT on /mnt/onie-boot ...
[ 8.018377] random: fsck urandom read with 73 bits of entropy available
Info: Mounting EFI System on /boot/efi ...
Info: Using eth0 MAC address: 4c:76:25:f4:7c:80
Info: eth0: Checking link... [ 8.902787] scsi 6:0:0:0: Direct-Access
Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
[ 9.038475] sd 6:0:0:0: Attached scsi generic sg1 type 0
[ 9.038993] sd 6:0:0:0: [sdb] 15148608 512-byte logical blocks: (7.75
GB/7.22 GiB)
[ 9.253877] sd 6:0:0:0: [sdb] Write Protect is off
[ 9.254546] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled,
doesn't support DPO or FUA
[ 9.492124] sd 6:0:0:0: [sdb] Attached SCSI removable disk
up.
Info: Trying DHCPv4 on interface: eth0
ONIE: Using DHCPv4 addr: eth0: x.xx.xxx.xx / xxx.xxx.xxx.x
Starting: dropbear ssh daemon... done.
Starting: telnetd... done.
[ 11.789298] random: nonblocking pool is initialized
discover: installer mode detected. Running installer.
Starting: discover... done.
Please press Enter to activate this console. Info: eth0: Checking link... up.
Info: Trying DHCPv4 on interface: eth0
ONIE: Using DHCPv4 addr: eth0: x.xx.xxx.xx / xxx.xxx.xxx.x
ONIE: Starting ONIE Service Discovery
Info: Fetching
ONIE:/ # onie-discovery-stop
The operation has completed successfully.
ONIE:/ #
12 Verify the ONIE Linux kernel version and partition layout.
This step veries that you are running the correct kernel in ONIE as the kernel is separate from the ONIE environment.
ONIE:/ # uname -a
Linux onie 4.1.28-onie+ #1 SMP Wed Sep 7 14:38:43 PDT 2016 x86_64 GNU/Linux
ONIE:/ # sgdisk -p /dev/sda
Disk /dev/sda: 31277232 sectors, 14.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 763E53FF-B894-40FD-B0F9-FBAE2ED4B0B5
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 31277198
Partitions will be aligned on 2048-sector boundaries
Total free space is 30490733 sectors (14.5 GiB)
Number Start (sector) End (sector) Size Code Name
1 2048 526335 256.0 MiB EF00 EFI System
2 526336 788479 128.0 MiB 3000 ONIE-BOOT
ONIE:/ #
13 Verify that efibootmgr runs and displays the valid boot options.
This chapter describes system diagnostics and troubleshooting. After running the diagnostic tools, your system displays pass or fail test
results. If all tests pass, the diagnostic tools exit normally. If a test fails, each diagnostic tool oers a dierent result.
NOTE: The troubleshooting package includes a README le that lists the tools version and the overall troubleshooting package
version. For more information, see this README le.
NOTE: To download the Release Notes, go to www.dell.com/support.
This system uses the power-on self test (POST) diagnostic tool that automatically runs during the system power-on at the BIOS level. This
tool tests for catastrophic hardware failures that prevent booting the system. The error code is saved in CMOS for the next boot. There is
no physical alarm indication.
ONIE expansion
To view all the ONIE commands available, from the ONIE prompt, enter onie- and click <tab> twice.
After the BIOS, POST runs to verify the devices required to boot to ONIE GRUB.
POST
POST diagnostics verify the system DRAM, DIMM, SPD, memory, RTC/NVRAM, and PCI devices. Test conguration parameters and test
results are saved in NVRAM.
Capture support data from ONIE
1 Capture support data to the screen.
ONIE:/ # dmesg
2 Capture support data to the onie-support.tar.bz2 gziple.
ONIE-support creates the support le. To store the le, enter the location; for example, ONIE:/# onie-support/tmp.
ONIE:/ # onie-support <output_directory>
16ONIE overview
The ONIE support le includes the following:
•kernel_cmdline
•runtime-export-env
•runtime-process
•runtime-set-env
•log/messages
•log/onie.log
Output example
Success: Support tarball created: /tmp/onie-support.tar.bz2
Change default grub boot entry
To view or set the default Boot mode, the onie-boot-mode command has two options —l, the default, and —o. The Grub boot default
shows the current default entry.
View or set the default Grub boot entry.
ONIE:/ # onie-boot-mode [-o <onie_mode>]
The -o command options include:
•install—ONIE OS Installer mode
•rescue—ONIE Rescue mode
•uninstall—ONIE OS Uninstall mode
•update—ONIE Self-Update mode
•embed—ONIE Self-Update mode and Embed ONIE
•none—Uses System Default Boot mode. This mode uses the rst ONIE boot menu entry.
The -l command option lists the current default entry—this is the default setting.
View system information
To view your system information; for example, the model, part number, serial number, and service tag, use the following commands:
1 Boot into ONIE.
2 Enter the onie-syseeprom command.
ONIE:/ # onie-syseeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 162
TLV Name Code Len Value
-------------------- ---- --- ----Part Number 0x22 6 0W1K08
Serial Number 0x23 20 CN0W1K08779316470002
Product Name 0x21 8 <
Device Version 0x26 1 0
Label Revision 0x27 3 X00
Manufacture Date 0x25 19 04/08/2016 08:43:05
Manufacturer 0x2B 5 77931
Country Code 0x2C 2 CN
Vendor Extension 0xFD 1 0x00
MAC Addresses 0x2A 2 256
platform>
ONIE overview
17
Service Tag 0x2F 7 2WCSG02
Vendor Name 0x2D 4 DELL
Diag Version 0x2E 6 01_010
Base MAC Address 0x24 6 34:17:EB:05:B4:00
Platform Name 0x28 26 x86_64-dell_<platform>_c2538-r0
ONIE Version 0x29 8 x.xx.x.x
CRC-32 0xFE 4 0x99415608
Checksum is valid.
ONIE:/ #
These sections describe the Dell EMC diagnostics. These instructions apply to systems where ONIE diagnostics are not available.
Topics:
•Diagnostic package download
•View DIAG versions
•View CPLD versions
•Install or upgrade DIAG tools
•Restore factory defaults
Diagnostic package download
Load or update the DIAG-OS—the diag installer image—using the onie-nos-install command. The DIAG-OS installer runs in two
modes: Update mode or Install mode.
•In Update mode, the DIAG-OS updates the existing DIAG-OS and boots back to ONIE.
•In Install mode, the DIAG-OS erases the existing DIAG-OS and loads the new DIAG-OS.
4
: If you have a recovery USB plugged into your system, remove it before installing the DIAG-OS using the onie-nos-
NOTE
install command.
NOTE: Before you begin, go to www.dell.com/support and download the diagnostic package.
1 Enter the onie-discovery-stop command to stop ONIE Discovery mode.
2 Assign an IP address to the management interface and verify the network connectivity.
EDA-DIAG Partiton not found.
Diag OS Installer Mode : INSTALL
Creating new diag-os partition /dev/sda3 ...
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
EDA-DIAG dev is /dev/sda3
mke2fs 1.42.13 (17-May-2015)
Creating filesystem with 262144 4k blocks and 65536 inodes
Filesystem UUID: 63fc156f-b6c1-415d-9676-ae4478704c5a
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
Created filesystem on /dev/sda3 with label EDA-DIAG
platform>_c2538-r0
Mounted /dev/sda3 on /tmp/tmp.BBEygm
Preparing /dev/sda3 EDA-DIAG for rootfs install
untaring into /tmp/tmp.BBEygm
rootfs copy done
Success: Support tarball created: /tmp/tmp.BBEygm/onie-support.tar.bz2
Updating Grub Cfg /dev/sda3 EDA-DIAG
ONIE uefi_uuid 69AD-9CBF
INSTALLER DONE...
Removing /tmp/tmp.qlnVIY
ONIE: NOS install successful: tftp://<tftp-server ip>/users/<
x86_64-dell_<platform>_c2538-r0-2016-08-12.bin
ONIE: Rebooting...
ONIE:/ # discover: installer mode detected.
Stopping: discover...start-stop-daemon: warning: killing process 2605: No such process
done.
Stopping: dropbear ssh daemon... done.
Stopping: telnetd... done.
Stopping: syslogd... done.
Info: Unmounting kernel filesystems
umount: can't umount /: Invalid argument
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL tosd 4:0:0:0: [sda] Synchronizing SCSI cache
reboot: Restarting system
reboot: machine restart
user>/<platform>/diag-installer-
BIOS Boot Selector for <
Primary BIOS Version x.xx.x.x_MRC48
Dell EMC DIAG OS
20
platform>
SMF Version: MSS 1.3.1, FPGA 0.3
Last POR=0x11, Reset Cause=0x55
POST Configuration
CPU Signature 406D8
CPU FamilyID=6, Model=4D, SteppingId=8, Processor=0
Microcode Revision 125
Platform ID: 0x10041A43
PMG_CST_CFG_CTL: 0x40006
BBL_CR_CTL3: 0x7E2801FF
Misc EN: 0x840081
Gen PM Con1: 0x203808
Therm Status: 0x884C0000
POST Control=0xEA000100, Status=0xE6000000
Loading DIAG-OS ...
[ 3.786758] dummy-irq: no IRQ given. Use irq=N
[ 3.792812] esas2r: driver will not be loaded because no ATTO esas2r devices were found
[ 3.818171] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 4.880285] i8042: No controller found
[ 4.890134] fmc_write_eeprom fake-design-for-testing-f001: fmc_write_eeprom: no busid
passed, refusing all cards
[ 4.901699] intel_rapl: driver does not support CPU family 6 model 77
Debian GNU/Linux 8 dell-diag-os ttyS1
dell-diag-os login: root
Password:
Linux dell-diag-os 3.15.10 #1 SMP Fri Aug 12 05:14:52 PDT 2016 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Diag OS version <
Build date/time Fri Aug 12 05:23:56 PDT 2016
Build server netlogin-eqx-03
Build by <name>
Kernel Info:
Linux 3.15.10 #1 SMP Fri Aug 12 05:14:52 PDT 2016 x86_64 GNU/Linux
Debian GNU/Linux 8 \n \l
To start the ONIE diagnostics, use the DIAG-OS option from the GRUB menu.
platform>_DIAG_OS_x.xx.x.x
Dell EMC DIAG OS
21
a Boot into the DIAG OS.
b Log in as root.
Password: calvin.
c Install the EDA-DIAG tools package.
d Run /opt/dellemc/diag/bin/edatool.
NOTE: To return to your networking operating software, enter the reboot command.
Diagnostic test suite
After the system boots up, select the EDA-DIAG option to run the diagnostic test suite.
To select which entry is highlighted, use the up and down arrow keys. Press Enter to select an operating software-selected OS or enter e
to edit the commands before booting. Enter c for a command line. The highlighted entry, displaying *, executes automatically in the
operating system.
To view CPLD data, including the fan status, PSU status, current programmed version, and image packed version, use the
cpldupgradetool or updatetool command at the prompt.
•For the cpldupgradetool command:
root@dell-diag-os:/# cpldupgradetool --cpldver
CPLD1 Version 0x00
CPLD2 Version 0x01
CPLD3 Version 0x01
CPLD4 Version 0x01
root@dell-diag-os:/#
•For the updatetool command:
root@dellemc-diag-od~#updatetool --device_version --dev=CPU_CPLD
CPU_CPLD version:
System CPLD Version : offset 0x00 = 0xc
7: 4 Major Revision = 0
3: 0 Minor Revision = c
Scratch Register : offset 0x01 = 0x0
Dell EMC DIAG OS
22
Install or upgrade DIAG tools
To install or upgrade the DIAGs in the DIAGs OS, use the dpkg --install dn-diags-<platform>-DiagOS-<version>-
<date>.deb command.
root@dell-diag-os:~#dpkg --install dn-diags-<platform>-DiagOS-<version>-<date>.de
Selecting previously unselected package dn-diags-<platform>.deb.
(Reading database ... 18873 files and directories currently installed.)
Preparing to unpack dn-diags-<
Unpacking dn-diags-<platform>.deb (1.10) ...
Setting up dn-diags-<
root@dell-diag-os:~#
platform>.deb (1.10) ...
platform>-DiagOS-<version>-<date>.deb ...
Restore factory defaults
To restore your system factory defaults, reboot the system to ONIE: Uninstall OS mode.
If it is not possible to restore your factory defaults with the installed OS, reboot the system from the Grub menu and select ONIE: Rescue. ONIE Rescue bypasses the installed OS and boots the system into ONIE until you reboot the system. After ONIE Rescue
completes, the system resets and boots to the ONIE console.
CAUTION: Restoring factory defaults erases any installed OS and requires a long time to erase storage.
1 Restore the factory defaults on your system from the Grub menu using the ONIE: Uninstall OS command.
To select which entry is highlighted, use the up and down arrow keys.
3 Return to the default ONIE settings using the onie-uninstaller command.
ONIE:/ # onie-uninstaller
Erasing internal mass storage device: /dev/sda4 (32MB)
Percent complete: 100%
Erase complete.
Deleting partition 4 from /dev/sda
Erasing internal mass storage device: /dev/sda5 (300MB)
Percent complete: 100%
Erase complete.
Deleting partition 5 from /dev/sda
Erasing internal mass storage device: /dev/sda6 (300MB)
Percent complete: 100%
Erase complete.
Deleting partition 6 from /dev/sda
Erasing internal mass storage device: /dev/sda7 (12461MB)
Percent complete: 100%
Erase complete.
Deleting partition 7 from /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
Uninstall complete. Rebooting...
Dell EMC DIAG OS
23
ONIE:/ # discover: Rescue mode detected. No discover stopped.
Stopping: dropbear ssh daemon... done.
Stopping: telnetd... done.
Stopping: syslogd... done.
Info: Unmounting kernel filesystems
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL tosd 4:0:0:0: [sda] Synchronizing SCSI cache
Restarting system.
machine restart
24Dell EMC DIAG OS
5
Dell EMC DAIG-OS tools
This section describes how to use the Dell EMC diagnostics operating system (DIAG-OS). The DIAG-OS provides a suite of tools to help
diagnose issues seen on the system, or to run a health check to ensure that the hardware is operating properly.
Diagnostic tools
The DIAG-OS uses standard Linux drivers and contains the following tools you can use to evaluate the health of your system. The tools are
packaged for both the DIAG-OS, which is a simple OS of the same kernel version, and small rootfs to support the tools and drivers.
NOTE: By default, the system’s I/O modules are down. Power up the I/O modules or the Opticstool and NPUtool reports failures.
For information about how to power up the I/O modules, see the
support.
Topics:
•edatool
•cpldupgradetool
•cputool
•eepromtool
•ethtool
•fantool
•ashrom
•gpiotool
•i2ctool
•ledtool
•lpctool
•memtool
•nputool
•nvramtool
•opticstool
•pcitool
•phytool
•pltool
•psutool
•rtctool
•smartctl
•smarttool
•smbiostool
•storagetool
•temptool
•updatetool
•vmetool
Dell EMC Installation Guide
for your system at www.dell.com/
Dell EMC DAIG-OS tools25
•Diagnostic package
edatool
The diagnostics tools include edatool. To test the basic functionality of the system, use the edatool.
The edatool executes a script of simple commands, similar to commands in the CLI. Usually, the diagnostics tools run these types of
tests. The success or failure of these tools is reported. At the end of the edatool run, reports the PASSED or FAILED results in a
standard format the test scripts can easily parse.
Tests
The edatool does not have a test command, but instead runs all the tests that are scripted.
Syntax: edatool <option>
Show the Help-text:=
edatool --h (or)
edatool -h
Lists tests in config files:=
edatool --list (or)
edatool -l
Config file to use for tests:=
edatool --config=<config_file> (or)
edatool -f <config_file>
Config file to use for extended tests:=
edatool --extended-config=<config_file> (or)
edatool -X <config_file>
Display test list or test result or modify test item status:=
edatool --testlist=show/result/<on/off,<test_id>,<test_id>...>(or)
edatool -L show/result/<on/off,<test_id>,<test_id>...>
Run all or selected test item in test list:=
edatool --testrun=all/<test_id> (or)
edatool --R all/<test_id>
Execute repeatedly command by count:=
edatool --iteration=max/<count> [option1] [option2]... (or)
edatool -I max/<count> [option1] [option2]...
Usage:=
-h, --h Show the help text
-l, --list List the understood TLV codes and names
-I, --iteration= Iteration command execution
-L, --testlist= Test list status
-R, --testrun= Run test item
-f, --config= To specify the location of the config file e.g. /etc/dn/diag/
<file_name>
-X, --extended-config= Config file to use for extended tests