Infrastructure at your Service

All Posts By

Cesare Cervini

Cesare Cervini

Enhancing idql/iapi with rlwrap (part II)

By | Entreprise content management | No Comments

This is Part II of a tour of rlwrap for idql/iapi. For Part I, please follow the link here. Enhanced output visualization This is one rlwrap’s most fantastic enhancement. It is not that different from what I suggested here only much smoother. idql does not provide any flexible formatting and lines longer than the screen width get wrapped around, which results in hard to read output. rlwrap’s pipeto filter lets redirect this output to another…

Read More
Cesare Cervini

Enhancing idql/iapi with rlwrap (part I)

By | Entreprise content management | No Comments

The rant I have a confession to make: I’m obsessed with idql/iapi. These tools so central to Documentum administrative tasks are so lame for interactive work that they have probably disgusted more than their share of administrators. The problem is that I have to use them almost daily, and everyday I grumble: there must be a better way. Sure, there were third-party utilities such as Samson and Repoint in the past, and now dqman and…

Read More
Cesare Cervini

Tracking Logs Inside a Documentum Container (part II)

By | Entreprise content management | No Comments

Testing the log watcher This is part II of the article. Part I is here. All the above code has to be included in the entrypoint script so it gets executed at container start up time but it can also be tested more simply in a traditional repository installation. First, we’ll move the code into a excutable script, e.g. entrypoint.sh, and run it in the background in a first terminal. Soon, we will notice that…

Read More
Cesare Cervini

Tracking Logs Inside a Documentum Container (part I)

By | Entreprise content management | No Comments

Containers running under docker can have their stdout observed from the outside through the “docker logs”command; here is an excerpt of its usage: docker logs –help Usage: docker logs [OPTIONS] CONTAINER Fetch the logs of a container Options: –details Show extra details provided to logs -f, –follow Follow log output –since string Show logs since timestamp (e.g. 2013-01-02T13:23:37) or relative (e.g. 42m for 42 minutes) –tail string Number of lines to show from the end…

Read More
Cesare Cervini

A Ruthless Repository Shutdown Utility, Part II

By | Entreprise content management | No Comments

Stopping the unreachable repositories Suppose that the docbroker has been stopped prematurely and that we want to shut down the repositories but the out-of-the-box dm_shutdown_repository is not effective. Why is it so by the way ? If we look closely inside the shutdown script, we quickly notice the reason: #!/bin/sh ################## DOCUMENTUM SERVER SHUTDOWN FILE ###################### # # 1994-2018 OpenText Corporation. All rights reserved # Version 16.4 of the Documentum Server. # # A generated…

Read More
Cesare Cervini

A Ruthless Repository Shutdown Utility, Part I

By | Entreprise content management | No Comments

You have finally completed that migration and need to restart all the Documentum processes. So, you shut down the docbroker and move on to the repositories but then you receive an error message about them not being reachable any more. Or conversely, you want to start all the Documentum processes and you start first the repositories and later the docbrokers. Next, you want to connect to one repository and you receive the same error message….

Read More
Cesare Cervini

Documentum Administrator in a Container

By | Database Administration & Monitoring | No Comments

In article A Small Footprint Docker Container with Documentum command-line Tools, we presented a possible way to containerize the usual Documentum clients idql, iapi, dmawk and dmdocbroker. Those are command-line tools mostly used in batch processing or for one-of-its-kind manual tasks such as investigating or troubleshooting. OpenText also offers Documentum Administrator (aka DA), a java WDK-based client which is very useful for the occasional manual tasks. With its GUI running in a browser, it gives…

Read More
Cesare Cervini

A Small Footprint Docker Container with Documentum command-line Tools

By | Database Administration & Monitoring | No Comments

The aim here is to have a minimalist container with the usual Documentum clients idql, iapi, dmawk and dmqdocbroker. Documentum Administrator (DA) could also be a useful addition to our toolbox. We will show how to containerize it in a future article. A word of warning is in order here: the title’s catchy “small footprint” qualifier is relative. Don’t forget that said container will contain a certified O/S, a JRE, the DFCs and a few…

Read More
Cesare Cervini

Connecting to a Repository via a Dynamically Edited dfc.properties File (part II)

By | Entreprise content management | No Comments

This is part II of the 2-part article. See for part I of this article. Testing We will test on the host machine named docker that hosts 2 containers, container01 and container011. All 3 machines run a repository. Its name is respectively dmtest on docker (shortly, [email protected]:1489), [email protected]:1489 ([email protected]:2489 externally) and [email protected]:1489 ([email protected]:5489 externally). Incidentally, the enhanced syntax is also a good way to uniquely identify the repositories. The current dfc.properties file on the host…

Read More
Cesare Cervini

Connecting to a Repository via a Dynamically Edited dfc.properties File (part I)

By | Entreprise content management | No Comments

Now that we have containerized content servers, it is very easy, maybe too easy, to create new repositories. Their creation is still not any faster (whether they are containerized or not is irrelevant here) but given a configuration file it just takes one command to instantiate an image into a running container with working repositories in it. Thus, during experimentation and testing, out of laziness or in a hurry, one can quickly finish up having…

Read More