02 May 2010

  1. Shutdown all the repositories on the target server
  2. Backup the database
  3. Rename the AEK file or rename it and move it some where else
  4. From sql on the database, run the following statements
    1. SQL&#gt; update dm_docbase_config_s set i_crypto_key = ' '.
    2. SQL&#gt; update dm_docbase_config_s set i_ticket_crypto_key = ' '.
    3. SQL&#gt; select r_object_id from dmi_vstamp_s where i_application = 'dm_docbase_config_crypto_key_init';
    4. SQL&#gt; delete from dmi_object_type where r_object_id = 'returned r_object_id from above';
    5. SQL&#gt; commit;
    6. SQL&#gt; delete from dmi_vstamp_s where r_object_id = 'returned r_object_id from step above'
    7. SQL&#gt; commit;
    8. SQL&#gt; select r_object_id from dmi_vstamp_s where i_application = 'dm_docbase_config_ticket_crypto_key_init';
    9. SQL&#gt; delete from dmi_object_type where r_object_id = 'returned r_object_id from above';
    10. SQL&#gt; delete from dmi_vstamp_s where r_object_id = 'returned r_object_id from step above'
    11. SQL&#gt; commit
  5. Change to the $DM_HOME/bin directory. Run dm_crypto_create
  6. To re-encrypt the dbpasswd.txt file do the following:
    1. cd $DM_HOME/bin
    2. dm_encrypt_password -docbase -rdbms -encrypt
    3. You need to perform all steps except running cm_crypto_create for each repository. Running dm_crypto_create should only be run once.
    4. Startup the repositories.


Less Is More ~ Older posts are available in the archive.