Forum Discussion

valeriano80's avatar
valeriano80
Copper Contributor
Oct 20, 2021

Sync Shared disk on 2 VM

Hallo

 

I'm really newbye on azure so please excuse me if my question could results trivial.

I've searching a solution where 2 VM in the same resource group could use a shared storage solution.

First VM host a my company's software that generate a  huge number of small file (250k hours), and a second VM host a sftp server that can't use a mapped drive like  root folder.

For this reason, i can't use a storage account file share. I've tried to implement a solution with a shared managed disk, but i realized that while 2 VMs are running, the jobs executed on the drive by one of them, don't seems to be in sync from what i see on the same shared disk on the other one.

Long story short: if i move 100 files on the shared disk in the first VM, they don't appers in the same shared disk on the socond one. 

If i restart the second VM, i can see the file moved on the share disk before.

 

I don't understand if i must set up a cluster, but the VMs are'n in the same domain.

Could you please help my finding a best practice for this situation?

 

Thanks

No RepliesBe the first to reply

Resources