Re: Dumb question
Posted in 1999
Topics: Server Administration
Sorry all,
I think I found the answer to my own dumb question in the documentation
(last place I would have thought to look).
"The database server uses the ONCONFIG file during initialization"
>Is it safe to edit my onconfig file when the database is live ?
>
>Or should I stop database with onmode, edit onconfig and then
>restart database with oninit ?
>
>Actually I have an edited onconfig.new file ready and I was about
>to backup onfig to say oncongig.old and replace it with my new
>onconfig.
Hope that was right coz I've gone ahead and changed the onconfig file.
Michael Martin
You are fine. It is perfectly safe to change the ONCONFIG file. The
worst that will happen is that if you change certain parameters, notably
SERVERNUM, SERVERNAME, ROOTDBS, things like that that identify the server
and its pimary resources, you will not be able to access it with certain
tools until you fix these parameters but the engine and the data will be
quite safe.
Art S. Kagel
michael martin wrote:
>
> Sorry all,
>
> I think I found the answer to my own dumb question in the documentation
> (last place I would have thought to look).
>
> "The database server uses the ONCONFIG file during initialization"
>
> >Is it safe to edit my onconfig file when the database is live ?
> >
> >Or should I stop database with onmode, edit onconfig and then
> >restart database with oninit ?
> >
> >Actually I have an edited onconfig.new file ready and I was about
> >to backup onfig to say oncongig.old and replace it with my new
> >onconfig.
>
> Hope that was right coz I've gone ahead and changed the onconfig file.
>
> Michael Martin