Device Manager CLI User Guide
Total Page:16
File Type:pdf, Size:1020Kb
HP StorageWorks Command View XP Advanced Edition software Device Manager CLI user guide Part number: T1780-96038 Sixth Edition: February 2007 Legal notices © Copyright 2005, 2007 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. AIX and IBM are registered trademarks of International Business Machines Corporation. BSAFE is a registered trademark or trademark of RSA Security Inc. in the United States and/or other countries. Emulex is a registered trademark of Emulex Corporation in the United States and other countries. Itanium is a registered trademark of Intel Corporation or its subsidiaries in the United States and other countries. Java, JDK, and Sun are trademarks of Sun Microsystems, Inc. in the United States and other countries. Linux is a registered trademark of Linus Torvalds. Microsoft and Windows are registered trademarks of Microsoft Corporation. NetWare is a registered trademark of Novell, Inc. RC2 is a registered trademark or trademark of RSA Security Inc. in the United States and/or other countries. RC4 is a registered trademark or trademark of RSA Security Inc. in the United States and/or other countries. RSA is a registered trademark or trademark of RSA Security Inc. in the United States and/or other countries. All SPARC trademarks, including the SCD Compliant logo, are registered trademarks of SPARC International, Inc. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. VERITAS is a trademark or registered trademark of Symantec Corporation in the U.S. and other countries. All other brand or product names are or may be trademarks or service marks of and are used to identify products or services of their respective owners. This product includes software developed by the Apache Software Foundation (http://www.apache.org/). This product includes software developed by Ben Laurie for use in the Apache-SSL HTTP server project. This product includes software developed by Ralf S. Engelschall <[email protected]> for use in the mod_ssl project (http://www.modssl.org/). This product includes software developed by Greg Stein <[email protected]> for use in the mod_dav module for Apache (http://www.webdav.org/mod_dav/). HP StorageWorks Command View XP Advanced Edition software includes RSA BSAFE Cryptographic software from RSA Security Inc. Portions of this software were developed at the National Center for Supercomputing Applications (NCSA) at the University of Illinois at Urbana-Champaign. This product includes software developed by the University of California, Berkeley and its contributors. This software contains code derived from the RSA Data Security Inc. MD5 Message-Digest Algorithm, including various modifications by Spyglass Inc., Carnegie Mellon University, and Bell Communications Research, Inc (Bellcore). This product includes altered versions of software originally developed by Henry Spencer. Part number: T1780-96038 Sixth Edition: February 2007 Contents About this guide Revision history...................................................................................................................................... 10 Intended audience ................................................................................................................................. 12 Prerequisites.......................................................................................................................................... 12 Document conventions and symbols.......................................................................................................... 12 HP technical support............................................................................................................................... 13 Subscription service................................................................................................................................ 13 HP web sites ......................................................................................................................................... 13 Documentation feedback......................................................................................................................... 14 1 Command View XP Advanced Edition Device Manager overview 1-1 Overview of Command View XP Advanced Edition Device Manager.................................................. 15 1-2 Command View XP Advanced Edition Device Manager software components...................................... 15 1-3 Command View XP AE Suite Common Component........................................................................... 16 1-4 Related software products ............................................................................................................. 16 1-5 Downloading CLI from the Device Manager server ........................................................................... 16 2 Setting up command line interface 2-1 Requirements for CLI operations..................................................................................................... 17 2-1-1 System requirements ........................................................................................................... 17 2-1-2 Device Manager CLI memory requirements............................................................................ 18 2-1-3 Requirements for connecting to the Device Manager server...................................................... 19 2-2 Java environment settings.............................................................................................................. 19 2-2-1 How to configure Java environment ...................................................................................... 19 2-2-2 Using the same JRE as the Device Manager server.................................................................. 20 2-2-3 When upgrading the Device Manager.................................................................................. 20 2-3 Starting the CLI ............................................................................................................................ 20 2-4 Executing Device Manager CLI commands over HTTPS ..................................................................... 21 3 Command line interface syntax and parameters 3-1 Command line syntax................................................................................................................... 22 3-2 CLI return responses ..................................................................................................................... 24 3-3 Displaying CLI help ...................................................................................................................... 24 3-3-1 Basic help information for Device Manager CLI...................................................................... 25 3-3-2 Command help information for Device Manager CLI............................................................... 26 3-3-3 Batch help information for the Device Manager CLI ................................................................ 27 3-4 Guidelines for executing CLI commands.......................................................................................... 27 4 Command line interface commands 4-1 Extracting parameter values .......................................................................................................... 29 4-2 Supported CLI commands ............................................................................................................. 32 4-3 Restrictions for use of Device Manager CLI commands and resources ................................................. 36 4-4 Storage array commands.............................................................................................................. 38 4-4-1 AddArrayReservation.......................................................................................................... 38 4-4-2 AddHostStorageDomain ..................................................................................................... 39 4-4-3 AddLogicalUnit .................................................................................................................. 41 4-4-4 AddLUSE .......................................................................................................................... 44 4-4-5 AddStorageArray............................................................................................................... 46 4-4-6 DeleteArrayReservation....................................................................................................... 48 4-4-7 DeleteHostStorageDomain................................................................................................... 48 4-4-8 DeleteLogicalUnit ............................................................................................................... 49 4-4-9 DeleteLUSE.......................................................................................................................