WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Upgrade Proceedure

To: "Ian Tobin" <itobin@xxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Upgrade Proceedure
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Mon, 14 May 2007 11:21:25 +0200
Delivery-date: Mon, 14 May 2007 02:20:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E0E43F8F0962AD4C8A1D6CE8ED5EDE3F219638@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceWAZizNJ2RU8ByS1y+2/+XflZbwgABdSpQAAAe7xAAABnwEA==
Thread-topic: [Xen-users] Upgrade Proceedure
 

> -----Original Message-----
> From: Ian Tobin [mailto:itobin@xxxxxxxxxxxxx] 
> Sent: 14 May 2007 10:13
> To: Petersson, Mats; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Upgrade Proceedure
> 
> Hi,
> 
> Is there an uninstall script? 

You can do "make uninstall", but you need to have the "old" version of
source-code on the target machine to do this. [Which is great for
developers that use the a single machine for Xen-development and
testing]. 


> And when you say tar up the 
> dist directory
> is that from one of the servers that is running the latest release
> already?

I meant from the machine you build Xen from Sources on - if that's one
of your servers or some other machine, I can't say. 

This is what I do:
# cd $XEN_ROOT
# make dist
# tar cjf dist.tar.bz2 dist
# scp dist.tar.bz2 some_machine:/tmp
# ssh some_machine
# cd tmp
# rm -rf dist     ## Remove the OLD dist directory, if there is one.
# tar xjf dist.tar.bz2
# ./dist/install.sh
# reboot
# exit



> 
> Thanks
> 
> Ian
> 
> 
> 
> -----Original Message-----
> From: Petersson, Mats [mailto:Mats.Petersson@xxxxxxx] 
> Sent: 14 May 2007 10:10
> To: Ian Tobin; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Upgrade Proceedure
> 
>  
> 
> > -----Original Message-----
> > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Ian Tobin
> > Sent: 14 May 2007 09:27
> > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: [Xen-users] Upgrade Proceedure
> > 
> > Hi,
> > 
> >  
> > 
> > We are looking to getting all our XEN boxes up to the latest 
> > release.  The lowest version we have is 3.0.  
> > 
> >  
> > 
> > I was wondering what the best way to do an upgrade is, we 
> > have built all the XEN boxes from source.
> 
> 
> Tar up the "dist" directory and copy it to each of the new machines,
> untar and run "dist/install.sh"?
> 
> Only problem is if you need to uninstall first - because there's no
> uninstall script... Usually you don't need to uninstall, but sometimes
> you do (because some residual file means that the wrong version of
> library is used, or some such). 
> 
> --
> Mats
> > 
> >  
> > 
> > Thanks
> > 
> >  
> > 
> > Ian
> > 
> >  
> > 
> >  
> > 
> > 
> 
> 
> 
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users