Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230663

ESXi 5.1 vMotion migration of VM with 2 vmdk: one on SAN storage and other local storage

$
0
0

Hi all:

 

I've got a two hosts cluster which uses a shared SAN storage where my VM's file are stored. Hosts to storage link is a link aggregation of two 1Gbps

path, and so performing 2Gbps throughput.

 

Now I need to install a VM which will host our proxy server (Squid). Proxy servers needs a great throughput I/O on its on-disk cache structure. So I'm

considering in somehow deploying it by using two VMDK's. One with with the operating system and softwares, say vm.vmdk file, and the other only for on-disk cache,

say vm-1.vmdk file.

 

My idea is to put the vm.vmdk file on storage, just like others VM's I've got, and put vm-1.vmdk file on local storage, in order to not depend on 2Gbps link. Let's say

that SAN storage is named 'san_storage', host A local storage is named 'a_local_storage'  and host B local storage is named 'b_local_storage'. So vm.vmdk is

on 'san_storage/vm/vm.vmdk' and is shared to both host A and B. Let's say that VM starts running on host A, so vm-1.vmdk file is 'a_local_storage/vm/vm-1.vmdk'.

 

I'd like to know is there's a way, by scripting or so, to change the VM configuration in a way that when I do a migration from host A to host B, the second disk of

vm will be disconnected from 'a_local_storage/vm/vm-1vmdk' and will be connected to 'b_local_storage/vm/vm-1.vmdk' when VM starts to run on host B.

I don't want to copy 'vm-1.vmdk' from one host to other, because proxy server can repopulate it.

 

Is there a way to do it ? Or does anybody has another solution ?

 

I'm using ESXi 5.1.0 799733 on both hosts with a license that enables vMotion, and using vCenter 5.1.0.5300 Build 947940 to manage them.

 

regards

Lucas Brasilino


Viewing all articles
Browse latest Browse all 230663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>