Archive for Documentum

dm_check_password – unix command line syntax example

To check dm_check_password on unix (thanks Dave R)

$ dm_check_password -p <nnn.nnn.nnn.nnn> -b <nnn.nnn.nnn.nnn> -d <DOMAIN>
“copyright info”
Enter user name: <windowsuser>
Enter user password:
Enter user extra #1 (not used):
“additional info”
Enter user extra #2 (not used):

dm_check_password: Result = (0) = (DM_EXT_APP_SUCCESS)

Leave a Comment

Find (not) by user and group

More find stuff (thanks for the tips JC)
find /mydir ! -user dmadmin ! -group dmgroup
find /mydir -type f ! -user dmadmin ! -group dmgroup

Leave a Comment

API update repeating attribute

fetch,c,<oid>
set,c,l,method_arguments[4]
-master_broker <fqdn of docbroker>
set,c,l,method_arguments[8]
-replica_broker <fqdn of docbroker>
save,c,l
Not the short name or some of the tabs in DA wont work when looking at federation configs even if config in same domain. I think this is only when using dns servers.

Leave a Comment

shared memory semaphores and amount of memory

Often pre installation checklist items for installing packages include semaphores and shared memory. Documentum requires semaphores to be enabled and at least 2GB RAM.

1. Check semaphores are enabled. This is a preinstall requirement.
In AIX: $ipcs -s

will return rows, if enabled.

2. Check base amount of RAM is available

In AIX: lsattr -El sys0 | grep realmem

Will provide the amount of memory in KB. I believe a min of 2 GB is required for Documentum on Unix (at least true for 5.3).

Leave a Comment

Leave a Comment

Server log – strange errors, resolved

The following errors were appearing in the server log. Apart from some fairly critical things not working, the docbase seemed to be ok.
The problem was that something had got corrupted in the TCIP/IP  stack/ network interface.  It was not required to reinstall the tcpip software.

[DM_SESSION_E_RPC_ERROR]error:  “Server communication failure”

java.nio.channels.UnresolvedAddressException

Thu Oct 18 23:47:00 2007 [FATAL ERROR] [AGENTEXEC 4568] Detected during program initialization: Command Failed: connect,xxxxxx.xxxxxx,xxxxxx.xxxxxx,”,,,try_native_first, status: 0, with error message .
The dm_agent_exec utility is exiting due to a fatal error.
Thu Oct 18 23:47:53 2007 025000 [DM_SESSION_W_RESTART_AGENT_EXEC]warning:  “The agent exec program has stopped running.  It will be restarted.”

[DM_SESSION_E_RPC_ERROR]error:  “Server communication failure”

java.nio.channels.UnresolvedAddressException

IAPI32 and IDQL32 would not run and dmqdocbroker -c getdocbasemap would not run either.
Taking it to the next level I  determined that while remote servers could be pinged the local host could not. Once that was fixed it was all ok again.

Solution to the IP probem:

http://kevinyeandel.wordpress.com/2007/11/22/cant-ping-own-pc/

Leave a Comment

SWIPe – German Company Documentum/CYA – word of warning

Dear Contractors, 

The owner of SWIPe prefers his holidays in Spain instead of paying the Documentum people he contracts in to do work for him.  He’s quite happy to be in ‘breach of contract’ and default on payments as long as it doesn’t effect his holidays in Cuba and Spain. Perhaps he even thinks us British people are too stupid to realise Germany has some rather good lawyers and a reasonably ofay legal system.

Please see the email below to me dated 17th September 2007, I am to-date still waiting to receive a significant amount of money due to me by this company. Note how he rubs it in about Spain and how he spent MY MONEY on a trade show.

———- Forwarded message ———-
From: <christian.schacht@swipe.de>
To: <Kevin.Yeandel@boehringer-ingelheim.com>
Date: Mon, 17 Sep 2007 15:47:48 +0200
Subject: AW: End of contract/projects and stuff

Hi Kevin!Thanks for your note and of cause I’m fine if you can do any extra weeks for BI.I just returned from Spain yesterday night but I guess the Appartment has been sorted.I had to cover taxes and pay for a fair we are attending. Because of this I’m not able to pay You before I get the money by BI. They are a very good payer so I expect there will not be much delay. I am very sorry for You to cause You some trouble.

My apologies!

Christian

====================================================
SWIPe Software Engineering & Project Management GmbH
Am Stadtpark 2 “Parcside”, 90409 Nürnberg
Amtsgericht Nürnberg HRB 16338
Geschäftsführer: Christian Schacht
www.swipe.de

Over the period of 7 months of working for Christian Schacht of SWIPe, I’ve had to pay bookkeepers to constantly remind him to pay my invoices.  The problems he caused with late payments was instrumental in the suspension of my bank account and subsequently my mobile phone. While he was ‘living it up’ in Cuba and probably other holiday destinations, I was pretty much stranded in Germany and unable to fly back to the UK for almost 2 months as a result of the bank removing overdraft facilities because (they said) my payments were irregular!!

