wcc_config.sh fails to login with provided userid/password
search cancel

wcc_config.sh fails to login with provided userid/password

book

Article ID: 254506

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

After changing EiamAdmin password, following command needs to be executed to update WCC as well. 
See also knowledge document Regenerate EEM Certificates for CA Workload Automation AE and CA Workload Control Center

./wcc_config.sh -u <userid> -p <password> --eemhostname <eemhostname1,eemhostname2> --eemadmin EiamAdmin --eempassword <password>--eemcertname wcc.pem --eemcertkey wcc.key --eemappid WCC0004", 

Below message is shown:

 Logging in as <userid> ' - FAILED

Environment

Release : 11.3.6

Resolution

1. cd $CA_WCC_INSTALL_LOCATION/data/config/application/config/resources

2. Make a copy of connection.properties:

cp -p connection.properties connection.properties.backup

3. Open connection.properties and find the following parameter:

eem.host=eemhostname1,eemhostname2

4. Change the host names to an invalid host names like eem.host=eemhostname1xxx,eemhostname2xxx

5. Save the change to connection.properties.

6. Run following change_eem command:

./change_eem.sh --eemadmin EiamAdmin --eempassword <eiamadmin_password> --eemappid WCC0004 --eemhostname <eemhostname1,eemhostname2>  --eemcertname wcc.pem  --eemcertkey wcc.key