VMware Cloud Community
kovbal
Contributor
Contributor

Migrating datastores between two iSCSI storage

Dear Forum members,

I'm facing a challange with migrating datastores from one iSCSI SAN to an other one.

The setup:

Both SAN's are on the same VLAN, the traffic goes untagged to the broadcom hardware accelerated NICs. The two sans are accessible on different subnets (172.20.X.X, 172.22.X.X). I've made a new vmkernel port on that vswitch, that handles the traffic (keeping it simple for the migration process, only one ethernet out of 4 is used for the migration process), assigned an ip address from the other subnet. Up to this point, everything looks OK, I can vmkping both SANs, and I can also netcat into the new one (to TCP 3260). After adding the new SAN's address to dynamic discovery, there is definitely something. From the logs I can see the effort to log in, but the problem is, that it tries to log in with source ip  from the other SAN's network address:

esxcli swiscsi session list --adapter vmhba34

--Initial_Remote_Address: 172.22.3.65
--Current_Remote_Address: 172.22.3.65
--Current_Local_Address: 172.20.0.21
--State: XPT_WAIT

After this step, nothing, this also disappears from the session list, after a short while.

I'd like to avoid adding local storage into the machines (one by one), copying the datastores to the local DS, then disconnect from the current iscsi san, and connect to the new one.

p.s.: I've tried to do this on ESXI 5.1, and the result is the same.

Please advise.

Many thanks,

Balazs Kovacs

Tags (4)
Reply
0 Kudos
2 Replies
ramkrishna1
Enthusiast
Enthusiast

Hi

Welcome to the communities.

did you followed below link ,if so please share the output  .

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=100408...

https://communities.vmware.com/message/2284963#2284963

" I take a decision and make it right."
Reply
0 Kudos
kovbal
Contributor
Contributor

Hi,

Here is the output:

~ # esxcfg-nics -l

Name    PCI           Driver      Link Speed     Duplex MAC Address       MTU    Description

vmnic0  0000:03:00.00 bnx2        Up   1000Mbps  Full   00:1e:4f:35:e9:d8 1500   Broadcom Corporation Broadcom NetXtreme II BCM5708 1000Base-T

vmnic1  0000:07:00.00 bnx2        Down 0Mbps     Half   00:1e:4f:35:e9:da 1500   Broadcom Corporation Broadcom NetXtreme II BCM5708 1000Base-T

vmnic2  0000:09:04.00 bnx2        Up   1000Mbps  Full   00:1c:c4:57:39:04 1500   Broadcom Corporation NC380T PCI Express Dual Port Multifunction Gigabit Server Adapter

vmnic3  0000:0a:05.00 bnx2        Up   1000Mbps  Full   00:1c:c4:57:39:06 1500   Broadcom Corporation NC380T PCI Express Dual Port Multifunction Gigabit Server Adapter

All the links are good (it works with the "old" SAN, and on IP level it sees the other SAN), according to the output, I hope Smiley Happy

Balazs

Reply
0 Kudos