Page 1 of 1

Using dsjob on AIX server w/multiple DS versions

Posted: Thu May 24, 2007 12:49 pm
by lgharis
We have a server with two DS daemons running. Version 7.5 is itag ade and v 7.5.1 is itag ad1. We wanted to start a job in a 7.5.1. The same project/job exists in both 7.5 and 7.5.1. When we issued the dsjob command it started the 7.5 version of the job.

We then changed the dsjob command to use the -local option and got the 7.5.1 version of the job to execute.

We are executing a sequncer job that has a "wait activity" at the beginning followed by 4 parallel jobs.

We made the seq job wait for the activity. I notice that it created a dscs entry for the 7.5 version, eventhough it is running the 7.5.1 job. Is there some parameter that will cause the dsjob command to use the listener port for the correct dsrpcd daemon?

$ ps -ef|grep phantom
dsadm 700554 1 0 11:22:48 - 0:00 phantom DSD.RUN seq_Warehouse 0/0/0/0/0

$ ps -ef|grep dscs
dsadm 307414 516208 0 09:05:55 - 0:00 ad1dscs 4 14400 0
dsadm 467168 446624 0 11:22:48 - 0:00 dscs 4 7200 0

$ netstat -a|grep dsrpc
tcp4 0 0 tsjipuapd04.ad1dsrpc WDFWJIPCCBRX51.c.idoni ESTABLISHED
tcp4 0 0 loopback.dsrpc loopback.40120 ESTABLISHED
tcp4 0 0 loopback.40120 loopback.dsrpc ESTABLISHED
tcp4 0 0 *.dsrpc *.* LISTEN
tcp4 0 0 *.ad1dsrpc *.* LISTEN

$ ipcs -mop |grep ade
m 664797201 0xadec7511 --rw-rw-rw- root dstage 2 503924 655468
m 61866009 0xadeb8f1a --rw-rw-rw- dsadm dstage 1 291030 291030

$ ipcs -mop|grep ad1
m 49283090 0xad1c7512 --rw-rw-rw- root dstage 3 651454 667816
m 969932823 0xad1bcf4c --rw-rw-rw- dsadm dstage 1 700554 512114
m 304087064 0xad1b8f4c --rw-rw-rw- dsadm dstage 1 422044 454844

Posted: Thu May 24, 2007 1:12 pm
by lgharis
Answered our own question.

Issued the dsjob command with the logon option by specifying the servername:port#, user and password for the 7.5.1 version. This started the job in the correct version and used all correct memory segments.

$DSHOME/bin/dsjob -server <server:port> -user <username> -password <pswd> -run <project> <jobname>

Posted: Thu May 24, 2007 3:33 pm
by ray.wurlod
Well done. I was asleep the whole time!