[Netkit.users] synchronizing VM startup
kiraly a dit.unitn.it
Mer 14 Nov 2007 00:30:10 CET
Thanks, I will look at ltestto see how it is implemented.
Massimo Rimondini wrote:
> Dear Csaba,
> synchronization opportunities depend on communication opportunities.
> Virtual machines can basically communicate with each other by using
> networking or the host filesystem.
> Waiting for all the machines to start up (so as to be able to read
> other machines' data) can be simply implemented by telling each
> virtual machine to create a file in /hostlab after it has completed
> the boot sequence. Then you can poll for the presence of these files
> and, once they are all in place, you can start collecting your data.
> This is exactly what ltest does. As an alternative, you could create
> just a single file in the lab directory after lstart has completed the
> lab startup. Virtual machines should then poll for just that file.
> I believe networking based synchronization is less comfortable to use
> and might impact the outcome of the investigation you are trying to
> Csaba Kiraly wrote:
>> Does anyone know a good way to synchronize VM startup? I know
>> lab.dep, but I need more:
>> the VMs should write some data in e.g. /hostlab, and then they should
>> use the data from all the other VMs.
>> I'm using "sleep 60" now in the middle of the startup script, but it
>> isn't the best I can imagine.
>> Netkit.users mailing list
>> Netkit.users at list.dia.uniroma3.it
> Netkit.users mailing list
> Netkit.users at list.dia.uniroma3.it
Maggiori informazioni sulla lista