finsfree
Enthusiast
Enthusiast

Share storage between 2 esxi host?

Jump to solution

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,

0 Kudos
1 Solution

Accepted Solutions
cjscol
Expert
Expert

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.

Calvin Scoltock VCP 2.5, 3.5, 4, 5 & 6 VCAP5-DCD VCAP5-DCA http://pelicanohintsandtips.wordpress.com/blog LinkedIn: https://www.linkedin.com/in/cscoltock

View solution in original post

0 Kudos
3 Replies
SureshKumarMuth
Commander
Commander

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.

Regards, Suresh https://vconnectit.wordpress.com/
0 Kudos
cjscol
Expert
Expert

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.

Calvin Scoltock VCP 2.5, 3.5, 4, 5 & 6 VCAP5-DCD VCAP5-DCA http://pelicanohintsandtips.wordpress.com/blog LinkedIn: https://www.linkedin.com/in/cscoltock

View solution in original post

0 Kudos
finsfree
Enthusiast
Enthusiast

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,

0 Kudos