From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?utf-8?B?WmhhbmcgSGFveXU=?=" Subject: Re: =?utf-8?q?=5Bquestion=5D_updating_the_base_image_for?= =?utf-8?q?_all_clones_which_have_been_running_for_months?= Date: Fri, 7 Nov 2014 10:16:31 +0800 Message-ID: <201411071016299839755@sangfor.com> References: <201411032004120698212@sangfor.com>, <20141103121421.GE4437@noname.str.redhat.com>, <201411032037450771771@sangfor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: =?utf-8?B?cWVtdS1kZXZlbA==?= , =?utf-8?B?U3RlZmFuIEhham5vY3pp?= , =?utf-8?B?a3Zt?= To: "=?utf-8?B?RXJpYyBCbGFrZQ==?=" , "=?utf-8?B?S2V2aW4gV29sZg==?=" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org >>>> Hi, all >>>> >>>> I used base image A to clone so many vm, >>>> after running for months, each vm has its own private applications and data, >>>> which maybe different from each other. >>>> Now, I want to install some applications for all of the clones, >>>> what should I do? > >How would you do it for bare metal? Do the same for your guests. > For bare-metal, I use manager to push the applications to each host-agent which is running in each host, the host-agent is responsible to install the applications. Thanks, Zhang Haoyu >>> >>> Install the applications on each clone separately, or use some other >>> method to make it available (like installing on a shared network >>> resource). >>> >> Could you detail "installing on a shared network resource"? > >Set up a network file system, like NFS or gluster, install your software >on the shared file system, and then make each guest mount the shared >file system in order to use the software. The same as you would on bare >metal. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmZ6j-0002Qa-Se for qemu-devel@nongnu.org; Thu, 06 Nov 2014 21:17:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmZ6b-0003j2-T8 for qemu-devel@nongnu.org; Thu, 06 Nov 2014 21:17:01 -0500 Received: from [58.251.49.30] (port=53879 helo=mail.sangfor.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmZ6a-0003iG-6d for qemu-devel@nongnu.org; Thu, 06 Nov 2014 21:16:53 -0500 Date: Fri, 7 Nov 2014 10:16:31 +0800 From: "=?utf-8?B?WmhhbmcgSGFveXU=?=" References: <201411032004120698212@sangfor.com>, <20141103121421.GE4437@noname.str.redhat.com>, <201411032037450771771@sangfor.com> Message-ID: <201411071016299839755@sangfor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] =?utf-8?q?=5Bquestion=5D_updating_the_base_image_for?= =?utf-8?q?_all_clones_which_have_been_running_for_months?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?RXJpYyBCbGFrZQ==?= , =?utf-8?B?S2V2aW4gV29sZg==?= Cc: =?utf-8?B?cWVtdS1kZXZlbA==?= , =?utf-8?B?U3RlZmFuIEhham5vY3pp?= , =?utf-8?B?a3Zt?= >>>> Hi, all >>>> >>>> I used base image A to clone so many vm, >>>> after running for months, each vm has its own private applications and data, >>>> which maybe different from each other. >>>> Now, I want to install some applications for all of the clones, >>>> what should I do? > >How would you do it for bare metal? Do the same for your guests. > For bare-metal, I use manager to push the applications to each host-agent which is running in each host, the host-agent is responsible to install the applications. Thanks, Zhang Haoyu >>> >>> Install the applications on each clone separately, or use some other >>> method to make it available (like installing on a shared network >>> resource). >>> >> Could you detail "installing on a shared network resource"? > >Set up a network file system, like NFS or gluster, install your software >on the shared file system, and then make each guest mount the shared >file system in order to use the software. The same as you would on bare >metal.