[OpenAFS] Switch containers between two fileservers

Sven Oehme oehmes@de.ibm.com
Sun, 9 May 2004 16:45:58 +0200


This is a multipart message in MIME format.
--=_alternative 00511840C1256E8F_=
Content-Type: text/plain; charset="US-ASCII"

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


--=_alternative 00511840C1256E8F_=
Content-Type: text/html; charset="US-ASCII"


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