The right way and the wrong way (Murphy always points to the second one ;-) )
Greetings
ESG
2009/5/26 Doug Bunger <dougbunger@xxxxxxxxx>
Just to verify, as well as the discover, you are also using:
iscsiadm -m node -T iqn.xx.xx:xx-xx -p x.x.x.x:3260 --login
Together these create a set of links visible under /var/lib/iscsi:
ls -l /var/lib/iscsi/*/*
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:
iscsiadm -m node -T iqn.xx.xx:xx-xx -p x.x.x.x:3260 -o delete
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. ;)
-- Doug Bunger
-- dougbunger@xxxxxxxxx
--
--- On Tue, 5/26/09, ESGLinux <esggrupos@xxxxxxxxx> wrote:
From: ESGLinux <esggrupos@xxxxxxxxx>
Subject: iscsi target change ip
To: "linux clustering" <linux-cluster@xxxxxxxxxx>
Date: Tuesday, May 26, 2009, 1:49 AM-----Inline Attachment Follows-----Hello,I have a server configured as iscsi target to use it with my cluster. To use it with the inititiators I run this command:
iscsiadm -m discovery -t sendtargets -p 192.168.1.191that 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.Thanks in advanceESG--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster