VMware vSphere

 View Only
  • 1.  Share storage between 2 esxi host?

    Posted Jan 16, 2019 02:54 PM

    I have a vsphere 6.5 test environment.

    Everything is up and running and working fine, however I need to share the iscsi storage from 1 esxi host to another (esxi.abc.local to esxi2.abc.local). Would I just create a "ISCSI Software Adapter" on the 2nd esxi host (esxi2.abc.local) just like I did the first host (esxi.abc.local) and connect to the target iscsi server?

    Again, I have iscsi storage attached to esxi.abc.local. I need the same storage shared to esxi2.abc.local.

    I want to do this through vcenter 6.5.

    Thanks,



  • 2.  RE: Share storage between 2 esxi host?

    Posted Jan 16, 2019 03:21 PM

    iscsi needs an iqn number ,just creating a software iscsi adapter on both end will not establish the iscsi connections using the ip, you may try to deploy a storage appliance (freenas) on the first host and create a lun using that which in turn can be presented to both the servers as datastores. Please note this is recommended only for testing purpose do not use this in prod , it may create issues.

    If you already have iscsi storage, then you have to the same what you did in first host to establish the connection to the iscsi target ,LUN will be visible to the second host. Perform a rescan so that the datastore will be mounted automatically if it was already created using the lun on first host.



  • 3.  RE: Share storage between 2 esxi host?
    Best Answer

    Posted Jan 16, 2019 03:21 PM

    Yes, create the iSCSI adapter the same as you did on the 1st ESXi host but using a different IP address and then I presume you have mapped the LUN(s) from the iSCSI storage to the esxi.abc.local iSCSI adapter so you will also have to map the LUN(s) to the esxi2.abc.local iSCSI adapter also.



  • 4.  RE: Share storage between 2 esxi host?

    Posted Jan 16, 2019 06:34 PM

    Yes it worked like a charm.

    The vMotion worked fine.

    FYI, my iscsi target server is CentOS 7 using targetcli. Works great to a test lab.

    Thanks,