SlideShare une entreprise Scribd logo
1  sur  3
Télécharger pour lire hors ligne
STORNEXT API 2.0 (SNAPI) QUICK REFERENCE GUIDE:
                                                                                        KEY FEATURES AND BENEFITS



SNAPI contains StorNext® Client, File System, and Storage Manager calls that can be used by third-party applications to enhance
integration and allow customized capacity management, data movement, and reporting operations.



CLIENT APIs
The Client API set controls the behavior of servers accessing StorNext disk repositories. Today, these calls are centered on
optimizing performance. Using “Real Time IO calls,” disk resources are configured with a priority bandwidth pool. Servers are then
configured to run in priority or normal access mode. Priority servers have full access to the real-time bandwidth pool and
supersede access requests from normal clients.


Name                       Function                                            Use Case

Disable Real Time IO       Puts client in normal, gated mode                   Optimize performance—Sets a client to have normal, non-priority access

Enable Real Time IO        Puts client in priority, non-gated mode             Optimize performance—Provides clients with priority access to storage

Get Stripe Group Stats     Gets the configuration and IO statistics for a      Optimize performance—Lists IOps or MBps reserved for priority clients and impact on normal clients
                           stripe group

Get Client Stats           Gets the IO statistics for clients                  Optimizing performance—Displays throughput used by clients (normal and priority)

Set Stripe Group IO        Sets the IO properties of a stripe group            Increasing operational performance—Sets the reserved IOps or MBps for priority clients on a stripe group




FILE SYSTEM APIs
The File System API is designed to optimize file creation and access patterns. It also provides a significant amount of reporting
detail for integrators that need to customize monitoring and alerting functions. The File System API is broken into three primary
sets. Allocation and Space Management controls how data is written to StorNext, allowing faster writes and more efficient
allocation of capacity. Configuration and Location Management is used primarily for reporting purposes and provides details on
file parameters as well as the configuration of the underlying disk volumes, called stripe groups, which make up a StorNext file
system. Access Management controls concurrent file operations and quotas, as well as providing additional reporting utilities.

Name                       Function                                            Use Case

                                                                          Allocation and Space Management

Allocate File Space        Allocates disk capacity for a file                  Optimize write process—Request capacity all at once to speed process of writing larger files

Get “Perfect Fit” Status   Determine if file uses "perfect fit" allocations    Optimize write process—For files that have a known, repeatable growth this prevents multiple allocation
                                                                               requests or extraneous reserving of capacity

Punch Holes                Removes a portion of a file                         Custom file management—Removes portions of a file (start, middle, and end) without full deletion

Set File Size              Sets capacity requirement for file                  Faster file create—Reserves space for a file, but does not zero out the disk contents first

                                                                      Configuration and Location Management

Get File Affinity          Gets affinity for a specific file                   In Depth Reporting

Get File Extent List       Gets extents used by a specific file                In Depth Reporting

Get File Location          Gets block location of a file                       In Depth Reporting

Get Stripe Group Info      Gets parameters of a stripe group                   Configuration management

Get Stripe Group Name      Gets ASCII name of a stripe group                   Configuration management

Set File Affinity          Sets the affinity for a file                        Optimize performance & group files—Sets disk volume for storing a specific file




                                                                                                                                                                 www.quantum.com
STORNEXT API 2.0 (SNAPI) QUICK REFERENCE GUIDE:
                                                                                        KEY FEATURES AND BENEFITS

Name                     Function                                            Use Case

                                                                                   Access Management

Clear Concurrent Write   Disables concurrent writes for a file               Control Write Process—Used to prevent overwrite when application does not support block level updates

Clear Read Hole Fail     Causes a hole to return a zero value during         Default behavior —When a hole is punched in a file, the hole (unallocated space) is filled with "zeros"
                         a read operation

File Stat                Runs UNIX stat command on a file                    In Depth Reporting—Lists file attributes

Open State               Determines open state of a file                     In Depth Reporting—Details if one or more servers are reading a file (e.g. check state before deleting)

Get Disk Info            Retrieves info on underlying disk                   In Depth Reporting—Lists physical attributes, including WWN for the disk resources in a stripe group

Get Quota Details        Gets current quota usage and limits                 In Depth Reporting—Lists quota limits for users and groups. Also details user's current capacity utilization.

Get Version Details      Lists current StorNext & SNAPI rev                  In Depth Reporting—Lists build information

