After some time working with Site Recovery Manager (SRM), you might be asking yourself how you can improve it.
The Technical White Paper SRM 5.0 Performance and Best Practices can give you a good starting point .
One of the topics I see a lot of discussion about is the location of vSphere swap files on a non-replicated datastore.
If you think about this concept why not also configure the guest swap file (aka page file) on a non-replicated datastore ?!
As you know the data on swap files are lost during reboots and power off.
So it’s useless during a recovery as the VM will be power on again on the recovery site and the swap files will be populated with new data from scratch.
So, placing the swap files on a non-replicated datastore would make sense.
Some benefits of this approach are:
Since you will have less data to replicate you will conserve some bandwidth on your link.
In some environments the replicated datastore could be more expensive than non-replicated datastore, allowing you to save some $$$.
Faster recovery and tests, as there’s no swap file to be replicated this step is skipped.
But it also has some downsides.
It’s a bit more complex to manage, since not all VM’s files are on the same replicated datastores.
Changing the swap file to a single datastore create a single point of failure for all your VMs, you should carefully evaluate that.
Windows assigns volumes letters to disks based on the signature of the disk, it could be trick to make Windows recognize the page-file disk after you recovery it.
Ok, let’s focus on how to do that.
• vSphere swap file.
- change the cluster settings, so the swap file location will be specified by the host.
- on the host settings, change the swap file location to the non-replicated storage.
You would need to change it on both vCenters, Protected Site and Recovery Site.
• Guest Page-File
On Protected Site
- create a new vmdk file for the VM on a non-replicate storage
- using the VM format the new disk
- change the page-file location the new disk.
On Recovery Site
- Copy the new VMDK from the Protected site to the Recovery Site to a non-replicated storage.
- Change the Placeholder VM to point the secondary disk to the disk you just copied.
As I’d like to say there’s no size that fits all.
I’m not saying it should be or should not be the design for your environment, I’m just pointing out the options you have and what the SRM is capable of, it’s up to you evaluate the options, test them on your environment and take the decision which is better for you. ; )
See you next
Tuesday, February 21, 2012
Who am I

- Eduardo Meirelles da Rocha
- I’m an IT specialist with over 15 years of experience, working from IT infrastructure to management products, troubleshooting and project management skills from medium to large environments. Nowadays I'm working for VMware as a Consulting Architect, helping customers to embrace the Cloud Era and make them successfully on their journey. Despite the fact I'm a VMware employee these postings reflect my own opinion and do not represents VMware's position, strategies or opinions. Reach me at @dumeirell

Most Viewed Posts
-
vRealize Automation 7.1 brings several new features and functionalities, while the community is covering the fanciest...
-
Have you tried to set up or change a root's password for an ESXi host and got the following error message: Weak...
-
If you just install VMware Converter and start running it with it’s default configuration, I’m sure you will be successfully. But, the...
-
I have to admit since I started playing with PowerCLI I’ve been enjoying it more and more. A few weeks ago I needed to delete 50 VMs from t...
-
Do you know the LUNs on your environment might have different versions ? Yeah, that’s true!! To check tha LUN version, on the configuratio...
-
During the past few weeks, my NSX partner in crime, the Sr. Consultant Anderson Duboc and I have been working on a NSX Reference Poster...
-
Most of vCloud Director implementations I’ve worked on where multi-cells implementations behind a load balancer to distribute the load a...
-
Day two of a VMware NSX implementation and I was surrounded by angry network guys asking me: “ What have you done ? ” As scare as...
-
VMware vSAN 6.2 Stretched Cluster & 2 Node Guide covers greatly all the network topologies supported and the configuration steps invo...
-
Once again I was working on a vSphere Site Recovery Manager project using vSphere Replication as a replication technology and had to exp...

No comments:
Post a Comment