Seagate® Nytro™ Command Line Interface for Nytro WarpDrive® and XP6000 Application Acceleration Cards Channel User Guide XP6209-4A1024 XP6209-4B2048 XP6210-4A2048 XP6210-4B2048 XP6302-8B1536 XP6302-8B2048 XP6302-8B4096

100776036, Rev. A April 2017 Revision History

Revision Date Description of Changes Rev. A April 2017 Initial release of the document.

© 2015, Seagate Technology LLC All rights reserved.

Publication number: 100776036, Rev. A, April 2017.

Seagate, Seagate Technology and the Wave logo are registered trademarks of Seagate Technology LLC in the United States and/or other countries. Nytro, Nytro WarpDrive and SeaTools are either trademarks or registered trademarks of Seagate Technology LLC or one of its affiliated companies in the United States and/or other countries. All other trademarks or registered trademarks are the property of their respective owners.

No part of this publication may be reproduced in any form without written permission of Seagate Technology LLC. Call 877-PUB-TEK1(877-782-8351) to request permission.

When referring to drive capacity, one gigabyte, or GB, equals one billion bytes and one terabyte, or TB, equals one trillion bytes. Your computer’s may use a different standard of measurement and report a lower capacity. In addition, some of the listed capacity is used for formatting and other functions, and thus will not be available for data storage. Actual quantities will vary based on various factors, including file size, file format, features and application . Actual data rates may vary depending on operating environment and other factors. The export or re-export of hardware or software containing encryption may be regulated by the U.S. Department of Commerce, Bureau of Industry and Security (for more information, visit www.bis.doc.gov), and controlled for import and use outside of the U.S. Seagate reserves the right to change, without notice, product offerings or specifications. Contents

Seagate Technology Support Services ...... 4

Chapter 1: Nytro Command Line Interface Overview ...... 5 1.1 Scope ...... 5 1.2 Operating System Support ...... 5

Chapter 2: Installing Nytro CLI ...... 6 2.1 Downloading the Nytro CLI Package ...... 6 2.2 Installing Nytro CLI on the Operating System ...... 6 2.3 Installing Nytro CLI on the Windows Operating System ...... 6 2.4 Installing Nytro CLI on the VMWare Operating System ...... 6 2.5 Uninstalling Nytro CLI on the Linux Operating System ...... 7 2.6 Uninstalling Nytro CLI on the Windows Operating System ...... 7 2.7 Uninstalling Nytro CLI on the VMware Operating System ...... 7

Chapter 3: Nytro CLI Commands ...... 8 3.1 Introduction to Nytro CLI Commands ...... 8 3.1.1 Executables and Binaries ...... 8 3.1.2 Syntax and Format ...... 9 3.1.3 Commands List ...... 9 3.2 Nytro CLI Command Descriptions ...... 11 3.2.1 List all available controllers ...... 11 3.2.2 List WarpDrive Information ...... 11 3.2.3 Display WarpDrive Health ...... 11 3.2.4 Locate WarpDrive ...... 11 3.2.5 Update Flash Package ...... 12 3.2.6 Format WarpDrive ...... 12 3.2.7 Enable/Disable UNMAP feature ...... 12 3.2.8 Show Vital Product Data ...... 12 3.2.9 Extract SMART Logs ...... 13

Nytro Command Line Interface User Guide Rev. A 3 www.seagate.com Seagate Technology Support Services

Seagate Technology Support Services

For Nytro Support, visit: http://www.seagate.com/support/by-product/ssd-and-pcie-flash/ For information regarding online support and services, visit: http://www.seagate.com/contacts/ Available services include:

 Presales & Technical support  Global Support Services telephone numbers & business hours  Authorized Service Centers For information regarding Warranty Support, visit: http://www.seagate.com/support/warranty-and-replacements/ For information regarding data recovery services, visit: http://www.seagate.com/services-software/seagate-recovery-services/recover/ For Seagate OEM and Distribution partner and Seagate reseller portal, visit: http://www.seagate.com/partners

Nytro Command Line Interface User Guide Rev. A 4 www.seagate.com Nytro Command Line Interface Overview

Chapter 1: Nytro Command Line Interface Overview

The Nytro™ Command Line Interface (Nytro CLI) is the command line tool to manage and control the Nytro Flash Accelerator cards and the devices connected to it. Nytro CLI is easy to use, consistent, and easy for scripting.

1.1 Scope

This User Guide is for Nytro CLI to manage the Nytro WarpDrive and Nytro XP6000 Application Acceleration Cards. Your Nytro CLI software might have other commands and syntaxes not applicable to this version.

1.2 Operating System Support

See the product Release Notes for supported Operating Systems.Supported Devices

Table 1 Supported Devices

DEVICE NAME MODEL NAME Nytro XP6209 XP6209-4A1024 Nytro XP6209 XP6209-4B2048 Nytro XP6210 XP6210-4A2048 Nytro XP6210 XP6210-4B2048 Nytro XP 6302 XP6302-8B1536 Nytro XP 6302 XP6302-8B2048 Nytro XP 6302 XP6302-8B4096

