<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Just to verify, as well as the discover, you are also using:<br>  iscsiadm -m node -T iqn.xx.xx:xx-xx -p x.x.x.x:3260 --login<br>Together these create a set of links visible under /var/lib/iscsi:<br>  ls -l /var/lib/iscsi/*/*<br>You could stop the service, delete the links and associated directoies, then rediscover and login with the new IP.  The "more correct" way of doing it is to have iscsiadm delete them for you:<br>  iscsiadm -m node -T iqn.xx.xx:xx-xx -p x.x.x.x:3260 -o delete<br>I pointed out the "wrong way" first, because in real world failures, I've had the "right way" hang, forcing me to do it the wrong way.  ;)<br><br><br>-- Doug Bunger <br>
-- dougbunger@yahoo.com <br>
--<br><br>--- On <b>Tue, 5/26/09, ESGLinux <i><esggrupos@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: ESGLinux <esggrupos@gmail.com><br>Subject: [Linux-cluster] iscsi target change ip<br>To: "linux clustering" <linux-cluster@redhat.com><br>Date: Tuesday, May 26, 2009, 1:49 AM<br><br><div id="yiv1580266582">Hello, <div><br></div><div>I have a server configured as iscsi target to use it with my cluster. To use it with the inititiators I run this command:</div><div><font class="Apple-style-span" face="'Courier New'"><br>
</font></div><div><span class="Apple-style-span" style="">iscsiadm -m discovery -t sendtargets -p 192.168.1.191</span></div><div><br></div><div><br></div><div>that creates a disk /dev/sda on the hosts. Now I need to change the ip of the target and want to know where I need to change in the initiators the configuration of the target ip.</div>
<div><br></div><div>Thanks in advance</div><div><br></div><div>ESG</div><div><br></div><div><br></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">--<br>Linux-cluster mailing list<br><a ymailto="mailto:Linux-cluster@redhat.com" href="/mc/compose?to=Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a></div></blockquote></td></tr></table><br>