Load Extents             Pre-loads extents into file system                  Optimize performance—By pre-loading extents, the time required before first access of a file is minimized

Set Concurrent Writes    Enables concurrent writes for a file                Control Write Process—Allows simultaneous file updates for applications supporting block level access

Set Quota Details        Sets current quota usage and limits                 Control Capacity Utilization—Sets quota limits for a specific user or group

Set Read Hole Fail       Causes reads from a hole to fail                    Control Read Behavior

File System Stat         Gets basic file system information                  In Depth Reporting / Monitoring—Lists the configuration attributes of the file system

File Stat Plus           Runs UNIX stat on a file and retrieves              In Depth Reporting—Lists attributes of file in addition to data movement status (disk only, disk and tape, etc)
                         StorNext specific data

Swap Extents             Swaps all extents for a file                        Optimize performance—Used in defrag to move data from a fragmented extent set to a more contiguous set




STORAGE MANAGER APIs
The Storage Manager API is designed to control the location of data files and allow in depth reporting. Data movement calls
simplify management of storage capacity and enable faster access to archived files that reside on secondary storage. Additionally,
tape handling calls are included to simplify and automate movement for bulk loading and unloading of disaster recovery media.
Extensive reporting calls are also included to enable capacity planning and alerting and location of individual files on media..

Name                     Function                                                 Use Case

EjectMedia               Places media in mailbox for export or logically          Storage Management—Simplifies off-siting of archive media by automating process of media eject
                         "ejects" from vault

EnterMedia               Imports media to slot or logically "enter" to vault      Storage Management—Simplifies process of importing archive media by automating process of media insert

FileRetrieve             Retrieves files from secondary storage                   Optimize Performance—Pulls files back to primary storage. Pre-staging reduces access time

GetFileAttribute         Provides file attributes specific to location on tiers   In Depth Reporting—Lists tiers where file is located and if DR copies have been generated.

GetFileTapeLocation      Provides location information for the specified          File Recovery and In Depth Reporting – Reports the media and physical block location where the specified
                         file, including the copy ID, segment number,             file resides.
                         starting block, and segment size

GetMediaList             Lists media with specific attributes                     Media, capacity, and file management—Identifies media that are blank, suspect, etc.

GetMediaStatus           Lists attributes for a piece of media                    In Depth Reporting—Lists attributes of media including fill level, error count, write protect status.

GetPortList              List the identifier(s) for a library or vault            Media movement—Provides identifiers used by StorNext when importing / exporting media

MoveMedia                Logically moves media between libraries                  Storage Management—Enabling feature for media movement between libraries (e.g. a local and remote)

RmDiskCopy               Removes files from primary disk                          Capacity Management—Frees up disk space. Used to automate file removal and reduce user interaction




                                                                                                                                                                    www.quantum.com
STORNEXT API 2.0 (SNAPI) QUICK REFERENCE GUIDE:
                                                                                          KEY FEATURES AND BENEFITS

Name                         Function                                             Use Case

                                                                            Storage Manager APIs for SNAPI 2.0

Backup                       Initiates a backup operation                         Backup/Recovery – Creates a backup of critical StorNext configuration and metadata for disaster recovery
                                                                                  purposes.

CheckOutMedia                Checks out media                                     Storage Management – The system puts the specified media in a temporary checkout state, allowing admin
                                                                                  to remove and inspect suspect media.

CleanMedia                   Cleans media by removing inactive files              Media, Capacity, and File Management – Logically removes inactive file copies from the specified media,
                                                                                  effectively removing the number of file copies needing to be managed.

CopyMedia                    Copies media content to blank media                  Media, Capacity, and File Management – Physically copies all active files from the specified media to a blank
                                                                                  media, effectively defragmenting the media.

GetArchiveCapacity           Provides the amount of remaining storage             In Depth Reporting – Allows admin to monitor the total remaining space in all archives.
                             capacity for all archives

GetArchiveList               Lists the current configuration settings for all     In Depth Reporting – Reports the archive state, number of slots, serial number, firmware version, etc.
                             archives

GetBackupStatus              Shows the current status or progress of a            In Depth Reporting – Allows admin to monitor the state of the current or most recent StorNext backup
                             backup in progress                                   operation.

GetDriveList                 Lists available drives and their attributes          In Depth Reporting – Reports the drive state, mount status, serial number, firmware version, etc. for every
                                                                                  drive.

GetPolicy                    Provides configuration parameters for the            In Depth Reporting – Reports the configured number of copies and max inactive versions for the specified
                             specified policy                                     policy class(es).