So, if you are a Documentum Contractor or have skills in the CYA product, please take into consideration the problems I had with SWIPe before you accept a contract with them.

If you are thinking of getting CYA or Documentum services from SWIPe please bear in mind the person put on site might (from time to time) feel the need to walk off site or be preoccupied with difficulties with regards to their financial affairs caused by SWIPe.

  

Comments (3)

CYA Recycle Bin for Documentum

“There’s data that’s been backed up and data that’s not been lost……. yet.”

I was eating porridge this morning which eminded me of my 9th birthday ‘day out with friends’. My mother was driving. Now picture this: we passed by a motorcyclist led on the pavement with the top of his head missing. He managed to slice the top clean off. I’m no more a pathologist today as I was at 9 but felt sure the fella was dead and I knew that’s what the connection with porridge is – anyone who has seen a brain go splat has seen porridge.

If a safety helmet costs £25 and you don’t fall off your bike was it money well spent or was it wasted? If you ride a bike every day can you honestly say you will never fall or be pushed and never wreck your head and spend a week or more in a medically induced coma? You might not intend to fall off or expect to be pushed but accidents happen. There are only 4 reasons I can think of not to have object level recovery installed in your docbase:

1. Your docbase is enabled with some sort of freaky application that prevents it.
2. You spent all your money on Documentum products and your department is flat broke.
3. You completely underestimate or don’t know how hard it is for a dba to ‘partially’ restore a docbase or bits of it.
4. You have low value data that doesn’t change much and very generous downtime allowances.

A continually growing number of companies have Documentum Repositories and probably their DR plan is a tried and tested feature of that system. Except of course when a bit drops off, i.e. a disk set fails carrying a chunk of docbase or a user deletes a folder full of folders and files from a docbase (that’s what we used to call a repository – and that was a joke). If a bit of docbase drops off then it’s probably quicker to roll back to yesterdays backup loosing a days work and having a downtime that leaves people with time on their hands to maintain their facebook entries while you rebuild the system.

During my time as a Documentum dba someone would come up with a complaint that they lost a file out of Documentum.

Recovering deleted documents from a repository can be 1) difficult or 2) near to (if not) impossible. Getting back a deleted folder structure will drive you insane and probably require the restoration of the repository database to a separate place for analysis (or worse, roll back the repository…. not usually an option). If there’s a chance of recovering a document’s content (because dm_clean and dm_filescan jobs have not run yet) then you have to know where to find it on the file system managed by the content server. As Documentum supports multiple content storage areas it’s usually not clean-cut. If the system has distributed content then there is an additional action to perform to get to that content back.

Basically, restoring content and metadata after an accident without the right tools can ruin the whole week for one or more people and be more costly that first thought.

It’s hard to measure the value of a tool until you REALLY, REALLY need it.

CYA have a tool-suite that aids recovery from disaster or simple deletions. It brings back the content, the metadata and all the dependencies (workflow, relations etc).

Today they launch a CYA Recycle bin.

Where a layer of complexity is a bonus

Malfeasance is a word I learned today in a Webinar and I looked on Wikipedia for an explanation. The analogy was made that if a catering company accepts a bribe to undercook food then this is malfeasance. My analogy is that if you work for the police and some offers a bribe to have their criminal record erased then that amounts to the same thing. CYA makes it harder for evidence to be covered up or lost – moreso with the SmartRecovery product but the recycle bin can lend itself to this area also. This is always good news for pharmaceuticals with submissions that require FDA approval. CYA is compliant in the pharma vertical – many pharma’s have CYA and my experience with the product is positive. (CYA also provide excellent technical support).
I think probably many of us Documentum dudes have written such a tool in the past but to make a fully operational recycle bin isn’t just a day’s coding. There are a lot of dependencies when deleting/restoring stuff – not just the document, consideration has to be given to workflows, users, acls, relations, renditions and so forth. Well, CYA have the experience from SmartRecovery and SmartReplicator to deliver such a product and, as a big CYA fan, I’m personally looking forward to seeing it in action.

Leave a Comment

D6 – first impressions

About a month ago I was asked to have a look at the soon to be released D6. I’m about to embark on a detailed examination and develop a web front end on this platform.

In recent years I have been a Unix Documentum platform ’supporter’ but you can’t always choose what the end client prefers.
In this case the distribution I had was Windows and it actually brought back some fond memories…
Firstly the version of the server is Windows was XP Professional version 2002 SP2. It only had 2GB ram which is half of that required.
I have to say I am totally impressed with the D6 install. The others were fairly ok also but considering my lack of prep, I had virtually no problems getting this thing up and running. I guess really it shouldn’t be a surprise, afterall, it is a vanilla install and we know the devil is in the detail when it comes to configuring larger systems. I hope time allows me to expand my findings into a more detailed area.

