HP XP20000/XP24000 HP StorageWorks XP Disk Array Configuration Guide (T5278-96 - Page 49

Helpful Multipath commands, path assigned priority 2.

Page 49 highlights

LOAD QL2300.HAM SLOT=3 /LUNS /ALLPATHS /PORTNAMES /CONSOLE ######## End HAM Drivers ######## 3. Restart the server. 4. To see a list of the failover devices and paths, at the server prompt enter: list failover devices Example failover device path listing 0x20 [V6E0-A2-D0:0] HP OPEN-3 rev:HP16 Up 0x0D [V6E0-A2-D0:0] HP OPEN-3 rev:HP16 Priority = 0 selected Up 0x1B [V6E0-A3-D0:0] HP OPEN-3 rev:HP16 Priority = 0 0x21 [V6E0-A2-D0:2] HP OPEN-3 rev:HP16 Up 0x0F [V6E0-A2-D0:2] HP OPEN-3 rev:HP16 Priority = 0 selected Up 0x1D [V6E0-A3-D0:2] HP OPEN-3 rev:HP16 Priority = 0 0x22 [V6E0-A2-D0:4] HP OPEN-3 rev:HP16 Up 0x11 [V6E0-A2-D0:4] HP OPEN-3 rev:HP16 Priority = 0 selected Up 0x1F [V6E0-A3-D0:4] HP OPEN-3 rev:HP16 Priority = 0 0x23 [V6E0-A2-D0:1] HP OPEN-3 rev:HP16 Up 0x0E [V6E0-A2-D0:1] HP OPEN-3 rev:HP16 Priority = 0 selected Up 0x1C [V6E0-A3-D0:1] HP OPEN-3 rev:HP16 Priority = 0 0x24 [V6E0-A2-D0:1] HP OPEN-3 rev:HP16 Up 0x0E [V6E0-A2-D0:3] HP OPEN-3 rev:HP16 Priority = 0 selected Up 0x1C [V6E0-A3-D0:3] HP OPEN-3 rev:HP16 Priority = 0 Helpful Multipath commands Other useful Multipath commands are described in the following sections. MM Set failover priority = This command sets the priority level for each path. The ID must be a valid path ID, and the number must be a decimal integer value in the range 1-4,000,000, with 1 being the highest priority and 4,000,000 being the lowest priority. The default value of 0 (zero) indicates that there is no priority. The /insert option will move the priorities on all paths that were equal or lower than . For example, if the paths had priorities of 1,2,3,4, and a new path is assigned a number 2 using the /insert option, then the paths that were 2, 3, and 4 are moved to 3, 4, and 5, and the new path assigned priority 2. MM Set failover state = This command sets the state of the path. The ID must be a valid path ID. If the path is Up, it can be taken offline, and will not be used to switch to. Another path will be selected. If the path is offline, the path will be reactivated, if possible, and set to an Up state. The /setpath option will reselect the highest priority path that is up. MM Set failover path This command moves the selected path to the one specified by the path ID. The ID must be a valid path that is up. This does not alter the priorities on the paths, and any reselection of the path might cause the path to change. A later option will be added to reassign that path to the highest priority. MM Restore failover path device_id This command forces the device to reselect the highest priority path that is online. The device_id must be a valid device ID. MM Reset failover registry This command will delete all the failover entries in the registry, and recreate them again based on the current set of failover devices. As a path fails, it is automatically marked as a Down (offline) path, and the next highest priority path is automatically selected. When the device is reactivated, the state is automatically reset to an Up (online) state, and again the highest priority path is selected. Middleware configuration 49

  • 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

LOAD QL2300.HAM SLOT=3 /LUNS /ALLPATHS /PORTNAMES /CONSOLE
######## End HAM Drivers ########
3.
Restart the server.
4.
To see a list of the failover devices and paths, at the server prompt enter:
list failover devices
Example failover device path listing
0x20 [V6E0-A2-D0:0] HP OPEN-3 rev:HP16
Up 0x0D [V6E0-A2-D0:0] HP OPEN-3 rev:HP16
Priority = 0 selected
Up
0x1B [V6E0-A3-D0:0] HP OPEN-3 rev:HP16
Priority = 0
0x21 [V6E0-A2-D0:2] HP OPEN-3 rev:HP16
Up
0x0F [V6E0-A2-D0:2] HP OPEN-3 rev:HP16
Priority = 0 selected
Up
0x1D [V6E0-A3-D0:2] HP OPEN-3 rev:HP16
Priority = 0
0x22 [V6E0-A2-D0:4] HP OPEN-3 rev:HP16
Up
0x11 [V6E0-A2-D0:4] HP OPEN-3 rev:HP16
Priority = 0 selected
Up
0x1F [V6E0-A3-D0:4] HP OPEN-3 rev:HP16
Priority = 0
0x23 [V6E0-A2-D0:1] HP OPEN-3 rev:HP16
Up
0x0E [V6E0-A2-D0:1] HP OPEN-3 rev:HP16
Priority = 0 selected
Up
0x1C [V6E0-A3-D0:1] HP OPEN-3 rev:HP16
Priority = 0
0x24 [V6E0-A2-D0:1] HP OPEN-3 rev:HP16
Up
0x0E [V6E0-A2-D0:3] HP OPEN-3 rev:HP16
Priority = 0 selected
Up
0x1C [V6E0-A3-D0:3] HP OPEN-3 rev:HP16
Priority = 0
Helpful Multipath commands
Other useful Multipath commands are described in the following sections.
MM Set failover priority <pathid> = <number> </insert>
This command sets the priority level for each path. The ID must be a valid path ID, and the number
must be a decimal integer value in the range 1-4,000,000, with 1 being the highest priority and
4,000,000 being the lowest priority. The default value of 0 (zero) indicates that there is no priority.
The /insert option will move the priorities on all paths that were equal or lower than <number>.
For example, if the paths had priorities of 1,2,3,4, and a new path is assigned a number 2 using
the /insert option, then the paths that were 2, 3, and 4 are moved to 3, 4, and 5, and the new
path assigned priority 2.
MM Set failover state <pathid> = <Up: Down> </setpath>
This command sets the state of the path. The ID must be a valid path ID. If the path is Up, it can
be taken offline, and will not be used to switch to. Another path will be selected. If the path is
offline, the path will be reactivated, if possible, and set to an Up state. The /setpath option will
reselect the highest priority path that is up.
MM Set failover path <pathid>
This command moves the selected path to the one specified by the path ID. The ID must be a valid
path that is up. This does not alter the priorities on the paths, and any reselection of the path might
cause the path to change. A later option will be added to reassign that path to the highest priority.
MM Restore failover path device_id
This command forces the device to reselect the highest priority path that is online. The
device_id
must be a valid device ID.
MM Reset failover registry
This command will delete all the failover entries in the registry, and recreate them again based on
the current set of failover devices.
As a path fails, it is automatically marked as a Down (offline) path, and the next highest priority
path is automatically selected. When the device is reactivated, the state is automatically reset to
an Up (online) state, and again the highest priority path is selected.
Middleware configuration
49