Hp StoreEver ESL G3 Tape Libraries User Manual

Browse online or download User Manual for Storage Hp StoreEver ESL G3 Tape Libraries. HP StoreEver ESL G3 Tape Libraries User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 107
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
HP StoreEver Enterprise Systems Library (ESL)
G3 Tape Library Web Services
User Guide
Abstract
This guide provides information about the HP ESL G3 Web Services interface, which uses REpresentational State Transfer (REST)
architectural principals. This guide is intended for system administrators and IT personnel responsible for operating and
maintaining an ESL G3 library.
HP Part Number: QN998-96137
Published: June 2014
Edition: 2
Page view 0
1 2 3 4 5 6 ... 106 107

Summary of Contents

Page 1 - G3 Tape Library Web Services

HP StoreEver Enterprise Systems Library (ESL)G3 Tape Library Web ServicesUser GuideAbstractThis guide provides information about the HP ESL G3 Web Ser

Page 2

<role>0</role> <activeCount>2</activeCount> <ldap>false</ldap></ns2:user>For requests that perform creation

Page 3 - Contents

<status>N/A</status><value>0</value><unit>W</unit><location>Library PS #2 [Frame:#1, PS:#2]</location>

Page 4 - 4 Contents

<firmware> <component>Current</component> <version>665H.GS12501</version> </firmware> <firmware>

Page 5 - Contents 5

<description>OK</description> <summary>Operation Completed Successfully</summary> <action>Update Firmware</action

Page 6 - 6 Contents

URI: aml/usersMethod GETXML Response Data<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:userList

Page 7 - 1 Introduction

XML Response Data<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:WSResultCode xmlns:ns2="http:

Page 8 - 2 Interface description

B Regulatory informationFor important safety, environmental, and regulatory information, see Safety and ComplianceInformation for Server, Storage, Pow

Page 9

IndexAaml, 14aml/XML Response Data, 58aml/access/devices, 14XML Response Data, 58aml/access/group/{name}, 14XML Response Data, 60aml/access/group/{nam

Page 10

XML Response Data, 94aml/system/operations/shutdown, 47XML Response Data, 94aml/system/rasXML Response Data, 94aml/system/ras/ticket/{id}, 48XML Respo

Page 11 - Logging out

Table 1 HTTP status code description (continued)DescriptionHTTP status codeThe server is refusing to service the request because theentity of the requ

Page 12 - Getting started

For example, using the curl utility, where –b specifies the file where the original cookie is stored,and –X specifies the type of HTTP command to issu

Page 13 - Getting started 13

• Date and time: “URI: aml/system/dateTime” (page 87)• Network information: “URI: aml/system/network/interfaces” (page 45)• Partition information: “UR

Page 14 - 3 Resource

3 ResourceThe following lists the available resources for the HP ESL G3 Web Service interface. The informationprovides the URI to a particular resourc

Page 15

Response: application/xml and application/jsonParameters N/AResponse Code 200, 401, and 500Method POSTDescription Create a new Access Group with the n

Page 16 - 16 Resource

Response: application/xml and application/jsonParameters N/AResponse Code 200, 401, 404, and 500XML Request Data<?xml version="1.0" encod

Page 17

Media Type Request: application/xml and application/jsonResponse: application/xml and application/jsonParameters N/AResponse Code 200, 401, 404, and 5

Page 18 - URI: aml/access/host/{WWPN}

<WWPN>1234ABCD:1234ABCD</WWPN></ns2:ping>XML Response See “URI: aml/access/hosts” (page 65) for the XML Response code.URI: aml/acc

Page 19 - URI: aml/drive/{serialNumber}

Media Type Request: N/AResponse: application/xml and application/jsonParameters N/AResponse Code 200, 401, 403, 404, and 500XML Response See “URI: aml

Page 20 - 20 Resource

© Copyright 2014 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice. The only warranties fo

Page 21

Parameters N/AResponse Code 200, 400, 401, 403, 404, and 500XML Response See “URI: aml/drive/{serialNumber}” (page 66) for the XML Response code.URI:

Page 22 - URI: aml/drives

On the ESL G3 the ‘requested’ setting can only be modified, the ‘actual’ canNOT be modified. Only port id 1 can be modified.Media Type Request: applic

Page 23

To take a drive with serial number HU1041D06V offline you woulduse the following URI: aml/drive/HU1041D06V/mode, with theTEXT REQUEST DATA below.Media

Page 24 - URI: aml/enum/{component}

Media Type Request: N/AResponse: application/xml and application/jsonParameters N/AResponse Code 200, 401, and 500Method POSTDescription Upload a driv

Page 25 - URI: aml/media

URI: aml/drives/portsMethod GETDescription Retrieve all drive port resource instances.Media Type Request: N/AResponse: application/xml and application

Page 26 - URI: aml/partition/{name}

Parameters N/AResponse Code 200, 401, 404, and 500XML Response See “URI: aml/enum/{component}/element}” (page 74) for the XML Responsecode.URI: aml/me

Page 27

Media Type Request: application/xml and application/jsonResponse: application/xml and application/jsonParameters N/AResponse Code 200, 401, 403, 404,

Page 28 - 28 Resource

Description Modify the partition whose name is given by the URI path template “name”.The following URI aml/partition/LL2 and XML request data will mod

Page 29

Response: application/xml and application/jsonParameters N/AResponse Code 200, 401, 403, 404, and 500Example: Text Request Data30XML Response See “URI

Page 30 - XML Request Data (Example 4)

Response: application/xml and application/jsonParameters N/AResponse Code 200, 401, 404, and 500Method PUTDescription Update the control path settings

Page 31 - XML Request Data (Example 7)

Contents1 Introduction...7HTTP methods...

Page 32 - 32 Resource

</drive></ns2:driveList>XML Request Data (Example 2)<?xml version="1.0" encoding="UTF-8" standalone="yes&quo

Page 33

</controlPath> </settings> </drive></ns2:driveList>XML Request Data (Example 5)<?xml version="1.0" enco

Page 34 - 34 Resource

<primary>false</primary> <type>4</type> </controlPath> </settings> </drive></ns2:

Page 35

URI: aml/partition/{name}/modeMethod GETDescription Retrieve the current mode (Online/Offline) of the partitionwhose name is provided by the URI path

Page 36 - 36 Resource

Response: application/xml and application/jsonParameters N/AResponse Code 200, 401, 403, 404, and 500Example: Text Request DataNew Partition NameXML R

Page 37

XML Response See “URI: aml/partition/{name}/policy/driveCleaning” (page 81) forthe XML Response code.URI: aml/partition/{name}/policy/driveLevelingMet

Page 38 - 38 Resource

<vendor>HP</vendor> <type>LTO6</type> </firmwareFile> <firmwareFile> <name>LTO6_J2AW.frm</nam

Page 39

available, use the following URI: “URI:aml/physicalLibrary/segments” (page 42).Example 1. To add a drive to a partition you would sendthe request show

Page 40 - URI: aml/partitions

