[OpenAFS] Re: Backup ubik database

Dave Botsch botsch@cnf.cornell.edu
Tue, 21 May 2013 10:37:38 -0400


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:
>=20
> > 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.
>=20
>=20
>=20
> --=20
> Derrick

--=20
********************************
David William Botsch
Programmer/Analyst
CNF Computing
botsch@cnf.cornell.edu
********************************