Giter Site home page Giter Site logo

davidsntg / azure-update-management-with-tags Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 9.0 646 KB

Collection of Runbooks to schedule Azure VMs or Azure Arc Servers patching just with tags.

License: MIT License

Bicep 28.24% PowerShell 56.81% HCL 14.95%

azure-update-management-with-tags's Introduction

azure-update-management-with-tags's People

Contributors

davidsntg avatar vmisson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

azure-update-management-with-tags's Issues

Unable to schedule AzureARC servers

With this code, I'm unable to schedule Azure ARC enabled servers for patching. Though the scripts execute without any issues, the schedules created for Azure ARC servers do not have default 'patchomscomputers' linked runbook and hence no patching is taking place.

Azure Automation Limits

My understanding is that Azure Automation can only execute 200 jobs at a time. If most of our VMs are scheduled for the same date/time, what would happen if we exceed that limit (i.e. would they be queued or fail). I am concerned that having X number of VMs all with schedules at the same date/time would hit this limit but not certain.

Az.ResourceGraph Module Fails

In Terraform build, Az.ResourceGraph Module URI (URL) is incorrect.

Listed as:
uri = "https://www.powershellgallery.com/api/v2/package/az.resourcegraph/0.13.0"

Should be:
uri = "https://www.powershellgallery.com/packages/Az.ResourceGraph/0.13.0"

Multiple schedules for the same VM

UM-ScheduleUpdatesWithVmsTags.ps1 is creating a new schedule each run instead of updating the existing schedule or deleting old copies of the existing schedule.

UM-CleanUp-Schedules.ps1 only cleans up old schedules when the tag is missing. As such, my assumption is UM-ScheduleUpdatesWithVmsTags.ps1 should be updating the existing schedules and not creating a new one.

Schedules not linked to Patch-MicrosoftOMSComputers

Out of the list of hundres of VMs, only one patched, which was the one that I manually updated the schedule for. I notice this one is linked to Patch-MicrosoftOMSComputers. However, the ones created by UM-ScheduleUpdatesWithVmsTags.ps1 are not linked to the Patch-MicrosoftOMSComputers Runbook.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.