[OpenAFS] Switch containers between two fileservers
Lukas Kubin
kubin@opf.slu.cz
Sun, 09 May 2004 17:17:18 +0200
This is a cryptographically signed message in MIME format.
--------------ms060505030607000309090803
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Thank you for your answers, currently your solution seems more suitable
for me, since I would like to avoid IP address switching.
I want to be sure I understand you right. So the summary:
- servers A and B are both AFS fileservers and dbservers
- I want to replace A's harddrives with those taken from B
- servers A and B has a system harddrive with Linux and AFS binaries.
that harddrive is not going to be moved
- server A should stay serve as an AFS server, B has no role in AFS more
The steps I'll do are:
1) Move all volumes from A to B using "vos move" command
2) Delete VLDB entries for all volumes currently residing on B using
"vos delentry" command. It means deleting VLDB entries of volumes I
moved from A to B in step 1)
3) Turn off both servers and migrate harddrives from B to A (and from A
to B)
4) Let server B turned off. It is not going to be AFS server anymore.
5) Turn on server A and do "vos syncserv" and "vos syncvldb"
Thank you very much for your support!
lukas
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
>
--
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
--------------ms060505030607000309090803
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGbDCC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