Automation has been very helpful at every stage of my career, which spans 18 years of working with customers across multiple continents. In the early stages, Bash and AWK were the tools of choice, and nowadays, the toolset also includes Ansible and Jenkins.

Background

In my role as an IT Analyst, my responsibilities included reconciling SMS data on a per-customer basis for a Telecom VAS (Value Added Services) provider. The company had hundreds of customers, including leading private (banks, airlines, etc.) and public sector companies, and several hundred thousand messages were sent daily. Records for the data were stored as entries in a SQL database and several SMS gateway log files were stored across multiple Linux servers. Manually reconciling this data daily was extremely difficult, and the customers also wanted daily usage reports.

Revenue from this service was one of the key growth drivers for the company. Data accuracy was critical for customers as the SMS messages were related to banking transactions or other essential service alerts meant for the end-users. The company also had to maintain these records for seven years as per the law.

[ A free guide from Red Hat: 5 steps to automate your business. ]

How we used automation

In order to help reconcile the data between the two systems, we utilized automation (shell and AWK scripting) to query the databases and prepare a daily report for the number of messages sent by each customer. We also combined the logs of all the SMS gateways. Next, we used AWK to parse through the relevant entries in the logs and prepare a summarized report (similar to a pivot table) in the desired format and exported it into a CSV file.

This file could be easily imported into a worksheet by the MIS reporting team, and data from both sources was validated in a few minutes by utilizing macros. Thus, we were able to meet the dual demands of faster data access for both internal and external teams and ensure data consistency. This led to fewer customers contesting billing data and streamlined the company's revenue.

To further speed up the reporting, we also started creating database partitions by dates and migrating data more than two months old into an archive database. This process was also fully automated using shell scripting.

Conclusion

One of the major highlights of this initiative was resolving billing disputes with a major public sector entity for the data pertaining to the past two years and fast-tracking the payments for the same. Another added advantage was better compliance with legal requirements. We were able to effectively respond to a request from the local law enforcement to provide data regarding specific numbers in a day compared to several days in the past.

This is but one example of how automation has improved business processes and aided me in achieving organizational goals. There are many ways in which even simple automation tasks can result in significant wins.

[ Looking for more on system automation? Get started with The Automated Enterprise, a free book from Red Hat. ]


关于作者

Vishal Bhatia is part of Red Hat’s Cloud Architects team for the MENA region. He is based in Dubai and is responsible for helping organizations with their digital transformation journey and adoption of open source technologies. Vishal has extensive experience in Linux Administration and Automation, Cloud Computing, OpenShift, and Scalable Web Architectures

UI_Icon-Red_Hat-Close-A-Black-RGB

按频道浏览

automation icon

自动化

有关技术、团队和环境 IT 自动化的最新信息

AI icon

人工智能

平台更新使客户可以在任何地方运行人工智能工作负载

open hybrid cloud icon

开放混合云

了解我们如何利用混合云构建更灵活的未来

security icon

安全防护

有关我们如何跨环境和技术减少风险的最新信息

edge icon

边缘计算

简化边缘运维的平台更新

Infrastructure icon

基础架构

全球领先企业 Linux 平台的最新动态

application development icon

应用领域

我们针对最严峻的应用挑战的解决方案

Virtualization icon

虚拟化

适用于您的本地或跨云工作负载的企业虚拟化的未来