
______________________
Note
_______________________
If you selected
f
to obtain the new target ID mappings from a
file, the
emxmgr
utility prompts you for the name of the file to
use. You can save time if you create a file to modify worldwide
name-to-target ID mappings.
3.2.2 Using the emxmgr Utility with a File to Modify Worldwide
Name-to-Target ID Mapping
You can execute the
emxmgr
utility with the
-c
mapping_file
option to
modify the worldwide name-to-target ID mapping. The file may contain the
information for multiple mapping changes.
Each line in the file contains either mapping information or a comment.
Anything that does not match a valid ID mapping syntax is considered a
comment. The mapping data has two forms, and either may be used:
1.
The form as seen in the
/etc/emx.info
file:
{ <?>, <tgtid>, <pn0>, <pn1>, <pn2>, <pn3>, <nn0>, <nn1>, <nn2>, <nn3> }
For example:
{ 0, 5, 0x0050, 0xe11f, 0x0000, 0xb20c,
0x0050, 0xe11f, 0x0000, 0xb00c }
2.
The form as reported by the HSG80 controller with the bytes swapped
in the 16-bit values:
<instance>
<tgtid>
<FC Port Name>
<FC Node Name>
For example:
emx0 5 5000-1FE1-0000-0CB2 5000-1FE1-0000-0CB0
______________________
Note
_______________________
The
emxmgr
utility will verify that the syntax is correct and
report any syntax errors.
The easiest way to create a file containing worldwide name-to-target ID
mapping information is to copy the
/etc/emx.info
file from the system
with the desired mapping to the other systems that need updating.
After you have created your file (or copied
/etc/emx.info
), you can use the
file to modify the worldwide name-to-target ID mapping. For instance, if you
have created or copied
/etc/emx.info
to
/tmp/mapping-modifications
,
you can execute the
emxmgr
utility to modify the worldwide name-to-target
ID mapping as follows:
Using the emx Manager (emxmgr) Utility 3–7