[uClibc] Re: The naming wars continue...
Denis Vlasenko
vda at port.imtp.ilyichevsk.odessa.ua
Fri Oct 29 20:42:48 UTC 2004
> > > I was more thinking about the problems like a database upgrade requiring
> > > changes to e.g. the system tables of the database handled in the
> > > {pre,post}inst scripts. It even becomes more tricky since a postinst
> > > script might make changes to both /usr and such required actions.
> >
> > tables of a database mustn't be under /usr.
> > /var/$some_path seems appropriate to me.
> >
> > (They may be visible under /usr via some symlink, but "real" location
> > must be somewhere else.)
>
> That's clear.
>
> Let's make an example to explain what I meant:
>
> Setup:
> - 1 server
> - 1000 clients mounting /usr ro from the server
> some of the clients run databases
>
> How do you manage an upgrade to a new major version of the database
> under /usr ?
Easy. I deploy new database package WITHOUT removing old one.
Clients still run old database package.
I let this setup run for a while, migrating clients
in small groups to new database as needed/when I have time.
When I feel I don't need ancient database anymore,
I remove it.
--
vda
More information about the uClibc
mailing list