HP StorageWorks XP12000 HP StorageWorks XP Disk Array Configuration Guide: Nov - Page 22

Helpful Multipath commands, MM Restore failover path device_id

Page 22 highlights

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 below. 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 may 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. 22 Middleware configuration

  • 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

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 below.
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 may
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.
Middleware configuration
22