diff options
author | open-iscsi <open-iscsi@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2005-01-18 02:22:39 +0000 |
---|---|---|
committer | open-iscsi <open-iscsi@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2005-01-18 02:22:39 +0000 |
commit | 1fd764eeeea0c8c8281c1be1fd6e6f6e5a33f81a (patch) | |
tree | 1708d173ad349f26ce51280764dba538aabf402f /etc | |
parent | 761b07cc9f4e75522111d1b588326b7c7f7af346 (diff) | |
download | open-iscsi-1fd764eeeea0c8c8281c1be1fd6e6f6e5a33f81a.tar.gz |
kernel/user compiles
git-svn-id: svn://svn.berlios.de/open-iscsi@34 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'etc')
-rw-r--r-- | etc/iscsid.conf | 510 |
1 files changed, 487 insertions, 23 deletions
diff --git a/etc/iscsid.conf b/etc/iscsid.conf index 5480e96..b56c864 100644 --- a/etc/iscsid.conf +++ b/etc/iscsid.conf @@ -1,23 +1,487 @@ -target_name = iqn.2001-04.com.example:storage.disk2.sys1.xyz -target_portal = 10.16.16.227:3260,1 -login_user = dima -login_password = aloha -initiator_name = iqn.com.dima -initiator_alias = dima-um -isid = 0x80.0x0000.0x00.0x0001 -first_burst = 262144 -max_recv_dlength = 65536 -max_burst = 262144 -max_r2t = 1 -max_cnx = 1 -erl = 0 -initial_r2t_en = 0 -imm_data_en = 1 -hdrdgst_en = 0 -datadgst_en = 0 -ifmarker_en = 0 -ofmarker_en = 0 -pdu_inorder_en = 1 -dataseq_inorder_en = 1 -time2wait = 5 -time2retain = 20 +# ============================================================================ +# iSCSI Configuration File Sample - see iscsi.conf(5) +# ============================================================================ +# +# All of the configuration parameters described in this file are applied +# globally to all targets, unless they are overridden by a local setting. The +# three types of local categories that can override the global settings are: +# +# Target Name (i.e., TargetName) +# Network (i.e., Subnet or Address) +# SCSI Routing Instance (i.e., DiscoveryAddress) +# +# All parameters that are localized to one of the categories above must be +# indented by at least one white space or a tab character. If the parameter is +# not indented, it will be interpreted as a global parameter (see examples for +# each parameter). +# +# If more that one entry exists for any given parameter (either global or +# local), the last entry has precedence. +# +# If a parameter setting under the network category conflicts with a different +# setting of the same parameter under the discovery address or target name +# category (for the same target), the network setting will have precedence. +# +# If a parameter is not specified in the iscsi.conf file, the default setting is +# used. The default values for all parameters can be found in the readme file. +# +# In the sample settings shown below, the following definitions apply: +# <text> = any alpha-numeric text string +# <number> = any numeric text string +# <address> = valid IP address of the form a.b.c.d[/e] +# <portal> = valid portal address of the form a.b.c.d[:e] +# +# ---------------- +# Network Category +# ---------------- +# To localize parameters to targets on a particular network (i.e., to +# override the global settings), you need to use either the "Subnet" or +# "Address" settings. The format for the "Subnet" setting is a.b.c.d/e. In +# addition, multiple subnets can be specified by using a "," delimiter. An +# example of these settings would be: +# +#Subnet=10.4.100.0/24 +# or +#Subnet=10.4.100.1/24,10.5.100.1/24 +# +# The format for "Address" is a.b.c.d and it too can have multiple values using +# a "," delimiter. An example of these settings would be: +# +#Address=10.4.100.0 +# or +#Address=10.5.101.4,10.5.101.5 +# +# The following parameters can be specified using the network category: +# +# 1) Connection Timeout Settings +# 2) Error Handling Timeout Settings +# 3) TCP Settings +# +# -------------------------- +# Discovery Address Category +# -------------------------- +# To localize parameters to targets found on a particular discovery address +# (i.e., to override the global settings), you need to use the +# "DiscoveryAddress" setting. The format for the "DiscoveryAddress" setting is +# a.b.c.d, a.b.c.d:e (where e is a TCP port number), or an instance name. An +# example of these settings would be: +# +#DiscoveryAddress=10.4.100.0 +# or +#DiscoveryAddress=10.4.100.1:3260 +# or +#DiscoveryAddress=scisrouter1 +# +# The following parameters can be specified using the discovery address +# category: +# +# 1) Authentication Settings +# 2) ConnectionTimeout Settings +# 3) Continuous Discovery settings +# 4) AsyncEvent Notification Settings +# +# -------------------- +# Target Name Category +# -------------------- +# To localize parameters to targets identified by a particular target name +# (i.e., to override the global settings), you need to use the +# "TargetName" setting. The format for the "TargetName" setting is +# either the 'iqn' or 'eui' format. An example of these settings would be: +# +#TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 +# +# The following parameters can be specified using the target name category: +# +# 1) CRC Settings +# 2) iSCSI Operational Parameter settings +# 3) Connection Timeout Settings +# 4) Session Timeout Settings +# 5) Error Handling Timeout Settings +# 6) TCP Settings +# 7) Enable/Disable targets +# +# ============================================================================ +# PARAMETERS +# ============================================================================ +# +# ----------------------- +# AUTHENTICATION SETTINGS +# ----------------------- +# To globally configure a CHAP username and password for initiator +# authentication by the target(s), uncomment the following lines: +# +#OutgoingUsername=<text> +#OutgoingPassword=<text> +# +# The maximum length for both the password and username is 256 characters. + +# An example username and password would be: +# +#OutgoingUsername=alice +#OutgoingPassword=nty57nbe +# +# To globally configure a CHAP username and password for target(s) +# authentication by the initiator, uncomment the following lines: +# +#IncomingUsername=<text> +#IncomingPassword=<text> +# +# The maximum length for both the password and username is 256 characters. + +# An example username and password would be: +# +#IncomingUsername=bill +#IncomingPassword=ghot67 +# +# The global authentication settings can be overridden on a per discovery +# address basis. An example of a unique username and password for all targets +# found at address 192.168.10.94 would be: +# +#DiscoveryAddress=192.168.10.94 +# OutgoingUsername=fred +# OutgoingPassword=uhyt6h +# and/or +# +#DiscoveryAddress=192.168.10.94 +# IncomingUsername=mary +# IncomingPassword=kdhjkd9l +# +# --------------- +# DIGEST SETTINGS +# --------------- +# To globally enable CRC32C digest checking for the header and/or data part of +# iSCSI PDUs, uncomment one or both of the following lines: +# +#HeaderDigest=always +#DataDigest=always +# +# To globally disable digest checking for the header and/or data part of +# iSCSI PDUs, uncomment one or both of the following lines: +# +#HeaderDigest=never +#DataDigest=never +# +# To globally allow the targets to control the setting of the digest checking, +# with the initiator requesting a preference of enabling the checking, uncomment +# one or both of the following lines: +# +#HeaderDigest=prefer-on +#DataDigest=prefer-on +# +# To globally allow the targets to control the setting of the digest checking, +# with the initiator requesting a preference of disabling the checking, +# uncomment one or both of the following lines: +# +#HeaderDigest=prefer-off +#DataDigest=prefer-off +# +# The global digest settings can be overridden on a per target name basis. An +# example of enabling header and data digest checking just for target iqn.1987- +# 05.com.cisco:00.0d1d898e8d66.t0 would be: +# +#TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 +# HeaderDigest=always +# DataDigest=always +# +# It should also be noted that if the initiator and the target have incompatible +# settings (e.g., target set for "always" and initiator set for "never"), the +# login will fail. +# +# ---------------------- +# ENABLE/DISABLE TARGETS +# ---------------------- +# To globally enable/disable group of targets use the following option. +# +# TargetNames mentioned after the below entry will be enabled by default. +#Enabled=yes +# +# TargetNames mentioned after the below entry will be disabled by default. +#Enabled=no +# +# To specifically enable/disable a target, use the following entry +# under Targetname. +# +#TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 +# Enabled=yes +# +# --------------------------- +# CONNECTION TIMEOUT SETTINGS +# --------------------------- +# To globally specify the time to wait for a login PDU to be received from +# the target in response to a login request sent by the initiator before failing +# the connection attempt, uncomment the following line: +# +#LoginTimeout=<number> +# +# where <number> is in seconds. A setting of "0" will result in commands never +# being timed out. +# +# To globally specify the time to wait for a login PDU carrying authentication +# information to be received from the target in response to a login request sent +# by the initiator before failing the connection attempt, uncomment the +# following line: +# +#AuthTimeout=<number> +# +# where <number> is in seconds. A setting of "0" will result in commands never +# being timed out. +# +# To globally specify the time to wait on a connection with no traffic being +# received from the target before checking the connection by sending out a ping, +# uncomment the following line: +# +#IdleTimeout=<number> +# +# where <number> is in seconds. A setting of "0" will result in a ping never +# being sent. +# +# To globally specify the time to wait for a ping response after a ping has been +# sent to a target before failing the existing connection and initiating a new +# one, uncomment the following line: +# +#PingTimeout=<number> +# +# where <number> is in seconds. A setting of "0" will result in the ping command +# never timing out. +# +# The global connection timeout settings can be overridden on a per target name, +# discovery address or IP address basis. An example of setting the +# "LoginTimeout" value to 12 seconds for just target iqn.1987- +# 05.com.cisco:00.0d1d898e8d66.t0 would be: +# +#TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 +# LoginTimeout=12 +# +# An example of setting the "AuthTimeout" value to 8 seconds for just all +# targets found at address 192.168.10.94 would be: +# +#DiscoveryAddress=192.168.10.94 +# AuthTimeout=8 +# +# An example of setting the "IdleTimeout" value to 3 seconds for just all +# targets found on subnet 192.168.10.94 would be: +# +#Subnet=192.168.10.0/24 +# IdleTimeout=3 +# +# ------------------------ +# SESSION TIMEOUT SETTINGS +# ------------------------ +# To globally specify the length of time to wait for session re-establishment +# before failing SCSI commands back to the application, uncomment the +# following line: +# +#ConnFailTimeout=<number> +# +# where <number> is in seconds. A setting of "0" will result in commands never +# being failed back due to connection failure. +# +# The global session timeout settings can be overridden on a per target name +# basis. An example of setting the "ConnFailTimeout" value to 5 seconds for +# just target iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 would be: +# +#TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 +# ConnFailTimeout=5 +# +# If a third party multipathing application is being used, +# then the "ConnFailTimeout" should be set to smaller value +# such as 15. This value is just a guideline so the actual value will be +# dependent on the users operating environment. +# +# ------------------------------- +# ERROR HANDLING TIMEOUT SETTINGS +# ------------------------------- +# To globally specify the length of time to wait for an abort command to +# complete before declaring the abort command has failed, uncomment the +# following line: +# +#AbortTimeout=<number> +# +# where <number> is in seconds. A setting of "0" will result in commands never +# being timed out. +# +# To globally specify the length of time to wait for a reset command to complete +# before declaring that the reset command has failed, uncomment the following +# line: +# +#ResetTimeout=<number> +# +# where <number> is in seconds. A setting of "0" will result in commands never +# being timed out. +# +# The global error handling timeout settings can be overridden on a per target +# name or per IP address basis. An example of setting the "AbortTimeout" value +# to 10 seconds for just target iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 would +# be: +# +#TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 +# AbortTimeout=10 +# +# An example of setting the "ResetTimeout" value to 6 seconds for just all +# targets found on portal 192.168.10.94 would be: +# +#Subnet=192.168.10.0/24 +# ResetTimeout=6 +# +# ----------------------------- +# CONTINUOUS DISCOVERY SETTINGS +# ----------------------------- +# To globally specify that all discovery sessions be kept open, uncomment the +# following line: +# +#Continuous=yes +# +# To globally specify that all discovery sessions be closed once discovery is +# completed, uncomment the following line: +# +#Continuous=no +# +# The global continuous discovery setting can be overridden on a per target +# basis. An example of setting "Continuous" to "no" for just target iqn.1987- +# 05.com.cisco:00.0d1d898e8d66.t0 would be: +# +#TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 +# Continuous=no +# +# --------------------------------- +# ASYNC EVENT NOTIFICATION SETTINGS +# --------------------------------- +# To globally specify that the initiator wants to receive vendor specific async +# events from the target(s), uncomment the following line: +# +#SendAsyncText=yes +# +# To globally specify that the initiator does not want to receive vendor +# specific async events from the target(s), uncomment the following line: +# +#SendAsyncText=no +# +# The SendAsyncText key can be specified for a particular Discovery Address. +# +# The global async event notification setting can be overridden on a per target +# basis. An example of setting "SendAsyncText" to "no" for just target iqn.1987- +# 05.com.cisco:00.0d1d898e8d66.t0 would be: +# +#TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 +# SendAysncText=no +# +# ------------------------------------ +# iSCSI OPERATIONAL PARAMETER SETTINGS +# ------------------------------------ +# To globally enable R2T flow control (i.e., the initiator must wait for an R2T +# command before sending any data), uncomment the following line: +# +#InitialR2T=yes +# +# To globally disable R2T flow control (i.e., the initiator has an implied +# initial R2T of "FirstBurstLength" at offset 0), uncomment the following line: +# +#InitialR2T=no +# +# To globally enable immediate data (i.e., the initiator sends unsolicited data +# with the iSCSI command packet), uncomment the following line: +# +#ImmediateData=yes +# +# To globally disable immediate data (i.e., the initiator does not send +# unsolicited data with the iSCSI command PDU), uncomment the following line: +# +#ImmediateData=no +# +# To globally specify the maximum number of data bytes the initiator can receive +# in an iSCSI PDU from a target, uncomment the following line: +# +#MaxRecvDataSegmentLength=<number> +# +# where <number> is the number of bytes in the range of 512 to (2^24-1) +# +# To globally specify the maximum number of unsolicited data bytes the initiator +# can send in an iSCSI PDU to a target, uncomment the following line: +# +#FirstBurstLength=<number> +# +# where <number> is the number of bytes in the range of 512 to (2^24-1) +# +# To globally specify the maximum SCSI payload that the initiator will negotiate +# with the target for, uncomment the following line: +# +#MaxBurstLength=<number> +# +# where <number> is the number of bytes in the range of 512 to (2^24-1) +# +# To globally specifiy the maximum number of bytes that can be sent over a TCP +# connection by the initiator before receiving an acknowledgement from the +# target, uncomment the following line: +# +#TCPWindowSize=<number> +# +# where <number> is the number of bytes in the range of 512 to (2^24-1) +# +# The global iSCSI operational parameter setting can be overridden on a per +# target basis. An example of setting multiple parameters for just target +# iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 would be: +# +#TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 +# InitialR2T=no +# ImmediateData=no +# MaxRecvDataSegmentLength=128 * 1024 +# FirstBurstLength=262144 +# MaxBurstLength=(16 * 1024 * 1024) - 1024 +# TCPWindowSize=262144 +# +# The global "TCPWindowSize" setting can also be overridden on a per portal +# basis. An example of setting the "TCPWindowSize" for just subnet 10.77.13.0/16 +# would be: +# +#Subnet=10.77.13.0/16 +# TCPWindowSize=262144 +# +# ------------ +# SLP SETTINGS +# ------------ +# To globally configure the unicast IP address of the SLP service or directory +# agent (i.e., the address at which iSCSI targets can be discovered), uncomment +# the following line: +# +#SLPUnicast=<address> +# +# where <address> is single IP address. +# +# To globally configure the multicast IP address of the SLP service or directory +# agent (i.e., the address at which iSCSI targets can be discovered), uncomment +# the following line: +# +#SLPMulticast=<address> +# +# where <address> is one of the following values: +# "all" +# "none" +# a comma delimited list of IP addresses +# +# An example of valid SLPMulticast settings are: +# +#SLPMulticast=all +#SLPMulticast=none +#SLPMulticast=192.168.10.94,10.77.10.94 +# +# To enable CHAP authentication for every target discovered through a given SLP +# directory or service agent, add an "OutgoingUsername" and "OutgoingPassword" +# entry indented below the "SLPUnicast" or "SLPMulticast" entries. An example of +# these configurations would be: +# +#SLPUnicast=192.168.10.95 +# OutgoingUsername=alice +# OutgoingPassword=nty57nbe +# +#SLPMulticast=all +# OutgoingUsername=alice1 +# OutgoingPassword=nty57ocf +# +# To specify the time interval between the sending of successive SLP queries, +# uncomment the following line: +# +#PollInterval=<text> +# +# where <text> is specified in either seconds (e.g., "30s"), minutes +# (e.g., "3m") or hours (e.g., "5h"). + |