No matter if your environment is based on rock solid z/OS controller or on light weight and easily scalable docker instances, or if your distributed, on premises master and backup master are rocking your workload as fire and water.
Earth, wind, water and fire… if you want to have control over each element you need the fifth spirt: your custom dashboard!
It’s easy to create and customize your dashboard to have control over every single important aspect for you and your organization at a glance.
Each dashboard is composed by several data sources and widgets that can be customized and combined together in the new era of dashboards. (ref 15-Jun-20 blog post “Welcome to the new Era of Dashboards” ).
But you can also optimize your dashboard to monitor different kinds of environments all together. Let’s see how it works.
If you need an overview of the entire workload across all of your environments, you can use for example the Jobs count by status datasource in a pie chart to have a quick overview of how many jobs are waiting, running or ended in error or in successful state.
To make this datasource and widget works across multiple environment you need to add first an engine list.
D engine list and Z engine list are optimized for homogeneous environment, while for an hybrid (distributed and z/OS) environment you have to select the Engine list.
At this point you can add also the desired widget and customize all fields as you can see below.
Widgets based on datasource with pre-defined engine.
However, the best way to monitor hybrid environment is to use specific datasources for each engine.
For example, if you need to monitor the Critical jobs
- Duplicate the Critical jobs by status datasource and name it after the engine name
- Edit it
- Deselect the checkbox “Select this option if you want the datasource to be based on engine selection”
- Add the engine name and the engine owner in the URL
- Save it
Repeat the three steps for each engine. The customization steps are the same for distributed and z/OS engine.
Now that your 4 datasources are ready you can go back to your dashboard and easily create the four widgets.
As you can see, once you have customized your first widget, you can just duplicate it and change the associated datasource. It’s easy and time saving; you can take advantage of this tip every time you want to define multiple widgets on similar datasources.
Add filters to your datasources
You can also refine the datasources to monitor specific subset of your workload, for example to count only the jobs belonging to a specific Line of Business or the workstations matching a specific naming convention.
In case you are working on a REST datasource, such as the job count by status, you can just start from an existing datasource and duplicate it.
Remember to deselect the checkbox “Select this option if you want the datasource to be based on engine selection” and specify the engine name and owner (if they are not already configured). Then you have to simply add the desired filters in the body section.
Note that the filters available on distributed engines are JOB_NAME, JOB_STREAM_NAME, JOB_WKS_NAME and WORKSTATION, while on z/OS engines are allowed only the filters on JOB_NAME, JOB_STREAM_NAME and JOB_WKS_NAME.
In case you are working on a Plan datasource, such as the Available or Unavailable Workstations, it’s even easier:
- Create a new Plan datasource or duplicate an existing one;
- Select the desired Engine and the Object Type you are looking for;
- Select the “Express output in numbers” and deselect the “Specify engine from board” to optimize the performance of the datasource;
- Click on the Edit button to display and fill in all the desired filters available for the current datasource.
- Save it
Once that you have learned how to manage, customize, filter and even optimize your plan and rest api datasources you can basically have under control everything in your environment. No matter if you are interested in the unanswered prompts on your distributed master or in the special resources on your z/OS controller, now you can tames all of your environments from a single point of control.
Davide Canalis, Software Engineer
Davide is graduated in Mathematics, works as a Software Engineer at HCL Products and Platforms in Rome software development laboratory and he is a member of z/OS development IZWS team since April 2017 becoming the RestApi expert of the team.
Elvira Zanin, Software Engineer, HCL Technologies
Elvira Zanin is a Software Engineer on the Workload Automation development team located in HCL Rome Hub. She is currently based in the WebUI development team but she was involved in Test automation team and Add-ons development team also. Elvira has experience with Dynamic Workload Console. She completed her degree in Computer Science at University of Salerno and currently lives in Rome, Italy.