Nytro Command Line Interface User Guide Rev. A 5 www.seagate.com Downloading the Nytro CLI Package

Chapter 2: Installing Nytro CLI

2.1 Downloading the Nytro CLI Package

1. Go to, http://www.seagate.com/products/solid-state-flash-storage/accelerator-cards/ 2. Navigate to the required product page. 3. Navigate to the support page. 4. Download the Nytro CLI package.

2.2 Installing Nytro CLI on the Linux Operating System

1. Extract the Nytro CLI package. 2. Unzip the Linux.zip file. 3. Install or upgrade as required. a. To install the Nytro CLI RPM, run the command: rpm -ivh nytrocli-. b. To upgrade an existing Nytro CLI RPM, run the command: rpm -Uvh nytrocli-. Nytro CLI is installed in the folder: /opt/seagate/nytrocli. NOTE Nytro CLI must be run with administrator or root privileges.

2.3 Installing Nytro CLI on the Windows Operating System

1. Extract the Nytro CLI package. 2. Unzip the Windows.zip file. 3. Copy the nytrocli.exe file to the required location in the system and the binary is ready to use. NOTE Nytro CLI must be run with administrator or root privileges.

2.4 Installing Nytro CLI on the VMWare Operating System

1. Extract the Nytro CLI package. 2. Unzip the Vmware-MN.zip file. 3. Use the following command to install the vib file: esxcli software vib install –v --no-sig-check NOTE Nytro CLI must be run with administrator or root privileges.

Nytro Command Line Interface User Guide Rev. A 6 www.seagate.com Uninstalling Nytro CLI on the Linux Operating System

2.5 Uninstalling Nytro CLI on the Linux Operating System

To uninstall Nytro CLI on the Linux operating system, run the command: rpm -e nytrocli-.

2.6 Uninstalling Nytro CLI on the Windows Operating System

To uninstall Nytro CLI on the Windows operating system, delete the nytrocli.exe file from the location where it was copied.

2.7 Uninstalling Nytro CLI on the VMware Operating System

To uninstall Nytro CLI on the VMware operating system, use the command: esxcli software vib remove -n NOTE When running the Nytro CLI binary or executable, do not double click the binary or executable to invoke the Nytro CLI application. To invoke the Nytro CLI application: 1. Open the Command Prompt or . 2. Navigate to the location where the executable or binary is present. 3. Execute according to the command syntax.

Nytro Command Line Interface User Guide Rev. A 7 www.seagate.com Nytro CLI Commands

Chapter 3: Nytro CLI Commands

This chapter describes the Nytro CLI command syntax and the commands. It has three subsections:

 Section 3.1, Introduction to Nytro CLI Commands: Provides details about executables, syntax and format. — Table 2 shows all the supported commands, categorized and sorted according to the command usage.  Section 3.2, Nytro CLI Command Descriptions: Describes all supported commands with examples.

CAUTION Before you use the Nytro CLI commands provided in this document, ensure that you understand the following:  The commands provided in this document are only for Nytro CLI, version 1.10.10 to manage the Nytro WarpDrive and Nytro XP6000 Application Acceleration Cards.  Your Nytro CLI software might have other commands and syntaxes that are not applicable to this version of Nytro CLI software. Ignore them.  The Nytro CLI prototypes and outputs provided in this chapter are examples only. They are provided to help understand the flow of operations.

3.1 Introduction to Nytro CLI Commands

3.1.1 Executables and Binaries

Following are the executables/binary names that are prefixed to the commands for the supported operating systems:

 Windows 32-bit and 64-bit versions: nytrocli.exe  VMWare ESXi / Solaris x86 / Linux 32-bit version: nytrocli  Linux 64-bit version: nytrocli64. NOTE The examples provided in this document use only nytrocli irrespective of the operating system used or its versions.

Nytro Command Line Interface User Guide Rev. A 8 www.seagate.com Nytro CLI Commands

3.1.2 Syntax and Format

When running the Nytro CLI binary or executable, do not double click the binary or executable to invoke the Nytro CLI application. To invoke the Nytro CLI application: 1. Open the Command Prompt or Shell. 2. Navigate to the location where the executable or binary is present. 3. Execute according to the command syntax. See, Section 3.2, Nytro CLI Command Descriptions. Nytro CLI syntax uses the following general format:

 Angle brackets () for required parameters  Square brackets ([/]) for optional parameters  Vertical bars (|) for choice of items  The Nytro CLI commands are not case sensitive.  The order in which you specify the command options must be the same as provided in the user guide, otherwise, the command fails.  Nytro CLI must be run with administrator or root privileges.

3.1.3 Commands List

 Table 2 shows all the supported commands, categorized and sorted according to the command usage. The Description column lists the menu options available in the DDCLI interactive mode to easily map the Nytro CLI commands to the corresponding DDCLI menu option. Click the reference links in the table to go to the respective section where a detailed description, along with the command examples and their outputs are provided. To get a list of all the applicable commands, execute: nytrocli-help -ddcli

Nytro Command Line Interface User Guide Rev. A 9 www.seagate.com Nytro CLI Commands

