Page 1 of 1

Dsjob log in Issue

Posted: Mon Feb 03, 2014 10:09 am
by sandeepgs
Hi All,

We have created a batch script to list the available projects in the datastage environment.

Command:
dsjob -lprojects

The command is working absolutely file in one of the development environment.

The same is migrated to another server and the command aborted.

Later did our analysis and found that the command is expecting the user ID and password.

dsjob -domain NONE -server ABC -user DER -password ABC -lprojects

Now question is we would like to bypass providing SERVER/USERID/PASSWORD details, so can anyone suggest the settings we have to do in server?

Appreciate your response.

Thanks & Regards,
Sandeep

Re: Dsjob log in Issue

Posted: Wed Feb 05, 2014 11:01 am
by asorrell
Use the -authfile pathname option to specify an authorization file containing the credential information.

The contents of the file should look like this:
user=dsadm
password={iisenc}encrypted_password_here==
domain=serviceshostname:9080
server=enginehostname

You can use /opt/IBM/InformationServer/ASBNode/bin/encrypt.sh to generate the encrypted form of the password

Posted: Mon Dec 01, 2014 7:13 pm
by finik
I did exactly the same authfile.txt with:

user=dsadm
password={iisenc}n7Me44z4c7Vz19AIlgdPCg==
domain=<servername>:9080
server=<servername>

and got following error:

ERROR: Failed to open project

Last recorded error message =
java.rmi.RemoteException: peer not authenticated; nested exception is:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Status code = -1010 DSJE_DOMAINLOGTOFAILED

What's wrong here?

Posted: Tue Dec 02, 2014 1:50 am
by ray.wurlod
It didn't like your line 3, which needs to name the services tier machine.

Line 4 needs to name the engine tier machine.