Hello. I use VCenter 4.1.0 b258902
I have a nfs server that stores the VM images, added as a datastore.
I have a template of VM that loads on boot several programs that are read-only.
Those VMs are read-only, and there only purpose it to register themselves as workers.
I would like to be able to duplicate the template, without cloning the hard drive.
The expected benefits are : less disk usage, less time to produce a worker ( now the clone step takes 3 min for ONE clone, I expect it to reach the 10s delay)
What I can do at the moment is :
- create a VM which is read-write (to give availability to update the other VMs) : worker-RW
- clone it , remove the hard drive from the clone, and make a template from the clone (worker-NODisk-template)
- on demand, clone worker-NODisk-template, then add to it the worker-RW disk in RO mode.
What I would like to be able to do is:
- create the template, chich is RW
- on demand, clone the template with disks that are only RO disks, and linking to the worker-RW disk.
Is there a way to do so ? Where can I get the documentation? I already looked into VCenter configuration, but could not get the result I expected : whatever be the configuration of HD, when I clone the worker-RW, it takes time to duplicate its HD.
Hello.
Note: This discussion was moved from VMware vCenter Operations to VMware vCenter™ Server.
Good Luck!
Unless you are using Linux or Unix a OS disk cannot be force to be read-only...
So there isn't a simple way to share a disk between more VMs.
You can try to build linked clones based on a common disk: http://planetvm.net/blog/?p=777
Andre