Multiple dsmcad services

tsmdumber

ADSM.ORG Member
Joined
Jan 27, 2011
Messages
108
Reaction score
3
Points
0
Hi

In one of my clients I have multiple dsmcad services running!. Any idea where to start looking for info?

dsm.sys is posted below!!

[tsm@lf0hrwb01p bin]$ ps -ef | grep dsm
tsm 1738 31948 0 08:31 pts/8 00:00:00 grep dsm
root 19570 1 0 Feb13 ? 00:00:00 dsmcad
root 19572 19570 0 Feb13 ? 00:00:00 dsmcad
root 19573 19572 0 Feb13 ? 00:00:00 dsmcad
root 19584 19572 0 Feb13 ? 00:00:00 dsmcad
root 19585 19572 0 Feb13 ? 00:00:00 dsmcad
root 19871 1 0 01:00 ? 00:00:00 dsmcad
[tsm@lf0hrwb01p bin]$ cat dsm.sys
************************************************************************
* IBM Tivoli Storage Manager *
* *
* Sample Client System Options file for UNIX (dsm.sys.smp) *
************************************************************************
* This file contains the minimum options required to get started
* using TSM. Copy dsm.sys.smp to dsm.sys. In the dsm.sys file,
* enter the appropriate values for each option listed below and
* remove the leading asterisk (*) for each one.
* If your client node communicates with multiple TSM servers, be
* sure to add a stanza, beginning with the SERVERNAME option, for
* each additional server.
************************************************************************
SErvername tsm
COMMMethod TCPip
TCPPort 1700
TCPServeraddress 10.1.20.52
NodeName ***********
PasswordAccess generate
ManagedServices webclient schedule


Regards,
TSMDUMBER
 
Well, any harm to kill them?

Just kill and see if they comes back... or have you already tried this?
 
yeah killed them

but when i satrt it all comes up again!!
 
I was tired troubleshooting and upgraded the linux client from 5.4.1.0 to 5.4.3.0 hoping it would resolve this

