Do these steps on dev/test first .
OldDocbaseName = Your Actual Docbase Name
NewDocbaseName = The New Docbase name
1. Using DQL or API obtain and write down the r_object_id of your docbase config object, you will need this in 12.a
2. Using DQL or API obtain and write down the r_object_id of your server config object, you will need this in 12.b
3. Obtain and write down the documentum server name, you need this in 12.c
4. Shutdown all the documentum services
a. Docbase
b. Docbroker
c. Method server
5. Rename the following at file system level
a. \Documentum\apptoken\OldDocbaseName.tkn to
\Documentum\apptoken\NewDocbaseName.tkn
b. \Documentum\cache\X.X\bof\OldDocbaseName to D:\Documentum\cache\X.X\bof\NewDocbaseName
c. D:\Documentum\data\OldDocbaseName to D:\Documentum\data\NewDocbaseName
d. D:\Documentum\dba\auth\OldDocbaseName to D:\Documentum\dba\auth\NewDocbaseName
e. D:\Documentum\dba\config\OldDocbaseName to D:\Documentum\dba\config\NewDocbaseName
f. D:\Documentum\dba\log\OldDocbaseName.log to D:\Documentum\dba\log\NewDocbaseName.log
g. D:\Documentum\dba\log\fulltext\fttrace_OldDocbaseName.log to D:\Documentum\dba\log\fulltext\fttrace_NewDocbaseName.log
h. D:\Documentum\server_uninstall\delete_db\OldDocbaseName to D:\Documentum\server_uninstall\delete_db\NewDocbaseName
i. D:\Documentum\share\temp\ldif\OldDocbaseName to D:\Documentum\share\temp\ldif\NewDocbaseName
j. D:\Documentum\share\temp\replicate\OldDocbaseName to D:\Documentum\share\temp\replicate\NewDocbaseName
6. Edit D:\Documentum\dba\config\NewDocbaseName\ server.ini file, change the following keys
a. docbase_name=OldDocbaseName to docbase_name=NewDocbaseName
b. server_config_name=OldDocbaseName to server_config_name=NewDocbaseName
c. service=dm_OldDocbaseName to service=dm_NewDocbaseName
7. Save changes and close the server.ini file
8. Edit D:\Documentum\dba\documentum.ini file, change the following keys
a. [DOCBASE_OldDocbaseName] to [DOCBASE_NewDocbaseName]
b. NAME=OldDocbaseName to NAME=NewDocbaseName
9. Edit C:\WINDOWS\system32\drivers\etc\services file, change the following keys
a. dm_OldDocbaseName to dm_NewDocbaseName
b. dm_OldDocbaseName_s to dm_NewDocbaseName_s
10. Edit D:\Documentum\config\dfc.properties file, change the following keys
a. dfc.bof.registry.repository=OldDocbaseName to dfc.bof.registry.repository=NewDocbaseName **This step is required only if this repository was configured as the Global Registry
11. In the windows registry
a. Rename the key HKLM\SOFTWARE\Documentum\DOCBASES\OldDocbaseName to HKLM\SOFTWARE\Documentum\DOCBASES\OldDocbaseName to NewDocbaseName
b. Change the value of string key HKLM\SOFTWARE\Documentum\DOCBASES\NewDocbaseName\DM_SERVICE_NAME\dm_OldDocbaseName to HKLM\SOFTWARE\Documentum\DOCBASES\NewDocbaseName\DM_SERVICE_NAME\dm_NewDocbaseName
c. Create key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME
d. Create key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000
e. Create key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Control
f. Create DWORD key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Control\*NewlyCreated* with value 0
g. Create String key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Control\ActiveService with value DmServerNewDocbaseName
h. Create String key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Class with value LegacyDriver
i. Create String key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\ClassGUID with empty value
j. Copy the string value of HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVEROLDDOCBASENAME\0000\ClassGUID
k. Paste the value in HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\ClassGUID
l. Create DWORD key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\ConfigFlags with value 0
m. Create String key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\DeviceDesc with value Documentum Docbase Service NewDocbaseName
n. Create DWORD key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Legacy with value 1
o. Create String key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Service with value DmServerNewDocbaseName
p. Delete HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVEROLDDOCBASENAME
q. Rename the key HKLM\SYSTEM\CurrentControlSet\Services\DmServerOldDocbaseName to HKLM\SYSTEM\CurrentControlSet\Services\DmServerNewDocbaseName
r. Change the value of string key HKLM\SYSTEM\CurrentControlSet\Services\DmServerNewDocbaseName\DisplayName to Documentum Docbase Service NewDocbaseName
s. Edit the string key HKLM\SYSTEM\CurrentControlSet\Services\DmServerNewDocbaseName\ImagePath
i. Change the -docbase_name parameter from OldDocbaseName to NewDocbaseName
ii. Change the path D:\Documentum\dba\config\OldDocbaseName\server.ini to D:\Documentum\dba\config\NewDocbaseName\server.ini
iii. Change the log file name D:\Documentum\dba\log\OldDocbaseName.log to D:\Documentum\dba\log\NewDocbaseName.log
t. Change the value of string key HKLM\SYSTEM\CurrentControlSet\Services\DmServerNewDocbaseName\Enum\0 to Root\LEGACY_DMSERVERNEWDOCBASENAME\0000
12. In the database execute the following sql commands
a. UPDATE dm_sysobject_s set object_name = 'NewDocbaseName' where r_object_id = 'DOCBASE_CONFIG_OBJECT_ID';
b. UPDATE dm_sysobject_s set object_name = 'NewDocbaseName' where r_object_id = 'SERVER_CONFIG_OBJECT_ID';
c. UPDATE dm_job_s set target_server = 'NewDocbaseName.NewDocbaseName@HOSTNAME';
d. Also remember to change the old root in the file_system_path attribute of the dm_location_s table
13. Restart the content server
OldDocbaseName = Your Actual Docbase Name
NewDocbaseName = The New Docbase name
1. Using DQL or API obtain and write down the r_object_id of your docbase config object, you will need this in 12.a
2. Using DQL or API obtain and write down the r_object_id of your server config object, you will need this in 12.b
3. Obtain and write down the documentum server name, you need this in 12.c
4. Shutdown all the documentum services
a. Docbase
b. Docbroker
c. Method server
5. Rename the following at file system level
a. \Documentum\apptoken\OldDocbaseName.tkn to
\Documentum\apptoken\NewDocbaseName.tkn
b. \Documentum\cache\X.X\bof\OldDocbaseName to D:\Documentum\cache\X.X\bof\NewDocbaseName
c. D:\Documentum\data\OldDocbaseName to D:\Documentum\data\NewDocbaseName
d. D:\Documentum\dba\auth\OldDocbaseName to D:\Documentum\dba\auth\NewDocbaseName
e. D:\Documentum\dba\config\OldDocbaseName to D:\Documentum\dba\config\NewDocbaseName
f. D:\Documentum\dba\log\OldDocbaseName.log to D:\Documentum\dba\log\NewDocbaseName.log
g. D:\Documentum\dba\log\fulltext\fttrace_OldDocbaseName.log to D:\Documentum\dba\log\fulltext\fttrace_NewDocbaseName.log
h. D:\Documentum\server_uninstall\delete_db\OldDocbaseName to D:\Documentum\server_uninstall\delete_db\NewDocbaseName
i. D:\Documentum\share\temp\ldif\OldDocbaseName to D:\Documentum\share\temp\ldif\NewDocbaseName
j. D:\Documentum\share\temp\replicate\OldDocbaseName to D:\Documentum\share\temp\replicate\NewDocbaseName
6. Edit D:\Documentum\dba\config\NewDocbaseName\ server.ini file, change the following keys
a. docbase_name=OldDocbaseName to docbase_name=NewDocbaseName
b. server_config_name=OldDocbaseName to server_config_name=NewDocbaseName
c. service=dm_OldDocbaseName to service=dm_NewDocbaseName
7. Save changes and close the server.ini file
8. Edit D:\Documentum\dba\documentum.ini file, change the following keys
a. [DOCBASE_OldDocbaseName] to [DOCBASE_NewDocbaseName]
b. NAME=OldDocbaseName to NAME=NewDocbaseName
9. Edit C:\WINDOWS\system32\drivers\etc\services file, change the following keys
a. dm_OldDocbaseName to dm_NewDocbaseName
b. dm_OldDocbaseName_s to dm_NewDocbaseName_s
10. Edit D:\Documentum\config\dfc.properties file, change the following keys
a. dfc.bof.registry.repository=OldDocbaseName to dfc.bof.registry.repository=NewDocbaseName **This step is required only if this repository was configured as the Global Registry
11. In the windows registry
a. Rename the key HKLM\SOFTWARE\Documentum\DOCBASES\OldDocbaseName to HKLM\SOFTWARE\Documentum\DOCBASES\OldDocbaseName to NewDocbaseName
b. Change the value of string key HKLM\SOFTWARE\Documentum\DOCBASES\NewDocbaseName\DM_SERVICE_NAME\dm_OldDocbaseName to HKLM\SOFTWARE\Documentum\DOCBASES\NewDocbaseName\DM_SERVICE_NAME\dm_NewDocbaseName
c. Create key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME
d. Create key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000
e. Create key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Control
f. Create DWORD key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Control\*NewlyCreated* with value 0
g. Create String key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Control\ActiveService with value DmServerNewDocbaseName
h. Create String key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Class with value LegacyDriver
i. Create String key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\ClassGUID with empty value
j. Copy the string value of HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVEROLDDOCBASENAME\0000\ClassGUID
k. Paste the value in HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\ClassGUID
l. Create DWORD key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\ConfigFlags with value 0
m. Create String key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\DeviceDesc with value Documentum Docbase Service NewDocbaseName
n. Create DWORD key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Legacy with value 1
o. Create String key HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVERNEWDOCBASENAME\0000\Service with value DmServerNewDocbaseName
p. Delete HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_DMSERVEROLDDOCBASENAME
q. Rename the key HKLM\SYSTEM\CurrentControlSet\Services\DmServerOldDocbaseName to HKLM\SYSTEM\CurrentControlSet\Services\DmServerNewDocbaseName
r. Change the value of string key HKLM\SYSTEM\CurrentControlSet\Services\DmServerNewDocbaseName\DisplayName to Documentum Docbase Service NewDocbaseName
s. Edit the string key HKLM\SYSTEM\CurrentControlSet\Services\DmServerNewDocbaseName\ImagePath
i. Change the -docbase_name parameter from OldDocbaseName to NewDocbaseName
ii. Change the path D:\Documentum\dba\config\OldDocbaseName\server.ini to D:\Documentum\dba\config\NewDocbaseName\server.ini
iii. Change the log file name D:\Documentum\dba\log\OldDocbaseName.log to D:\Documentum\dba\log\NewDocbaseName.log
t. Change the value of string key HKLM\SYSTEM\CurrentControlSet\Services\DmServerNewDocbaseName\Enum\0 to Root\LEGACY_DMSERVERNEWDOCBASENAME\0000
12. In the database execute the following sql commands
a. UPDATE dm_sysobject_s set object_name = 'NewDocbaseName' where r_object_id = 'DOCBASE_CONFIG_OBJECT_ID';
b. UPDATE dm_sysobject_s set object_name = 'NewDocbaseName' where r_object_id = 'SERVER_CONFIG_OBJECT_ID';
c. UPDATE dm_job_s set target_server = 'NewDocbaseName.NewDocbaseName@HOSTNAME';
d. Also remember to change the old root in the file_system_path attribute of the dm_location_s table
13. Restart the content server
Comments (0)
Post a Comment