GetSchedule                  Provides information about previously                In Depth Reporting – Reports the configured time and most recent status of the scheduled backup
                             scheduled events such as backups                     operation.

GetSystemStatus              Shows the current system status                      In Depth Reporting – Reports the state of every StorNext software component and the overall state.


PassThru                     Executes one command line argument                   General – Executes any CLI shell command.


SetArchiveState              Sets the Archive State to ON or OFF                  Configuration Management – Allows control of any archive state.


SetDirAttributes             Sets the following directory attributes:             Media, Capacity, and File Management – Allows exclusion (or inclusion) of directories from storage
                             • Store (enable or disable) • Truncate (enable       management policy control.
                             or disable) • Policy class name for the directory

SetDriveState                Sets the Drive State to ON or OFF                    Configuration Management – Allows control of any drive state.


SetFileAttributes            Sets the following file attributes:                  Media, Capacity, and File Management – Allows exclusion (or inclusion) of files from storage management
                             • Store (enable or disable)                          policy control.
                             • Truncate (enable or disable)

SetMediaState                Sets the state for one or more pieces of media       Configuration Management – Allows control of any media state.


SetPolicy                    Sets the number of copies and the maximum            Configuration Management – Allows configuration control of storage policy parameters.
                             number of inactive versions for a policy class

SetSchedule                  Specifies the schedule for a full or partial         Configuration Management – Allows configuration control of scheduled StorNext backup operations.
                             backup




                  For contact and product information,                                                               About Quantum

                  visit quantum.com, call 800-677-6268 or send                                                       Quantum Corp. (NYSE:QTM) is the leading global storage company
                  an email to softwareinfo@quantum.com                                                               specializing in backup, recovery and archive. Combining focused
                                                                                                                     expertise, customer-driven innovation, and platform independence,
                                                                                                                     Quantum provides a comprehensive range of disk, tape, media and
                                                                                                                     software solutions supported by a world-class sales and service
                                                                                                                     organization. As a long-standing and trusted partner, the company
                                                                                                                     works closely with a broad network of resellers, OEMs and other
                                                                                                                     suppliers to meet customers' evolving data protection needs.
   Backup. Recovery. Archive. It’s What We Do.

   ©2007 Quantum Corporation. All rights reserved. Quantum, the Quantum logo, and all other
   logos are registered trademarks of Quantum Corporation or of their respective owners.
                                                                                                                                                                         DS00358 Aug 2007

Contenu connexe

Tendances

Oracle db architecture
Oracle db architectureOracle db architecture
Oracle db architecture
Simon Huang
 
Distributed Filesystems Review
Distributed Filesystems ReviewDistributed Filesystems Review
Distributed Filesystems Review
Schubert Zhang
 
Oracle backup and recovery
Oracle backup and recoveryOracle backup and recovery
Oracle backup and recovery
Yogiji Creations
 

Tendances (20)

Rman Presentation
Rman PresentationRman Presentation
Rman Presentation
 
Database backup 110810
Database backup 110810Database backup 110810
Database backup 110810
 
Oracle db architecture
Oracle db architectureOracle db architecture
Oracle db architecture
 
ORACLE ARCHITECTURE
ORACLE ARCHITECTUREORACLE ARCHITECTURE
ORACLE ARCHITECTURE
 
Distributed Filesystems Review
Distributed Filesystems ReviewDistributed Filesystems Review
Distributed Filesystems Review
 
Oracle backup and recovery
Oracle backup and recoveryOracle backup and recovery
Oracle backup and recovery
 
Less01 Dba1
Less01 Dba1Less01 Dba1
Less01 Dba1
 
Oracle RDBMS architecture
Oracle RDBMS architectureOracle RDBMS architecture
Oracle RDBMS architecture
 
11. dfs
11. dfs11. dfs
11. dfs
 
11 distributed file_systems
11 distributed file_systems11 distributed file_systems
11 distributed file_systems
 
Aties Presentation
Aties PresentationAties Presentation
Aties Presentation
 
Ibm spectrum archive ee v1.2.2 performance_white_paper
Ibm spectrum archive ee  v1.2.2 performance_white_paperIbm spectrum archive ee  v1.2.2 performance_white_paper
Ibm spectrum archive ee v1.2.2 performance_white_paper
 
6425 b 10
6425 b 106425 b 10
6425 b 10
 
Less05 Network
Less05 NetworkLess05 Network
Less05 Network
 
