[OpenAFS] Switch containers between two fileservers

Tim tim@umbc.edu
Sun, 09 May 2004 21:38:19 -0400


Is there some reason you can't do this:

shut down both servers
bring up new server with the disks containing volumes
run something like vos changeaddr oldserverip newserverip

???  Seems like it should work, and it would be much less work.

Tim

Sven Oehme wrote:
> 
> hy ,
> 
> if i understand you right and you want to move the partition just one 
> time , delete all records from the vldb which point to the server , you 
> want to make free with vos delentry . migrate the harddrive to the other 
> server and restart the fs process . now make a vos syncserv and syncvldb 
> and all your volumes are now on the new Server .
> 
> but don't forget , for this task you have a downtime of your system ...
> 
> Sven
> 
> -------------------------------------------------------------------------------------------------------------------------
> Dept. A141,  TG/SSG EMEA AIS Strategy and Architecture
> Development Leader Stonehenge
> IBM intranet ---> http://w3.ais.mainz.de.ibm.com/stonehenge/
> internet ---> http://www-5.ibm.com/services/de/its/filestore.html
> Phone (+49)-6131-84-3151
> Fax      (+49)-6131-84-6708
> Mobil   (+49)-171-970-6664
> E-Mail : oehmes@de.ibm.com
> 
> 
> *Lukas Kubin <kubin@opf.slu.cz>*
> Sent by: openafs-info-admin@openafs.org
> 
> 05/09/2004 04:26 PM
> 
> 	
> To
> 	openafs-info@openafs.org
> cc
> 	
> Subject
> 	Re: [OpenAFS] Switch containers between two fileservers
> 
> 
> 	
> 
> 
> 
> 
> 
> Sorry my unclean description. I don't want to move the volumes. I want
> to change the physical disks between two servers. Server A has 400GB
> data container and should stay serve as an AFS server. Server B has
> 800GB data container and currently is also an AFS fileserver. However,
> we need to switch the RAID containers (by changing harddisks) between
> those 2 servers and use server B for different purpose.
> 
> So the question is:
> Can I move all volumes from server A to server B and then take the B's
> drives and put them into server A?
> 
> Thank you.
> 
> lukas
> 
> Derek Atkins wrote:
>  > I dont think I understand what you mean.
>  >
>  > Do you want to move the AFS files from fileserver 1 onto fileserver 2,
>  > and vice-versa?  If so, then you just need to "vos move" all the RW
>  > volumes back and forth to get them on the right servers, and then you
>  > can 'vos addsite', 'vos remsite', 'vos release', 'vos zap' to "move"
>  > the read-only volumes.  Just swapping disk arrays between the servers
>  > wont work right -- your VLDB would get out of sync.
>  >
>  > -derek
>  >
>  > Lukas Kubin <kubin@opf.slu.cz> writes:
>  >
>  >
>  >>I have two OpenAFS fileservers. Each one has a system container (with
>  >>the Linux installation) and a RAID container containing an AFS
>  >>partition.
>  >>I would like to switch those containers between the 2 servers.
>  >>Is it possible for the OpenAFS system? If yes, which steps do I have 
> to do?
>  >>Thank you.
>  >>
>  >>lukas
>  >>
>  >>--
>  >>Lukas Kubin
>  >>
>  >>phone: +420596398275
>  >>email: kubin@opf.slu.cz
>  >>
>  >>Information centre
>  >>The School of Business Administration in Karvina
>  >>Silesian University in Opava
>  >>Czech Republic
>  >>http://www.opf.slu.cz
>  >
>  >
> 
> -- 
> Lukas Kubin
> 
> phone: +420596398275
> email: kubin@opf.slu.cz
> 
> Information centre
> The School of Business Administration in Karvina
> Silesian University in Opava
> Czech Republic
> http://www.opf.slu.cz
> 

-- 
-----------------------------------------------------------------------
Tim Craig            These are my opinions and not my employers. :)
OIT-Systems
tim@umbc.edu         It's hard to be serious when you're
                        naked. - Garfield
-----------------------------------------------------------------------