Dsjob log in Issue

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
sandeepgs
Participant
Posts: 87
Joined: Wed Jul 02, 2008 12:22 am

Dsjob log in Issue

Post 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
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Re: Dsjob log in Issue

Post 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
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
finik
Participant
Posts: 1
Joined: Fri Nov 14, 2014 3:56 pm

Post 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?
Sergey
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply