{"id":12239,"date":"2019-02-26T23:22:28","date_gmt":"2019-02-26T22:22:28","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/"},"modified":"2019-02-26T23:22:28","modified_gmt":"2019-02-26T22:22:28","slug":"how-workload-policies-is-making-your-life-easy","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/","title":{"rendered":"How workload policies is making your life easy"},"content":{"rendered":"<p>Working as a control-M administrator, we are often requested to hold jobs or stop jobs during a period of time. Holding jobs and updating the job configuration might not be the most efficient way to do this. Workload policies is making your life really easier, giving you the possibility to configure such modification in advance and to let the system act independently whether the NDP (New Day Processing) is in the middle of the period range or not.<br \/>\n<!--more--><\/p>\n<h3>Job configuration and execution<\/h3>\n<p>In my lab, I have got a cyclic job called OS_Job#test4. Every 2 Minutes, from its End, this job is executing the following command <code>hostname &amp;&amp; cd $HOME &amp;&amp; ls &amp;&amp; cat installed-versions.txt &amp;&amp; sleep 30<\/code>.<\/p>\n<p>The output of the job would be the following.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg\" alt=\"Output of the job\" \/><\/p>\n<p>The job is executing every 2 minutes.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-1.jpg\" alt=\"Cyclic execution\" \/><\/p>\n<p>The job is waiting for the next execution time window.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-2.jpg\" alt=\"Waiting next time execution window\" \/><\/p>\n<h3>Workload policies Manager<\/h3>\n<p>Let&#8217;s configure a workload policy. In monitoring, tools, click on Workload Policy Monitor button.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-3.jpg\" alt=\"Workload policy button\" \/><\/p>\n<p>Open Workload Policies Manager in order to create a policy.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-4.jpg\" alt=\"Workload Policy Manager\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-5.jpg\" alt=\"Workload policy-2\" \/><\/p>\n<p>Let&#8217;s configure the policy not to have that specific job running from 23:15 to 23:30.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-6-scaled.jpg\" alt=\"workload configuration\" \/><\/p>\n<p>Recommendation is to specify the application, sub-application and folder, in order to limit impact if there is 2 same job name.<br \/>\nUsing * character as job name would include all jobs from specified folder.<\/p>\n<p>Set running job to value 0 to have no expected job running.<\/p>\n<p>When setting the period time, you need to take in account when the NDP is happening. For example, if the NDP is happening every day at 12pm, this would mean that you would setup :<\/li>\n<ul>\n<li>Time from 08.02.2019 9am to 10.02.2019 9am to stop job as calendar date\/time from 09.02.2019 9am until 11.02.2019 9am<\/li>\n<li>Time from 08.02.2019 9am to 09.02.2019 5pm to stop job as calendar date\/time from 09.02.2019 9am until 09.02.2019 5pm<\/li>\n<\/ul>\n<p>The workload policy needs to be activated.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-7.jpg\" alt=\"Activate workload policy\" \/><\/p>\n<h3>Monitor Workload Policy<\/h3>\n<p>Workload Policies monitor dashboard will show one job in wait status. Using viewpoint, we can monitor the jobs concerned by the newly created policy.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-8.jpg\" alt=\"Monitoring\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-9.jpg\" alt=\"monitoring viewpoints\" \/><\/p>\n<p>For the run between 23:15 and 23:30, the job will not be executed as belonging to an active workload policy.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-10.jpg\" alt=\"waiting information\" \/><\/p>\n<p>Logs are showing the same.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-11.jpg\" alt=\"Logs\" \/><\/p>\n<p>You would need to be aware that : <\/p>\n<ul>\n<li>The workload will only act on the jobs once the current execution status is over.<\/li>\n<li>You don&#8217;t have to take care of the NDP. In case the NDP is included in the range period, the current job will be removed and a new one will be ordered and will only start once the workload policy time range is over.<\/li>\n<\/ul>\n<p>This Workload Policy function is quite interesting and helpful. Before implementing it and using it for a first time on production, I still recommend you to test it in a lab and get used to it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working as a control-M administrator, we are often requested to hold jobs or stop jobs during a period of time. Holding jobs and updating the job configuration might not be the most efficient way to do this. Workload policies is making your life really easier, giving you the possibility to configure such modification in advance [&hellip;]<\/p>\n","protected":false},"author":48,"featured_media":12240,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1256],"tags":[717],"type_dbi":[],"class_list":["post-12239","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-control-m","tag-control-m"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How workload policies is making your life easy - dbi Blog<\/title>\n<meta name=\"description\" content=\"This blog will show how to use the great workload policies manager function from control-M in order to plan holding jobs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How workload policies is making your life easy\" \/>\n<meta property=\"og:description\" content=\"This blog will show how to use the great workload policies manager function from control-M in order to plan holding jobs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-26T22:22:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2231\" \/>\n\t<meta property=\"og:image:height\" content=\"1018\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Marc Wagner\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Marc Wagner\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/\"},\"author\":{\"name\":\"Marc Wagner\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/225d9884b8467ead9a872823acb14628\"},\"headline\":\"How workload policies is making your life easy\",\"datePublished\":\"2019-02-26T22:22:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/\"},\"wordCount\":451,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg\",\"keywords\":[\"Control-M\"],\"articleSection\":[\"Control-M\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/\",\"name\":\"How workload policies is making your life easy - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg\",\"datePublished\":\"2019-02-26T22:22:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/225d9884b8467ead9a872823acb14628\"},\"description\":\"This blog will show how to use the great workload policies manager function from control-M in order to plan holding jobs.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg\",\"width\":2231,\"height\":1018},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How workload policies is making your life easy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/225d9884b8467ead9a872823acb14628\",\"name\":\"Marc Wagner\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g\",\"caption\":\"Marc Wagner\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/marc-wagner\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How workload policies is making your life easy - dbi Blog","description":"This blog will show how to use the great workload policies manager function from control-M in order to plan holding jobs.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/","og_locale":"en_US","og_type":"article","og_title":"How workload policies is making your life easy","og_description":"This blog will show how to use the great workload policies manager function from control-M in order to plan holding jobs.","og_url":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/","og_site_name":"dbi Blog","article_published_time":"2019-02-26T22:22:28+00:00","og_image":[{"width":2231,"height":1018,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg","type":"image\/jpeg"}],"author":"Marc Wagner","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Marc Wagner","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/"},"author":{"name":"Marc Wagner","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/225d9884b8467ead9a872823acb14628"},"headline":"How workload policies is making your life easy","datePublished":"2019-02-26T22:22:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/"},"wordCount":451,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg","keywords":["Control-M"],"articleSection":["Control-M"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/","url":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/","name":"How workload policies is making your life easy - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg","datePublished":"2019-02-26T22:22:28+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/225d9884b8467ead9a872823acb14628"},"description":"This blog will show how to use the great workload policies manager function from control-M in order to plan holding jobs.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/workload-policies-0.jpg","width":2231,"height":1018},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/how-workload-policies-is-making-your-life-easy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How workload policies is making your life easy"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/225d9884b8467ead9a872823acb14628","name":"Marc Wagner","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g","caption":"Marc Wagner"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/marc-wagner\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/12239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/48"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=12239"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/12239\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/12240"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=12239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=12239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=12239"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=12239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}