<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>مفاهیم پایه ای iSCSI Archives - راهکارهای جامع دیتاسنتر</title>
	<atom:link href="https://vcenter.ir/tag/%d9%85%d9%81%d8%a7%d9%87%db%8c%d9%85-%d9%be%d8%a7%db%8c%d9%87-%d8%a7%db%8c-iscsi/feed/" rel="self" type="application/rss+xml" />
	<link>https://vcenter.ir/tag/مفاهیم-پایه-ای-iscsi/</link>
	<description>دیتاسنتر &#124; سرور &#124; استوریج &#124; مجازی سازی &#124; شبکه &#124; ذخیره سازی و بکاپ</description>
	<lastBuildDate>Wed, 06 Jul 2016 13:28:05 +0000</lastBuildDate>
	<language>fa-IR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://vcenter.ir/wp-content/uploads/2016/07/cropped-vcenter.ir-logo-32x32.png</url>
	<title>مفاهیم پایه ای iSCSI Archives - راهکارهای جامع دیتاسنتر</title>
	<link>https://vcenter.ir/tag/مفاهیم-پایه-ای-iscsi/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>مفاهیم پایه ای iSCSI</title>
		<link>https://vcenter.ir/%d9%85%d9%81%d8%a7%d9%87%db%8c%d9%85-%d9%be%d8%a7%db%8c%d9%87-%d8%a7%db%8c-iscsi/</link>
					<comments>https://vcenter.ir/%d9%85%d9%81%d8%a7%d9%87%db%8c%d9%85-%d9%be%d8%a7%db%8c%d9%87-%d8%a7%db%8c-iscsi/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 06 Jul 2016 13:28:05 +0000</pubDate>
				<category><![CDATA[دسته‌بندی نشده]]></category>
		<category><![CDATA[مفاهیم پایه ای iSCSI]]></category>
		<guid isPermaLink="false">http://vcenter.ir/?p=5121</guid>

					<description><![CDATA[<p>مفاهیم پایه ای iSCSI Terminology: iSCSI (for “Internet SCSI”) is a protocol that allows clients (called initiators) to send SCSI commands (CDBs) to SCSI storage devices (targets) on remote servers.&#8230; </p>
<p>نوشته <a href="https://vcenter.ir/%d9%85%d9%81%d8%a7%d9%87%db%8c%d9%85-%d9%be%d8%a7%db%8c%d9%87-%d8%a7%db%8c-iscsi/">مفاهیم پایه ای iSCSI</a> اولین بار در <a href="https://vcenter.ir">راهکارهای جامع دیتاسنتر</a>. پدیدار شد.</p>
]]></description>
										<content:encoded><![CDATA[<h1 id="iscsi_basics" class="sectionedit2">مفاهیم پایه ای iSCSI</h1>
<div class="level1">
<p>Terminology: <strong>iSCSI</strong> (for “Internet SCSI”) is a protocol that allows clients (called initiators) to send SCSI commands (CDBs) to SCSI storage devices (targets) on remote servers. It is a popular Storage Area Network (SAN) protocol, allowing organizations to consolidate storage into data center storage arrays while providing hosts (such as database and web servers) with the illusion of locally-attached disks. Unlike Fibre Channel, which requires special-purpose cabling, iSCSI can be run over long distances using existing network infrastructure.<br />
<strong>IQN</strong> is the iSCSI Qualified Name and has the format iqn.yyyy-mm.&lt;reversed domain name&gt;.&lt;scsi alias and or hash&gt;</p>
<p>The default TCP ports for iSCSI are 860 and 3260.</p>
<p>Source and more information on wikipedia:<a class="urlextern" title="http://en.wikipedia.org/wiki/ISCSI" href="http://en.wikipedia.org/wiki/ISCSI" target="_blank" rel="nofollow">http://en.wikipedia.org/wiki/ISCSI</a></p>
</div>
<h1 id="implementation" class="sectionedit3">Implementation</h1>
<div class="level1">
<p>Implementation of the iSCSI protocol in a Netware environment using a dedicated network: <a class="media" title="iscsinetware.jpg" href="http://www.getshifting.com/wiki/_detail/iscsinetware.jpg?id=iscsi"><img decoding="async" class="media" title="iscsinetware.jpg" src="http://www.getshifting.com/wiki/_media/iscsinetware.jpg" alt="iscsinetware.jpg" /></a></p>
</div>
<h2 id="implementation_target_software_on_netware" class="sectionedit4">Implementation target software on netware</h2>
<div class="level2">
<p>The implementation of the target software in netware is covered in three steps:</p>
<ol>
<li class="level1">
<div class="li">Create an iSCSI partition</div>
</li>
<li class="level0">
<div class="li">Run the target software</div>
</li>
<li class="level0">
<div class="li">Configure access control to the target === Create an iSCSI partition Using NSSMU</div>
</li>
<li class="level0">
<div class="li">Start the NSSMU utility by entering nssmu at the target server console.</div>
</li>
<li class="level0">
<div class="li">Select Partitions from the Main menu.</div>
</li>
<li class="level0">
<div class="li">Press Insert and select the device where you want to create the partition.</div>
</li>
<li class="level0">
<div class="li">Select iSCSI as the partition type.</div>
</li>
<li class="level0">
<div class="li">Specify the partition size, then select Create to create the partition. === Run the target software During the installation of the server, if you selected to install the “iSCSI SAN Storage Server” or the “iSCSI Target” component the target software is installed and configured to run during startup of the system. That&#8217;s done by adding the ton.ncf to the autoexec.ncf file and by running the ton.ncf and tinit.ncf files. Note that you can unload and load the iSCSI software by running ton and toff at the console prompt. === Configure access control to the target If your iSCSI target is in the same eDirectory tree as the iSCSI initiators that will access it, make each initiator server that you want to access the target a trustee of the Target object. You don’t need to assign specific access rights, you just need to make each Initiator object a trustee of the Target object.When iSCSI target software is first started on a server, an iSCSI target object for each iSCSI partition is automatically created in the same eDirectory context as the target server. == Implementation initiator software on netware The implementation of the initiation software in netware is covered in three steps:</div>
</li>
<li class="level0">
<div class="li">Install the software</div>
</li>
<li class="level0">
<div class="li">Connect to the target server</div>
</li>
<li class="level0">
<div class="li">Automate the connect === Install the software The iSCSI software is already shipped with Netware 6.5, starting with SP3. If you want the latest software please follow these directions: Download the software from the Novell website to your workstation. Extract it, and copy all the extracted .zip and .ncf files to the root of the SYS volume. Issue the next command on the command line:</div>
</li>
</ol>
<ul>
<li class="level0">
<div class="li">ISCSINST This will copy all the files to the appropriate directories. === Connect to the target server To load the initiator software issue the next command at the command line:</div>
</li>
<li class="level0">
<div class="li">ion Note that for unloading the initiator software you can use the ioff command.</div>
</li>
</ul>
<p>To discover and test the connection to the target server issue the next command:</p>
<ul>
<li class="level1">
<div class="li">iscsinit discover &lt;ip-address&gt; Note that the ip-address mentioned is the ip-address of the target server.</div>
</li>
</ul>
<p>To connect to the target server issue the next command at the command line:</p>
<ul>
<li class="level1">
<div class="li">iscsinit connect &lt;ip-address&gt; &lt;target_name&gt; Again, the ip-address is the one from the target server. The target_name is the name discovered using the previous command.</div>
</li>
</ul>
</div>
<h3 id="automate_the_connect" class="sectionedit5">Automate the connect</h3>
<div class="level3">
<p>If you want netware to load and connect to the iSCSI target automatically after a reboot you&#8217;ll have to edit the autoexec.ncf. Add the folllowing lines:</p>
<pre class="code">#
# iSCSI load and connect
#
ion
iscsinit connect &lt;ip-address&gt; &lt;target_name&gt;</pre>
<p>You&#8217;re now ready to format your iSCSI disks! <strong>Note:</strong> If you intend to install cluster services, do so after configuring the iSCSI initiator software but before formatting the iSCSI disks.</p>
</div>
<h2 id="implementation_initiator_software_on_aix" class="sectionedit6">Implementation initiator software on AIX</h2>
<div class="level2">
<p>The implementation of the initiation software in AIX is covered in two steps:</p>
<ol>
<li class="level1">
<div class="li">Install the software</div>
</li>
<li class="level0">
<div class="li">Connect to the target server === Install the software You need to install the software using the software supplied by the iSCSI target supplier. In this case it&#8217;s Netapp:</div>
</li>
</ol>
<ul>
<li class="level0">
<div class="li">tar -xf netapp_aix_SAN_kit_1.1.tar</div>
</li>
<li class="level0">
<div class="li">cd netapp_aix_SAN_kit_1.1</div>
</li>
<li class="level0">
<div class="li">./install Running the install script choose to install the kit and the iSCSI software. You don&#8217;t need the FibreChannel software, so don&#8217;t install it. Reboot the server after the installation. === Connect to the target server To connect to the target server you have to complete these steps:</div>
</li>
</ul>
<ol>
<li class="level0">
<div class="li">Configure the network card connected to the SAN</div>
</li>
<li class="level0">
<div class="li">Define the target server</div>
</li>
<li class="level0">
<div class="li">Create iSCSI nodename</div>
</li>
<li class="level0">
<div class="li">Discover the LUNS ==== Configure the network card connected to the SAN In case you have a dedicated network you&#8217;ll need to configure a dedicated NIC on the server to connect to the SAN. Using smitty go to “Communications Applications and Services”, select “TCPIP” and select “Minimum Configuration &amp; Startup”. In this menu you&#8217;ll be able to configure your network card. You&#8217;ll at least need the ip-address and the subnetmask. If the target server is in another subnet or VLAN you&#8217;ll also need to know the gateway. ==== Define the target server Using vi add the following line to /etc/iscsi/targets:</p>
<pre class="code">&lt;ip-address&gt; 3260 &lt;iqn.1992-08.com.netapp:sn.12345678&gt;</pre>
<p>That is, the ip-address of the target server, the iSCSI port (3260 is the default) and the iSCSI nodename of the target server, in this case a netapp. ==== Create the iSCSI nodename Than create the iSCSI nodename on the server using the next command:</p>
</div>
</li>
</ol>
<ul>
<li class="level0">
<div class="li">chdev -l iscsi0 -a initiator_name=iqn.1996-04.com.ibm:&lt;ininame&gt; Note that &lt;ininame&gt; is the initiator name as defined on the target server. You can verify the previous command by issuing this command:</div>
</li>
<li class="level0">
<div class="li">lsattr -El iscsi0 ==== Discover the LUNS You can discover the LUNS created at the target by issuing this command:</div>
</li>
<li class="level0">
<div class="li">cfgmgr -l iscsi0 And you can verify this by issuing this command:</div>
</li>
<li class="level0">
<div class="li">sanlun lun show all You should now see the LUNS displayed. You can now add the discovered disks into an appropriate volume group.</div>
</li>
</ul>
</div>
<h2 id="implementation_initiator_software_on_sleslinux" class="sectionedit7">Implementation initiator software on SLES / Linux</h2>
<div class="level2"></div>
<h3 id="install_and_configure_the_software" class="sectionedit8">Install and configure the software</h3>
<div class="level3">
<p>On SLES or other suse core versions iSCSI is installed through yast. Start yast and go to Network Services → iSCSI initiator: <a class="media" title="iscsilinux01.jpg" href="http://www.getshifting.com/wiki/_detail/iscsilinux01.jpg?id=iscsi"><img decoding="async" class="media" title="iscsilinux01.jpg" src="http://www.getshifting.com/wiki/_media/iscsilinux01.jpg" alt="iscsilinux01.jpg" /></a><br />
After you&#8217;ve selected this you might get a warning to install the software first. If so, follow the prompts to install. In case you have the proper <a class="wikilink1" title="suseinstallationupdateserver" href="http://www.getshifting.com/wiki/suseinstallationupdateserver">installation servers</a> selected this will give no problems. After the installation you&#8217;ll see this screen: <a class="media" title="iscsilinux02.jpg" href="http://www.getshifting.com/wiki/_detail/iscsilinux02.jpg?id=iscsi"><img decoding="async" class="media" title="iscsilinux02.jpg" src="http://www.getshifting.com/wiki/_media/iscsilinux02.jpg" alt="iscsilinux02.jpg" /></a><br />
The iSCSI initiator name is the name you need to configure on the target to be allowed to contact the iSCSI target. You also might want to change the Service Start from &#8216;Manual&#8217; (default) to &#8216;When booting&#8217;. After you&#8217;ve setup the iSCSI target to allow the iSCSI initiator to connect you can discover the device and connect to it. To do so, go to Discovered Targets and select Discovery. Fill in the ip-address of the target, and click next. If everything is going well, you&#8217;ll receive the targets your initiator can connect to. Select the target you want to connect to and select &#8216;Log In&#8217;. Fill in, if desired, the authentication credentials and select Next. If everything went fine you now have a connected target: <a class="media" title="iscsilinux03.jpg" href="http://www.getshifting.com/wiki/_detail/iscsilinux03.jpg?id=iscsi"><img decoding="async" class="media" title="iscsilinux03.jpg" src="http://www.getshifting.com/wiki/_media/iscsilinux03.jpg" alt="iscsilinux03.jpg" /></a><br />
Note that the Start-UP default is manual. Select &#8216;Toggle Start-Up&#8217; to change this. To use the storage simply go to Partitioner and partition your newly added storage: <a class="media" title="iscsilinux04.jpg" href="http://www.getshifting.com/wiki/_detail/iscsilinux04.jpg?id=iscsi"><img decoding="async" class="media" title="iscsilinux04.jpg" src="http://www.getshifting.com/wiki/_media/iscsilinux04.jpg" alt="iscsilinux04.jpg" /></a></p>
</div>
<h1 id="iscsi_and_vmware" class="sectionedit9">iSCSI and VMware</h1>
<div class="level1"></div>
<h1 id="iscsi_types" class="sectionedit10">iSCSI Types</h1>
<div class="level1">
<p>Below are the types of iSCSI supported by VMware</p>
</div>
<h2 id="software_iscsi_initiator" class="sectionedit11">Software iSCSI Initiator</h2>
<div class="level2">
<p>Software iSCSI initiator is VMware code built into the VMkernel. It used standard network adapters.<br />
Booting is supported for ESXi</p>
</div>
<h2 id="dependent_hardware_iscsi_initiator" class="sectionedit12">Dependent Hardware iSCSI Initiator</h2>
<div class="level2">
<p>A dependent hardware iSCSI initiator (or adapter) depends on VMware networking and on iSCSI configuration and management interfaced provided by VMware. This type of adapter presents a standard network adapter and iSCSI off-load functionality for the same port. To make this adapter functional , you must set up networking for the iSCSI traffic and bind the adapter and an appropriate VMkernel iSCSI port.<br />
Booting is supported for ESXi<br />
This type is supported since vSphere 4.1</p>
</div>
<h2 id="independent_hardware_iscsi_initiatior" class="sectionedit13">Independent Hardware iSCSI Initiatior</h2>
<div class="level2">
<p>An independent hardware iSCSI adapter handles all iSCSI and network processing and management.<br />
Booting is supported for ESX</p>
</div>
<h1 id="iscsi_discovery_methods" class="sectionedit14">iSCSI Discovery Methods</h1>
<div class="level1"></div>
<h2 id="static_discovery" class="sectionedit15">Static Discovery</h2>
<div class="level2">
<p>The initiator does not need to perform a discovery. The initiator knowns in advance all the targets and uses IP addresses and domain names to communicate with them.</p>
</div>
<h2 id="dynamic_discovery_sendtargets" class="sectionedit16">Dynamic Discovery (SendTargets)</h2>
<div class="level2">
<p>Each time the initiator contacts a specified iSCSI server it sends a SendTargets request to the server. The server responds with a list of available targets to the initiator. The names and IP addresses of these targets appear as static targets in the vSphere Client. Removed targets may return on rescans, HBA reset or host reboot.</p>
</div>
<h1 id="iscsi_security_chap" class="sectionedit17">iSCSI Security (CHAP)</h1>
<div class="level1">
<p>CHAP uses a three-way handshake to verify the identity of hosts and or targets. The verification is based on a predefined private value, called a CHAP secret. CHAP is supported on the adapter level. On this level, all targets use the same CHAP secret. For software iSCSI, also per-target CHAP secrets are supported.</p>
</div>
<h2 id="chap_authentication_methodunidirectional_one-way_chap" class="sectionedit18">CHAP Authentication Method: Unidirectional (one-way CHAP)</h2>
<div class="level2">
<p>The target authenticated the initiator, but the initiator does not authenticate the target. A CHAP secret must be specified for initiator to access the target.</p>
</div>
<h2 id="chap_authentication_methodbidirectional_mutual_chap" class="sectionedit19">CHAP Authentication Method: Bidirectional (mutual CHAP)</h2>
<div class="level2">
<p>Provides an additional level of security which enabled the initiator to authenticate the target. Different secrets must be used for target and initiator secrets.<br />
This is available for software iSCSI only.</p>
</div>
<h2 id="chap_options" class="sectionedit20">CHAP Options</h2>
<div class="level2"></div>
<h3 id="do_not_use_chap" class="sectionedit21">Do not use CHAP</h3>
<div class="level3">
<p>The host does not use CHAP and disable authentication if it is currently enabled.</p>
</div>
<h3 id="do_not_use_chap_unless_required_by_target" class="sectionedit22">Do not use CHAP unless required by target</h3>
<div class="level3">
<p>The host prefers a non-CHAP connection but allows for authentication when the target requires it.<br />
This is available for software iSCSI only.</p>
</div>
<h3 id="use_chap_unless_prohibited_by_target" class="sectionedit23">Use CHAP unless prohibited by target</h3>
<div class="level3">
<p>The host prefers CHAP connections but can use nono-CHAP connections when the target requires it.</p>
</div>
<h3 id="use_chap" class="sectionedit24">Use CHAP</h3>
<div class="level3">
<p>This option requires successful CHAP authentication. This option is required for mutual CHAP.<br />
This is available for software iSCSI only.</p>
</div>
<h2 id="disabling_chap" class="sectionedit25">Disabling CHAP</h2>
<div class="level2">
<p>If you disable CHAP on a system that requires CHAP authentication, existing iSCSI sessions remain active until you reboot your ESX/ESXi host or the storage system forces a logout. After the session ends, you can no longer connect to targets that require CHAP.</p>
</div>
<h1 id="iscsi_possibilities_overview" class="sectionedit26">iSCSI Possibilities Overview</h1>
<div class="level1">
<div class="table sectionedit27">
<table class="inline">
<thead>
<tr class="row0">
<th class="col0"></th>
<th class="col1">Software iSCSI</th>
<th class="col2">Dependent Hardware iSCSI</th>
<th class="col3">Independent Hardware iSCSI</th>
</tr>
</thead>
<tbody>
<tr class="row1">
<td class="col0">Boot</td>
<td class="col1">ESXi</td>
<td class="col2">ESXi</td>
<td class="col3">ESX</td>
</tr>
<tr class="row2">
<td class="col0">Static Targets</td>
<td class="col1">Yes</td>
<td class="col2">Yes</td>
<td class="col3">Yes</td>
</tr>
<tr class="row3">
<td class="col0">SendTargets</td>
<td class="col1">Yes</td>
<td class="col2">Yes</td>
<td class="col3">Yes</td>
</tr>
<tr class="row4">
<td class="col0">Unidirectional</td>
<td class="col1">Yes</td>
<td class="col2">Yes</td>
<td class="col3">Yes</td>
</tr>
<tr class="row5">
<td class="col0">Bidirectional</td>
<td class="col1">Yes</td>
<td class="col2">No</td>
<td class="col3">No</td>
</tr>
<tr class="row6">
<td class="col0">Do not use CHAP</td>
<td class="col1">Yes</td>
<td class="col2">Yes</td>
<td class="col3">Yes</td>
</tr>
<tr class="row7">
<td class="col0">Do not use CHAP unless required by target</td>
<td class="col1">Yes</td>
<td class="col2">No</td>
<td class="col3">No</td>
</tr>
<tr class="row8">
<td class="col0">Use CHAP unless prohibited by target</td>
<td class="col1">Yes</td>
<td class="col2">Yes</td>
<td class="col3">Yes</td>
</tr>
<tr class="row9">
<td class="col0">Use CHAP</td>
<td class="col1">Yes</td>
<td class="col2">No</td>
<td class="col3">No</td>
</tr>
</tbody>
</table>
</div>
<div class="tags"><a class="wikilink1" title="tag:netware" href="http://www.getshifting.com/wiki/tag/netware?do=showtag&amp;tag=netware" rel="tag">netware</a>, <a class="wikilink1" title="tag:storage" href="http://www.getshifting.com/wiki/tag/storage?do=showtag&amp;tag=storage" rel="tag">storage</a>, <a class="wikilink1" title="tag:aix" href="http://www.getshifting.com/wiki/tag/aix?do=showtag&amp;tag=aix" rel="tag">aix</a>, <a class="wikilink1" title="tag:linux" href="http://www.getshifting.com/wiki/tag/linux?do=showtag&amp;tag=linux" rel="tag">linux</a>, <a class="wikilink1" title="tag:network" href="http://www.getshifting.com/wiki/tag/network?do=showtag&amp;tag=network" rel="tag">network</a>, <a class="wikilink1" title="tag:vmware" href="http://www.getshifting.com/wiki/tag/vmware?do=showtag&amp;tag=vmware" rel="tag">vmware</a></div>
</div>
<div class="comment_form">You could leave a comment if you were logged in.</div>
<p>نوشته <a href="https://vcenter.ir/%d9%85%d9%81%d8%a7%d9%87%db%8c%d9%85-%d9%be%d8%a7%db%8c%d9%87-%d8%a7%db%8c-iscsi/">مفاهیم پایه ای iSCSI</a> اولین بار در <a href="https://vcenter.ir">راهکارهای جامع دیتاسنتر</a>. پدیدار شد.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://vcenter.ir/%d9%85%d9%81%d8%a7%d9%87%db%8c%d9%85-%d9%be%d8%a7%db%8c%d9%87-%d8%a7%db%8c-iscsi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
