Q-Logic FC Network Card User Manual


 
4–Non-Interactive Commands
Command Summary
SN0054614-00 K 4-13
In Solaris SPARC, setting the target ID to the target of the boot-selected LUN is
equivalent to persistently binding the target (see “-p (Display Persistent Target
Binding Info)” on page 4-38). Therefore, if the target is persistently bound, its boot
device entry must have the same target ID.
For all operating systems, if the adapter already has boot devices defined and
they are different from the ones in the command parameter or menu selection,
you are prompted to confirm the boot device selection:
The HBA already has a boot device(s) selected. Do you want to
replace it with the new one?
For all operating systems, if the adapter already has boot devices selected and
they are the same as the ones in the command parameter or menu selection, the
following message appears:
The HBA already has that device selected as boot device.
To use selectable boot (the OS boots from the first target the BIOS finds) set the
<target wwpn>, <target wwnn> and <lun id> inputs to all zeroes. For example
type:
# scli -e (<hba instance> | <hba wwpn>) (enable | 0 0 0)
To disable (delete) the boot device for a specific adapter, type:
# scli -e (<hba instance> | <hba wwpn>) disable
-ei
(List SANsurfer FC/CNA HBA CLI Error Codes)
This command lists the SANsurfer FC/CNA HBA CLI error codes as shown in
Appendix D.
-f
(Input Parameter Options from a Text File)
To input parameter options to SANsurfer FC/CNA HBA CLI through a text file,
type -f, followed by the file name. For example:
# scli -f command.txt
The text file must be formatted as follows:
NOTE:
The -f option is valid only in non-interactive mode, and cannot be combined
with any other options. Only one command line parameter per file is valid.
This option is used when it is run as a script file.