This article describes possible scenarios where HCL Workload Automation enables dynamic services creation. The need is to enable the prompt and dynamic provisioning of a service, triggered by external events such as: a new user subscribes to the service, a user logs in to the service, a user logs out of the service, a user signs off from the service. This article derives from of a study made for a real case, and it’s presented here as abstract as possible. Reference environment and problem to solve The reference environment of the following scenarios is that of a consolidated enterprise that delivers services to the consumer market, with legacy systems such as:
The service will be implemented by creating dedicated docker containers for each user, so that anybody will have its own separated instance. The nature of docker guarantees therefore scalability and IT resource optimization, but it does not solve the need for:
These two aspects are where HCL Workload Automation comes into play. In the sequel, the scenarios are described. Note: the diagrams below present as container only the elements that are strictly necessary to be docker-ized, other elements of the diagram that are represented outside docker could be implemented in container if needed (this is to be analyzed case by case and it’s not in the scope of this article). Scenario 1 – end user service instantiation Trigger of this scenario: 1. A new end user registers to the service. or 2. An existing user logs in again to the service. Flow of events 1. There has to be a front-end user interface that intercepts the action from the end user, typically a portal or an app. 2. HWA APIs are invoked to trigger the proper jobstream(s). The jobstreams may vary according to the event (for example, new user vs returning user). 3. HWA Agent invokes kubectl or HELM, instructing kubernetes to create the architecture instance for the end user (a container with HWA agent will be instantiated as well). 4. All needed containers (as well as the HWA agent container) are created by kubernetes. 5. If needed other actions can be performed on other systems to orchestrate the complete set up of the service. This may include additional actions on the newly instantiated apps in the container. 6. The service can be delivered to the end user. 7. Centralized monitoring of the scheduling and automation results are presented to the administrator of the service. Scenario 2 – end user interaction Trigger of this scenario: 1. A logged in user interacts with the service. Flow of events 1. The end user interacts with the service, so that changes are required on various systems. 2. The service triggers HWA via API . 3. HWA orchestrates the needed actions on all the systems involved, including the service apps in the containers. 4. Centralized monitoring of the scheduling and automation results. Scenario 3 – end user environment clean-up
Trigger of this scenario: 1. A logged in user sign-off or logs out from the service. Flow of events 1. The end user initiates an action (sign off from the service, log-out,…). 2. HWA API are invoked to trigger the service provisioning. 3. HWA Agent invokes kubectl or HELM instructing kubernetes to remove the architecture instance for the end user (including the associated container with HWA agent). 4. All needed containers (as well as the HWA agent container) are detleted by kubernetes. 5. If needed other actions can be performed on other systems to orchestrate the complete clean-up of the service. 6. Centralized monitoring of the scheduling and automation results.
1 Comment
9/10/2018 09:36:30 am
Honestly, I know nothing about HCL Workload Automation and how it words and how it affects our lives in general. Maybe, it’s exclusive to people who are doing business for quite some time now, that’s why we really have to make an effort for us to understand such matter. Though I had a hard time understanding it, I still want to thank you for being kind enough to share all these thoughts. Hopefully, I can apply it on myself and if ever I’ll be entering the world of business someday.
Reply
Your comment will be posted after it is approved.
Leave a Reply. |
Archives
August 2024
Categories
All
|