What correct steps to transfer iscsi target?

Discussion in 'Post-Deployment: Configuration and Setup' started by Machiasiaweb, Oct 2, 2015.

  1. Machiasiaweb

    Machiasiaweb Mega Poster

    Messages:
    178
    Hello,

    I just testing to transfer iscsi target between 2 cloud storage node (from 192.168.10.206 to 192.168.10.204). Which they both in the same cloud storage cluster.

    Example

    --- At 192.168.10.204 node ----
    # pstorage-iscsi register -t iqn.2014.06.com.parallels:store1 <-- no error comes

    # pstorage-iscsi list -t iqn.2014.06.com.parallels:store1
    Target iqn.2014.06.com.parallels:store1:
    Portals: 192.168.10.206 <--- showing old target IP
    Status: stopped <--- showing stopped
    Registered: yes
    Host: 78ff03dd35774eb9
    LUN: 1, Size: unknown size, Used: 4352M, Online: No
    LUN: 2, Size: unknown size, Used: 896M, Online: No

    # pstorage-iscsi start -t iqn.2014.06.com.parallels:store1 (start it)

    # pstorage-iscsi list -t iqn.2014.06.com.parallels:store1
    Target iqn.2014.06.com.parallels:store1:
    Portals: 192.168.10.206 <--- still showing old target IP
    Status: running <--- starting run
    Registered: yes
    Host: 78ff03dd35774eb9
    LUN: 1, Size: 16384M, Used: 4303M, Online: Yes
    LUN: 2, Size: 17408M, Used: 822M, Online: Yes

    ------------------------------

    This caused the initiator could not connect it as wrong target Portal IP.

    What should be correct steps?

    Thanks!
     
    Last edited: Oct 2, 2015
  2. Machiasiaweb

    Machiasiaweb Mega Poster

    Messages:
    178
    Hello,

    It already solved by change target address at 192.168.10.204

    # pstorage-iscsi set -t iqn.2014.06.com.parallels:store1 --address 192.168.10.204
     

Share This Page