How to change iSCSI portal IP?

webfrank

Member
May 28, 2011
38
1
6
Hi again, I have a 3 node cluster and a iSCSI SAN (FreeNAS 8). I configured everything on the same subnet (LVM network backed by iSCSI) and i works.
Now I added a second interface to every server connected on a separate switch which I want to use only for iSCSI.
Now I should change portal ip and reconfigure iSCSI/LVM but I don't know which is the best way to do it.

Tnx
Francesco
 
Hi, yes I suppose that but could I delete and re-create iSCSI targets with new IPs without loosing the LVM definition or should I delete and re-create the LVM? Will the volume group present in the iSCSI targets (2 LUN) be recognized? I don't have a test environment at the moment to test.
 
Hi all, I just find the way to change SAN ip address without loosing any VM:

- stop all VMs which uses the LVM to be changed in each node
- remove LVM group from GUI
- remove iSCSI targets from GUI
- add iSCSI targets with new IP
- add LVM and choose existing Volume Group (should appear)
- wait few seconds to have configuration replicated on all nodes
- start VMs

Thats all, thanks Proxmox!
 
  • Like
Reactions: ventureaaron