Hadoop World 2011: HDFS Federation - Suresh Srinivas, Hortonworks
Hadoop World 2011: HDFS Federation - Suresh Srinivas, HortonworksHadoop World 2011: HDFS Federation - Suresh Srinivas, Hortonworks
Hadoop World 2011: HDFS Federation - Suresh Srinivas, Hortonworks
 
Big Lab Problems Solved with Spectrum Scale: Innovations for the Coral Program
Big Lab Problems Solved with Spectrum Scale: Innovations for the Coral ProgramBig Lab Problems Solved with Spectrum Scale: Innovations for the Coral Program
Big Lab Problems Solved with Spectrum Scale: Innovations for the Coral Program
 
What's New in File-AID 16.03
What's New in File-AID 16.03What's New in File-AID 16.03
What's New in File-AID 16.03
 
Linux lecture5
Linux lecture5Linux lecture5
Linux lecture5
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 

Similaire à Ds00358 stor next api reference guide

Javase7 1641812
Javase7 1641812Javase7 1641812
Javase7 1641812
Vinay H G
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overview
honglee71
 
Introduction to Bacula
Introduction to BaculaIntroduction to Bacula
Introduction to Bacula
Hemant Shah
 

Similaire à Ds00358 stor next api reference guide (20)

File
FileFile
File
 
File Systems
File SystemsFile Systems
File Systems
 
6952234.ppt
6952234.ppt6952234.ppt
6952234.ppt
 
Java 7 Features and Enhancements
Java 7 Features and EnhancementsJava 7 Features and Enhancements
Java 7 Features and Enhancements
 
File system interface
File system interfaceFile system interface
File system interface
 
File Management – File Concept, access methods, File types and File Operation
File Management – File Concept, access methods,  File types and File OperationFile Management – File Concept, access methods,  File types and File Operation
File Management – File Concept, access methods, File types and File Operation
 
White Paper: Using Perforce 'Attributes' for Managing Game Asset Metadata
White Paper: Using Perforce 'Attributes' for Managing Game Asset MetadataWhite Paper: Using Perforce 'Attributes' for Managing Game Asset Metadata
White Paper: Using Perforce 'Attributes' for Managing Game Asset Metadata
 
Javase7 1641812
Javase7 1641812Javase7 1641812
Javase7 1641812
 
file management_osnotes.ppt
file management_osnotes.pptfile management_osnotes.ppt
file management_osnotes.ppt
 
Unit 3 chapter 1-file management
Unit 3 chapter 1-file managementUnit 3 chapter 1-file management
Unit 3 chapter 1-file management
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overview
 
File concept and access method
File concept and access methodFile concept and access method
File concept and access method
 
Ch10
Ch10Ch10
Ch10
 
Chapter 12.pptx
Chapter 12.pptxChapter 12.pptx
Chapter 12.pptx
 
Distributed System by Pratik Tambekar
Distributed System by Pratik TambekarDistributed System by Pratik Tambekar
Distributed System by Pratik Tambekar
 
Rhce syllabus
Rhce syllabusRhce syllabus
Rhce syllabus
 
Business Continuty Solution
Business Continuty SolutionBusiness Continuty Solution
Business Continuty Solution
 
Introduction to Bacula
Introduction to BaculaIntroduction to Bacula
Introduction to Bacula
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System Interface
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 

Dernier

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Dernier (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 

Ds00358 stor next api reference guide

  • 1. STORNEXT API 2.0 (SNAPI) QUICK REFERENCE GUIDE: KEY FEATURES AND BENEFITS SNAPI contains StorNext® Client, File System, and Storage Manager calls that can be used by third-party applications to enhance integration and allow customized capacity management, data movement, and reporting operations. CLIENT APIs The Client API set controls the behavior of servers accessing StorNext disk repositories. Today, these calls are centered on optimizing performance. Using “Real Time IO calls,” disk resources are configured with a priority bandwidth pool. Servers are then configured to run in priority or normal access mode. Priority servers have full access to the real-time bandwidth pool and supersede access requests from normal clients. Name Function Use Case Disable Real Time IO Puts client in normal, gated mode Optimize performance—Sets a client to have normal, non-priority access Enable Real Time IO Puts client in priority, non-gated mode Optimize performance—Provides clients with priority access to storage Get Stripe Group Stats Gets the configuration and IO statistics for a Optimize performance—Lists IOps or MBps reserved for priority clients and impact on normal clients stripe group Get Client Stats Gets the IO statistics for clients Optimizing performance—Displays throughput used by clients (normal and priority) Set Stripe Group IO Sets the IO properties of a stripe group Increasing operational performance—Sets the reserved IOps or MBps for priority clients on a stripe group FILE SYSTEM APIs The File System API is designed to optimize file creation and access patterns. It also provides a significant amount of reporting detail for integrators that need to customize monitoring and alerting functions. The File System API is broken into three primary sets. Allocation and Space Management controls how data is written to StorNext, allowing faster writes and more efficient allocation of capacity. Configuration and Location Management is used primarily for reporting purposes and provides details on file parameters as well as the configuration of the underlying disk volumes, called stripe groups, which make up a StorNext file system. Access Management controls concurrent file operations and quotas, as well as providing additional reporting utilities. Name Function Use Case Allocation and Space Management Allocate File Space Allocates disk capacity for a file Optimize write process—Request capacity all at once to speed process of writing larger files Get “Perfect Fit” Status Determine if file uses "perfect fit" allocations Optimize write process—For files that have a known, repeatable growth this prevents multiple allocation requests or extraneous reserving of capacity Punch Holes Removes a portion of a file Custom file management—Removes portions of a file (start, middle, and end) without full deletion Set File Size Sets capacity requirement for file Faster file create—Reserves space for a file, but does not zero out the disk contents first Configuration and Location Management Get File Affinity Gets affinity for a specific file In Depth Reporting Get File Extent List Gets extents used by a specific file In Depth Reporting Get File Location Gets block location of a file In Depth Reporting Get Stripe Group Info Gets parameters of a stripe group Configuration management Get Stripe Group Name Gets ASCII name of a stripe group Configuration management Set File Affinity Sets the affinity for a file Optimize performance & group files—Sets disk volume for storing a specific file www.quantum.com
  • 2. STORNEXT API 2.0 (SNAPI) QUICK REFERENCE GUIDE: KEY FEATURES AND BENEFITS Name Function Use Case Access Management Clear Concurrent Write Disables concurrent writes for a file Control Write Process—Used to prevent overwrite when application does not support block level updates Clear Read Hole Fail Causes a hole to return a zero value during Default behavior —When a hole is punched in a file, the hole (unallocated space) is filled with "zeros" a read operation File Stat Runs UNIX stat command on a file In Depth Reporting—Lists file attributes Open State Determines open state of a file In Depth Reporting—Details if one or more servers are reading a file (e.g. check state before deleting) Get Disk Info Retrieves info on underlying disk In Depth Reporting—Lists physical attributes, including WWN for the disk resources in a stripe group Get Quota Details Gets current quota usage and limits In Depth Reporting—Lists quota limits for users and groups. Also details user's current capacity utilization. Get Version Details Lists current StorNext & SNAPI rev In Depth Reporting—Lists build information Load Extents Pre-loads extents into file system Optimize performance—By pre-loading extents, the time required before first access of a file is minimized Set Concurrent Writes Enables concurrent writes for a file Control Write Process—Allows simultaneous file updates for applications supporting block level access Set Quota Details Sets current quota usage and limits Control Capacity Utilization—Sets quota limits for a specific user or group Set Read Hole Fail Causes reads from a hole to fail Control Read Behavior File System Stat Gets basic file system information In Depth Reporting / Monitoring—Lists the configuration attributes of the file system File Stat Plus Runs UNIX stat on a file and retrieves In Depth Reporting—Lists attributes of file in addition to data movement status (disk only, disk and tape, etc) StorNext specific data Swap Extents Swaps all extents for a file Optimize performance—Used in defrag to move data from a fragmented extent set to a more contiguous set STORAGE MANAGER APIs The Storage Manager API is designed to control the location of data files and allow in depth reporting. Data movement calls simplify management of storage capacity and enable faster access to archived files that reside on secondary storage. Additionally, tape handling calls are included to simplify and automate movement for bulk loading and unloading of disaster recovery media. Extensive reporting calls are also included to enable capacity planning and alerting and location of individual files on media.. Name Function Use Case EjectMedia Places media in mailbox for export or logically Storage Management—Simplifies off-siting of archive media by automating process of media eject "ejects" from vault EnterMedia Imports media to slot or logically "enter" to vault Storage Management—Simplifies process of importing archive media by automating process of media insert FileRetrieve Retrieves files from secondary storage Optimize Performance—Pulls files back to primary storage. Pre-staging reduces access time GetFileAttribute Provides file attributes specific to location on tiers In Depth Reporting—Lists tiers where file is located and if DR copies have been generated. GetFileTapeLocation Provides location information for the specified File Recovery and In Depth Reporting – Reports the media and physical block location where the specified file, including the copy ID, segment number, file resides. starting block, and segment size GetMediaList Lists media with specific attributes Media, capacity, and file management—Identifies media that are blank, suspect, etc. GetMediaStatus Lists attributes for a piece of media In Depth Reporting—Lists attributes of media including fill level, error count, write protect status. GetPortList List the identifier(s) for a library or vault Media movement—Provides identifiers used by StorNext when importing / exporting media MoveMedia Logically moves media between libraries Storage Management—Enabling feature for media movement between libraries (e.g. a local and remote) RmDiskCopy Removes files from primary disk Capacity Management—Frees up disk space. Used to automate file removal and reduce user interaction www.quantum.com
  • 3. STORNEXT API 2.0 (SNAPI) QUICK REFERENCE GUIDE: KEY FEATURES AND BENEFITS Name Function Use Case Storage Manager APIs for SNAPI 2.0 Backup Initiates a backup operation Backup/Recovery – Creates a backup of critical StorNext configuration and metadata for disaster recovery purposes. CheckOutMedia Checks out media Storage Management – The system puts the specified media in a temporary checkout state, allowing admin to remove and inspect suspect media. CleanMedia Cleans media by removing inactive files Media, Capacity, and File Management – Logically removes inactive file copies from the specified media, effectively removing the number of file copies needing to be managed. CopyMedia Copies media content to blank media Media, Capacity, and File Management – Physically copies all active files from the specified media to a blank media, effectively defragmenting the media. GetArchiveCapacity Provides the amount of remaining storage In Depth Reporting – Allows admin to monitor the total remaining space in all archives. capacity for all archives GetArchiveList Lists the current configuration settings for all In Depth Reporting – Reports the archive state, number of slots, serial number, firmware version, etc. archives GetBackupStatus Shows the current status or progress of a In Depth Reporting – Allows admin to monitor the state of the current or most recent StorNext backup backup in progress operation. GetDriveList Lists available drives and their attributes In Depth Reporting – Reports the drive state, mount status, serial number, firmware version, etc. for every drive. GetPolicy Provides configuration parameters for the In Depth Reporting – Reports the configured number of copies and max inactive versions for the specified specified policy policy class(es). GetSchedule Provides information about previously In Depth Reporting – Reports the configured time and most recent status of the scheduled backup scheduled events such as backups operation. GetSystemStatus Shows the current system status In Depth Reporting – Reports the state of every StorNext software component and the overall state. PassThru Executes one command line argument General – Executes any CLI shell command. SetArchiveState Sets the Archive State to ON or OFF Configuration Management – Allows control of any archive state. SetDirAttributes Sets the following directory attributes: Media, Capacity, and File Management – Allows exclusion (or inclusion) of directories from storage • Store (enable or disable) • Truncate (enable management policy control. or disable) • Policy class name for the directory SetDriveState Sets the Drive State to ON or OFF Configuration Management – Allows control of any drive state. SetFileAttributes Sets the following file attributes: Media, Capacity, and File Management – Allows exclusion (or inclusion) of files from storage management • Store (enable or disable) policy control. • Truncate (enable or disable) SetMediaState Sets the state for one or more pieces of media Configuration Management – Allows control of any media state. SetPolicy Sets the number of copies and the maximum Configuration Management – Allows configuration control of storage policy parameters. number of inactive versions for a policy class SetSchedule Specifies the schedule for a full or partial Configuration Management – Allows configuration control of scheduled StorNext backup operations. backup For contact and product information, About Quantum visit quantum.com, call 800-677-6268 or send Quantum Corp. (NYSE:QTM) is the leading global storage company an email to softwareinfo@quantum.com specializing in backup, recovery and archive. Combining focused expertise, customer-driven innovation, and platform independence, Quantum provides a comprehensive range of disk, tape, media and software solutions supported by a world-class sales and service organization. As a long-standing and trusted partner, the company works closely with a broad network of resellers, OEMs and other suppliers to meet customers' evolving data protection needs. Backup. Recovery. Archive. It’s What We Do. ©2007 Quantum Corporation. All rights reserved. Quantum, the Quantum logo, and all other logos are registered trademarks of Quantum Corporation or of their respective owners. DS00358 Aug 2007