User Manual

Using the CLI Commands
4-16
4.4.4 Presentation planning
4.4.5 Selective storage presentation
4.4.6 Simple storage presentation
Command
sgsetmethod
Synopsis
sgsetmethod sim/sym/sel [-a on/off]
Description
Select storage presentation method.
Parameters
sim/sym/sel: simple, symmetric-LUN, or selective storage
presentation by default, the method is sim.
[-a on/off]: enable or disable automatic LUN mapping
Command
sgmgmtdevice
Synopsis
sgmgmtdevice on/off [-l lunx]
Description
Enable or disable management device support of in-band
API.
Parameters
[-l lunx]: This option specifies the LUN be used by the
management device. default is LUN 127.
Note:SCSI host interface system, the default is LUN 15
Command
htpbind
Synopsis
htpbind fcpx/sasx/all sgy hostz/hgz
Description
Bind a storage group to one or all FC ports for a host or a
host group.
Command
htpunbind
Synopsis
htpunbind fcpx/sasx/all hostz/hgz
Description
Unbind a host or a host group from one or all FC ports.
Command
htplist
Synopsis
htplist fcpx/sasx/all
Description
List all storage groups bound to one or all FC ports.
Command
htpaddlun
Synopsis
htpaddlun fcpx/sasx jbdy/dgyldz/voly/vvoly [-l lunz] [-s
512b/1kb/2kb/4kb] [-g cylinder head sector] [-w wt/wb]
htpaddlun scpx jbdy/dgyldz/voly/vvoly [-i scsi_id] [-l lunz] [-
s 512b/1kb/2kb/4kb] [-g cylinder head sector] [-w wt/wb]
Description
Add a LUN in a FC port with a virtual disk.
Parameters
[-i scsi_id]: SCSI ID
Refer to sgaddlun for other parameters.