beautypg.com

Create an sgen driver alias, Enable iscsi target discovery – HP EVA P6000 Storage User Manual

Page 120

background image

.
.
.
# devices on your system. Please refer to sgen(7d) for details.

#
# sgen may be configured to bind to SCSI devices exporting a particular device
# type, using the device-type-config-list, which is a ',' delimited list of
# strings.
#
device-type-config-list="array_ctrl";
.
.
.
# After configuring the device-type-config-list and/or the inquiry-config-list,
# the administrator must uncomment those target/lun pairs at which there are
# devices for sgen to control. If it is expected that devices controlled by
# sgen will be hotplugged or added into the system later, it is recommended
# that all of the following lines be uncommented.

name="sgen" class="scsi" target=0 lun=0;
name="sgen" class="scsi" target=1 lun=0;
name="sgen" class="scsi" target=2 lun=0;
name="sgen" class="scsi" target=3 lun=0;
name="sgen" class="scsi" target=4 lun=0;
name="sgen" class="scsi" target=5 lun=0;
name="sgen" class="scsi" target=6 lun=0;
name="sgen" class="scsi" target=7 lun=0;
name="sgen" class="scsi" target=8 lun=0;
name="sgen" class="scsi" target=9 lun=0;
name="sgen" class="scsi" target=10 lun=0;
name="sgen" class="scsi" target=11 lun=0;
name="sgen" class="scsi" target=12 lun=0;
name="sgen" class="scsi" target=13 lun=0;
name="sgen" class="scsi" target=14 lun=0;
name="sgen" class="scsi" target=15 lun=0;

Create an sgen driver alias

The HP storage array is a self identifying scsi device and must be bound to the sgen driver using
an alias.
1.

Enter the following command to update the sgen driver.

# update_drv –a –I “scsiclass,0c” sgen

NOTE:

Lowercase c is mandatory.

2.

Verify sgen alias setting:

#egrep sgen /etc/driver_aliases

Example:

# rep sgen /etc/driver_aliases
sgen "scsa,08.bfcp"
sgen "scsa,08.bvhci"
sgen "scsiclass,0c"

Enable iSCSI target discovery

Solaris supports three iSCSI target discovery methods:

SendTargets

Static

iSNS

This section describes SendTargets discovery only. For further information on Static and iSNS
discovery please see:

http://docs.sun.com/app/docs/doc/817-5093/fqnlk?l=en&=view

120 iSCSI or iSCSI/FCoE configuration rules and guidelines