Infrastructure at your Service

All Posts By

Cesare Cervini

Cesare Cervini

How to stop Documentum processes in a docker container, and more (part I)

By | Application integration & Middleware, Entreprise content management, Operation systems | No Comments

How to stop Documentum processes in a docker container, and more Ideally, but not mandatorily, the management of Documentum processes is performed at the service level, e.g. by systemd. In my blog here, I showed how to configure init files for Documentum under systemd. But containers don’t have systemd, yet. They just run processes, often only one, sometimes more if they are closely related together (e.g. the docbroker, the method server and the content servers),…

Read More
Cesare Cervini

How to stop Documentum processes in a docker container, and more (part II)

By | Database Administration & Monitoring, Entreprise content management | No Comments

ok, Ok, OK, and the docker part ? In a minute. In part I of this 2-part article, we showed how traps could be used to control a running executable from the outside. We also presented a bash test script to try out and play with traps. Now that we are confident about that simulation script, let’s dockerize it and try it out in this new environment. We use the dockerfile Dockerfile-dctm to create the…

Read More
Cesare Cervini

A few scripting languages for Documentum

By | Entreprise content management | No Comments

Beside the obsolete dmbasic, the autistic dmawk, the verbose java with the DfCs, the limited iapi (for API) and idql (for DQL) command-line tools, Documentum does not offer any scripting language for the administrator and the out-of-the-box experience is quite frustrating in this respect. It has been so even before the java trend so it is not a maneuver to force the use of the DfCs or to rely on it for administrative tasks. It…

Read More
Cesare Cervini

systemd configurations for Documentum

By | Entreprise content management | No Comments

systemd configurations for Documentum systemd has been with us for several years now and has slowly made its way into most Linux distributions. While it has generated much controversy among sysV init hard core, the fact is that it is here to stay and we, Documentum administrators, don’t have our say in this topic. In effect, it does not impact us very much, except that a little translation work is necessary to switch to it,…

Read More
Cesare Cervini

Two techniques for cloning a repository filestore, part II

By | Entreprise content management | No Comments

This is part II of a two-part article. In part I, we introduced the Documentum repository file structure and saw a first way to transfer content files from one filesystem to another using the repository to get their full path on disk. We saw how to generate an easy to parallelize set of rsync commands to completely or partially copy a repository’s content files. Here, we’ll show another way to do that which does not…

Read More
Cesare Cervini

Two techniques for cloning a repository filestore, part I

By | Entreprise content management | No Comments

I must confess that my initial thought for the title was “An optimal repository filestore copy”. Optimal, really ? Relatively to what ? Which variable(s) define(s) the optimality ? Speed/time to clone ? Too dependent on the installed hardware and software, and the available resources and execution constraints. Simplicity to do it ? Too simple a method can result in a very long execution time while complexity can give a faster solution but be fragile,…

Read More
Cesare Cervini

A Graphical Overview of a Repository

By | Entreprise content management | No Comments

As the saying goes, “A Picture Is Worth A Thousands Words”. I’d add “And A Simple Graph Is Worth A Long, Abstruse List of Numbers”. And of words too, so let’s show off a little bit: Interested ? Then, please read on. It happens not so infrequently that we wish we could quickly plot a few numbers to have a look at their overall trend. The usual procedure is to output the numbers into a…

Read More
Cesare Cervini

A SQLite extension for gawk (part II)

By | Development & Performance, Entreprise content management | No Comments

Welcome to part II of a three-part article on extending gawk with a SQLite binding. Part I is here. Part II is followed by Part III, which give some explanations for the code presented here and shows how to use the extension with a stress test. Here, I’ll list the source code of the extension and give instructions to compile and use it in gawk. Beware though that the code should be taken with several…

Read More
Cesare Cervini

An SQLite extension for gawk (part I)

By | Development & Performance, Entreprise content management | No Comments

Quick: what is the most used database management system on our planet ? Oracle ? Wrong. SQL server ? Wrong again ! MySQL ? You’re almost there. It’s SQLite. Surprised ? I must confess that I was too. Actually, SQLite is special in that it is not the traditional 2-tiers client/server but one-tier and embedded, which means that it works as a library linked to an application. As such, it is used to fulfill the…

Read More
Cesare Cervini

Adding a timeout in monitoring probes

By | Cloud | No Comments

A few months ago day, as I was writing the documentation for a monitoring probe, I suddenly realized that that probe, along with others I wrote during that time to monitor Documentum installations, had all a big, unexpected flaw. Indeed, it struck me that if it hang for some reason while running, it could stay there well after the next monitoring cycle had begun, which could too be affected by the same problem, and so…

Read More