Monday, May 20, 2013

Create new Storage location Documentum

  • 1) create the new directory  (see x:\documentum.... below)

2) create location object
DQL> CREATE "dm_location" OBJECT
DQL> SET "object_name" = 'storage_02',
DQL> SET "file_system_path" = 'x:\documentum\data\<docbase_name>\content_storage_02',
DQL> SET "path_type" = 'directory'
DQL> GO
If this returns a valid r_object_id then it was created correctly. You can verify all your dm_locations if you want:
DQL> select object_name, file_system_path from dm_location
DQL> go

3)
DQL> CREATE "dm_filestore" OBJECT
DQL> SET "name" = 'filestore_02',
DQL> SET "root" = 'storage_02'
DQL> GO
Again, this should return a valid r_object_id.

4)
DQL> ALTER TYPE dm_sysobject SET DEFAULT STORAGE 'filestore_02'
DQL> GO

5)
API> reinit,c
             
6) - Stop the docbase and app server of your webtop

7) - Clean the dmcl cache (or in the case of 6.0 and above the BOF cache), search in the Content Server and app server machine for all the dmcl directories and clean them up

8) - Start Docbase and app server

Note that if you have hardcoded any store locations for custom types (or any types) you will need to change them manually to the new filestore.

2 comments:

  1. Could any one suggest me how can we rename the filestore created
    Ex: filestore_2 should be renamed aa filestore_3

    Please help

    ReplyDelete