names.nsf ODS upgrade

320adel
320adel used Ask the Experts™
on
Hi Team.

We are trying to update names.nsf on our domino server from ODS 43  to ODS 51.

Looking at documentation is suggests to run a compact -c which will upgrade to 51.
We have the create_R85_database=1 in the notes.ini

After running the compact and bringing the server back up we notice that names.nsf is still ODS 43.

Can anyone suggest anything we may have missed or provide some info on where to go form here.

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Easy.
Set the notes.ini var Create_R85_Databases=1 (you made typo, forgot the last s)
While your at it, set Create_R9_Databases=1 and Create_R85_Log=1
If on 8.5.2 or newer, down server and run ncompact -ODS -*
Otherwise, Create a new replica of names.nsf on the server, name it namesODS.nsf, When complete bring server down, In server data directory, rename names.nsf to names.nsf.old, Rename namesODS.nsf to names.nsf
Start server
Check ODS.  Should be 51. Also, on your notes client, if 8.5.2 or newer, ncompact -ODS -* works too (run with client not running!)
On 8.5 with Create_R85_Databases=1 will upgrade to ODS51 if on 9 with Create_R9_Databases=1, will upgrade to ODS52

Author

Commented:
Hi Larsberntrop,

Thanks so much for the quick response.

Haha yea the "database" was just a typo in the thread above.
I have added the other two lines "Create_R9_Databases=1 and Create_R85_Log=1"

We are currently running 8.5.2 FP3

If we run the ncompact -ODS -* what exactly does this do?
Will it upgrade the ODS for all databases?

I did a test by creating a "new copy" of the names.nsf and I see that it is on ODS 51 but have noticed the copy is less than a 1Mb in size while the original names.nsf is about 30Mb?

Again thanks for all your help.
New copy is missing built views and deletion stubs. That is why it is smaller. Or your ID does not have full access.  You should make the new copy with the Administrator client set to full administrative access to foil reader field problems.
-ODS -* upgrades all databases, templates and mail.box included.

Since version 9, another flag has been added: -upgrade
from ncompact -?
 -upgrade   Upgrade databases created with older DB classes to the most recent class.

Q: What is a DB class
A: You can create old DB classses by specifying ns6 or ns4 on creation as extension instead of nsf.  Then the db will be created with older ODS.  Unfortunately, before the advent of the -upgrade option, the only way to remove the 'use old ODS' flag was to create a new replica, i.e. using compact theat file was 'stuck' to the old ODS. This may also be affecting you.  That is why I suggested making a new replica.

Author

Commented:
Creating  new copy did the trick.

Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial