[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] iscsi target change ip

Thank you very much for your answers:

The right way and the wrong way (Murphy always points to the second one ;-) )



2009/5/26 Doug Bunger <dougbunger yahoo com>
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 yahoo com

--- On Tue, 5/26/09, ESGLinux <esggrupos gmail com> wrote:

From: ESGLinux <esggrupos gmail com>
Subject: [Linux-cluster] iscsi target change ip
To: "linux clustering" <linux-cluster redhat com>
Date: Tuesday, May 26, 2009, 1:49 AM


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

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.

Thanks in advance


-----Inline Attachment Follows-----

Linux-cluster mailing list
Linux-cluster redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]