IT-järjestelmien taustaprosessien automatisointi
Kautiainen, Marko (2021)
Kautiainen, Marko
2021
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2021120924716
https://urn.fi/URN:NBN:fi:amk-2021120924716
Tiivistelmä
Tässä opinnäytetyössä kuvataan toimeksiantajan tietojärjestelmäinfrastruktuurin selkärankana toimivat järjestelmät ja kartoitetaan menetelmiä niiden välillä tarvittavien automatisointien toteuttamiseksi.
Useat järjestelmät edellyttivät taustalla tapahtuvaa tiedonvaihtoa muiden järjestelmien kanssa. Osa tietolähteistä/kohteista oli sisäisiä ja osa ulkoisia. Osassa oli käytettävissä valmiita rajapintoja ja osassa ei. Kartoituksen jälkeen automatisointeja toteutettiin tärkeysjärjestyksessä niin kattavasti kuin se oli tässä yhteydessä mahdollista.
Toteutuksessa on huomioitu automaatioiden yhteensopivuus järjestelmien välillä, niiden ajastukset, tietoturva, virheentarkistukset, varmuuskopioinnit, dokumentointi ja tuotettujen toimintojen ylläpito jatkossa.
Toteutus onnistui hyvin ja erilaisia automatisointeja tuotettiin kartoituksen jälkeen useisiin järjestelmiin. Pääasiassa käytettiin Microsoft PowerShelliä, jolla toteutettuja skriptejä ajetaan eri palvelimilla. Työssä hyödynnettiin myös Power Automatea. Automaatiot toteuttavat joko ajastetusti tai reaaliaikaisia hakemistopalvelutapahtumia monitoroiden tietojärjestelmien vaatimia toimenpiteitä, mm. tiedostojen siirtoja ja varmuuskopiointeja, Active Directory (AD) -objektien ja niiden attribuuttien hallintaa sekä Azure-objektien hallintaa paikallisen AD-ryhmän perusteella. Osa skripteistä jätettiin manuaalisesti käynnistettäväksi.
Toteutetut automatisoinnit nopeuttavat prosessien toimintaa, vähentävät manuaalista työtä ja inhimillisten virheiden mahdollisuutta sekä parantavat tietoturvaa. Yleisesti ottaen taustalla tapahtuvat automatisoinnit parantavat henkilöstön ja järjestelmien kokonaistehokkuutta. The objective of this thesis was to describe the systems that serve as the backbone of the client's information system infrastructure and to find methods to implement necessary automations between them. Many systems under study required background information exchange with other systems. Some data sources were internal and some external. Some had built-in application protocol interfaces, and some did not. After the survey phase, the automations were carried out in the order of priority as comprehensively as possible in this context.
The implementation took into account the compatibility of automations between the systems, their timings, information security, error checking, backups, documentation and the future maintenance of automations. Implementation was successful and various automations were produced for several systems. Microsoft PowerShell was the main tool used to run scripts on different servers. Power Automate was also used. Automations carried out functions that were either timed or launched automatically by monitoring real-time directory service events. Automated tasks included, for example, file transfers and backups, managing Active Directory (AD) objects with their attributes, and managing Azure AD objects based on the local AD group. Some of the scripts were intentionally left to be started manually.
The results of this thesis provided new functionality to the client’s infrastructure. The automations speed up the operation of processes, reduce manual work, reduce the possibility of human error, and improve data security. In general, underlying automations improve the overall efficiency of staff and IT systems.
Useat järjestelmät edellyttivät taustalla tapahtuvaa tiedonvaihtoa muiden järjestelmien kanssa. Osa tietolähteistä/kohteista oli sisäisiä ja osa ulkoisia. Osassa oli käytettävissä valmiita rajapintoja ja osassa ei. Kartoituksen jälkeen automatisointeja toteutettiin tärkeysjärjestyksessä niin kattavasti kuin se oli tässä yhteydessä mahdollista.
Toteutuksessa on huomioitu automaatioiden yhteensopivuus järjestelmien välillä, niiden ajastukset, tietoturva, virheentarkistukset, varmuuskopioinnit, dokumentointi ja tuotettujen toimintojen ylläpito jatkossa.
Toteutus onnistui hyvin ja erilaisia automatisointeja tuotettiin kartoituksen jälkeen useisiin järjestelmiin. Pääasiassa käytettiin Microsoft PowerShelliä, jolla toteutettuja skriptejä ajetaan eri palvelimilla. Työssä hyödynnettiin myös Power Automatea. Automaatiot toteuttavat joko ajastetusti tai reaaliaikaisia hakemistopalvelutapahtumia monitoroiden tietojärjestelmien vaatimia toimenpiteitä, mm. tiedostojen siirtoja ja varmuuskopiointeja, Active Directory (AD) -objektien ja niiden attribuuttien hallintaa sekä Azure-objektien hallintaa paikallisen AD-ryhmän perusteella. Osa skripteistä jätettiin manuaalisesti käynnistettäväksi.
Toteutetut automatisoinnit nopeuttavat prosessien toimintaa, vähentävät manuaalista työtä ja inhimillisten virheiden mahdollisuutta sekä parantavat tietoturvaa. Yleisesti ottaen taustalla tapahtuvat automatisoinnit parantavat henkilöstön ja järjestelmien kokonaistehokkuutta.
The implementation took into account the compatibility of automations between the systems, their timings, information security, error checking, backups, documentation and the future maintenance of automations. Implementation was successful and various automations were produced for several systems. Microsoft PowerShell was the main tool used to run scripts on different servers. Power Automate was also used. Automations carried out functions that were either timed or launched automatically by monitoring real-time directory service events. Automated tasks included, for example, file transfers and backups, managing Active Directory (AD) objects with their attributes, and managing Azure AD objects based on the local AD group. Some of the scripts were intentionally left to be started manually.
The results of this thesis provided new functionality to the client’s infrastructure. The automations speed up the operation of processes, reduce manual work, reduce the possibility of human error, and improve data security. In general, underlying automations improve the overall efficiency of staff and IT systems.