Defining USER and keyfile using Password command.
search cancel

Defining USER and keyfile using Password command.

book

Article ID: 219647

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

 

     Job Name Account  ApplName Gen# P Node   Job Qual Job Status                    Jobno        

 ___ PTPD010A ?        PTPD010A   18 SUBERROR          Submit Error, bad or no defn      -        

 

ESPI stc

 

15.37.00 STC12313  ESPI_528E ERROR OCCURRED PROCESSING EVENT CCSSNS.PTPD010A IN APPL PTPD010A.18      

15.37.00 STC12313  ESPI_4118E Unable to find password matching SAPFTPU1, SFTP_JOB, CRPIASAPAV01U, RC=4

 

Environment

Release : 12.0

Component : CA ESP WORKLOAD AUTOMATION

Cause

We already have defined the keyfile but when we define a new user it still needs the password.

 PASSWORD DEFINE USER(testid)    

ESPI ----------------------------------------------------------------------------------------------------PASSWORD must be specifi

 COMMAND ===>                                                                                                                      

 ------------------------------------------------------------ TOP OF DATA-----------------------------------------------------------

 

Resolution

The KEYFILE has to be part of the PASSWORD command.

Example:

Define a path to the private key for connection to the specific Hadoop edge node
The following command stores path to the private key /root/private_key, which resides on an agent machine. 
This definition will be used only if the HADOOP_HOST value within OOZIE_JOB matches “10.150.26.50”.
CA WA ESP Edition will use this path with user ID “root”, type “OOZIE_JOB” and any value of the QUAL: 

PASSWORD DEFINE USER(root) KEYFILE(/root/private_key) TYPE(OOZIE_JOB) NAME(10.150.26.50)

Password                                                                                                                           

 User ID, Type, Qualifier, Name                                                                                                    

 /xxxuser/.ssh/xxxxx, -, -, KEYFILE                                                                               

   Last update by COMTLS at 15.56 on WEDNESDAY FEBRUARY 13TH, 2019