<row>1</row> <type>3</type> </coordinate> </segment></ns2:segmentList>XML Request Data (Examp

Page 41 - URI: aml/physicalLibrary

xmlns:ns2="http://automatedMediaLibrary/"> <segment> <coordinate> <frame>1</frame> <rack>1<

Page 42 - 42 Resource

URI: aml/physicalLibrary...41URI: aml/physicalLi

Page 43 - URI: aml/system/dateTime

<section>2</section> <column>4</column> <row>1</row> <type>2</type> </coord

Page 44 - URI: aml/system/network

Parameters N/AResponse Code 200, 401, 403, and 500XML Request Data<?xml version="1.0" encoding="UTF-8" standalone="yes&quo

Page 45

Range parameters:• start—0-n• length—1-n or -1 for all media.• frame—0- maximum number of frames• rack—1 or 2So to retrieve all elements in one call,a

Page 46 - 46 Resource

URI: aml/system/CVTLStationMethod GETDescription Report the HP CommandView TL Management Station registered with thelibrary.Media Type Request: N/ARes

Page 47 - URI: aml/system/ras/{group}

URI: aml/system/dateTime/timeZoneIDsMethod GETDescription Retrieve the available list of time zone IDs. When you are setting the timezone use the stri

Page 48 - 48 Resource

URI: aml/system/network/interfacesMethod GETDescription Retrieve the all network interfaces resources, eth0, eth1...Media Type Request: N/AResponse: a

Page 49 - URI: aml/system/saveRestore

Parameters N/AResponse Code 200, 401, and 500XML Response See “URI: aml/system/network/configurations” (page 92) for the XMLResponse code.URI: aml/sys

Page 50 - URI: aml/system/sensors

<type>2</type></ns2:netConfiguration>XML Request Data (Example 3)<ns2:netConfiguration xmlns:ns2="http://automatedMediaLib

Page 51

Media Type Request: N/AResponse: application/xml and application/jsonParameters N/AResponse Code 200, 401, 404, and 500XML Response See “URI: aml/syst

Page 52

XML Response See “URI: aml/system/ras/ticket/{id}/reports” (page 96) for the XMLResponse code.URI: aml/system/ras/ticketsMethod GETDescription Retriev

Page 53

URI: aml/drive/{serialNumber}...66URI: aml/drive/{serialN

Page 54

Response Code 200, 401, 403, 404, and 500Method POSTDescription Restore a saved configuration.Media Type Request: multipart/form-dataResponse: applica

Page 55 - 4 Support and other resources

Media Type Request: N/AResponse: application/xml and application/jsonParameters N/AResponse Code 200, 401, and 500Method POSTDescription Upload firmwa

Page 56 - Customer self repair

Description Update a user resource instance with the username represented by theparameter name.Media Type Request: application/xml and application/jso

Page 57 - 5 Documentation feedback

XML Request Data<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:user xmlns:ns2="http://automat

Page 58 - A XML responses for URIs

XML Request Data<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:user xmlns:ns2="http://automat

Page 59 - URI: aml/access/groups 59

4 Support and other resourcesContacting HPFor worldwide technical support information, see the HP support website:http://www.hp.com/supportBefore cont

Page 60 - URI: aml/access/group/{name}

Typographic conventionsTable 2 Document conventionsElementConventionCross-reference linksBlue text: Table 2 (page 56)email addressesBlue, bold, underl

Page 61

5 Documentation feedbackHP is committed to providing documentation that meets your needs. To help us improve thedocumentation, send any errors, sugges

Page 62 - 62 XML responses for URIs

A XML responses for URIsURI: aml/Method GETXML Response Data<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

Page 63 - Resource code description

<name>unknown</name> <type>0</type> <mode>1</mode> <WWPN>21FD0005:1EF52A81</

Page 64 - 64 XML responses for URIs

URI: aml/user...102URI: aml/users..

Page 65

<accessGroupName>AG1</accessGroupName> <serialNumber>273190048_LL0</serialNumber> <type>2</type

Page 66

Method POSTXML Response Data<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:accessGroup xmlns:ns2=

Page 67 - XML Response Data

<WWPN>AAAABBBB:AAAABBBB</WWPN> </host> </hostList> <accessDeviceList> <accessDevice> <serial

Page 68 - Method POST

<hostList> <host> <name>dummy</name> <type>2</type> <mode>0</mode> <WWPN&g

Page 69

URI: aml/access/group/{name}/hostsMethod POSTXML Response Data<?xml version="1.0" encoding="UTF-8" standalone="yes"?&

Page 70

<logicalSerialNumber>F001396025 </logicalSerialNumber> <type>1</type> <port> <id>1<

Page 71

<host> <name>Test</name> <type>2</type> <mode>0</mode> <WWPN>12345678:ABCDABCD</WWPN&

Page 72

<logicalSerialNumber>F001396019 </logicalSerialNumber> <address>50010ab2:400012aa</address> <coordinate> <fra

Page 73

xmlns:ns2="http://automatedMediaLibrary/"> <physicalSerialNumber>GB120401FD </physicalSerialNumber> <logicalSerialNum

Page 74

Resource code See “URI: aml/drive/{serialNumber}/operations/powerCycle”(page 20) for the Resource code description.URI: aml/drive/{serialNumber}/ports

Page 75

1 IntroductionWeb Services provides a scriptable interface for users who want to programmatically monitor orconfigure their ESL G3 tape libraries. Web

Page 76

Resource code See “URI: aml/drive/{serialNumber}/mode” (page 21) for the Resourcecode description.URI: aml/drive/{serialNumber}/logMethod GETXML Respo

Page 77

<bladeAttachedType>2</bladeAttachedType> </settings> <barcode>B00002LTO5</barcode> <sledSerialNumber>CMM010

Page 78 - 78 XML responses for URIs

Method POSTXML Response Data<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:WSResultCode xmlns:ns2

Page 79 - Method PUT

<port> <id>2</id> <type>2</type> <address>500308c00139601b</address> <t

Page 80 - 80 XML responses for URIs

<entry key="3" value="LTO2"/> <entry key="4" value="LTO3"/> <entry key="5"

Page 81

<entry key="4" value="LTO3"/> <entry key="5" value="LTO4"/> <entry key="55

Page 82 - 82 XML responses for URIs

<media> <barcode>100000L6</barcode> <mediaType>5</mediaType> <cartridgeType></cartridgeType> &

Page 83

xmlns:ns2="http://automatedMediaLibrary/"> <code>200</code> <description>OK</description> <summary>Opera

Page 84

<controlPath> <primary>true</primary> <type>2</type> <subType>2</subType> &l

Page 85

<portCount>2</portCount> </drive> ...</ns2:driveList>Method PUTXML Response Data<?xml version="1.0" encod

Page 86

2 Interface descriptionAs described in the introduction, HTTP is used as the application protocol for clients to makerequests to the Web Server (WS) a

Page 87

Resource code See “URI: aml/partition/{name}/controlPath” (page 28) for theResource code description.aml/partition/{name}/driveSerialNumbersMethod GET

Page 88

URI: aml/partition/{name}/policy/driveCleaningMethod PUTXML Response Data<?xml version="1.0" encoding="UTF-8" standalone="

Page 89

</firmwareFile></ns2:driveCleaningPolicy>Method PUTXML Response Data — Example 1<?xml version="1.0" encoding="UTF-8&qu

Page 90

</segment> <segment> <coordinate> <frame>3</frame> <rack>1</rack> <section>5</

Page 91

<vendor>HP</vendor></ns2:ping>Resource code See “URI: aml/partition/{name}/segments” (page 36) for the Resourcecode description.UR

Page 92 - 92 XML responses for URIs

<mode>1</mode> <state>1</state> <mediaInStorageCount>108</mediaInStorageCount> <mediaInDriveCount>1<

Page 93

... ...</ns2:elementList>Resource code See “URI: aml/physicalLibrary/elements” (page 41) for the Resourcecode description.URI: aml/physic

Page 94

<segment> <coordinate> <frame>0</frame> <rack>1</rack> <section>1</section> &

Page 95

<timezone>America/Denver</timezone> <itime>1345001642141</itime></ns2:dateTime>JSON Response Data{ "date":

Page 96 - 96 XML responses for URIs

<description>1 License</description> <expiration>Permanent</expiration> <installed>true</installed> <

Page 97

<barcodeReporting>4</barcodeReporting> <vendorId>1</vendorId> </partition></ns2:partitionList>The respons

Page 98

<installed>true</installed> </license> <license> <feature>Capacity On Demand</feature> <quantity>

Page 99

</netInterface> </netInterfaceList> <netConfigurationList> <netConfiguration> <name>eth0</name>

Page 100 - URI: aml/system/software

<location>N/A</location> <duplexMode>Full</duplexMode> <autoNegotiate>false</autoNegotiate> <speed>1<

Page 101

</netConfiguration></ns2:netConfigurationList>Resource code See “URI: aml/system/network/configurations” (page 45) for theResource code

Page 102 - URI: aml/user

<netGateway>10.20.168.1</netGateway> <ipAddress>10.20.171.17</ipAddress></ns2:netConfiguration>Resource code See “URI

Page 103 - URI: aml/users/login

<status>1</status> </RASGroupStatus> <RASGroupStatus> <group>6</group> <status>1</status>

Page 104 - URI: aml/users/sessions

<eventCode>0</eventCode> <groupStatus> <group>4</group> <status>4</status> </groupStatus> &

Page 105 - B Regulatory information

<postedDate>2013-05-29 13:17:36 +0000 </postedDate> <duplicates>7100</duplicates> <groupStatus>

Page 106 - 106 Index

Resource code See “URI: aml/system/ras/ticket/{id}/reports” (page 48) for theResource code description.URI: aml/system/ras/ticketsMethod GETXML Respon

Page 107

<group>4</group> <status>2</status> </groupStatus> <RASTicketState> <state>2</state

Comments to this Manuals

No comments