WORKLOAD AUTOMATION COMMUNITY
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
  • About
  • Contact
  • What's new

Workload management across diverse environments using multiple contexts

4/11/2024

0 Comments

 
Picture
​The configuration of an application plays a pivotal role in determining its functionality and adaptability to varying circumstances. In HCL Universal Orchestrator CLI, you can customize your experience using the config.yaml file. You can edit the parameters in this file to modify the environment It ultimately comes down to setting up an environment to meet the specific requirements.
​The set of parameters in the config.yaml file that is used to establish an environment to run HCL Universal Orchestrator is termed as context. Each config.yaml file can contain multiple contexts and each context can have its own configuration settings, providing flexibility in tailoring the environment based on the workload requirements. You can switch between different contexts and run required operations. For example, you can deploy a workload in one context and then switch to another context to do updates or modifications.
Handling many contexts manually can be difficult, sometimes resulting in human errors such as updating the wrong attributes or making syntax errors. These issues may result in operational inefficiencies and compromise the system reliability. This has led to the demand for a system capable of managing these setups.

For managing these configurations, HCL Universal Orchestrator CLI offers the context commands. You can manage the context more efficiently and effectively using these commands.
The following commands are supported in Orchestrator CLI:
 
• List: To display all the available contexts listed in the config.yaml file. The default context is identified with an asterisk (*) in the list.
Syntax: ocli context list|l
Picture
• New: To create a new context.
Syntax: ocli context new <context_name>
​
Picture
​• Set: To update and manage parameters or properties of each context.
Syntax: ocli context set [context_name] parameter=value
Picture
​• Switch: To change the default context.
Syntax: ocli context [switch | sw] <context_name>
Picture
• Remove: To eliminate contexts that are no longer necessary.
Syntax: ocli context [remove|rm] <context_name>
​
Picture
​The contexts commands empower you with complete control over your configurations, eliminating the need of manually opening the configuration file. With this feature you can seamlessly manage diverse tasks across various environments, ensuring smoother workflows and optimized resource utilization. As we continue to evolve and adapt to changing demands, integrating this feature into our workflows enhance productivity and drive success in our endeavours. For more information, see HCL Universal Orchestrator.
Authors

Picture
SHUBHAM GUPTA (Senior Software Engineer)
​

Backend developer for Workload Automation. He engaged in projects that involves platform such as Java, Spring, Spring boot, Spring MVC, SQL, JavaScript, etc. Outside work he enjoys practicing yoga and derives great joy from exploring new places and getting to know new people.
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Archives

    December 2025
    October 2025
    July 2025
    June 2025
    May 2025
    March 2025
    February 2025
    January 2025
    December 2024
    November 2024
    October 2024
    September 2024
    August 2024
    July 2024
    June 2024
    May 2024
    April 2024
    March 2024
    February 2024
    January 2024
    October 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    February 2023
    January 2023
    December 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    January 2020
    December 2019
    November 2019
    October 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017

    Categories

    All
    Analytics
    Azure
    Business Applications
    Cloud
    Data Storage
    DevOps
    Monitoring & Reporting

    RSS Feed

www.hcltechsw.com
About HCL Software 
HCL Software is a division of HCL Technologies (HCL) that operates its primary software business. It develops, markets, sells, and supports over 20 product families in the areas of DevSecOps, Automation, Digital Solutions, Data Management, Marketing and Commerce, and Mainframes. HCL Software has offices and labs around the world to serve thousands of customers. Its mission is to drive ultimate customer success with their IT investments through relentless innovation of its products. For more information, To know more  please visit www.hcltechsw.com.  Copyright © 2024 HCL Technologies Limited
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
  • About
  • Contact
  • What's new