So my plan was to make an install and NOT follow the instructions. I wanted to break it, fix it and learn from it. Historically there are 3 things that prevent a seemless installation when it comes to Documentum:

1. You didn’t follow the installation guides and met the system software and hardware requirements.

2. You DID follow the installation guides and met the system software and hardware requirements (we all know Documentum would never do that right?!)

3. There is a bug.

I was not to be too disappointed because I had a problem with the Tomcat and DA installation. That was soon fixed and I will discuss it later.

So I took Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 – Production and installed it out of the box. Nothing else. I tested the install with SQLPlus. It was fine. At this point I should just mention something about that version of Oracle and the versions that follow up to 10.2.0.3 – there is a bug in it and on heavily loaded systems which have multiple docbases on the same database host could cause the schemas to swap data and your content server will fail intermittently.

I progressed the installation of the content server. Even though I’ve installed Documentum products must be nearly a hundred times over the past 10 years. Pilots use checklists even if they fly the same plane every day and I use a checklist of sorts (each time I install something – even if I’ve done it 5 times that week), read the release notes or in the case of a new version it is sometimes necessary to even read the install guide! However, this install was a breeze, a few extra questions during the installation (more that the 5x version, it seemed) but it was on.

The installation automatically created DM_HOME and DOCUMENTUM in the environment variables (do this by hand on a Unix System) and added the two port entries to the c:\windows\drivers\etc\system file (Again, a manual process on a Unix server).

Now to test it I went to the DOS prompt. D6 has emulated the iapi tester too. It is still called iapi32 (on Windows and iapi on Unix). As far as I know at this time, a big change to D6 is the loss of the dmcl due to javarization but it seems the API is emulated – this is a great releaf to System Administrators who do not code beyond scripting languages.
You are probably expecting that to be in the Documentum Administrator tool also – it certainly is!

Probably one of the most well known things about D6 prior to it’s launch is the lack of a dmcl.ini. Oddly enough an empty one was created in the c:\windows directory so maybe that’s a hangover and will be purged from the code in the D6 release version.

The installation worked. I was also surprised how similar the server log is to the 5.3 and previous versions…. when running a docbase (first time, ever) it’s always good to check the server log, found in $DOCUMENTUM/dba/log. In Unix you would start the system and follow up with % tail -f <docbasename>.log but in Windows, using the Documentum Server manager you can “view log” as the system starts an tails live data from the server log as it is written.

Configurations with connection brokers and so forth are kept in dfc.properties files. For my installation of the content server it was located in:

C:\Documentum\config (aka $DOCUMENTUM/config or %DOCUMENTUM%\config – depending on your platform). There is at least one other dfc.properties file you will need to remember and that lives in the WEB-INF/classes folder of your application server that hosts your dfc/wdk apps.

for Tomcat 5.5.25 users it is the web.xml in the ./conf folder

That comes now:

So the next was to install DA. While another common information byte is that Documentum is using BEA Weblogic, let’s clear something up: The method server is indeed a 9.1 BEA App server. You may wish to make notes of the ports for your system build documentation. The applications (WDK and DFC) work fine on Tomcat and it is documented. You can also do a netstat -oa to determine what ports are in use. Even in Windows from the Service manager you can add a column to show process ID’s so between netstat and the service manager you can determine quite a bit of information.

Here’s the only problem I had:

After deploying the da.war file to the Tomcat servlet container, there were a few errors thrown into the log when a browser was launched with the url to the da. I was told

com.documentum.web.form.control.TagPoolingEnabledException: JSP tag pooling is not supported. Please refer to the product deployment guide for instructions on turning off tag pooling for the application server.

The verion of tomcat I had was not supported. A function of the new D6 WDK apps is the requirement

CATALINA_HOME=C:\TC\apache-tomcat-5.5.25

C:\TC\apache-tomcat-5.5.25\bin\catalina.bat start

You need at least firefox 2.0.0.3 or IE7 but should refer to the Webtop Release Notes document for the specifics about the versions and JRE’s for browser and java plugins.

Comments (3)

Documentum D6 Database prereq’s

In the case that the service provider maintains the Oracle instance which you are to use and wishes to create the database in advance, they will need to create the database

SQL> CREATE TABLESPACE DM_TEST_02_docbase DATAFILE ‘/U02/ORADATA/DM1/dm_TEST_0220071018141334_db.dbf’ SIZE 250M REUSE;

Then
SQL> ALTER DATABASE DATAFILE ‘/U02/ORADATA/DM1/dm_TEST_0220071018141334_db.dbf’ AUTOEXTEND ON NEXT 10M MAXSIZE 2048M;

Then grant essential privs to the docbase owner (schema account) so that the installation can commence:

SQL>GRANT CREATE ANY VIEW,RESOURCE,UNLIMITED TABLESPACE to TEST_02 ;

Leave a Comment

« Newer Posts · Older Posts »