setboot(1M) in HP-UX 11i v3

# ioscan -m hwpath -H 0/5/1/0.0x50001fe15001eead.0x4001000000000000
Lun H/W Path Lunpath H/W Path Legacy H/W Path
=====================================================================================
64000/0xfa00/0xd
0/5/1/0.0x50001fe15001eead.0x4001000000000000 0/5/1/0.97.19.19.0.0.1
0/5/1/0.0x50001fe15001eeac.0x4001000000000000 0/5/1/0.97.19.20.0.0.0
0/5/1/0.0x50001fe15001eea8.0x4001000000000000 0/5/1/0.95.19.19.0.0.1
0/5/1/0.0x50001fe15001eea9.0x4001000000000000 0/5/1/0.96.19.21.0.0.1
Changes to setboot for Agile Addressing support
In agile addressing, setboot accepts persistent DSFs and lunpath hardware paths as valid input for
Primary, HA Alternate and Alternate boot paths.
Example:
Note: The following example is used across this section to illustrate the setboot behavior. In this example, the LUN
persistent DSF name is /dev/rdisk/disk13 and the LUN and lunpath hardware paths associated with
it are displayed by the ioscan command output below (trimmed to show only the LUN and lunpath entries for this
device):
#ioscan –kfNn
Class I H/W Path Driver S/W State H/W Type Health Description
================================================================================
lunpath 8 0/5/1/0.0x50001fe15001eead.0x4001000000000000 eslpt CLAIMED LUN_PATH LUN
path for disk13
lunpath 7 0/5/1/0.0x50001fe15001eeac.0x4001000000000000 eslpt CLAIMED LUN_PATH LUN
path for disk13
lunpath 12 0/5/1/0.0x50001fe15001eea8.0x4001000000000000 eslpt CLAIMED LUN_PATH LUN
path for disk13
lunpath 11 0/5/1/0.0x50001fe15001eea9.0x4001000000000000 eslpt CLAIMED LUN_PATH LUN
path for disk13
disk 13 64000/0xfa00/0xd esdisk CLAIMED DEVICE online COMPAQ HSV111
(C)COMPAQ
/dev/disk/disk13 /dev/rdisk/disk13
Behavior of setboot on HP-UX 11i v3
1. When the persistent DSF of a LUN is given as input to set a boot path, setboot searches for an active lunpath
to that LUN, and writes it to stable storage as the boot path. This is the preferred method as setboot manages to
select a lunpath that is active and checks that it corresponds to a valid boot device.
NOTE: setboot may choose and write into stable storage any of the active lunpaths to the LUN.
Example: set the alternate boot path for the device with DSF disk13
# setboot –a /dev/rdisk/disk13
Alternate bootpath : 0/5/1/0.0x50001fe15001eead.0x4001000000000000 (/dev/rdisk/disk13)
2. If a user uses setboot to set up various boot paths (for instance, primary and alternate) using the same
persistent DSF name as input for each, setboot will try to use different lunpaths to the device with that
persistent DSF, provided there are several active lunpaths to the device.
Example: set the primary boot path for the device with DSF disk13 (in continuation of the example in 1. above)
# setboot –p /dev/rdisk/disk13
Primary bootpath: 0/5/1/0.0x50001fe15001eeac.0x4001000000000000 (/dev/rdisk/disk13)
5