Questions tagged [runbook]

A runbook is a routine compilation of procedures and operations that the system administrator or operator carries out. System administrators in IT departments and NOCs use runbooks as a reference.

Runbooks can be in either electronic or in physical book form. Typically, a runbook contains procedures to begin, stop, supervise, and debug the system. It may also describe procedures for handling special requests and contingencies. An effective runbook allows other operators, with prerequisite expertise, to effectively manage and troubleshoot a system. Through runbook automation, these processes can be carried out using software tools in a predetermined manner.

Runbooks are typically created by technical writers working for top tier managed service providers. They include procedures for every anticipated scenario, and generally use step-by-step decision trees to determine the effective response to a particular scenario.

118 questions
0
votes
1 answer

How pass JSON object itself instead of passing the file directory using New-AzureRmDataFactoryLinkedService

I need to use bellow command in Azure Runbooks: New-AzureRmDataFactoryLinkedService $MyDataFactoryObject -File "PATH/TO/JSON/STRING/FILE" I am wondering to know is it possible to pass JSON Object itself instead of passing the file path? I mean…
Reza Amya
  • 1,494
  • 2
  • 25
  • 40
0
votes
0 answers

Unable to deploy a DACPAC using Azure Runbook Automation

I am trying to deploy a DACPAC file using Azure Runbook Automation using the latest "Microsoft.SqlServer.Dac.dll" which is zipped and then uploaded as a module to Azure Automation Account. I can access this DLL file correctly. However, when I try to…
Pranav Jituri
  • 823
  • 1
  • 11
  • 25
0
votes
0 answers

How can I see variable values within an inlinescript script block executed within an Azure runbook?

This has to be something completely obvious so if it is forgive me. I have dug through posts, articles, etc for the better part of the day and am hoping someone can shed some light this. The problem is my DataSet Fill is failing within an…
jl.
  • 401
  • 6
  • 13
0
votes
3 answers

Azure Runbooks - Import Commands From Separate Runbook

I have created Runbook A that has some declared variables and some functions. // Runbook A $myvar = "test" Function MyFunc($var1) { Write-Output $var1 } // Runbook B Write-Output $myvar MyFunc How do I import the code from Runbook A into Runbook…
Adam Levitt
  • 10,316
  • 26
  • 84
  • 145
0
votes
1 answer

Ayehu eyeshare : Running workflow from just the Executor, without the Studio

I have Ayehu Eyeshare Studio installed on one machine and have the Executor installed on another. In no way, these two machines are connected via a shared network. Is there a way by which I can develop workflows on one machine and run it via the…
xeon
  • 895
  • 9
  • 15
0
votes
1 answer

Azure Runbook : What credential to use?

I'm trying to create a runbook to restart my web app. I'm new to this so I created a credential in the automation blade but I don't know what is the username/pwd is supposed to be? Is it the same with my azure login account? Tried that and obviously…
0
votes
1 answer

Upgrading Tier (Sku) via Set-AzureRmAnalysisServicesServer not working

I want to upscale and downscale my Azure Analysis Services with PowerShell (Automation Runbook), but changing the Tier (Sku) doesn't seem to work. However there are no errors. Any suggestions? # PowerShell code # Connect to a connection to get…
Joost
  • 1,873
  • 2
  • 17
  • 18
0
votes
1 answer

Azure Automation Powershell runbook silently fails to LoadAssembly

I'm new to Powershell Runbook, so forgive me if I'm missing something obvious. I'm trying to log an Application Insights request from my script, but can't even get the DLL to load, though I've seen other code out there that does something very…
UnionP
  • 1,251
  • 13
  • 26
0
votes
1 answer

How does one access a different subscription from a runbook

Currently, I have two subscriptions: S01 and S02. I have a runbook running in S02 that needs to access resources in S01. When I run the command Get-AzureRmSubscription -SubscriptionName S01, it fails to even find the subscription. Below is an…
woter324
  • 2,608
  • 5
  • 27
  • 47
0
votes
1 answer

Automation Runbook for national cloud environment

I am trying to create a powershell runbook on the west europe region for stopping VMs in a national cloud environment AzureGermanCloud. Here the code for the authentication $Cred = Get-AutomationPSCredential -Name $CredentialAssetName if(!$Cred) { …
grifoxx
  • 191
  • 6
0
votes
1 answer

Scheduled scaling of Azure VMSS (via Runbook)

Is it possible to set up specified schedule based on time conditions to increase and/or decrease Azure VMSS ignoring any other triggers? Is it possible to set it up via Runbook modules?
0
votes
1 answer

Is there any guide about VMSS Azure scheduled scaling

I have some problem. Is it possible to set up vmss (Virtual Machine Scale Set) scaling with specified schedule? If yes, please give me the path to solution guide. Thank you!
0
votes
0 answers

Options to restart services on multiple Azure VMs

We currently have multiple Azure VMs all on the same virtual network. We would like to run a script, which, in case of failure restarts the services on a VM, but we would want to run that script on all vms at the same time (in parallel). I have…
0
votes
1 answer

Get job status in Azure Runbook

I would like to have a runbook run on a schedule but exit if the last job hasn't finished running (i.e. if the schedule is every 2 hours and a job takes 2.5 hours then the next job shouldn't run). I've tried to use Get-AzureAutomationJob to get the…
SturmUndDrang
  • 1,876
  • 5
  • 27
  • 47
0
votes
2 answers

Azure Automation Runbook ADAL SQL support

I am attempting to use an Azure Automation Runbook to run a query against an Azure SQL database using Azure AD credentials: $cred = Get-AutomationPSCredential -Name 'SqlAdminUser' $Username = $cred.UserName $Password =…
gregjhogan
  • 2,095
  • 19
  • 21