HP XP P9500 HP P9000 RAID Manager Reference Guide (T1610-96037, October 2011) - Page 187

Options and parameters, Examples, Deleting a host group of CL1-A-0 from the resource group: sql_srv.

Page 187 highlights

Options and parameters Option -resource_name -ldev_id ... -port -port -parity_grp -external_grp_id Description Specifies a resource group name. Up to 32 characters can be specified. Specifies a CU:LDEV hexadecimal address double octet or an LDEV number (0-65279) or a range. For example: • -ldev_id AB:CD • -ldev_id 43981 • -ldev_id 01:2C-01:31 Specifies a port number. Specifies the number of the port whose attribute is ELUN (External). (e.g.) • CL1-A Specifies a port number, a host group ID, and a host group name. It cannot be specified when more than 64 characters is set for the host group name. Use the host group ID. (e.g.) • CL1-A-g (g is from 0 to 255) Specifies a parity group number (gno:1-32, sgno:1-16). (e.g.) • 3-1 Specifies an external volume group number (gno:1-16384, sgno:1-4096). (e.g.) • 52-11 ("E" is not required) Examples Deleting the LDEV: 400 from the resource group: sql_srv. # raidcom delete resource -resource_name sql_srv -ldev_id 400 Deleting a port of CL1-A from the resource group: sql_srv. # raidcom delete resource -resource_name sql_srv -port CL1-A Deleting a host group of CL1-A-0 from the resource group: sql_srv. # raidcom delete resource -resource_name sql_srv -port CL1-A-0 Deleting a parity group: 33-16 from the resource group: sql_srv. # raidcom delete resource -resource_name sql_srv -parity_grp_id 33-16 Deleting an external volume group: 01-02 from the resource group: sql_srv. # raidcom delete resource -resource_name sql_srv -external_grp_id 01-02 Deleting the resource group: sql_srv. # raidcom delete resource -resource_name sql_srv raidcom delete resource 187

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194

Options and parameters
Description
Option
Specifies a resource group name. Up to 32 characters can be specified.
-resource_name
<resource group
name>
Specifies a CU:LDEV hexadecimal address double octet or an LDEV number (0-65279) or a
range.
-ldev_id <ldev#> …
For example:
-ldev_id AB:CD
-ldev_id 43981
-ldev_id01:2C-01:31
Specifies a port number. Specifies the number of the port whose attribute is ELUN (External).
-port <port#>
(e.g.)
CL1-A
Specifies a port number, a host group ID, and a host group name. It cannot be specified when
more than 64 characters is set for the host group name. Use the host group ID.
-port <port#> <host
group name>
(e.g.)
CL1-A-g (g is from 0 to 255)
Specifies a parity group number (gno:1-32, sgno:1-16).
-parity_grp
<gno-sgno>
(e.g.)
3-1
Specifies an external volume group number (gno:1-16384, sgno:1-4096).
-external_grp_id
<gno-sgno>
(e.g.)
52-11 ("E" is not required)
Examples
Deleting the LDEV: 400 from the resource group: sql_srv.
# raidcom delete resource -resource_name sql_srv -ldev_id 400
Deleting a port of CL1-A from the resource group: sql_srv.
# raidcom delete resource -resource_name sql_srv -port CL1-A
Deleting a host group of CL1-A-0 from the resource group: sql_srv.
# raidcom delete resource -resource_name sql_srv -port CL1-A-0
Deleting a parity group: 33-16 from the resource group: sql_srv.
# raidcom delete resource -resource_name sql_srv -parity_grp_id 33-16
Deleting an external volume group: 01-02 from the resource group: sql_srv.
# raidcom delete resource -resource_name sql_srv -external_grp_id 01-02
Deleting the resource group: sql_srv.
# raidcom delete resource -resource_name sql_srv
raidcom delete resource
187