Hp XP Command View Advanced Edition Software Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Przechowywanie Hp XP Command View Advanced Edition Software. HP XP Command View Advanced Edition Software User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - CLI user guide

HP StorageWorks XP Command View Advanced Edition software Device Manager CLI user guide Reference number: T1780-96080 Tenth editio

Strona 2

Figures and Tables 10 Table 4-80 AddHost command parameters...

Strona 3 - Tenth edition: February 2008

Command line interface commands 100 clprNumber=-1 cuInfo= openTotalCapacity=418,184,640 openAllocatedCapacity=266,

Strona 4 - Contents

Command line interface commands 101 autoLunCapacity=0 onDemandCapacity=0 totalFreeSpace=3,223,296 largestFreeSpace

Strona 5

Command line interface commands 102 Command execution result: RESPONSE: An instance of StorageArray . . (Attributes of StorageArray ar

Strona 6

Command line interface commands 103 autoLunCapacityInGB=0 onDemandCapacityInGB=0 totalFreeSpaceInGB=110 largestFreeSpaceInGB=63

Strona 7

Command line interface commands 104 name=DKC Battery value=1 description=Normal An instance of Component name=

Strona 8 - Figures and Tables

Command line interface commands 105 Table 4-36 GetStorageArray (subtarget=Filter) command parameters Parameter Name Status Description

Strona 9

Command line interface commands 106 securityStatus=2 sequenceNumber=10001 displayArrayFamily=XP1024/128 displayerrayType=XP1024

Strona 10

Command line interface commands 107 Table 4-37 GetStorageArray (subtarget=Freespace) command parameters Parameter Name Status Descripti

Strona 11

Command line interface commands 108 openAutoLunCapacity=2,403,360 openOnDemandCapacity=0 imTotalCapacity=0 imAlloc

Strona 12 - About this guide

Command line interface commands 109 freeCapacity=76,943,520 autoLunCapacity=0 onDemandCapacity=0 totalFreeSpace=1,

Strona 13

Figures and Tables 11 Table 4-133 Items output when instance is ServerInfo ...

Strona 14

Command line interface commands 110 Table 4-38 GetStorageArray (subtarget=HostStorageDomain) command parameters Parameter Name Status D

Strona 15

Command line interface commands 111 Table 4-38 GetStorageArray (subtarget=HostStorageDomain) command parameters Parameter Name Status D

Strona 16

Command line interface commands 112 . . (repeated for other FreeLUN instances) . List of 1 Path ele

Strona 17

Command line interface commands 113 Table 4-39 GetStorageArray (subtarget=JournalPool) command parameters Parameter Name Status Descrip

Strona 18

Command line interface commands 114 List of 256 JournalPool elements: An instance of JournalPool objectID=***** poolFunc

Strona 19

Command line interface commands 115 defaultPortController=-1 isComposite=0 continuousAccessVolumeType=Simple

Strona 20 - Prerequisites

Command line interface commands 116 An instance of LogicalUnit objectID=***** devNum=3,025 displayNa

Strona 21 - Conventions: Abbreviations

Command line interface commands 117 Table 4-40 GetStorageArray (subtarget=LDEV) command parameters Parameter Name Status Description mo

Strona 22

Command line interface commands 118 Command execution example: In this example, the CLI command obtains information about a specific LDEV

Strona 23 - Documentation feedback

Command line interface commands 119 productName=1024 vendor= HP . . (repeated for other LDEV instances) . *****: The

Strona 24 - Device Manager overview

About this guide 12 About this guide This document describes and provides instructions for using the Command Line Interface (CLI) for HP S

Strona 25 - Manager components

Command line interface commands 120 onDemandCapacityInKB=0 totalFreeSpaceInKB=3,239,433,148 largestFreeSpaceInKB=516,113,664 multi

Strona 26

Command line interface commands 121 4-4-17-12 GetStorageArray (subtarget=LogicalUnit) GetStorageArray (subtarget=LogicalUnit) obtains th

Strona 27 - Component

Command line interface commands 122 Table 4-42 GetStorageArray (subtarget=LogicalUnit) command parameters Parameter Name Status Descrip

Strona 28

Command line interface commands 123 devCount=1 devType= capacityInKB=2,403,360 path=true commandDevice=false

Strona 29 - 2-1-1 System requirements

Command line interface commands 124 raidType=RAID5(3D+1P) substance=1 volumeType=3 slotSizeInKB=48

Strona 30

Command line interface commands 125 Table 4-43 GetStorageArray (subtarget=Path) command parameters Parameter Name Status Description su

Strona 31

Command line interface commands 126 domainID=0 scsiID=15 LUN=0 wwnSecurityValidity=true . . (repea

Strona 32 - • In Windows:

Command line interface commands 127 WWN=88.77.77.77.77.77.00.02 nickname=Jone *****: The value is encoded by the CLI.

Strona 33 - HDVM_CLI_JRE_PATH

Command line interface commands 128 objectID=***** chassis=1 arrayGroup=0 capacityInKB=75,497,472

Strona 34 - ○ In Windows:

Command line interface commands 129 Table 4-45 GetStorageArray (subtarget=Pool) command parameters Parameter Name Status Description mo

Strona 35

About this guide 13 Table 1 Revisions Date Edition Revision November 2006 Fifth • The following OSs are now supported (command line inte

Strona 36 - 3-1 Command line syntax

Command line interface commands 130 Command execution example: In this example, the GetStorageArray (subtarget=Pool) command obtains infor

Strona 37

Command line interface commands 131 differentialManagement=false snapshotPoolID=-1 journalPoolID=0

Strona 38

Command line interface commands 132 List of 2 ReplicationInfo elements: An instance of ReplicationInfo objectID=**

Strona 39 - 3-2 CLI return responses

Command line interface commands 133 sysVolFlag=0 externalVolume=0 differentialManagement=false sna

Strona 40 - 3-3 Displaying CLI help

Command line interface commands 134 Table 4-46 GetStorageArray (subtarget=Port) command parameters Parameter Name Status Description po

Strona 41

Command line interface commands 135 nickname=Jane An instance of WWN WWN=00.00.00.00.00.00.00.50 nic

Strona 42

Command line interface commands 136 Table 4-47 GetStorageArray (subtarget=PortController) command parameters Parameter Name Status Desc

Strona 43

Command line interface commands 137 Command execution result 2: RESPONSE: An instance of StorageArray . . (Attributes of StorageArray

Strona 44

Command line interface commands 138 Table 4-48 GetStorageArray (subtarget=ReplicationInfo) command parameters Parameter Name Status Des

Strona 45

Command line interface commands 139 List of 2 Lu elements: An instance of LogicalUnit objectID=***** dev

Strona 46

About this guide 14 Table 1 Revisions Date Edition Revision February 2007 Sixth • Device Manager CLI now supports HP-UX 11i v3 as a new

Strona 47

Command line interface commands 140 externalVolume=0 differrentialManagement=false SnapshotPoolID=-1

Strona 48

Command line interface commands 141 4-4-19 ModifyLogicalUnit ModifyLogicalUnit modifies the LU and its corresponding LDEV in a storage de

Strona 49

Command line interface commands 142 Command execution result: RESPONSE: An instance of StorageArray . . (Attributes of Storage

Strona 50 - 4-2 Supported CLI commands

Command line interface commands 143 Format when the command is used to change the usage rate threshold of a THP pool: hdvmcli [URL] Modify

Strona 51

Command line interface commands 144 status=0 threshold=75 threshold2=80 capacityInKB=31,458,240 freeCapacity

Strona 52

Command line interface commands 145 arrayGroup=64 raidType=RAID5(3D+1P) currentPortController=-1 d

Strona 53

Command line interface commands 146 4-4-21 ModifyPort ModifyPort changes port and host storage domain attributes (see parameters in Table

Strona 54

Command line interface commands 147 Table 4-52 ModifyPort command parameters Parameter Name Status Description fibreaddr Optional New

Strona 55

Command line interface commands 148 Table 4-52 ModifyPort command parameters Parameter Name Status Description nickname Optional (for X

Strona 56

Command line interface commands 149 Table 4-52 ModifyPort command parameters Parameter Name Status Description wwnnickname Optional (fo

Strona 57

About this guide 15 Table 1 Revisions Date Edition Revision Edition or Windows Server 2003 R2 x64 Edition, Device Manager CLI must be used

Strona 58

Command line interface commands 150 Table 4-53 Available values for setting the hostmode parameter for XP24000/XP20000, XP12000/XP10000/S

Strona 59 - 4-4 Storage array commands

Command line interface commands 151 Table 4-53 Available values for setting the hostmode parameter for XP24000/XP20000, XP12000/XP10000/S

Strona 60 - 4-4-2 AddHostStorageDomain

Command line interface commands 152 Table 4-53 Available values for setting the hostmode parameter for XP24000/XP20000, XP12000/XP10000/S

Strona 61

Command line interface commands 153 Table 4-54 hostModeOption parameter values and description hostModeOption Values Description 7 Specif

Strona 62

Command line interface commands 154 • Changes the value for the hostmode parameter to Standard, for the port's host storage domain (

Strona 63 - 4-4-3 AddLogicalUnit

Command line interface commands 155 4-4-22 ModifyPortController ModifyPortController supports changing characteristics of a PortControlle

Strona 64

Command line interface commands 156 NOTE: This command can be used only with XP24000/XP20000 storage subsystems. Format when the command

Strona 65

Command line interface commands 157 Table 4-56 ModifyVirtualVolume command parameters Parameter Name Status Description threshold Opti

Strona 66 - 4-4-4 AddLUSE

Command line interface commands 158 thpType=0 consumedCapacityInKB=0 thpPoolID=0 threshold=15 tcaPoolID=-1 *

Strona 67

Command line interface commands 159 . List of 1 CommParameters elements: An instance of CommParameters userID= root ipAdd

Strona 68

About this guide 16 Table 1 Revisions Date Edition Revision • The value that indicates the array group of a THP volume has been added to

Strona 69 - 4-4-5 AddPool

Command line interface commands 160 Table 4-58 AddLogicalGroup command parameters Parameter Name Status Description groupname Required

Strona 70

Command line interface commands 161 realCapacityInKB=0 percentUsed=0 numberOfLUNs=0 *****: The value is encoded by the CLI. Command

Strona 71

Command line interface commands 162 List of 94 HostStorageDomain elements: An instance of HostStorageDomain objectID=*****

Strona 72 - 4-4-6 AddStorageArray

Command line interface commands 163 Command execution example: hdvmcli AddObjectForLogicalGroup -o "D:\logs\XP1024 AddObjectForLogica

Strona 73

Command line interface commands 164 Command execution example: hdvmcli DeleteLogicalGroup -o "D:\logs\DeleteLogicalGroup.log" &

Strona 74

Command line interface commands 165 A user to whom a user-defined resource group is assigned can obtain information about logical groups t

Strona 75

Command line interface commands 166 portID=0 domainID=0 scsiID=15 LUN=8 wwnSecurityValidity=true . .

Strona 76 - 4-4-7 AddVirtualVolume

Command line interface commands 167 Command execution result 3: RESPONSE: An instance of LogicalGroup objectID=***** name=toro paren

Strona 77

Command line interface commands 168 Table 4-64 ModifyLogicalGroup command parameters Parameter Name Status Description parent Optional

Strona 78

Command line interface commands 169 Format for the XP24000/XP20000, XP12000/XP10000/SVS200, and XP1024/XP128: hdvmcli [URL] AddLun [optio

Strona 79

About this guide 17 Table 1 Revisions Date Edition Revision ○ openReservedCapacity ○ openReservedActualCapacity ○ numberOfReservedLUs ○

Strona 80

Command line interface commands 170 Table 4-65 AddLun command parameters Parameter Name Status Description devnum Optional Device numb

Strona 81

Command line interface commands 171 displayName=00:7F emulation=OPEN-8 cylinders=50 isComposite=1

Strona 82

Command line interface commands 172 thpPoolID=-1 threshold=-1 systemDisk=0 List of 1 WWN elements:

Strona 83 - 4-4-10 DeleteLogicalUnit

Command line interface commands 173 thpType=-1 consumedSizeInKB=-1 thpPoolID=-1 threshold=-1

Strona 84 - 4-4-11 DeleteLUSE

Command line interface commands 174 scsiID=15 LUN=120 wwnSecurityValidity=true *****: The value is encoded by the CLI. 4

Strona 85 - 4-4-13 DeleteStorageArray

Command line interface commands 175 . List of 1 Port elements: An instance of Port . . (Attributes of Port are omitted here) . L

Strona 86 - 4-4-14 DeleteVirtualVolume

Command line interface commands 176 Table 4-67 AddWWNForHostStorageDomain command parameters Parameter Name Status Description port Opt

Strona 87 - 4-4-15 FormatLU

Command line interface commands 177 Command execution example: hdvmcli AddWWNForHostStorageDomain -o "D:\logs\XP1024 AddWWNForHostSto

Strona 88

Command line interface commands 178 Table 4-68 AddWWNForLun command parameters Parameter Name Status Description domain Required Domai

Strona 89

Command line interface commands 179 Table 4-69 AddWWNForLunGroup command parameters Parameter Name Status Description serialnum Require

Strona 90

About this guide 18 Table 1 Revisions Date Edition Revision ○ svolHORCMMONHostName ○ svolHORCMINSTHostName • The license attribute has

Strona 91 - 4-4-16 GetArrayReservation

Command line interface commands 180 is 127. Only WWNs not used for a port can be added. WWNs already existing in a port cannot be added. A

Strona 92 - 4-4-17 GetStorageArray

Command line interface commands 181 . List of 1 WWNGroup elements: An instance of WWNGroup objectID=***** name

Strona 93

Command line interface commands 182 Command execution example: hdvmcli DeleteLun -o "D:\logs\XP1024 DeleteLun.log" "serialn

Strona 94

Command line interface commands 183 Table 4-73 DeleteWWN command parameters Parameter Name Status Description serialnum Required Seria

Strona 95

Command line interface commands 184 Table 4-74 DeleteWWNForHostStorageDomain command parameters Parameter Name Status Description domai

Strona 96

Command line interface commands 185 Table 4-75 DeleteWWNForLun command parameters Parameter Name Status Description port Optional Port

Strona 97

Command line interface commands 186 Table 4-76 DeleteWWNForLunGroup command parameters Parameter Name Status Description portname Optio

Strona 98

Command line interface commands 187 Command execution result: RESPONSE: (Command completed; no data returned) 4-6-14 ModifyLunGroup Modi

Strona 99

Command line interface commands 188 List of 1 Port elements: An instance of Port . . (Attributes of Port are omitted her

Strona 100

Command line interface commands 189 Table 4-79 ModifyWWNGroup command parameters Parameter Name Status Description nickname Optional U

Strona 101

About this guide 19 Table 1 Revisions Date Edition Revision ○ force ○ quickformat • In Device Manager CLI, descriptions have been added

Strona 102

Command line interface commands 190 A user who has only View permission cannot execute this command. A user to whom a user-defined resourc

Strona 103

Command line interface commands 191 Table 4-81 AddHostInfo command parameters Parameter Name Status Description hostname Required Name

Strona 104

Command line interface commands 192 • Host LUN: 1 • HBA WWN: 11.22.33.44.55.66.77.88 • LUN size: 10MB • LUN in use: 10% Command execut

Strona 105

Command line interface commands 193 Table 4-82 AddHostRefresh command parameter Parameter Name Status Description objectid Optional Sp

Strona 106

Command line interface commands 194 Command execution result: RESPONSE (Command completed; no data returned) 4-7-5 DeleteHostInfo Delete

Strona 107

Command line interface commands 195 Table 4-85 GetHost command parameters Parameter Name Status Description configfileid Optional Obje

Strona 108

Command line interface commands 196 pvolHostID=1 pvolInstanceNumber=11 pvolPortNumber=50,000 pvolHORCMMONH

Strona 109

Command line interface commands 197 Command execution result 2: RESPONSE: An instance of Host objectID=***** name=testmf capacityInK

Strona 110

Command line interface commands 198 osLun=1 portWWN=11.22.33.44.55.66.77.88 fileSystemType=NTFS fileSystemName=C: sizeInMB=10

Strona 111

Command line interface commands 199 Table 4-87 ModifyHost command parameters Parameter Name Status Description objectid Optional Objec

Strona 112

Legal notices © Copyright 2005, 2008 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required

Strona 113

About this guide 20 Table 1 Revisions Date Edition Revision ○ threshold ○ systemDisk • The following attributes have been added to the

Strona 114

Command line interface commands 200 *****: The value is encoded by the CLI. 4-7-9 ModifyHostInfo ModifyHostInfo modifies a HostInfo recor

Strona 115

Command line interface commands 201 Table 4-88 ModifyHostInfo command parameters Parameter Name Status Description devnum Optional New

Strona 116

Command line interface commands 202 serialNumber=10001 arrayType=XP1024 ipAddress=111.111.111.111 mountPoint=E: portID=7 domai

Strona 117

Command line interface commands 203 An instance of URLLink objectID=***** name=AUTO url=192.168.99.AA linkedID=***** description

Strona 118

Command line interface commands 204 Table 4-91 DeleteURLLink command parameters Parameter Name Status Description objectid Optional Th

Strona 119

Command line interface commands 205 Command execution example: hdvmcli GetAlerts -o D:\logs\GetAlerts.log "countfilter=2" "

Strona 120

Command line interface commands 206 Table 4-93 GetLogFile command parameters Parameter Name Status Description filename Required Name o

Strona 121

Command line interface commands 207 4-8-8 GetURLLink GetURLLink gets any or all URLLink objects in the Device Manager server (see Table 4

Strona 122

Command line interface commands 208 Modifying the debug level affects the amount of information written to the trace.log file, subsequent

Strona 123

Command line interface commands 209 Table 4-96 AddConfigFileForReplication command parameters Parameter Name Status Description pvolhos

Strona 124

About this guide 21 • Reviewing the Release Notes on the CD for any last-minute announcements Document conventions and symbols Table 2 Do

Strona 125

Command line interface commands 210 Table 4-96 AddConfigFileForReplication command parameters Parameter Name Status Description pvolpor

Strona 126

Command line interface commands 211 Table 4-96 AddConfigFileForReplication command parameters Parameter Name Status Description replica

Strona 127

Command line interface commands 212 Command execution example 1: (add pairs to the existing group in the configuration files). hdvmcli Add

Strona 128

Command line interface commands 213 Command execution result 3: RESPONSE (Command completed; no data returned) 4-9-2 AddReplication The

Strona 129

Command line interface commands 214 Table 4-97 AddReplication command parameters Parameter Name Status Description pvolportnum Optional

Strona 130

Command line interface commands 215 Table 4-97 AddReplication command parameters Parameter Name Status Description pvolpoolid Optional

Strona 131

Command line interface commands 216 Table 4-97 AddReplication command parameters Parameter Name Status Description munum Optional Spec

Strona 132

Command line interface commands 217 Table 4-98 GetHost command display and AddReplication command parameters Location of Value Displayed

Strona 133

Command line interface commands 218 Command execution result 1: RESPONSE: An instance of ReplicationGroup objectID=***** replicationGr

Strona 134

Command line interface commands 219 the primary volume (P-VOL), specify the logical device (LDEV 11, model number XP1024, and serial numbe

Strona 135

About this guide 22 Table 3 Conventions: Abbreviations Abbreviation Full name or meaning XP Business Copy Software This abbreviation is

Strona 136

Command line interface commands 220 number|pvolportname=port-name]] pvolpoolid=pool-ID svolarraytype=model svolserialnum=serial-number svo

Strona 137

Command line interface commands 221 status=1 muNumber=-1 copyTrackSize=14 splitTime=-1 *****: The values are encoded by th

Strona 138

Command line interface commands 222 Command execution example 1: This example deletes a copy pair for XP Continuous Access Synchronous So

Strona 139

Command line interface commands 223 Command execution result 2: RESPONSE (Command completed; no data returned) 4-9-4 GetReplicationContr

Strona 140

Command line interface commands 224 Command execution result 2: RESPONSE An instance of ReplicationControllerPair objectID=***** maste

Strona 141 - 4-4-19 ModifyLogicalUnit

Command line interface commands 225 Table 4-101 ModifyReplication command parameters Parameter Name Status Description svolserialnum Op

Strona 142 - 4-4-20 ModifyPool

Command line interface commands 226 Command execution result: RESPONSE: An instance of ReplicationGroup objectID=***** replicationGrou

Strona 143

Command line interface commands 227 4-10 Items output as command execution results This section lists the items that are output when Devi

Strona 144

Command line interface commands 228 Table 4-103 lists and describes the attributes of the ArrayGroup instance. Table 4-103 Items output w

Strona 145

Command line interface commands 229 Table 4-103 Items output when instance is ArrayGroup Attribute Description allocatedCapacity Total si

Strona 146 - 4-4-21 ModifyPort

About this guide 23 HP technical support Telephone numbers for worldwide technical support are listed on the HP support web site: http://w

Strona 147

Command line interface commands 230 Table 4-103 Items output when instance is ArrayGroup Attribute Description mfOnDemandCapacity Total s

Strona 148

Command line interface commands 231 4-10-3 Items output when instance is ArrayReservation The ArrayReservation instance is output when th

Strona 149

Command line interface commands 232 4-10-5 Items output when instance is Component The Component instance is output when the GetStorageAr

Strona 150

Command line interface commands 233 4-10-6 Items output when instance is ConfigFile The ConfigFile instance is output when the GetHost co

Strona 151

Command line interface commands 234 Table 4-109 Items output when instance is File Attribute Description name Log file name The log recor

Strona 152

Command line interface commands 235 Table 4-112 Items output when instance is Host Attribute Description objectID Object ID of the host n

Strona 153

Command line interface commands 236 Table 4-113 Items output when instance is HostInfo Attribute Description devNum Device number of the

Strona 154

Command line interface commands 237 Table 4-114 Items output when instance is HostStorageDomain Attribute Description hostMode Host conne

Strona 155 - 4-4-23 ModifyVirtualVolume

Command line interface commands 238 Table 4-114 Items output when instance is HostStorageDomain Attribute Description For XP1024/XP128:

Strona 156

Command line interface commands 239 Table 4-114 Items output when instance is HostStorageDomain Attribute Description hostModeOption Host

Strona 157

XP Command View Advanced Edition Device Manager overview 24 1 XP Command View Advanced Edition Device Manager overview This chapter provi

Strona 158 - 4-4-24 RefreshStorageArrays

Command line interface commands 240 Table 4-116 Items output when instance is JournalPool Attribute Description objectID Object ID of the

Strona 159 - 4-5 Logical group commands

Command line interface commands 241 • AddLUSE (see section 4-4-4 ) • AddVirtualVolume (see section 4-4-7 ) • FormatLU (see section 4-4-

Strona 160

Command line interface commands 242 Table 4-117 Items output when instance is LDEV Attribute Description volumeType Information about LDE

Strona 161 - 4-5-2 AddLunScan

Command line interface commands 243 Table 4-117 Items output when instance is LDEV Attribute Description diskType Type of the disk drive

Strona 162

Command line interface commands 244 Table 4-117 Items output when instance is LDEV Attribute Description status LDEV status One of the fo

Strona 163 - 4-5-4 DeleteLogicalGroup

Command line interface commands 245 Table 4-117 Items output when instance is LDEV Attribute Description thpPoolID Pool ID of the XP Thin

Strona 164 - 4-5-6 GetLogicalGroup

Command line interface commands 246 4-10-18 Items output when instance is LogicalGroup The LogicalGroup instance is output when the follo

Strona 165

Command line interface commands 247 • GetStorageArray (subtarget=ReplicationInfo) (see section 4-4-17-18 ) • ModifyLogicalUnit (see sec

Strona 166

Command line interface commands 248 Table 4-120 Items output when instance is LogicalUnit Attribute Description chassis Number of the cha

Strona 167 - 4-5-7 ModifyLogicalGroup

Command line interface commands 249 Table 4-120 Items output when instance is LogicalUnit Attribute Description journalVolumeType Volume

Strona 168 - 4-6 LUN commands

XP Command View Advanced Edition Device Manager overview 25 1-2 XP Command View Advanced Edition Device Manager components XP Command Vie

Strona 169

Command line interface commands 250 Table 4-120 Items output when instance is LogicalUnit Attribute Description consumedCapacityInKB Spac

Strona 170

Command line interface commands 251 • AddWWNForLunGroup (see section 4-6-5 ) • GetStorageArray (subtarget=Port) (see section 4-4-17-16

Strona 171

Command line interface commands 252 4-10-23 Items output when instance is PairedPortController The PairedPortController instance is outpu

Strona 172

Command line interface commands 253 Table 4-125 Items output when instance is Path Attribute Description wwnSecurityValidity Indicates wh

Strona 173

Command line interface commands 254 Table 4-126 Items output when instance is PDEV Attribute Description dkuType Type of the disk unit co

Strona 174 - 4-6-2 AddLunGroup

Command line interface commands 255 Table 4-127 Items output when instance is Pool Attribute Description controllerID ID of the disk cont

Strona 175

Command line interface commands 256 Table 4-127 Items output when instance is Pool Attribute Description capacityInKB Capacity of the jou

Strona 176

Command line interface commands 257 Table 4-128 Items output when instance is Port Attribute Description objectID Object ID of the port n

Strona 177 - 4-6-4 AddWWNForLun

Command line interface commands 258 Table 4-128 Items output when instance is Port Attribute Description portRole Port attribute One of t

Strona 178 - 4-6-5 AddWWNForLunGroup

Command line interface commands 259 Table 4-129 Items output when instance is PortController Attribute Description mode Mode of the port

Strona 179 - 4-6-6 AddWWNGroup

XP Command View Advanced Edition Device Manager overview 26 Table 1-1 Functions supported by Device Manager CLI Function Storage Subsyste

Strona 180

Command line interface commands 260 Table 4-129 Items output when instance is PortController Attribute Description For XP1024/XP128: •

Strona 181 - 4-6-7 DeleteLun

Command line interface commands 261 4-10-29 Items output when instance is ReplicationControllerPair The ReplicationControllerPair instanc

Strona 182 - 4-6-9 DeleteWWN

Command line interface commands 262 Table 4-131 Items output when instance is ReplicationGroup Attribute Description groupName Name of th

Strona 183

Command line interface commands 263 • AddReplication (see section 4-9-2 ) • DeleteReplication (see section 4-9-3 ) • GetHost (see secti

Strona 184 - 4-6-11 DeleteWWNForLun

Command line interface commands 264 Table 4-132 Items output when instance is ReplicationInfo Attribute Description fenceLevel Fence leve

Strona 185 - 4-6-12 DeleteWWNForLunGroup

Command line interface commands 265 Table 4-133 Items output when instance is ServerInfo Attribute Description buildVersion Version and b

Strona 186 - 4-6-13 DeleteWWNGroup

Command line interface commands 266 • GetStorageArray (subtarget=Filter) (see section 4-4-17-6 ) • GetStorageArray (subtarget=FreeSpace

Strona 187 - 4-6-14 ModifyLunGroup

Command line interface commands 267 Table 4-134 Items output when instance is StorageArray Attribute Description sharedMemoryInMB Size of

Strona 188 - 4-6-15 ModifyWWNGroup

Command line interface commands 268 Table 4-134 Items output when instance is StorageArray Attribute Description slprStatus SLPR status o

Strona 189 - 4-7-1 AddHost

Command line interface commands 269 Table 4-134 Items output when instance is StorageArray Attribute Description numberOfUnallocatedMfLDE

Strona 190 - 4-7-2 AddHostInfo

XP Command View Advanced Edition Device Manager overview 27 HP StorageWorks XP Command View Advanced Edition software Device Manager web c

Strona 191

Command line interface commands 270 Table 4-134 Items output when instance is StorageArray Attribute Description numberOfOpenReservedLUs

Strona 192 - 4-7-3 AddHostRefresh

Command line interface commands 271 Table 4-136 Items output when instance is VolumeConnection Attribute Description mappedDevNum Device

Strona 193 - 4-7-4 DeleteHost

Command line interface commands 272 • GetStorageArray (subtarget=Port) (see section 4-4-17-16 ) • ModifyWWNGroup (see section 4-6-15 )

Strona 194 - 4-7-6 GetHost

Command line interface commands 273 4-11-1-1 Batch file format and input rules The batch file format is as follows: beginbatch hdvmcli

Strona 195

Command line interface commands 274 portname parameter is specified. For this reason, to execute such commands together, the parameters ne

Strona 196

Command line interface commands 275 4-11-1-4 Examples of batch file creation The following shows an example of a batch file created acco

Strona 197 - 4-7-7 GetHostInfo

Command line interface commands 276 description= XP12000 (14053) at 10.208.116.108 serialNumber=14053 arrayFamily=XP12K/10K/SVS200

Strona 198 - 4-7-8 ModifyHost

Command line interface commands 277 numberOfUnallocatedMfLDEVs=0 productCode=2 lastRefreshed=1,153,456,561 autoFormatLU=1 status

Strona 199

Command line interface commands 278 4-11-3-1 When the target storage subsystem is other than XP24000/XP20000, or is an XP24000/XP20000 w

Strona 200 - 4-7-9 ModifyHostInfo

Command line interface commands 279 Table 4-143 Actions to take for storage subsystem error codes Storage subsystem error code Action 100

Strona 201

XP Command View Advanced Edition Device Manager overview 28 To download the Device Manager CLI from the Device Manager server: 1. In the

Strona 202 - 4-8-1 AddURLLink

Command line interface commands 280 Table 4-143 Actions to take for storage subsystem error codes Storage subsystem error code Action 100

Strona 203 - 4-8-3 DeleteURLLink

Command line interface commands 281 • Mainframe volume information (VOLSER and DEVN) • Logical DKC serial number of a storage subsystem

Strona 204 - 4-8-4 GetAlerts

Command line interface commands 282 2. From the execution result of the AddHost command, make sure that specified information is correctl

Strona 205 - 4-8-6 GetLogFile

Command line interface commands 283 Notes on executing the AddURLLink command: If the name parameter is specified incorrectly, the mainfra

Strona 206 - 4-8-7 GetServerInfo

Command line interface commands 284 Example of executing the command: Hdvmcli AddHostRefresh -o "D:\logs\AddHostRefresh.log" &q

Strona 207 - 4-8-9 ModifyDebugLevel

Command line interface commands 285 *****: The values are encoded by the CLI. 4-12-4 Acquiring mainframe agent information registered in

Strona 208 - 4-9 Replication commands

Command line interface commands 286 4-12-6 Deleting mainframe agent information registered in the Device Manager To delete the mainframe

Strona 209

Command line interface commands 287 NOTE: When you change the host name, specify the host name that was set in the initialization paramet

Strona 210

Command line interface commands 288 4-13 Example of Device Manager CLI commands This section gives an example of applying Device Manager

Strona 211

Command line interface commands 289 Example of executing the command: hdvmcli GetHost Example of output from executing the command: RESPO

Strona 212

Setting up command line interface 29 2 Setting up command line interface This chapter describes the system requirements and startup instr

Strona 213 - 4-9-2 AddReplication

Command line interface commands 290 4. Register a new host, assigning to it the WWNs that were deleted in step 2. Command format: hdvmcli

Strona 214

Using the Device Manager properties file 291 5 Using the Device Manager properties file This chapter describes how to specify options and

Strona 215

Using the Device Manager properties file 292 Table 5-1 Example of the properties file (in Windows) # Device Manager Command Line In

Strona 216

Using the Device Manager properties file 293 NOTE: When true is set in a property file for an option without an argument, it cannot be ov

Strona 217

Using the Device Manager properties file 294 The following example specifies C:\Temp\diag.log for the output destination: hdvmcli.logfile=

Strona 218

Using the Device Manager properties file 295 Manager request. The command line option -i or --input specifies the input file. The other op

Strona 219

Using the Device Manager properties file 296 When you specify the saved file that contains the preceding message, you can create multiple

Strona 220

Using the Device Manager properties file 297 6. At the CLI prompt, enter the the following command: do getserverinfo You will see output

Strona 221 - 4-9-3 DeleteReplication

Using the Device Manager properties file 298 C:\hdvm>type getserv.inp <?xml version="1.0" encoding="UTF-8"?>

Strona 222

Using the Device Manager properties file 299 5-4-7 Output format of execution results Command results are output in the standard format s

Strona 223

This product includes altered versions of software originally developed by Henry Spencer. Reference number: T1780-96080 Tenth edition: Februa

Strona 224 - 4-9-5 ModifyReplication

Setting up command line interface 30 Table 2-1 Platform, Java Runtime Environment, and IPv6 environment support for Device Manager CLI OS

Strona 225

Using the Device Manager properties file 300 Figure 5-1 Output image of an execution result of Device Manager CLI (CSV format) The execut

Strona 226

Using the Device Manager properties file 301 When an execution result is output in XML format, an XML declaration, a DOCTYPE declaration,

Strona 227

Troubleshooting 302 6 Troubleshooting If there is a problem with Device Manager CLI: • Make sure that the problem is not being caused by

Strona 228

Troubleshooting 303 Table 6-1 General troubleshooting information Problem Cause Recommended Action The following error message is displa

Strona 229

Appendix A 304 Appendix A Using a DTD with Device Manager CLI To use a Document Type Definition (DTD), you must create a DTD using the fol

Strona 230

Appendix A 305 <!ATTLIST DvMCLIResult version CDATA #IMPLIED> <!ATTLIST CommandResult command CDATA #IMPLIED> <!ATTLIST

Strona 231

Appendix A 306 <!ATTLIST StorageArray numberOfAllocatedLUs CDATA #IMPLIED> <!ATTLIST StorageArray numberOfUnallocatedLUs CDATA #I

Strona 232

Appendix A 307 <!ATTLIST ArrayGroup name CDATA #IMPLIED> <!ATTLIST ArrayGroup chassis CDATA #IMPLIED> <!ATTLIST ArrayGroup

Strona 233

Appendix A 308 <!ATTLIST ArrayGroup openReservedCapacity CDATA #IMPLIED> <!ATTLIST ArrayGroup openReservedActualCapacity CDATA #I

Strona 234

Appendix A 309 <!ATTLIST HostInfo fileSystemName CDATA #IMPLIED> <!ATTLIST HostInfo sizeInMB CDATA #IMPLIED> <!ATTLIST Host

Strona 235

Setting up command line interface 31 Table 2-1 Platform, Java Runtime Environment, and IPv6 environment support for Device Manager CLI OS

Strona 236

Appendix A 310 <!ATTLIST LDEV raidType CDATA #IMPLIED> <!ATTLIST LDEV substance CDATA #IMPLIED> <!ATTLIST LDEV volumeType C

Strona 237

Appendix A 311 <!ATTLIST LogicalUnit objectID CDATA #IMPLIED> <!ATTLIST LogicalUnit name CDATA #IMPLIED> <!ATTLIST LogicalU

Strona 238

Appendix A 312 <!ATTLIST PairedJournalPool pairedSerialNumber CDATA #IMPLIED> <!ATTLIST PairedJournalPool pairedPoolID CDATA #IMP

Strona 239

Appendix A 313 <!ATTLIST Pool name CDATA #IMPLIED> <!ATTLIST Pool poolFunction CDATA #IMPLIED> <!ATTLIST Pool poolID CDATA

Strona 240

Appendix A 314 <!ATTLIST PortController card CDATA #IMPLIED> <!ATTLIST PortController controllerID CDATA #IMPLIED> <!ATTLIS

Strona 241

Appendix A 315 <!ATTLIST WWNGroup objectID CDATA #IMPLIED> <!ATTLIST WWNGroup name CDATA #IMPLIED> <!ATTLIST WWNGroup nick

Strona 242

Glossary Glossary 316 Glossary Glossary term Definition AL arbitrated loop API application program interface ASL array support library C

Strona 243

Glossary 317 Glossary term Definition OS operating system PDEV physical device P-VOL primary volume (for XP Business Copy Software or XP

Strona 244

Index 318 Index B batch: execution example, 275; execution results, 275 batch file to execute command, 272 D document: providing feedback,

Strona 245

Setting up command line interface 32 NOTE: If the system on which HP-UX operates uses a Dual-Core Intel(R) Itanium(R) 2 Processor for the

Strona 246

Setting up command line interface 33 NOTE: If the value of HDVM_CLI_MEM_SIZE is less than what is required by a CLI command, CLI terminat

Strona 247

Setting up command line interface 34 If you do not know the installation directory for the Common Component, you can check the directory i

Strona 248

Setting up command line interface 35 <device-manager-cli-installation-folder>\DeviceManagerCerts ○ In Solaris, Linux or HP-UX: <

Strona 249

Command line interface syntax and parameters 36 3 Command line interface syntax and parameters This chapter discusses the following: • C

Strona 250

Command line interface syntax and parameters 37 NOTE: When you specify options in the properties file, you can omit them on the command l

Strona 251

Command line interface syntax and parameters 38 Table 3-1 hdvmcli options Option Argument Status Description -o or --output Filename 2 O

Strona 252

Command line interface syntax and parameters 39 Each command may have required parameters, optional parameters, or both, and you can speci

Strona 253

Contents 4 Contents Figures and Tables Figures ...

Strona 254

Command line interface syntax and parameters 40 Table 3-2 Return values Return Values Description 1 CLI found errors within its process

Strona 255

Command line interface syntax and parameters 41 DeleteLun AddHostStorageDomain DeleteHostStorageDomain Add

Strona 256

Command line interface syntax and parameters 42 GetArrayReservation FOR COMMAND-SPECIFIC HELP, TYPE: "hdvmcli help {server-c

Strona 257

Command line interface syntax and parameters 43 required; others, optional. Domain N

Strona 258

Command line interface syntax and parameters 44 Table 3-3 Notes on executing CLI commands Item Description Related Commands Changing the

Strona 259

Command line interface commands 45 4 Command line interface commands This chapter discusses the following topics: • Extracting parameter

Strona 260

Command line interface commands 46 Table 4-1 describes which CLI commands can be used to find which parameter values. Table 4-1 Extractin

Strona 261 - ReplicationControllerPair

Command line interface commands 47 Table 4-1 Extracting parameter values To Find This Parameter Value: Do This: domain Execute the GetSto

Strona 262

Command line interface commands 48 Table 4-1 Extracting parameter values To Find This Parameter Value: Do This: munum Obtain this value f

Strona 263

Command line interface commands 49 Table 4-1 Extracting parameter values To Find This Parameter Value: Do This: pvolpoolid Obtain this va

Strona 264

Contents 5 4-4-6 AddStorageArray...

Strona 265

Command line interface commands 50 4-2 Supported CLI commands Table 4-2 through Table 4-7 give details about Device Manager CLI commands.

Strona 266

Command line interface commands 51 Table 4-2 Storage array commands Storage Subsystems Command Name Description XP24000/XP20000 XP12000/

Strona 267

Command line interface commands 52 NOTE: You can use the subtarget parameter to specify the device information. Available values are: • s

Strona 268

Command line interface commands 53 Table 4-4 LUN commands Storage Subsystems Command Name Description XP24000/XP20000 XP12000/ XP10000/

Strona 269

Command line interface commands 54 Table 4-5 Host management commands Command Name Description Sub- sectionDeleteHostInfo Deletes host-

Strona 270

Command line interface commands 55 Table 4-7 Replication commands Storage Subsystems Command Name Description XP24000/XP20000 XP12000/ X

Strona 271

Command line interface commands 56 Table 4-8, Table 4-9, Table 4-10, Table 4-11, Table 4-12, and Table 4-13 list commands and show their a

Strona 272 - 4-11-1 Creating batch files

Command line interface commands 57 Table 4-9 Availability of logical group commands based on resource group and user permission All Resou

Strona 273

Command line interface commands 58 Table 4-11 Availability of host management commands based on resource group and user permission All Re

Strona 274

Command line interface commands 59 Table 4-13 Availability of replication commands based on resource group and user permission All Resour

Strona 275 - objectID=*****

Contents 6 4-7-1 AddHost...

Strona 276

Command line interface commands 60 • AddWWNForLunGroup • DeleteWWNForLunGroup • AddLogicalUnit • DeleteLogicalUnit • ModifyLogicalUni

Strona 277

Command line interface commands 61 Table 4-15 AddHostStorageDomain command parameters Parameter Name Status Description domain Optional

Strona 278

Command line interface commands 62 Table 4-15 AddHostStorageDomain command parameters Parameter Name Status Description • Sequent • H

Strona 279

Command line interface commands 63 Table 4-15 AddHostStorageDomain command parameters Parameter Name Status Description XP10000/ SVS200

Strona 280

Command line interface commands 64 NOTE: For XP12000/XP10000/SVS200, logical units cannot be created in array groups with chassis numbers

Strona 281

Command line interface commands 65 Table 4-16 AddLogicalUnit command parameters Parameter Name Status Description capacity Required De

Strona 282 - Device Manager

Command line interface commands 66 Command execution example: In this example, the CLI command creates a logical unit (capacity: 1,000,080

Strona 283

Command line interface commands 67 using logical devices that the user is permitted to access. If LDEVs that are not allowed are specified

Strona 284

Command line interface commands 68 path=false commandDevice=false commandDeviceEx=0 commandDeviceSecurity=false

Strona 285

Command line interface commands 69 systemDisk=0 An instance of LDEV objectID=***** devNum=1,002

Strona 286

Contents 7 4-10-37 Items output when instance is WWNGroup...

Strona 287

Command line interface commands 70 • It has a guard mode of Read/Write. • It has an emulation type of OPEN-V. • It is not an XP Thin Pr

Strona 288

Command line interface commands 71 Command execution result: RESPONSE: An instance of StorageArray . . (Attributes of StorageArray ar

Strona 289

Command line interface commands 72 thpPoolID=0 threshold=-1 tcaPoolID=-1 An instance of LogicalUnit

Strona 290

Command line interface commands 73 NOTE: When using the AddStorageArray command to register storage subsystem information, HP recommends

Strona 291

Command line interface commands 74 Table 4-19 AddStorageArray command parameters Parameter Name Status Description searchcommunity Opti

Strona 292

Command line interface commands 75 Command execution result: RESPONSE: An instance of StorageArray objectID=***** [email protected]

Strona 293

Command line interface commands 76 numberOfOpenUnallocatedLUs=990 numberOfImAllocatedLUs=0 numberOfImUnallocatedLUs=0 numberOfMfLD

Strona 294 - 5-4-3 Message trace output

Command line interface commands 77 Format when the command is used to create THP volumes in an existing virtual volume group: hdvmcli [URL

Strona 295

Command line interface commands 78 Table 4-20 AddVirtualVolume command parameters Parameter Name Status Description numoflus Optional

Strona 296

Command line interface commands 79 diskType= diskSize=-1 diskSizeInKB=-1 controllerID=-1 totalCapacity=419,4

Strona 297

Figures and Tables 8 Figures and Tables Figures Figure 3-1 Example of CLI help for the AddLun command...

Strona 298

Command line interface commands 80 businessCopyVolumeType=Simplex snapshotVolumeType=Simplex journalVolumeTy

Strona 299

Command line interface commands 81 commandDeviceSecurity=false chassis=16,485 arrayGroup=199 raidT

Strona 300

Command line interface commands 82 sizeInKB=2,801,729,280 cylinders=0 fsControlIndex=0 *****: The value is e

Strona 301 - 5-4-10 Specifying a DTD

Command line interface commands 83 Table 4-22 DeleteHostStorageDomain command parameters Parameter Name Status Description domain Optio

Strona 302 - 6 Troubleshooting

Command line interface commands 84 Table 4-23 DeleteLogicalUnit command parameters Parameter Name Status Description devnum Required T

Strona 303

Command line interface commands 85 Command execution result: RESPONSE: (Command completed; empty list returned) 4-4-12 DeletePool Delet

Strona 304 - Appendix A

Command line interface commands 86 NOTE: If execution of the DeleteStorageArray command results in an error, take appropriate action acco

Strona 305

Command line interface commands 87 Table 4-27 DeleteVirtualVolume command parameters Parameter Name Status Description model Required

Strona 306

Command line interface commands 88 NOTE: When formatting the LDEV, make sure that the value of the status attribute of the LDEV is Blocke

Strona 307

Command line interface commands 89 Command execution example: hdvmcli -t formatlu model=XP12000 serialnum=82893 devnums=3:E8,3:E9 Comman

Strona 308

Figures and Tables 9 Table 4-28 FormatLU command parameters ...

Strona 309

Command line interface commands 90 slotSizeInKB=64 chassis=1 arrayGroup=144 path=false o

Strona 310

Command line interface commands 91 displayName=03:E9 emulation=OPEN-V cylinders=0 isComposite=0

Strona 311

Command line interface commands 92 4-4-17 GetStorageArray GetStorageArray obtains information about storage subsystems managed by the Dev

Strona 312

Command line interface commands 93 Table 4-29 Element information that can be acquired by using the parameter subtarget Value of subtarge

Strona 313

Command line interface commands 94 Table 4-30 subinfo parameters that can be used together with the parameter subtarget Value of the para

Strona 314

Command line interface commands 95 Table 4-30 subinfo parameters that can be used together with the parameter subtarget Value of the para

Strona 315

Command line interface commands 96 Table 4-31 shows examples of specifying the parameter subtarget and the subinfo parameters. Table 4-31

Strona 316 - Glossary

Command line interface commands 97 microcodeVersion=01-13-56/00 agentVersion=02-01-06/00 productName=XP512 controllerVersion=01-18

Strona 317

Command line interface commands 98 statusOfDBInconsistency=0 openAllocatedActualCapacity=1,038,504,240 openUnallocatedCapacity=355,4

Strona 318

Command line interface commands 99 Table 4-33 GetStorageArray (subtarget=ArrayGroup) command parameters Parameter Name Status Descripti

Komentarze do niniejszej Instrukcji

Brak uwag