x in the commands provided in Table 2 denotes the controller index number. The index number starts from 1.

Table 2 Nytro CLI Commands

Command Description Monitoring Cards -listall List all available controllers along with board name, package version and PCI address. See, Section 3.2.1. -c x -list [-all] List WarpDrive Information. See, Section 3.2.2. -c x -health [-fua] [all] Display WarpDrive Health. See, Section 3.2.3. -c x -locate on Locate WarpDrive. See, Section 3.2.4. Managing Cards -c x -updatepkg Update Flash Package. See, Section 3.2.5. nytrocli -c x -format [-op <-level >] [-eraseflash] [-s] Format WarpDrive. See, Section 3.2.6. -c x -unmapSCSI < -enable | -disable> Enable/Disable UNMAP featureSection 3.2.7 -c x -showvpd Show Vital Product Data. See, Section 3.2.8. -c x -getsmartlog [-slot ] -path Extract SMART Logs. See, Section 3.2.9.

Nytro Command Line Interface User Guide Rev. A 10 www.seagate.com Nytro CLI Commands

3.2 Nytro CLI Command Descriptions

Following are the executables/binary names for the supported operating systems:

 Windows 32-bit and 64-bit versions: nytrocli.exe  VMWare ESXi / Solaris x86 / Linux 32-bit version: nytrocli  Linux 64-bit version: nytrocli64 NOTE The examples provided in this document uses only nytrocli irrespective of the operating system used or its versions.

3.2.1 List all available controllers

Lists all the available controllers along with the board name, package version and PCI address. nytrocli -listall To see all the commands, go to Table 2, Nytro CLI Commands.

3.2.2 List WarpDrive Information

Provides details about the WarpDrive controller that is selected. nytrocli -c x -list[-all] Example command: nytrocli -c 1 -list To see all the commands, go to Table 2, Nytro CLI Commands.

3.2.3 Display WarpDrive Health

Provides the overall health of the WarpDrive controller that is selected along with the smart attributes. nytrocli -c x -health [-fua] [all] Where, fua: Force Unit Access. Gets the SMART attributes from SSD raw: Dumps the SMART attributes in hexadecimal format Example command: nytrocli -c 1 -health -fua To see all the commands, go to Table 2, Nytro CLI Commands.

3.2.4 Locate WarpDrive

Triggers an LED blink on the selected WarpDrive controller in the server rack so that it can be easily located physically. nytrocli -c x -locate on Example command: nytrocli -c 1 -locate on

Nytro Command Line Interface User Guide Rev. A 11 www.seagate.com Nytro CLI Commands

To see all the commands, go to Table 2, Nytro CLI Commands.

3.2.5 Update Flash Package

Upgrades the WarpDrive Controller firmware along with its components like BIOS and SSD. nytrocli -c x -updatepkg Example command: nytrocli -c 1 -updatepkg C:\nytrocli_files\sample_updatepkg.bin To see all the commands, go to Table 2, Nytro CLI Commands.

3.2.6 Format WarpDrive

Formats the selected WarpDrive controller. Also, used to configure Overprovisioning. nytrocli -c x -format [-op <-level >] [-eraseflash] [-s] Where, op: Overprovisioning level: Predefined overprovisioning levels corresponding to High performance (perf), Nominal (nom) and High Capacity (cap) listall eraseflash: Erases the Media s: Silent Mode Example command: nytrocli -c 1 -format -op -level nom -eraseflash To see all the commands, go to Table 2, Nytro CLI Commands.

3.2.7 Enable/Disable UNMAP feature

Enables or disables the SCSI UNMAP feature. nytrocli -c x -unmapSCSI < -enable | -disable> Example commands: nytrocli -c 1 -unmapscsi -enable To see all the commands, go to Table 2, Nytro CLI Commands.

3.2.8 Show Vital Product Data

Retrieves vital product information of the WarpDrive Controller if available. nytrocli -c x -showvpd Example command: nytrocli -c 1 -showvpd To see all the commands, go to Table 2, Nytro CLI Commands.

Nytro Command Line Interface User Guide Rev. A 12 www.seagate.com Nytro CLI Commands

3.2.9 Extract SMART Logs

Extracts SSD firmware logs and Event logs as a binary file. nytrocli -c x -getsmartlog [-slot ] -path Where, slot: SSD Slot number path: Path where SSD firmware logs and event logs are stored Example command: nytrocli -c 1 -getsmartlog -slot 4 -path C:\ To see all the commands, go to Table 2, Nytro CLI Commands.

Nytro Command Line Interface User Guide Rev. A 13 Seagate Technology LLC AMERICAS Seagate Technology LLC 10200 South De Anza Boulevard, Cupertino, California 95014, United States, 408-658-1000 ASIA/PACIFIC Seagate Singapore International Headquarters Pte. Ltd. 7000 Ang Mo Kio Avenue 5, Singapore 569877, 65-6485-3888 EUROPE, MIDDLE EAST AND AFRICA Seagate Technology SAS 16-18 rue du Dôme, 92100 Boulogne-Billancourt, France, 33 1-4186 10 00

Publication Number: 100776036, Rev. A April 2017