As I speak to our automation customers, it's noticeable that more and more are moving to a self-service solution within their scheduling environments. Change management and incident management tools now have APIs, making it unnecessary to do many manual interactions and implementations. Moreover, privilege management tools allow much of the work associated with object creation to be shifted from the scheduling teams directly to application and development teams. It's more efficient to build the design of workload objects in the DevOps toolchain—and it's also less prone to human error. Releasing the scheduling teams from the mundane day-to-day allows them to concentrate on projects that add more value, and it empowers application and development teams and removes implementation bottlenecks.
The challenge
Maintaining site standards and consistency across our environments is a significant challenge as we distribute the responsibility to ever-larger teams. Most companies have mandatory rules or guidelines when implementing changes to their workload systems and objects. These rules are often more stringent in production than in user testing and may be stricter in user testing than in development.
When developers are excited about their new “bright shiny thing” and working to meet tight deadlines, these rules can be easily forgotten or overlooked. Then, some changes need to be made during the promotion to higher-level environments, forcing the changes back into a lower environment for retesting. This causes frustration for developers and it delays their projects, ultimately resulting in added costs for the business.
The mitigation
Runbooks, operating procedures, and guides are often written but seldom read. Moreover, maintaining and distributing content is laborious as environments become more complex and new use cases are established.
To help prevent this, some customers have gone to the length of writing their own “wrapper” scripts for the AutoSys JIL binary. These scripts require a host of standard and best practice checks before allowing changes to be implemented. This wrapper script approach is only a viable solution if all changes are implemented via the AutoSys CLI. However in today's environments, changes often are made via multiple interfaces, such as the AutoSys Web UI (WCC), iXp, CLI, and REST API. Therefore, this is only a partial solution to the enforcement of site standards.
The solution
Embedded Entitlements Manager (EEM) can be used to enforce job naming conventions, but cannot do everything that you may require. AutoSys Workload Automation also has a facility that can be used to check and verify further requirements. This feature is called the JIL Verification Exit (JVE). This is essentially additional code that is called via the application server. The JVE code is executed each time a change is made, regardless of where the change was initiated, including in the CLI, AutoSys Web UI, REST API, iXp, and so on.
Over the years, I have helped multiple customers adopt the JVE. In one case, we enabled a team to retire their wrapper script entirely. The JVE can be used to either modify a JIL attribute value or remove the attribute completely, with a meaningful message provided back to the user.
Here are some of the use cases I have seen:
- Enforcing naming standards
- Limiting the maximum value of attributes, such as n_retry
- Removing attributes that are not supported/used at the customer site, such as service_desk or permission
- Modifying attribute values to meet company standards, for example, owner
- Ensuring a minimum schedule cycle, such as enforcing a minimum five-minute gap between start_mins values
- Preventing unnecessary alarms, for example, to ensure that jobs do not have alarm_if_fail and n_retry enabled
- Preventing unscheduled jobs from being dependent upon themselves
Below is an example of JVE code reading in the specified start_mins attribute. The JVE rejects the change because there is less than a five-minute gap between '00' and '58'.
Below is an example of JVE code that standardizes the owner attribute during job creation in the AutoSys Web UI. Instead of rejecting the change and causing the user more work, the JVE amends the owner attribute to “owner@DOMAIN,” and notifies the user in the output.
In the final example, during job creation, the JVE parses the job name to maintain naming standards, and, via the AutoSys REST API, notifies the user that the change has been unsuccessful and why.
Conclusion
As we expand the number of people providing base scheduling rules, we must enforce site standards. However, we must do so in a way that minimizes disruption and effort.
The JVE makes the operational model more efficient, regardless of how schedule changes reach AutoSys. Use it to adjust soft deviations from the standards automatically and, in doing so, prevent the need for the user to edit and resubmit the change manually. Also, use the JVE to maintain your environment's integrity, rejecting hard deviations where necessary.
Watch this demonstration to help you start with the JVE and successfully adapt to the increase in workers who create and maintain scheduling rules.
Jonathan Hiett
Jon Hiett is an IT Automation Solution Specialist at Broadcom based in the UK, with over twenty years experience working with automation tools in the financial and IT sectors. Specializing in AutoSys Workload Automation and Automic Automation Intelligence, Jon uses his expertise to help customers solve their...
Other posts you might be interested in
Explore the Catalog
Blog
November 12, 2024
Introducing AutoSys v24: Enhanced Features and New Product Lifecycle for a Modern Automation Experience
Read More
Blog
August 22, 2024
9 Reasons to Delegate Scheduling of Cloud Workloads to Automation by Broadcom
Read More
Blog
April 1, 2024
Six Keys to Effective Workload Automation Optimization
Read More
Blog
January 8, 2024
Majority of Companies Surveyed Say Automation Issues Drive Breaches in SLAs
Read More
Blog
January 8, 2024
Cloud Integrations from Automation by Broadcom: Streamlining Workload Automation in IICS
Read More
Blog
January 5, 2024
SAP Cloud Integrations from Automation by Broadcom
Read More
Blog
January 4, 2024
AWS Integrations for Automic, AutoSys, and dSeries
Read More
Blog
January 3, 2024
Get the Best of Both Worlds: How Automation by Broadcom Cloud Integrations Boost Google Cloud Workflows
Read More
Blog
December 20, 2023