sendevent denied error after upgrade
search cancel

sendevent denied error after upgrade

book

Article ID: 100867

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

We receive the following error when we try to force start a job via sendevent command line.
 

CAUAJM_W_10758 Owner sendevent_jobexecute Access Denied!
CAUAJM_W_10439 No policies granting access to resource.
CAUAJM_W_10440 Class: as-owner Resource: autosys User: autosys Access: sendevent_jobexecute
CAUAJM_W_10442 Time: 1526407949 Delegator: None


 

Environment


CA Workload Automation AE (WAAE): ALL Supported VErsions
CA Embedded Entitlements Manager: (EEM) 12.6
 

Cause


Customer had installed WAAE 11.3.6 SP7 in NATIVE security mode initially and then activated EEM security, using autosys_secure utility, pointing to an existing EEM server which is currently being used for a WAAE 11.3.6 SP5 instance.

The SENDEVENT_JOBEXECUTE access mode was introduced in 11.3.6 SP7.

Excerpt from the Release notes:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/workload-automation-ae-and-workload-control-center/11-3-6-SP8/release-notes/ae-release-notes/ae-release-11-3-6-sp7/changes-to-existing-features-11-3-6-sp7.html

-------------------------------------------------------
Updated as-owner Resource Class

The as-owner resource class is updated to include the SENDEVENT_JOBEXECUTE access mode that controls whether you can execute the sendevent command.
-------------------------------------------------------

Resolution


Update the version of application instance "WorkloadAutomationAE" in the target CA EEM server to 11.3.6 SP7.

Linux/UNIX:
After sourcing the AutoSys environment profile (for example: /opt/CA/WorkloadAutomationAE/autouser.ACE/autosys.bash.$HOSTNAME), execute the following commands:
$ ASSAFETOOLPW=<EiamAdmin_Password>
$ export ASSAFETOOLPW
$ as_safetool -b <EEM_hostname> -i $AUTOSERV


Windows:
From the CA WAAE instance command prompt, execute the following commands:
set ASSAFETOOLPW=<EiamAdmin_Password>
as_safetool -b <EEM_hostname> -i %AUTOSERV%


Note: You cannot run the as_safetool command in batch mode unless the value of the ASSAFETOOLPW environmental variable and the value of the CA EEM administrator password matches.
 

Additional Information


https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/workload-automation-ae-and-workload-control-center/11-3-6-SP8/securing/ca-eem-security-data-replication-backup-and-migration/configure-a-new-ca-eem-instance-with-ca-workload-automation-ae-security-policies.htmlConfigure a New CA EEM Instance with CA Workload Automation AE Security Policies