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

Can your Workload Agent be ready Whenever, Wherever? Yes, it can…with Docker!

7/10/2017

0 Comments

 
Picture
Starting from the latest Workload Scheduler (TWS) version 9.4 fix pack 1, as we written in our previous post, you can deploy the dynamic agent using Docker. The product provides you a simple way to create, update and maintain your Docker image and container with Workload Automation (WA) Dynamic Agent.

Following the top five scenarios you can address using the new feature.

1. Docker WA Agent Image Creation
You can create your Docker WA Agent image with 2 steps.

From the TWS Master installer package, you get the agent-docker-kit.zip, and run the build-docker.sh script file, from your Docker server, specifying your master hostname and port, and, if you like, the name and the version of the image that will be created.

Your image is created!!!!

The scripts generate also a file: docker-compose.yml; it’s is very important, since you can use it to customize your agent.
 
2. Single Docker WA Agent Image Startup
Now you need one agent, and it can be started with just one command
Picture
Using this command, you will start a container with a WA Dynamic agent already configured using the customization contained in the docker-compose.yml file.
 
3. Multiple Docker WA Agent Images Startup
​
Do you need a lot of agents? Nothing is more easy. 

Modify the docker-compose.yml file and delete the id of the volume in the volumes section (the default volume id is data) as following:
Picture
…and run the command:
Picture
specifying your desired number of agents to start. Docker will create a specific “volume id” for any started container/agent.

4. Elastic Scheduling
If you are looking for an elastic scale solution, with a variable number of agents available, on demand, on your workload, you can configure your WA Docker agents to do this.

In the docker-compose.yml file, you can configure the list of pools to which the agent should be associated. Therefore, all the agents, started by the container, will be associated to the pools in the TWS Master.

If you want more flexibility, you can customize additional parameters in the docker-compose.yml file:
Picture

​5. Docker WA Agent Maintenance and Upgrade
​
What’s happened to my agents if a new Workload Scheduler release is available? You can move your agent to newer release or fix pack with few simple steps.

​Create the new Docker image using the Docker file available in the new release and load the new agent package on your Master. Then, stop your old container and start the new agent using the new image.

If multiple Docker containers/agents are running, before to stop old containers and start new agents, you need to perform the following steps:
  1. Run docker inspect <old_agent_container_id>;
  2. Find the “volume id” in the mount section;
  3. Modify the docker-compose.yml file of your new agent, in the following way:
Picture

where <volume_id>  is the id found in step 2. That’s all!

Are you looking forward to using the WA Docker agent? If so, we are very happy to help you on that. You can leave a comment below or connect with us on Twitter @GorgaIlaria and @p_reluigi. Additional information about the WA Docker agent, can also be found here. Another way, to interact with us or to find useful information, is through StackOverflow portal, using the tag #workload-scheduler.

Furthermore, we strongly suggest you to browse the IBM Marketplace portal and the new Workload Automation Community to learn about and try all the new TWS features, and to stay tuned for latest news. Finally, a video playlist is available to show you the most important enhancements of the latest release.
​
Picture
Luigi Presti
Advisory Software Engineer
Workload Scheduler
luigi.presti@hcl.com
Connect with me on Twitter, @p_reluigi, and LinkedIn
Picture
Ilaria Gorga
Senior Software Engineer

Workload Automation
​ilaria.gorga@hcl.com

Luigi Presti is currently an Advisory Software Engineer and is working as a developer for Workload Scheduler (on-premise & SaaS), an IBM + HCL product. Luigi has been working in the Workload Scheduler team since 2006 as a Level 3 Service Specialist, acquiring a deep knowledge of customers' needs in that area. He is interested in everything that is strongly related to supporting customers in their technological challenges. He has a background in computer science technologies, in particular in the design and development of parallel and distributed software architecture for high-performance computing. He has written several publications and was a member of the Program Committee for Academic International Conferences about Software Architecture.

Ilaria Gorga has worked as a software engineer in the IBM Tivoli Rome Lab since 2008. Starting from 2016 she moved to HCL Technologies and she has worked as Senior Software Engineer on the Workload Automation Quality Assurance team. Ilaria has written several other articles ("Rational tools make testing much easier for IBM Tivoli lab in Rome", "SmarTest - IBM Tivoli Rome Lab project", "A continuous delivery process in a multitenancy environment", "Implement continuous delivery using IBM UrbanCode Deploy")  and presented at conferences, such as Eclipse-IT.
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Archives

    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 © 2019 HCL Technologies Limited
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
    • IWA 9.5 Roadshows
  • About
  • Contact
  • What's new