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

Get to know OCLI! Five interesting facts and getting started.

4/10/2024

0 Comments

 
Picture
​On this post we will go through the new orchestration command line interface available for both IBM and HCL Workload automation as well as for the new Universal Orchestrator.
We will also cover the basics to start running the very first ocli plan command.
​Below are five important facts about OCLI:
  1. OCLI aims to be the “replacement” of conman and composer, written in golang it comes as single binary executable, which means no runtime interpreter is needed nor additional runtime for its execution.
  2. OCLI comes within the Dynamic agent install, but one major advantage is that you can download a Windows / MacOS / Linux executable and access MDM from your personal workstation. No more accessing the MDM via ssh.
  3. Currently it supports over 23 plan commands, and support for scheduling objects CRUD is coming on the next release “composer like”.
  4. OCLI context allow us to quickly switch between MDMs. For example I can run a show CPU on two MDMs by just running “ocli plan sc ; ocli context switch mdmprod ; ocli plan sc”.
  5. OCLI model will introduce a new way to manipulate scheduling objects. No more multiple files as now I can have different scheduling objects on the same file to be added on the database. OCLI is also capable to manage dependencies that was not yet added on the database as well as a much faster time to replace / add / remove objects.
To start ocli, we need to download the executable from either IBM Passport advantage or HCL’s flexera. (according to the table below).
For IBM (Passport advantage)
M0GPLML IBM Workload Scheduler 10.2.1 OCLI for MAC x86 Multilingual
M0GPKML IBM Workload Scheduler 10.2.1 OCLI for MAC ARM Multilingual
M0GPGML IBM Workload Scheduler 10.2.1 OCLI for Windows on x86-64 Multilingual
M0GP3ML IBM Workload Scheduler 10.2.1 OCLI for Linux on x86-64 Multilingual
 
For HCL (Flexera)
HWA_10.2.1_OCLI_LINUX_X86_64.zip
HWA_10.2.1_OCLI_MAC_ARM_64.zip
HWA_10.2.1_OCLI_MAC_X86_64.zip
HWA_10.2.1_OCLI_WINDOWS_X86_64.zip

Table 1 ocli download information
Extract the zip file, open command prompt / PowerShell and run “.\ocli.exe plan”. The command will create a config.yaml file on the user’s home directory C:\Users\username\.OCLI .
Table 2 shows a sample file of the settings needed to configure ocli. Let’s focus on the important one:
Picture
​name: change default to a more meaningful name so you are able to identify the environment.
default_env: same as name but can also be changed by running “ocli context switch <env name>”
host: That’s the IP from the Master Domain manager
Port: the port from Openliberty / Websphere liberty https port. Default is 31116.
jwt: the Jwt token. You can create one via DWC landing page, clicking on the right upper corner user icon, “Manage API Keys” > “Select the same engine/MDM as you have from the hosts” > Add New button > Give a name and Submit. You will be presented with a token, save before closing as you will not able to retrieve again.
insecure: true (by default is false, but as many MDMs uses self-signed certificates you will need to switch to true).
That’s all it takes to start running “conman” related commands. Figure 1 shows the showcpu command from ocli, which shows the available agents.
Picture
​OCLI is a powerful tool for operators, schedulers, and administrators. Easy to configure and to access multiple scheduling environments it opens much more automation opportunities. Specially when ocli model commands are available on the future release!
For a complete walk-through on the ocli, please check out this youtube video, with hand-on configuration and more insights on the OCLI.
Picture
Author

Picture
​Juscelino Candido De Lima Junior 
Juscelino has over 15 years in the IT industry, at IBM, he started as an IT Specialist - Workload Automation, in the last five years working as an infrastructure and application IT architect. His areas of expertise include multi-cloud architecture, containers, microservices, observability, virtualization, networks, distributed systems, systems administration, production control, and enterprise job scheduling. IBM Master Inventor with +20 filed patents.
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Archives

    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