Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iscsitgtd(1m) [opensolaris man page]

iscsitgtd(1M)						  System Administration Commands					     iscsitgtd(1M)

NAME
iscsitgtd - iSCSI Target daemon SYNOPSIS
iscsitgtd [-d door_file] DESCRIPTION
The iscsitgtd daemon process implements the iSCSI configuration, control, and data paths, providing iSCSI Target Mode support in the Solaris operating system. The configuration and control path is by means of the Solaris Doors subsystem (see door_create(3C)), and provides the interface between the iSCSI Target administration utility, iscsitadm(1M), persistence configuration data stored in the Service Configuration Facility (SCF) of the service management facility (SMF). See smf(5). The data path managed by the daemon exists between TPC/IP port 3260, and the files, block devices, or raw SCSI devices configured as iSCSI target LUNs. OPTIONS
The following options is supported: -d door_file Override the location of the Solaris Door used for configuration from /var/run/iscsi_tgt_door to a door of one's choosing. Solaris Configuration Facility (SCF) The following options are supported: PGR-basedir SCSI-3 PGR base directory for ZVOL failover. Set to /. daemonize Run as Solaris daemon process. Either true or false. dbg-lvl Runtime debug level to console. qlog-lvl Runtime logging to /tmp/target_log. The following are the logging values, in hexadecimal. 0x00001 - Connection errors 0x00002 - Connection login errors 0x00004 - Connection Non-I/O errors 0x00008 - Connection I/O errors 0x00010 - Session errors 0x00020 - Session login errors 0x00040 - Session Non-I/O errors 0x00080 - Session I/O errors 0x00100 - Emulation errors 0x00200 - Emulation Non-I/O errors 0x00400 - Emulation I/O errors 0x01000 - General errors 0x02000 - General details 0x04000 - iSNS details 0x10000 - SCSI-3 PGR errors 0x20000 - SCSI-3 PGR Non-I/O errors 0x40000 - SCSI-3 PGR I/O errors EXAMPLES
Example 1 Listing All iscsitgt Values The following commands lists all iscsitgt values. # svccfg -s iscsitgt listprop iscsitgt Example 2 Setting SCF Options The following command sets the PGR-basedir option. # svccfg -s iscsitgt setprop iscsitgt/PGR-basedir = astring: "/" The following command sets the dbg-lvl option. # svccfg -s iscsitgt setprop iscsitgt/dbg-lvl = integer: 0x80ffffff ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWiscsitgtu | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
iscsitadm(1M), door_create(3C), attributes(5), smf(5) NOTES
The iSCSI Target daemon, iscsitgtd, is managed by the service management facility, smf(5), under the fault management resource identifier: svc:/system/iscsitgt:default SunOS 5.11 16 Mar 2009 iscsitgtd(1M)

Check Out this Related Man Page

OCF_HEARTBEAT_ISCSIL(7) 					OCF resource agents					   OCF_HEARTBEAT_ISCSIL(7)

NAME
ocf_heartbeat_iSCSILogicalUnit - Manages iSCSI Logical Units (LUs) SYNOPSIS
iSCSILogicalUnit [start | stop | status | monitor | meta-data | validate-all] DESCRIPTION
Manages iSCSI Logical Unit. An iSCSI Logical unit is a subdivision of an SCSI Target, exported via a daemon that speaks the iSCSI protocol. SUPPORTED PARAMETERS
implementation The iSCSI target daemon implementation. Must be one of "iet", "tgt", or "lio". If unspecified, an implementation is selected based on the availability of management utilities, with "iet" being tried first, then "tgt", then "lio". (optional, string, no default) target_iqn The iSCSI Qualified Name (IQN) that this Logical Unit belongs to. (required, string, no default) lun The Logical Unit number (LUN) exposed to initiators. (required, integer, no default) path The path to the block device exposed. Some implementations allow this to be a regular file, too. (required, string, no default) scsi_id The SCSI ID to be configured for this Logical Unit. The default is the resource name, truncated to 24 bytes. (unique, optional, string, default default) scsi_sn The SCSI serial number to be configured for this Logical Unit. The default is a hash of the resource name, truncated to 8 bytes. (unique, optional, string, no default) vendor_id The SCSI vendor ID to be configured for this Logical Unit. (optional, string, no default) product_id The SCSI product ID to be configured for this Logical Unit. (optional, string, no default) additional_parameters Additional LU parameters. A space-separated list of "name=value" pairs which will be passed through to the iSCSI daemon's management interface. The supported parameters are implementation dependent. Neither the name nor the value may contain whitespace. (optional, string, no default) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 10. stop Stops the resource. Suggested minimum timeout: 10. status Performs a status check. Suggested minimum timeout: 10. Suggested interval: 10. monitor Performs a detailed status check. Suggested minimum timeout: 10. Suggested interval: 10. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 10. EXAMPLE
The following is an example configuration for a iSCSILogicalUnit resource using the crm(8) shell: primitive p_iSCSILogicalUnit ocf:heartbeat:iSCSILogicalUnit params target_iqn=string lun=integer path=string op monitor timeout="10" interval="10" depth="0" SEE ALSO
http://www.linux-ha.org/wiki/iSCSILogicalUnit_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_ISCSIL(7)
Man Page