Documentum usefull command lines

Encrypt password

Documentum allow encrypted password when connecting to Content Server. To encrypt password, use the following command line:

dmadmin> java -cp /path/to/dfc.jar com.documentum.fc.tools.RegistryPasswordUtils <password to encrypt>

For example, encoding “myS3curedP@ssword” password:

dmadmin> java -cp /logiciels/dctm/16.4/dfc/dfc.jar com.documentum.fc.tools.RegistryPasswordUtils myS3curedP@ssword
AAAAEI6wFJ0Bp/3Z8+wEuej+xjss+KHeyO7pCw0wy2K/5L+aFtoqgZ6tKjzp92O9VRCeaQ== 

Testing databse connection (Oracle)

For Oracle database, tnsnames.ora must be configured before executing this command.

dmadmin $ tnsping <ORACLE_SID>

TNS Ping Utility for Linux: Version 19.0.0.0.0 - Production on 06-DEC-2021 08:04:43

Copyright (c) 1997, 2020, Oracle.  All rights reserved.

Used parameter files:


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = <ORACLE_HOST>)(PORT = <ORACLE_PORT>)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = <ORACLE_SID>)))
OK (10 msec) 

Testing DocBroker / DocBase connection

Testing DocBrocker connection (assuming that you are currently connected to server running DocBroker)

dmadmin $ dmqdocbroker -t $(hostname -f) -p 1489 -c ping
dmqdocbroker: A DocBroker Query Tool
dmqdocbroker: Documentum Client Library Version: 20.4.0000.0199
Using specified port: 1489
Successful reply from docbroker at host (zer33rk9) on port(1490) running software version (20.4.0000.0193  Linux64).

Testing DocBase connection (assuming that you are currently connected to server running DocBase)

dmadmin $ java com.documentum.server.impl.utils.ContentServerStatus -docbase_name <docbase_name>.<docbase_name> -user_name <user to use on connect>
Session 0110c8eb8004b95e of user dmadmin is Active
Session 0110c8eb8004b95d of user dm_bof_registry is Active
Server is up running. 

Displaying keystore entries

dmadmin $ keytool -list -keystore /path/to/dfc.keystore -storepass <KEYSTORE_PASSWD> -v
Keystore type: PKCS12
Keystore provider: SUN

Your keystore contains 1 entry

Alias name: dfcalias
Creation date: Dec 5, 2021
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=<CLIENT_ID>, O=OpenText, OU=Documentum
Issuer: CN=<CLIENT_ID>, O=OpenText, OU=Documentum
Serial number: <SERIAL_NUMBER>
Valid from: Sun Dec 05 13:50:19 CET 2021 until: Wed Dec 03 13:55:19 CET 2031
Certificate fingerprints:
         SHA1: <SHA1_FINGERPRINT>
         SHA256: <SHA256_FINGERPRINT>
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3


*******************************************
******************************************* 
Please follow and like us:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.