M
M
maashaa2014-11-27 15:42:22
linux
maashaa, 2014-11-27 15:42:22

On a virtual machine, mount 500 identical file systems or copy?

How is it safer to make identical virtual machines in a large cloud - mount /bin, /usr/bin and other folders in read-only mode from a common place, or copy them to the image of each virtual machine? Mount, for example, on NFS.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
relgames, 2014-11-27
@relgames

parallel ssh ?

J
jcmvbkbc, 2014-11-27
@jcmvbkbc

mount all /bin, /usr/bin and other folders in read-only mode from a shared location, or copy them to the image of each virtual machine

Depends on how the machines access their images. I think that if locally - then of course it is better to copy. If through NFS or some NBD - then from the point of view of reliability, it makes no difference.

@
@mgyk, 2014-11-27
_

It's better to clone, or look towards docker to deploy everything from the same image. Otherwise, you will have a single point of failure in the form of an NFS server, and the load will be decent

A
Alexey Cheremisin, 2014-11-27
@leahch

And we use ceph + rbd on kvm + libvirt. Once I made a snapshot of the device with the installed system, and already from it the rest of the disks grow for each virtual machine.
Here, the load by the sef itself is regulated and there is no single point of failure and we don’t produce extra data, and we have backups in the form of snapshots and the rollback can be done instantly and the migration is transparent.
Recommend!

V
Vlad Zhivotnev, 2014-11-27
@inkvizitor68sl

What is virtualization?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question