[OpenAFS] Re: Backup ubik database

Derrick Brashear shadow@gmail.com
Tue, 21 May 2013 10:50:25 -0400


--e89a8ff2511cc4ac7704dd3b91c1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

bos addhost ... -clone

(and set up the binaries like any other dbserver)

the net effect will be a CellServDB entry with [] around the IP address,
e.g.
[1.2.3.4] #my.clone.host




On Tue, May 21, 2013 at 10:37 AM, Dave Botsch <botsch@cnf.cornell.edu>wrote=
:

> Is there documentation someplace on creating a "non-voting" clone?
>
> On Mon, May 20, 2013 at 10:54:07AM -0400, Derrick Brashear wrote:
> > On Mon, May 20, 2013 at 10:50 AM, Andrew Deason <adeason@sinenomine.net
> >wrote:
> >
> > > On Mon, 20 May 2013 13:58:13 +0200
> > > G=E9mes G=E9za <geza@kzsdabas.hu> wrote:
> > >
> > > > What is the best way to backup the ubik database of pt and vlserver=
s?
> > > > Does the server processes need to be shut down?
> > >
> > > Currently the only way to safely copy/backup those databases is to co=
py
> > > the files while the server processes are either shut down, or stopped
> > > (with SIGSTOP). You have to copy both the the .DB0 and .DBSYS files (=
or
> > > just copy everything in the db directory, which should probably work =
no
> > > matter how the databases are changed in the future).
> > >
> > > Some people just copy the files while the servers are running, though=
,
> I
> > > think. If your ubik database doesn't change constantly at a high rate=
,
> > > and you make several copies, it's very likely you'll save at least on=
e
> > > valid copy. It's also possible to add a dbserver just for the purpose=
s
> > > of backing up this data, if you want to go the "safe" route above, bu=
t
> > > don't want to interrupt the dbservers that clients actually use.
> > >
> > >
> > If you go this route, you can create a non-voting clone to do it, so
> > there's actually no
> > chance of disruption.
> >
> >
> >
> > --
> > Derrick
>
> --
> ********************************
> David William Botsch
> Programmer/Analyst
> CNF Computing
> botsch@cnf.cornell.edu
> ********************************
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>


--=20
Derrick

--e89a8ff2511cc4ac7704dd3b91c1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>bos addhost ... -clone<br><br></div>(and se=
t up the binaries like any other dbserver)<br><br></div>the net effect will=
 be a CellServDB entry with [] around the IP address, e.g.<br></div>[1.2.3.=
4] #my.clone.host<br>
<br><br></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote"=
>On Tue, May 21, 2013 at 10:37 AM, Dave Botsch <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:botsch@cnf.cornell.edu" target=3D"_blank">botsch@cnf.cornell.ed=
u</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Is there documentation someplace on creating=
 a &quot;non-voting&quot; clone?<br>
<br>
On Mon, May 20, 2013 at 10:54:07AM -0400, Derrick Brashear wrote:<br>
&gt; On Mon, May 20, 2013 at 10:50 AM, Andrew Deason &lt;<a href=3D"mailto:=
adeason@sinenomine.net">adeason@sinenomine.net</a>&gt;wrote:<br>
&gt;<br>
&gt; &gt; On Mon, 20 May 2013 13:58:13 +0200<br>
&gt; &gt; G=E9mes G=E9za &lt;<a href=3D"mailto:geza@kzsdabas.hu">geza@kzsda=
bas.hu</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; What is the best way to backup the ubik database of pt and v=
lservers?<br>
&gt; &gt; &gt; Does the server processes need to be shut down?<br>
&gt; &gt;<br>
&gt; &gt; Currently the only way to safely copy/backup those databases is t=
o copy<br>
&gt; &gt; the files while the server processes are either shut down, or sto=
pped<br>
&gt; &gt; (with SIGSTOP). You have to copy both the the .DB0 and .DBSYS fil=
es (or<br>
&gt; &gt; just copy everything in the db directory, which should probably w=
ork no<br>
&gt; &gt; matter how the databases are changed in the future).<br>
&gt; &gt;<br>
&gt; &gt; Some people just copy the files while the servers are running, th=
ough, I<br>
&gt; &gt; think. If your ubik database doesn&#39;t change constantly at a h=
igh rate,<br>
&gt; &gt; and you make several copies, it&#39;s very likely you&#39;ll save=
 at least one<br>
&gt; &gt; valid copy. It&#39;s also possible to add a dbserver just for the=
 purposes<br>
&gt; &gt; of backing up this data, if you want to go the &quot;safe&quot; r=
oute above, but<br>
&gt; &gt; don&#39;t want to interrupt the dbservers that clients actually u=
se.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; If you go this route, you can create a non-voting clone to do it, so<b=
r>
&gt; there&#39;s actually no<br>
&gt; chance of disruption.<br>
&gt;<br>
&gt;<br>
<span class=3D"HOEnZb"><font color=3D"#888888">&gt;<br>
&gt; --<br>
&gt; Derrick<br>
<br>
--<br>
********************************<br>
David William Botsch<br>
Programmer/Analyst<br>
CNF Computing<br>
<a href=3D"mailto:botsch@cnf.cornell.edu">botsch@cnf.cornell.edu</a><br>
********************************<br>
_______________________________________________<br>
OpenAFS-info mailing list<br>
<a href=3D"mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.org</a><br=
>
<a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-info" target=
=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-info</a><br>
<br>
</font></span></blockquote></div><br><br clear=3D"all"><br>-- <br>Derrick
</div>

--e89a8ff2511cc4ac7704dd3b91c1--