<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#CCCCCC">
<div class="moz-cite-prefix">Control: severity -1 normal<br>
Control: tags -1 - upstream<br>
<br>
On 05/22/2014 05:40 PM, Craig Barnes wrote:<br>
</div>
<blockquote cite="mid:20140522121017.26374.29658.reportbug@ibm1"
type="cite">
<pre wrap="">Under heavy load the iscsitarget services fails to stop on module removal.</pre>
</blockquote>
<br>
Could you please explain what is "heavy load" here? Is it iSCSI
traffic ?<br>
<br>
<blockquote cite="mid:20140522121017.26374.29658.reportbug@ibm1"
type="cite">
<pre wrap="">
# service iscsitarget stop
[ ok ] Removing iSCSI enterprise target devices: :.
[ ok ] Stopping iSCSI enterprise target service: :.
[....] Removing iSCSI enterprise target modules: :FATAL: Module iscsi_trgt is in use.
Changing etc/init/init.debian to use `rmmod --wait` instead of `modprobe -r` corrects this issue.</pre>
</blockquote>
<br>
We use 'modprobe -r' to ensure that dependencies also get unloaded.
WIth 'rmmod --wait', wouldn't it hang the shutdown sequence ?<br>
<br>
<blockquote cite="mid:20140522121017.26374.29658.reportbug@ibm1"
type="cite">
<pre wrap="">
This problem causes pacemaker to halt on failover to a secondary node when using the lsb resouce agent
to control iscsitarget.
</pre>
</blockquote>
<br>
I'm not versed with pacemaker so can't comment much. But I don't see
this to be an iscsitarget problem. Perhaps you need to add
intelligence in pacemaker to detect a clean shutdown of the
iscsitarget service.<br>
<br>
<pre class="moz-signature" cols="72">--
Ritesh Raj Sarraf | <a class="moz-txt-link-freetext" href="http://people.debian.org/~rrs">http://people.debian.org/~rrs</a>
Debian - The Universal Operating System
</pre>
</body>
</html>