Emulex LP1150-F4 Power Screwdriver User Manual


 
Solaris SFS Driver User Manual Page 163
5. Verifies that the system boot device is not an Emulex HBA (if so, the sample script exits with an
explanation).
6. Obtains and verifies the FCode version for each HBA in the system. If the FCode version is not
compatible, the sample script errors, then exits.
7. Sets the FCode SFS bit to 1 on each adapter.
8. Calls the operating system’s add/remove driver utility to configure /etc/driver_aliases.
9. Prompts you to reboot the system.
The adapterN.migrate and targetN.migrate files are generated by the start sample script. These
files verify the migration process. Only attached and operational targets are migrated.
adapterN.migrate - where N is the adapter number (one file for each adapter); primarily this
file contains the adapter device path/name to link lpfc adapters to emlxs adapters across a
reboot.
targetN.migrate - where N is the adapter number (only adapters with targets configured
have this file) - this file has target numbers and WWNs
finish_emlxs_migration.sh
The finish_emlxs_migration.sh sample script performs the following tasks:
1. Cleans up any device-dangling links by running the operating system utility: devfsadm -C.
2. Performs the following tasks for each HBA in the system:
a. Reads the device name from the file that was generated by
start_emlxs_migration.sh.
b. Greps with the ls -l /dev/cfg command to acquire the emlxs (Leadville) controller
number.
c. Writes the lpfc controller number and the emlxs controller number to the map file.
d. Constructs a target device name using the target WWN format (e.g.
c3::21000004cf92913c) for each target in the target file.
3. Uses the cfgadm -al command to grep the target device name output and determine if the
target device is already configured. Configures the device if necessary with the cfgadm -c
configure command.
4. Greps with the /etc/vfstab command and replaces any lpfc-based storage device entry with
its new emlxs-based (Leadville) storage device name entry using the target WWN device name
format (e.g. c3::21000004cf92913c).
5. Executes a mountall -l if any lpfc storage device entry has been replaced with a new
Leadville storage device name. Forces the operating system to re-mount local devices with
/etc/vfstab command.
The controllermap.migrate and the lpfccontroller.migrate are map files that are
generated by the finish sample script.
controllermap.migrate - a file with entries that map the lpfc controller number to the emlxs
controller number.
lpfccontroller.migrate - one file with entries that map the adapter lpfc controller
numbers to the lpfc adapter numbers (for /etc/vfstab parsing).