to my dismay the issue is reoccuring again :( :( :(


what could cause multiple cad services running ?

[root@lf0hrwb01p bin]# ps -ef | grep dsm
root 21139 29761 0 13:17 pts/8 00:00:00 grep dsm
[root@lf0hrwb01p bin]# ./dsmcad
[root@lf0hrwb01p bin]# ps -ef | grep dsm
root 21163 1 0 13:17 ? 00:00:00 ./dsmcad
root 21164 21163 0 13:17 ? 00:00:00 ./dsmcad
root 21165 21164 0 13:17 ? 00:00:00 ./dsmcad
root 21166 21164 0 13:17 ? 00:00:00 ./dsmcad
root 21167 21164 0 13:17 ? 00:00:00 ./dsmcad
root 21169 29761 0 13:17 pts/8 00:00:00 grep dsm
 
Hi,

check /etc/inittab for "respawn" lines.
It may make sense to run multiple dsmcad services .... is it your setup or you got this system already configured?

Harry
 
The initab goes like this

1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
cad::eek:nce:/opt/tivoli/tsm/client/ba/bin/dsmcad >/dev/null 2>&1
# TSM Webclient


I got this system already configured!!
 
Hi,

looking at the output you provided earlier ...
seems there is one "parent" dsmcad process (PID 21163) started by init (PID 1). The other processes seem to be children/grandchildren of this process. So one "dsmcad" spawns another.
Does that happen immediately after starting the dsmcad? Without any incoming connection which may do this? Anything in dsierror.log, dsmerror.log?

Harry
 
yes multiple dsmcad process are satrted the very second I give ./dsmcad.

More over the initab settings are the same for couple of my other servers which have only 1 dsmcad running and tehre are servers with multiple cad similar to the above output!!!

and the errorlog has

01/31/11 01:04:36 ANS1512E Scheduled event 'DAILY_INCR' failed. Return code = 134.
02/04/11 01:09:56 B/A Txn Producer thread, fatal error, signal 11
02/12/11 01:18:27 B/A Txn Producer thread, fatal error, signal 11
02/12/11 01:18:27 ANS1909E The scheduled command failed.
02/12/11 01:18:27 ANS1512E Scheduled event 'DAILY_INCR' failed. Return code = 134.
02/16/11 01:32:34 B/A Txn Producer thread, fatal error, signal 11
02/16/11 01:32:34 ANS1909E The scheduled command failed.
02/16/11 01:32:34 ANS1512E Scheduled event 'DAILY_INCR' failed. Return code = 134.
02/20/11 01:02:18 B/A Txn Producer thread, fatal error, signal 11
02/20/11 01:02:18 ANS1909E The scheduled command failed.
02/20/11 01:02:18 ANS1512E Scheduled event 'DAILY_INCR' failed. Return code = 134.


and


02/14/2011 08:15:09 Unable to locate valid trusted communication agent.
02/14/2011 08:15:09 tcaPath is >/usr/bin/dsmtca<. rc is 138
02/14/2011 08:15:09 ANS1501E Trusted agent execution/owner permissions are invalid
02/16/2011 14:01:32 Error opening input file /opt/tivoli/tsm/client/ba/bin/ar_QA/dscjres.txt
02/23/2011 13:16:01 ANS1141W Unknown command - systeminfo


i have 2 error logs

1 in / and 1 in defaule directory!!!

I think my problesm are bigger than i thought

TSMDUMBER
 
Hi,

stop the dsmcad (killall -9 dsmcad), delete (move away) your logs and start the dsmcad. Then show us the logs (so we have the current info).
About ANS1501E - how the permissions are set?
Easiest way you can do is to uninstall the client, save the config files, DELETE the /opt/tivoli/tsm/client/* and install it from fresh ...
This should solve "hidden" permission problems ...

Harry
 
[root@lf0hrwb01p bin]# ps -ef |grep dsm
root 9040 29761 0 10:43 pts/8 00:00:00 grep dsm
root 10409 1 0 09:27 ? 00:00:00 ./dsmcad
root 10410 10409 0 09:27 ? 00:00:00 ./dsmcad
root 10411 10410 0 09:27 ? 00:00:00 ./dsmcad
root 10412 10410 0 09:27 ? 00:00:00 ./dsmcad
root 10413 10410 0 09:27 ? 00:00:00 ./dsmcad
[root@lf0hrwb01p bin]# kill -9 10409
[root@lf0hrwb01p bin]# ps -ef |grep dsm
root 9067 29761 0 10:44 pts/8 00:00:00 grep dsm
[root@lf0hrwb01p bin]# ./dsmcad
[root@lf0hrwb01p bin]# ps -ef |grep dsm
root 9094 1 0 10:44 ? 00:00:00 ./dsmcad
root 9095 9094 0 10:44 ? 00:00:00 ./dsmcad
root 9096 9095 0 10:44 ? 00:00:00 ./dsmcad
root 9097 9095 0 10:44 ? 00:00:00 ./dsmcad
root 9098 9095 0 10:44 ? 00:00:00 ./dsmcad
root 9123 29761 0 10:44 pts/8 00:00:00 grep dsm
[root@lf0hrwb01p bin]# cat dsmerror.log
02/24/2011 09:46:16 Error opening input file /opt/tivoli/tsm/client/ba/bin/ar_QA/dscjres.txt



this is only error I have after moving the error logs, i cant relate this error with multiple dsmcads though!!!
 
Hi,

weird - getting out of ideas here - what version of linux and TSM client do you use? What problem does this situation cause?

Harry
 
Check whether all the dsmcad process are local to that server or being executed from other server. (globa,local).

ps -aefZ|grep dsm
 
Hi

the services are running on the same server.

It dint cause any issue .I am just wondering why the malfunction?

More over i see multiple updates for the same schedule in the act log of the srever which is approx equal the number of dsmcad services

Sorry far the delayed response was into multiple things for the last few weeks.

and many many thanks for your suggestions!
 
Pheww... stubborn...

Ok, shoot in the dark.. cancel all dsmcad and then run dsmcad in background...
 
Last edited:
Hi Guys,

many thanks to every one for helping me!

GOt the root cause nailed. Thanks to IBM support for once!!

LD_ASSUME_KERNEL= dsmcad'

the above command fixed the issue

Comments from IBM are as below


development have the following comments for you:
**************************************************************
in the dsminfo.txt I have found a variable LD_ASSUME_KERNEL=2.4.19.
With LD_ASSUME_KERNEL you can
specify the kernel version (in our case 2.4.19) and get the changed POSIX thread implementation for
the process witch run in it. With such parameter(LD_ASSUME_KERNEL=2.4.19) threads will be showed
like processes with ps command.
This means that blue processes are threads only!
[root@lf0hrwb01p ~]# ps -ef|grep dsm
root 29078 1 0 10:23 ? 00:00:00 dsmcad
root 29079 29078 0 10:23 ? 00:00:00 dsmcad
root 29080 29079 0 10:23 ? 00:00:00 dsmcad
root 29081 29079 0 10:23 ? 00:00:00 dsmcad
root 29082 29079 0 10:23 ? 00:00:00 dsmcad
root 29091 28980 0 10:23 pts/4 00:00:00 grep dsm
If it is a problem for customer and he need to use LD_ASSUME_KERNEL for his own purposes, he can
try the next variant.
Run 'LD_ASSUME_KERNEL= dsmcad' instead of 'dsmcad' in his scripts. This command will run dsmcad in its own environment.
**************************************************************
 
Back
Top