<?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>Ronny Egners Blog</title>
	<atom:link href="http://blog.ronnyegner-consulting.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ronnyegner-consulting.de</link>
	<description>Ronny Egners Blog about Oracle, UNIX and EMC / Legato Networker</description>
	<lastBuildDate>Thu, 28 Mar 2013 08:42:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>ORA-07217: sltln: environment variable cannot be evaluated when backing up with RMAN</title>
		<link>http://blog.ronnyegner-consulting.de/2013/03/28/ora-07217-sltln-environment-variable-cannot-be-evaluated-when-backing-up-with-rman/</link>
		<comments>http://blog.ronnyegner-consulting.de/2013/03/28/ora-07217-sltln-environment-variable-cannot-be-evaluated-when-backing-up-with-rman/#comments</comments>
		<pubDate>Thu, 28 Mar 2013 08:42:51 +0000</pubDate>
		<dc:creator>Ronny Egner</dc:creator>
				<category><![CDATA[Oracle in general]]></category>

		<guid isPermaLink="false">http://blog.ronnyegner-consulting.de/?p=2731</guid>
		<description><![CDATA[When setting up a RMAN backup to tape i encountered the following issue on a Oracle 9.2 database (not sure if it applies to older database versions; i´d say no&#8230;): RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== ORA-07217: sltln: environment variable cannot be evaluated. It turned out the script used to [...]]]></description>
			<content:encoded><![CDATA[<p>When setting up a RMAN backup to tape i encountered the following issue on a Oracle 9.2 database (not sure if it applies to older database versions; i´d say no&#8230;):</p>
<pre>RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-07217: sltln: environment variable cannot be evaluated.</pre>
<p>It turned out the script used to start the rman backup was the problem:</p>
<pre>connect target /
connect catalog rman/rman@catalog
run {
backup database;
}</pre>
<p>After changing the target connection line to include the username, password and TNS connect string the backup ran fine:</p>
<pre><strong>connect target sys/sys@database</strong>
connect catalog rman/rman@catalog
run {
backup database;
}</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronnyegner-consulting.de/2013/03/28/ora-07217-sltln-environment-variable-cannot-be-evaluated-when-backing-up-with-rman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Networker: Add a user to the Administrator list from the command line</title>
		<link>http://blog.ronnyegner-consulting.de/2013/03/14/networker-add-a-user-to-the-administrator-list-from-the-command-line/</link>
		<comments>http://blog.ronnyegner-consulting.de/2013/03/14/networker-add-a-user-to-the-administrator-list-from-the-command-line/#comments</comments>
		<pubDate>Thu, 14 Mar 2013 09:24:42 +0000</pubDate>
		<dc:creator>Ronny Egner</dc:creator>
				<category><![CDATA[Oracle in general]]></category>

		<guid isPermaLink="false">http://blog.ronnyegner-consulting.de/?p=2714</guid>
		<description><![CDATA[In case you locked yourself out of the Networker you can add a user from the command line with the following command: &#160; nsraddadmin -u "user=administrator, host=machine1"]]></description>
			<content:encoded><![CDATA[<p>In case you locked yourself out of the Networker you can add a user from the command line with the following command:</p>
<p>&nbsp;</p>
<pre>nsraddadmin -u "user=administrator, host=machine1"</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronnyegner-consulting.de/2013/03/14/networker-add-a-user-to-the-administrator-list-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exadata: How to rename grid disks</title>
		<link>http://blog.ronnyegner-consulting.de/2012/12/11/exadata-how-to-rename-grid-disks/</link>
		<comments>http://blog.ronnyegner-consulting.de/2012/12/11/exadata-how-to-rename-grid-disks/#comments</comments>
		<pubDate>Tue, 11 Dec 2012 10:10:36 +0000</pubDate>
		<dc:creator>Ronny Egner</dc:creator>
				<category><![CDATA[Oracle in general]]></category>

		<guid isPermaLink="false">http://blog.ronnyegner-consulting.de/?p=2685</guid>
		<description><![CDATA[&#160; Just a short how to rename grid disks (and keep the size). In the example below the grid disks name contained a typo &#8216;FALSH02&#8242; and had to be renamed to &#8216;FLASH02&#8242;: dcli -c exadata01cel01 -l root "cellcli -e drop griddisk ALL prefix=FALSH02 force" dcli -c exadata01cel01 -l root "cellcli -e creategriddisk ALL HARDDISK prefix=FLASH02" [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Just a short how to rename grid disks (and keep the size). In the example below the grid disks name contained a typo &#8216;FALSH02&#8242; and had to be renamed to &#8216;FLASH02&#8242;:</p>
<pre>dcli -c exadata01cel01 -l root "cellcli -e drop griddisk ALL prefix=FALSH02 force"
dcli -c exadata01cel01 -l root "cellcli -e creategriddisk ALL HARDDISK prefix=FLASH02"

Sample output:

[root@exadata01db01 ~]# dcli -c exadata01cel01 -l root "cellcli
-e drop griddisk ALL prefix=FALSH02 force"

exadata01cel01: GridDisk FALSH02_CD_00_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_01_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_02_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_03_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_04_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_05_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_06_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_07_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_08_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_09_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_10_exadata01cel01 successfully dropped
exadata01cel01: GridDisk FALSH02_CD_11_exadata01cel01 successfully dropped

[root@exadata01db01 ~]# dcli -c exadata01cel01 -l root "cellcli
-e create griddisk ALL HARDDISK prefix=FLASH02"

exadata01cel01: GridDisk FLASH02_CD_00_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_01_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_02_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_03_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_04_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_05_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_06_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_07_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_08_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_09_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_10_exadata01cel01 successfully created
exadata01cel01: GridDisk FLASH02_CD_11_exadata01cel01 successfully created"</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronnyegner-consulting.de/2012/12/11/exadata-how-to-rename-grid-disks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-39123: Data Pump transportable tablespace job aborted / ORA-01240: too many data files to add in one command</title>
		<link>http://blog.ronnyegner-consulting.de/2012/09/27/ora-39123-data-pump-transportable-tablespace-job-aborted-ora-01240-too-many-data-files-to-add-in-one-command/</link>
		<comments>http://blog.ronnyegner-consulting.de/2012/09/27/ora-39123-data-pump-transportable-tablespace-job-aborted-ora-01240-too-many-data-files-to-add-in-one-command/#comments</comments>
		<pubDate>Thu, 27 Sep 2012 10:02:47 +0000</pubDate>
		<dc:creator>Ronny Egner</dc:creator>
				<category><![CDATA[Oracle in general]]></category>

		<guid isPermaLink="false">http://blog.ronnyegner-consulting.de/?p=2690</guid>
		<description><![CDATA[Today i ran into a good example for really really bad error messages: Imagine a tablespace with 720 datafiles (approx 22 TB in total size) which should be transported via transportable tablespace. For this you created a plain, new 11.2 database and you are trying to attach the transportable tablespace: [oracle@ora1 ~]$ impdp system/manager parfile=import.par [...]]]></description>
			<content:encoded><![CDATA[<div>
<div>
<div>Today i ran into a good example for really really bad error messages: Imagine a tablespace with 720 datafiles (approx 22 TB in total size) which should be transported via transportable tablespace. For this you created a plain, new 11.2 database and you are trying to attach the transportable tablespace:</div>
<div></div>
<div>
<pre>[oracle@ora1 ~]$ impdp system/manager parfile=import.par
Import: Release 11.2.0.3.0 - Production on Wed Sep 26 19:55:19 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.</pre>
<pre>Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01":  system/******** parfile=import.par
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
<strong>ORA-39123: Data Pump transportable tablespace job aborted ORA-01240: too many data files to add in one command</strong>
Job "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01" stopped due to fatal error at 19:55:22</pre>
</div>
<div><span id="more-2690"></span></div>
<div></div>
<div>&#8220;Too many datafiles&#8221;&#8230; well 720 are really a lot but within the limits oracle imposes. On MOS there is only one matching note:</div>
<div></div>
<div style="padding-left: 30px;"><em>&#8220;The problem here is that during TTS plugin phase we generate a single redo record containing the name of all the datafiles in the operation. If there are too many files in the transportable set then the redo record that needs to be generated goes past the MAX size redo record, resulting in the error ORA-1240. The limiting factor is the size of the <strong>NAMES</strong> of the files, not the physical size of the files themselves.&#8221;</em></div>
<div style="padding-left: 30px;"></div>
<div>I can tell you shortening the path names did not help at all. But while developing a testcase i found the error. It is the value of DB_FILES which is by default set to 200&#8230; by adding 720 more datafiles you will go way beyond that limit.</div>
<div>So let´s see what happens if we increse the parameter before the import:</div>
<div></div>
<pre>Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL&gt; show parameter db_files
NAME     TYPE VALUE
--------------------------
db_files     integer 200
SQL&gt; alter system set db_files=2000 scope=spfile;
System altered.

SQL&gt; startup force
ORACLE instance started.
Total System Global Area  801701888 bytes
Fixed Size    2232640 bytes
Variable Size  230690496 bytes
Database Buffers   566231040 bytes
Redo Buffers    2547712 bytes
Database mounted.
Database opened.
SQL&gt; Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options</pre>
</div>
</div>
<div>
<pre>[oracle@ora1 ~]$ impdp system/manager parfile=import.par
Import: Release 11.2.0.3.0 - Production on Wed Sep 26 19:56:19 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01":  system/******** parfile=import.par
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
Processing object type TRANSPORTABLE_EXPORT/TABLE
Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
Job "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01" completed with 1 error(s) at 19:56:27</pre>
</div>
<div></div>
<div>Problem solved :-)</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronnyegner-consulting.de/2012/09/27/ora-39123-data-pump-transportable-tablespace-job-aborted-ora-01240-too-many-data-files-to-add-in-one-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Query for Tablespace usage with Autoextend</title>
		<link>http://blog.ronnyegner-consulting.de/2012/08/23/query-for-tablespace-usage-with-autoextend/</link>
		<comments>http://blog.ronnyegner-consulting.de/2012/08/23/query-for-tablespace-usage-with-autoextend/#comments</comments>
		<pubDate>Thu, 23 Aug 2012 08:46:50 +0000</pubDate>
		<dc:creator>Ronny Egner</dc:creator>
				<category><![CDATA[Oracle in general]]></category>

		<guid isPermaLink="false">http://blog.ronnyegner-consulting.de/?p=2680</guid>
		<description><![CDATA[Sine i need to check the maximum size of tablespace with autoextend enabled i write the following query: set linesize 100 set pagesize 100 select                 a.tablespace_name,                 round(SUM(a.bytes)/(1024*1024*1024)) CURRENT_GB,                 round(SUM(decode(b.maxextend, null, A.BYTES/(1024*1024*1024), b.maxextend*8192/(1024*1024*1024)))) MAX_GB,                 (SUM(a.bytes)/(1024*1024*1024) - round(c.Free/1024/1024/1024)) USED_GB,                 round((SUM(decode(b.maxextend, null, A.BYTES/(1024*1024*1024), b.maxextend*8192/(1024*1024*1024))) - (SUM(a.bytes)/(1024*1024*1024) - round(c.Free/1024/1024/1024))),2) FREE_GB,                 round(100*(SUM(a.bytes)/(1024*1024*1024) - round(c.Free/1024/1024/1024))/(SUM(decode(b.maxextend, [...]]]></description>
			<content:encoded><![CDATA[<p>Sine i need to check the maximum size of tablespace with autoextend enabled i write the following query:</p>
<pre>
set linesize 100
set pagesize 100

select
                a.tablespace_name,
                round(SUM(a.bytes)/(1024*1024*1024)) CURRENT_GB,
                round(SUM(decode(b.maxextend, null, A.BYTES/(1024*1024*1024),
                b.maxextend*8192/(1024*1024*1024)))) MAX_GB,
                (SUM(a.bytes)/(1024*1024*1024) - round(c.Free/1024/1024/1024)) USED_GB,
                round((SUM(decode(b.maxextend, null, A.BYTES/(1024*1024*1024),
                b.maxextend*8192/(1024*1024*1024))) - (SUM(a.bytes)/(1024*1024*1024) -
                round(c.Free/1024/1024/1024))),2) FREE_GB,
                round(100*(SUM(a.bytes)/(1024*1024*1024) -
                round(c.Free/1024/1024/1024))/(SUM(decode(b.maxextend, null, A.BYTES/(1024*1024*1024),
                b.maxextend*8192/(1024*1024*1024))))) USED_PCT
from
                dba_data_files a,
                sys.filext$ b,
                (SELECT
                               d.tablespace_name ,sum(nvl(c.bytes,0)) Free
                FROM
                               dba_tablespaces d,
                               DBA_FREE_SPACE c
                WHERE
                               d.tablespace_name = c.tablespace_name(+)
                               group by d.tablespace_name) c
WHERE
                a.file_id = b.file#(+)
                and a.tablespace_name = c.tablespace_name
GROUP BY a.tablespace_name, c.Free/1024
ORDER BY tablespace_name;</pre>
<p>The result looks like this:</p>
<pre>TABLESPACE_NAME                CURRENT_GB     MAX_GB    USED_GB    FREE_GB   USED_PCT
------------------------------ ---------- ---------- ---------- ---------- ----------
SYSAUX                                 16         32          1         31          3
SYSTEM                                 16         32          0         32          0
TEST                                   10         11          0      10.85          0
UNDOTBS1                               16      32768          0      32768          0
UNDOTBS2                               16      32768          0      32768          0
UNDOTBS3                               16      32768          0      32768          0
UNDOTBS4                               16      32768          0      32768          0
UNDOTBS5                               16      32768          0      32768          0
UNDOTBS6                               16      32768          0      32768          0
UNDOTBS7                               16      32768          0      32768          0
UNDOTBS8                               16      32768          0      32768          0
USERS                                   1         32          0         32          0</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronnyegner-consulting.de/2012/08/23/query-for-tablespace-usage-with-autoextend/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Linux: Configuring iSCSI Multipathing</title>
		<link>http://blog.ronnyegner-consulting.de/2012/07/02/linux-configuring-iscsi-multipathing/</link>
		<comments>http://blog.ronnyegner-consulting.de/2012/07/02/linux-configuring-iscsi-multipathing/#comments</comments>
		<pubDate>Mon, 02 Jul 2012 05:08:10 +0000</pubDate>
		<dc:creator>Ronny Egner</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://blog.ronnyegner-consulting.de/?p=2590</guid>
		<description><![CDATA[A few days before i posted a short howto how to configure iSCSI multipathing with Nexenta. This post covers the configuration of the linux initiator using iSCSI multipathing. Before we start a preleminary note: It is a very good idea (i´d call it: &#8220;required&#8221;) to use separate subnets for each physical interface.  Do NOT use [...]]]></description>
			<content:encoded><![CDATA[<p>A few days before i posted a short howto how to configure iSCSI multipathing with Nexenta. This post covers the configuration of the linux initiator using iSCSI multipathing.</p>
<p>Before we start a preleminary note: <strong>It is a very good idea (i´d call it: &#8220;required&#8221;) to use separate subnets for each physical interface.  Do NOT use the same subnet accross different network interfaces!</strong></p>
<p>If you do not comply with this simple rule you will end up having problems with so called <a href="http://linux-ip.net/html/ether-arp.html" target="_blank">Arp Flux</a> (also documented <a href="http://blog.widodh.nl/2011/04/multipath-iscsi-with-ubuntu-10-04-and-a-equallogic-san/" target="_blank">here</a>, <a href="http://serverfault.com/questions/254773/specifying-a-preferred-route-when-there-are-multiple-links-to-same-network" target="_blank">here</a>, <a href="http://serverfault.com/questions/366349/2-nics-2-ips-same-subnet" target="_blank">here </a>and so on) which requires further modifications. <strong><br />
</strong></p>
<p>For configuring and using iSCSI multipathing the following packages are needed:</p>
<ul>
<li>device-mapper-multipath</li>
<li>device-mapper-multipath-libs</li>
<li>iscsi-initiator-utils</li>
</ul>
<p>Our testlab used a VM based on Oracle Enterprise Linux 6 Update 2 with two physical interfaces:</p>
<ul>
<li>eth1:    192.168.1.200/24</li>
<li>eth3:    192.168.10.2/24</li>
</ul>
<p><span id="more-2590"></span></p>
<h2>Multipathing</h2>
<h3>Why choosing Multipath over network bonding?</h3>
<p>Multipathing and network bonding both protect against failing network devices such as cables, switches and network cards and at the same time provde higher throughput by using more than one interface.</p>
<h4>Problem 1: Speed aggregation</h4>
<p>When using network bonding for port aggregation you need to decide which algorithm should be used to distribute the packages over the available interfaces. For all except the &#8216;active / backup&#8217; algorithm both the switch and the operating system must support the chosen algorithm. This includes the widely used LACP algorithm. Another downside is that algorithms such as LACP cannot be used accross physically independent switches.</p>
<p>In addition to that all algorithms except the &#8217;round robin&#8217; altgorithmn do NOT offer a speed improvement for a single connection beyond the speed of a single interface. However by distributing the different connections over all available interfaces the total throughout for all connections can indeed be higher than 1 Gbit/s (if your systems consists of several NICs with 1 Gbit/s speed).</p>
<p>The only exception to this rule is the &#8217;round robin&#8217; algorithm which offers the whole aggregated network speed even for a single connection. The downside is that most switches do not support this algorithmn.</p>
<p>In contrast Multipathing offers real aggregation by distributing the data over all available paths hence effectively aggregating the throughput.</p>
<h4>Problem 2: High Availability</h4>
<p>While every network bonding algorithmn protects against failing network cards and cables protection against failing switches is difficult. All algorithmns except &#8216;active / backup&#8217; require the switches being used to communicate with each other and explicitly offer support for this configuration which is only available in expensive switches.</p>
<p>Multipathing handles each connection separately and does not require any support in the switches firmware.</p>
<h3>Basic Configuration</h3>
<p>Create a file /etc/multipath.conf with the following content:</p>
<pre style="padding-left: 30px;">[root@mhvtl media]# cat /etc/multipath.conf
 defaults {
 udev_dir                /dev
 polling_interval        10
 path_selector           "round-robin 0"
 path_grouping_policy    multibus
 path_checker            readsector0
 rr_min_io               100
 max_fds                 8192
 rr_weight               priorities
 failback                immediate
 no_path_retry           fail
 user_friendly_names     yes
 }</pre>
<p>Note that</p>
<pre>     no_path_retry    fail</pre>
<p>is required for any kind of multipathing to work. Without this setting I/Os on failed paths end up being queued causing the whole device to become unresponsible.</p>
<h2>iSCSI: Connecting to the Target</h2>
<h3>Step #1: Discover iSCSI Targets</h3>
<pre>[root@mhvtl iscsi]# iscsiadm -m discovery -t sendtargets -p  192.168.10.1
 Starting iscsid:                                           [  OK  ]
 192.168.10.1:3260,2 iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-ff56689144d2
 192.168.1.5:3260,3 iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-ff56689144d2</pre>
<h3>Step #2: Login to the Targets</h3>
<h4>Portal #1: 192.168.10.1</h4>
<pre>[root@mhvtl iscsi]# iscsiadm -m node --target iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-ff56689144d2
--portal 192.168.10.1 --login

Logging in to [iface: default, target: iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-ff56689144d2,
portal: 192.168.10.1,3260] (multiple)

Login to [iface: default, target: iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-ff56689144d2,
portal: 192.168.10.1,3260] successful.</pre>
<h4>Portal #2: 192.168.1.5</h4>
<pre>[root@mhvtl iscsi]# iscsiadm -m node --target iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-ff56689144d2
--portal 192.168.1.5 --login

Logging in to [iface: default, target: iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-ff56689144d2,
portal: 192.168.1.5,3260] (multiple)

Login to [iface: default, target: iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-ff56689144d2,
portal: 192.168.1.5,3260] successful.</pre>
<h4>Status query</h4>
<pre>[root@mhvtl iscsi]# iscsiadm --mode node
 192.168.1.5:3260,3 iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-ff56689144d2
 192.168.10.1:3260,2 iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-ff56689144d2</pre>
<h4>/var/log/messages</h4>
<p>Connection to portal 192.168.10.1:</p>
<pre> Jun 24 18:03:51 mhvtl kernel: scsi6 : iSCSI Initiator over TCP/IP
 Jun 24 18:03:51 mhvtl kernel: scsi 6:0:0:0: Direct-Access     NEXENTA  NEXENTASTOR      1.0  PQ: 0 ANSI: 5
 Jun 24 18:03:51 mhvtl kernel: sd 6:0:0:0: Attached scsi generic sg3 type 0
 Jun 24 18:03:51 mhvtl kernel: sd 6:0:0:0: [sdc] 10485760 512-byte logical blocks: (5.36 GB/5.00 GiB)
 Jun 24 18:03:51 mhvtl kernel: sd 6:0:0:0: [sdc] Write Protect is off
 Jun 24 18:03:51 mhvtl kernel: sd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled,
 doesn't support DPO or FUA
 Jun 24 18:03:51 mhvtl kernel: sdc: detected capacity change from 0 to 5368709120
 Jun 24 18:03:51 mhvtl kernel: sdc: sdc1
 Jun 24 18:03:51 mhvtl kernel: sd 6:0:0:0: [sdc] Attached SCSI disk
 Jun 24 18:03:51 mhvtl multipathd: sdc: add path (uevent)
 Jun 24 18:03:51 mhvtl kernel: device-mapper: multipath round-robin: version 1.0.0 loaded
 Jun 24 18:03:51 mhvtl multipathd: mpatha: load table [0 10485760 multipath 0 0 1 1 round-robin 0 1 1 8:32 1]
 Jun 24 18:03:51 mhvtl multipathd: mpatha: event checker started
 Jun 24 18:03:51 mhvtl multipathd: sdc path added to devmap mpatha
 Jun 24 18:03:52 mhvtl iscsid: Connection4:0 to [target: iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-
 ff56689144d2, portal: 192.168.10.1,3260] through [iface: default] is operational now</pre>
<p>Connection to portal 192.168.1.5:</p>
<pre> Jun 24 18:04:01 mhvtl kernel: connection3:0: detected conn error (1020)
 Jun 24 18:04:01 mhvtl iscsid: Connection3:0 to [target: iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-
 ff56689144d2, portal: 192.168.1.5,3260] through [iface: default] is shutdown.
 Jun 24 18:04:03 mhvtl kernel: scsi7 : iSCSI Initiator over TCP/IP
 Jun 24 18:04:04 mhvtl kernel: scsi 7:0:0:0: Direct-Access     NEXENTA  NEXENTASTOR      1.0  PQ: 0 ANSI: 5
 Jun 24 18:04:04 mhvtl kernel: sd 7:0:0:0: Attached scsi generic sg4 type 0
 Jun 24 18:04:04 mhvtl kernel: sd 7:0:0:0: [sdd] 10485760 512-byte logical blocks: (5.36 GB/5.00 GiB)
 Jun 24 18:04:04 mhvtl kernel: sd 7:0:0:0: [sdd] Write Protect is off
 Jun 24 18:04:04 mhvtl kernel: sd 7:0:0:0: [sdd] Write cache: enabled, read cache: enabled,
 doesn't support DPO or FUA
 Jun 24 18:04:04 mhvtl kernel: sdd: detected capacity change from 0 to 5368709120
 Jun 24 18:04:04 mhvtl kernel: sdd: sdd1
 Jun 24 18:04:04 mhvtl kernel: sd 7:0:0:0: [sdd] Attached SCSI disk
 Jun 24 18:04:04 mhvtl multipathd: sdd: add path (uevent)
 Jun 24 18:04:04 mhvtl multipathd: mpatha: load table [0 10485760 multipath 0 0 1 1 round-robin 0 2 1 8:32 1 8:48 1]
 Jun 24 18:04:04 mhvtl multipathd: sdd path added to devmap mpatha
 Jun 24 18:04:04 mhvtl iscsid: Connection5:0 to [target: iqn.1986-03.com.sun:02:f1bb8f6d-b6d2-c3f7-cfb9-
 ff56689144d2, portal: 192.168.1.5,3260] through [iface: default] is operational now</pre>
<h4>Multipath Status</h4>
<pre style="padding-left: 30px;">[root@mhvtl iscsi]# multipath -ll
 mpatha (3600144f02ba6460000004fe7032f0001) dm-1 NEXENTA,NEXENTASTOR
 size=5.0G features='0' hwhandler='0' wp=rw
 `-+- policy='round-robin 0' prio=1 status=active
 |- 6:0:0:0 sdc 8:32 active ready running
 `- 7:0:0:0 sdd 8:48 active ready running</pre>
<h2>Testing Multipath</h2>
<p>After setting up and configuring multipathing it is highly recommended to test the behavior if paths fail. To do a simple test i stopped the interface &#8220;eth3&#8243; which leaves one remaining interface:</p>
<pre>ifconfig eth3 down</pre>
<p>/var/log/messages shows:</p>
<pre> Jun 24 18:05:34 mhvtl kernel: connection4:0: ping timeout of 5 secs expired, recv
 timeout 5, last rx 4299040130, last ping 4299045130, now 4299050130
 Jun 24 18:05:34 mhvtl kernel: connection4:0: detected conn error (1011)
 Jun 24 18:05:35 mhvtl multipathd: mpatha: sdc - readsector0 checker reports path is down
 Jun 24 18:05:35 mhvtl multipathd: checker failed path 8:32 in map mpatha
 Jun 24 18:05:35 mhvtl multipathd: mpatha: remaining active paths: 1
 Jun 24 18:05:35 mhvtl kernel: device-mapper: multipath: Failing path 8:32.
 Jun 24 18:05:35 mhvtl iscsid: Kernel reported iSCSI connection 4:0 error (1011) state (3)</pre>
<p>As you can see multipathd recognized the failing path and stopped I/O using the underlying device (in our test &#8220;/dev/sdc&#8221;):</p>
<pre>[root@mhvtl media]# multipath -ll
 mpatha (3600144f02ba6460000004fe7032f0001) dm-1 NEXENTA,NEXENTASTOR
 size=5.0G features='0' hwhandler='0' wp=rw
 `-+- policy='round-robin 0' prio=1 status=active
 |- 6:0:0:0 sdc 8:32 failed faulty running
 `- 7:0:0:0 sdd 8:48 active ready  running</pre>
<p>In our test there was a small I/O stall of approx 5 seconds after which everything continued to function normally. When re-enabling network interface eth3 multipathd automatically repaired the faulty path.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronnyegner-consulting.de/2012/07/02/linux-configuring-iscsi-multipathing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nexenta: Configuring iSCSI Multipath Target with multiple network cards</title>
		<link>http://blog.ronnyegner-consulting.de/2012/06/28/nexenta-configuring-iscsi-multipath-target-with-multiple-network-cards/</link>
		<comments>http://blog.ronnyegner-consulting.de/2012/06/28/nexenta-configuring-iscsi-multipath-target-with-multiple-network-cards/#comments</comments>
		<pubDate>Thu, 28 Jun 2012 15:06:36 +0000</pubDate>
		<dc:creator>Ronny Egner</dc:creator>
				<category><![CDATA[Oracle in general]]></category>

		<guid isPermaLink="false">http://blog.ronnyegner-consulting.de/?p=2588</guid>
		<description><![CDATA[This is a short post about how to configure iSCSI multipathing using Nexenta. I let it is neccessary to document it since the documentation is rather spare about it. In my lab setup i had a machine with two physically separated interfaces: e1000g0: 192.168.1.5/24   and e1000g1: 192.168.10.1/24 As you can see both interfaces are on [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short post about how to configure iSCSI multipathing using Nexenta. I let it is neccessary to document it since the documentation is rather spare about it.</p>
<p>In my lab setup i had a machine with two physically separated interfaces:</p>
<ul>
<li>e1000g0: 192.168.1.5/24   and</li>
<li>e1000g1: 192.168.10.1/24</li>
</ul>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/01-Network-Interfaces1.jpg"><img class="aligncenter  wp-image-2596" title="01-Network-Interfaces" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/01-Network-Interfaces1.jpg" alt="" width="765" height="134" /></a></p>
<p>As you can see both interfaces are on different subnets. <strong>Note that it is a very good idea (i´d call it: &#8220;required&#8221;) to use a separate subnet for each interface.  It will save you a lot of trouble and problems!</strong></p>
<p><strong></strong>If you do not comply with this simple rule you will end up having problems with so called <a href="http://linux-ip.net/html/ether-arp.html" target="_blank">Arp Flux</a> (also documented <a href="http://blog.widodh.nl/2011/04/multipath-iscsi-with-ubuntu-10-04-and-a-equallogic-san/" target="_blank">here</a>, <a href="http://serverfault.com/questions/254773/specifying-a-preferred-route-when-there-are-multiple-links-to-same-network" target="_blank">here</a>, <a href="http://serverfault.com/questions/366349/2-nics-2-ips-same-subnet" target="_blank">here </a>and so on) which requires further modifications.</p>
<p><strong>Note: If you modify and existing installation you only need to execute Step #2 and Step #3. </strong>Everything else should already be there.</p>
<p><span id="more-2588"></span></p>
<h3>Step #1 : Create an iSCSI target</h3>
<p>This step is only required if you do not yet have one. If you already have one &#8211; skip this step.</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/02-iSCSI-Targets1.jpg"><img class="aligncenter  wp-image-2599" title="02-iSCSI-Targets" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/02-iSCSI-Targets1.jpg" alt="" width="749" height="317" /></a></p>
<p>Enter a desired target name into the name field or leave it blank to automatically create one:</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/03-iSCSI-Targets-create1.jpg"><img class="aligncenter  wp-image-2600" title="03-iSCSI-Targets-create" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/03-iSCSI-Targets-create1.jpg" alt="" width="762" height="232" /></a></p>
<p>The created target looks like this:</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/04-iSCSI-Targets-created1.jpg"><img class="aligncenter  wp-image-2601" title="04-iSCSI-Targets-created" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/04-iSCSI-Targets-created1.jpg" alt="" width="773" height="194" /></a></p>
<h3>Step #2: Create Target Portal Groups</h3>
<p>You need to create one Target Portal Group for each interface you want to use for iSCSI. In our case we will create two Portal Groups because we want to use two interfaces:</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/05-iSCSI-TargetPortalGroup1.jpg"><img class="aligncenter  wp-image-2603" title="05-iSCSI-TargetPortalGroup" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/05-iSCSI-TargetPortalGroup1.jpg" alt="" width="768" height="189" /></a></p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/06-iSCSI-TargetPortalGroup-GRP11.jpg"><img class="aligncenter  wp-image-2604" title="06-iSCSI-TargetPortalGroup-GRP1" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/06-iSCSI-TargetPortalGroup-GRP11.jpg" alt="" width="755" height="178" /></a></p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/07-iSCSI-TargetPortalGroup-GRP21.jpg"><img class="aligncenter  wp-image-2605" title="07-iSCSI-TargetPortalGroup-GRP2" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/07-iSCSI-TargetPortalGroup-GRP21.jpg" alt="" width="768" height="144" /></a></p>
<p>The result looks like this:</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/08a-iSCSI-TargetPortalGroup-overview1.jpg"><img class="aligncenter  wp-image-2606" title="08a-iSCSI-TargetPortalGroup-overview" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/08a-iSCSI-TargetPortalGroup-overview1.jpg" alt="" width="776" height="167" /></a></p>
<p><strong><br />
</strong></p>
<h3>Step #3: Reconfigure iSCSI Target</h3>
<p>In the next step we add our created target portal groups to the iSCSI target (created in Step #1):</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/08-iSCSI-TargetPortalGroup-mapping-to-iSCSI-target2.jpg"><img class="aligncenter  wp-image-2610" title="08-iSCSI-TargetPortalGroup-mapping-to-iSCSI-target" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/08-iSCSI-TargetPortalGroup-mapping-to-iSCSI-target2.jpg" alt="" width="764" height="238" /></a></p>
<p>&nbsp;</p>
<p>The result:</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/09-iSCSI-TargetPortalGroup-mapping-to-iSCSI-target-overview1.jpg"><img class="aligncenter  wp-image-2609" title="09-iSCSI-TargetPortalGroup-mapping-to-iSCSI-target-overview" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/09-iSCSI-TargetPortalGroup-mapping-to-iSCSI-target-overview1.jpg" alt="" width="750" height="187" /></a></p>
<p>Bascially were done here. Step 4 &#8211; 8 shows how to create a LUN and map these LUN to target and initiator.</p>
<h3>Step #4: Create Target Group</h3>
<p>If you do not already have a target group create one and add your iSCSI target. If you already have a target group skip this step.</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/10-iSCSI-TargetGroup1.jpg"><img class="aligncenter  wp-image-2614" title="10-iSCSI-TargetGroup" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/10-iSCSI-TargetGroup1.jpg" alt="" width="774" height="185" /></a></p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/11-iSCSI-TargetGroup-overview1.jpg"><img class="aligncenter  wp-image-2615" title="11-iSCSI-TargetGroup-overview" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/11-iSCSI-TargetGroup-overview1.jpg" alt="" width="772" height="135" /></a></p>
<h3>Step #5: Create a ZVOL</h3>
<p>A ZVOL is the LUN which will be visible on the initiator:</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/12-Create-ZVOL1.jpg"><img class="aligncenter  wp-image-2617" title="12-Create-ZVOL" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/12-Create-ZVOL1.jpg" alt="" width="767" height="460" /></a></p>
<h3>Step #6: Create Remote Initiator</h3>
<p>To map a LUN (or ZVOL) to the appropriate clients you need to create a Initiator Group. These group consists of remote initiator names. The initiator name can either be found on the client e.g. Linux stores the initiatorname in /etc/iscsi/initiatorname.iscsi) or &#8211; if the client is already connected to the target &#8211; it will be display in Step 7.</p>
<p>If you want or need to create the remote initator manually you can do this under &#8216;Remote Initiator&#8217;:</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/14-Remote-Initiators1.jpg"><img class="aligncenter  wp-image-2618" title="14-Remote-Initiators" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/14-Remote-Initiators1.jpg" alt="" width="702" height="163" /></a></p>
<h3><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/15-Remote-Initiators-Overview1.jpg"><img class="aligncenter  wp-image-2619" title="15-Remote-Initiators-Overview" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/15-Remote-Initiators-Overview1.jpg" alt="" width="700" height="121" /></a>Step #7: Create Remote Initiator Group</h3>
<p>This step finally creates the remore initiator group and assigns a name to them:</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/16-Add-Initiatorgroup1.jpg"><img class="aligncenter  wp-image-2621" title="16-Add-Initiatorgroup" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/16-Add-Initiatorgroup1.jpg" alt="" width="692" height="182" /></a></p>
<p>&nbsp;</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/17-Initiatorgroup-Overiew1.jpg"><img class="aligncenter  wp-image-2622" title="17-Initiatorgroup-Overiew" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/17-Initiatorgroup-Overiew1.jpg" alt="" width="704" height="123" /></a></p>
<h3>Step #8: Map Target Group, Initiator Group and ZVOL</h3>
<p>The last step finally maps the ZVOL (= the LUN to be exported), the initiator group (= the client(s) you want to export the LUn to) and the target group (the protocol you want to use to export the LUN):</p>
<p><a href="http://blog.ronnyegner-consulting.de/wp-content/uploads/20-Mapping.jpg"><img class="aligncenter  wp-image-2623" title="20-Mapping" src="http://blog.ronnyegner-consulting.de/wp-content/uploads/20-Mapping.jpg" alt="" width="743" height="307" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronnyegner-consulting.de/2012/06/28/nexenta-configuring-iscsi-multipath-target-with-multiple-network-cards/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Using ASMLib with Oracle Unbreakable Kernel (UEK)</title>
		<link>http://blog.ronnyegner-consulting.de/2012/06/25/using-asmlib-with-oracle-unbreakable-kernel-uek/</link>
		<comments>http://blog.ronnyegner-consulting.de/2012/06/25/using-asmlib-with-oracle-unbreakable-kernel-uek/#comments</comments>
		<pubDate>Mon, 25 Jun 2012 09:14:25 +0000</pubDate>
		<dc:creator>Ronny Egner</dc:creator>
				<category><![CDATA[Oracle in general]]></category>

		<guid isPermaLink="false">http://blog.ronnyegner-consulting.de/?p=2427</guid>
		<description><![CDATA[Starting with the Oracle Unbreakable Enterprise Linux Kernel (UEK) the ASMlib drivers are now included in the kernel. This means that updating the kernel does not require installing the appropriate kernel modules as well. In addition to the kernel modules you need the following packages: oracleasm-support oracleasmlib For Oracle Enterprise Linux &#8220;oracleasm-support&#8221; can be found [...]]]></description>
			<content:encoded><![CDATA[<p>Starting with the Oracle Unbreakable Enterprise Linux Kernel (UEK) the ASMlib drivers are now included in the kernel. This means that updating the kernel does not require installing the appropriate kernel modules as well.</p>
<p>In addition to the kernel modules you need the following packages:</p>
<ul>
<li>oracleasm-support</li>
<li>oracleasmlib</li>
</ul>
<p>For Oracle Enterprise Linux &#8220;oracleasm-support&#8221; can be found on the installation media while &#8220;oracleasmlib&#8221; is not available on the installation media. &#8220;oracleasmlib&#8221; can be downloaded over the ULN network (more information <a href="http://www.oracle.com/technetwork/topics/linux/uln-095759.html">here</a>).</p>
<p>If you dont have a ULN account or using Red Hat you can get the freely available packages (for OEL and Red Hat) <a href="http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronnyegner-consulting.de/2012/06/25/using-asmlib-with-oracle-unbreakable-kernel-uek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nexenta: Convert syspool to AHCI drivers</title>
		<link>http://blog.ronnyegner-consulting.de/2012/06/24/nexenta-convert-syspool-to-ahci-drivers/</link>
		<comments>http://blog.ronnyegner-consulting.de/2012/06/24/nexenta-convert-syspool-to-ahci-drivers/#comments</comments>
		<pubDate>Sun, 24 Jun 2012 08:50:18 +0000</pubDate>
		<dc:creator>Ronny Egner</dc:creator>
				<category><![CDATA[Opensolaris]]></category>
		<category><![CDATA[Openstorage]]></category>

		<guid isPermaLink="false">http://blog.ronnyegner-consulting.de/?p=2545</guid>
		<description><![CDATA[When using Nexenta it is highly recommended to attach the syspool disks via AHCI instead of SATA. Attaching them via SATA might cause I/O errors leading to complete outages. The only way to solve this is to replace the driver with AHCI. Normally changing the driver for the syspool requires a complete reinstallation. However if [...]]]></description>
			<content:encoded><![CDATA[<p>When using Nexenta it is highly recommended to attach the syspool disks via AHCI instead of SATA. Attaching them via SATA might cause I/O errors leading to complete outages. The only way to solve this is to replace the driver with AHCI.</p>
<p>Normally changing the driver for the syspool requires a complete reinstallation. However if you want to avoid this simple follow this guide:</p>
<ol>
<li>Boot with Nexenta Setup CD; Choose &#8220;Rescue System&#8221;</li>
<li>when booted import the syspool with:
<pre>zpool import -f syspool</pre>
</li>
<li>Install boot loader on ALL disks belonging to the syspool, e.g. for the first disk:
<pre>grub-install /dev/rdsk/c0t0d0s0</pre>
</li>
<li>Export the syspool:
<pre>zpool export syspool</pre>
</li>
<li>Reboot</li>
</ol>
<p>Done. The system now uses AHCI drivers.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronnyegner-consulting.de/2012/06/24/nexenta-convert-syspool-to-ahci-drivers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;Exiting Time2Retain handler because session_reinstatement=1&#8243; with LIO (linux-iscsi.org iSCSI implementation)</title>
		<link>http://blog.ronnyegner-consulting.de/2012/06/21/exiting-time2retain-handler-because-session_reinstatement1-with-lio-linux-iscsi-org-iscsi-implementation/</link>
		<comments>http://blog.ronnyegner-consulting.de/2012/06/21/exiting-time2retain-handler-because-session_reinstatement1-with-lio-linux-iscsi-org-iscsi-implementation/#comments</comments>
		<pubDate>Thu, 21 Jun 2012 13:55:55 +0000</pubDate>
		<dc:creator>Ronny Egner</dc:creator>
				<category><![CDATA[Oracle in general]]></category>

		<guid isPermaLink="false">http://blog.ronnyegner-consulting.de/?p=2556</guid>
		<description><![CDATA[I just migrated my Ubuntu iSCSI storage server to Ubuntu 12.04 which ships with a new iSCSI implementation: LIO (linux-iscsi.org). Aside from the fact that this project lacks a HUGE amount of documentation I want to share this problem with you: kernel: Exiting Time2Retain handler because session_reinstatement=1 This happens if you access LUNs from more [...]]]></description>
			<content:encoded><![CDATA[<p>I just migrated my Ubuntu iSCSI storage server to Ubuntu 12.04 which ships with a new iSCSI implementation: LIO (linux-iscsi.org). Aside from the fact that this project lacks a HUGE amount of documentation I want to share this problem with you:</p>
<pre>kernel: Exiting Time2Retain handler because session_reinstatement=1</pre>
<p>This happens if you access LUNs from more multiple nodes (as required for RAC setups)  while all nodes share the <strong>same initiatorname</strong>.</p>
<p>The fix is to use different and unique initiatornames for every node.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronnyegner-consulting.de/2012/06/21/exiting-time2retain-handler-because-session_reinstatement1-with-lio-linux-iscsi-org-iscsi-implementation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	<img style='margin:0;padding:0;border:0;' width='1px' height='1px' src="http://blog.ronnyegner-consulting.de/wp-content/plugins/mystat/mystat.php?act=time_load&id=1478424&rnd=1589896183" /></channel>
</rss>
