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

System Center Service Management Automation (SMA) PowerShell Runbook Invoke-NcSsh : The system cannot find the file specified

Tried to run a powershell script inside System Center Service Management Automation (SMA) to query some informations from NetApp. The following command was used: Invoke-NcSsh -Command "node run -node $Node sysconfig -a" I was able to run the…
Patrick
  • 2,128
  • 16
  • 24
0
votes
1 answer

Is there a way to make an API call from Azure runbook?

I have an automation account in Azure and I have a runbook in it. What I'm trying to do is to make an API call from this runbook. I'll need to login to some web service, get a session token and then use this session token to call some controller's…
Sofia Bo
  • 679
  • 1
  • 10
  • 20
0
votes
1 answer

using az functionapp start --name MyFunctionApp --resource-group MyResourceGroup in Automation Runbook

We are looking at using az functionapp start --name MyFunctionApp --resource-group MyResourceGroup in Automation Runbook. As part of documentation its clearly stated that Azure CLI commands are supported in Automation runbooks, however not able to…
user2181334
  • 37
  • 2
  • 5
0
votes
1 answer

Cannot download template file from Azure Storage in PowerShell Runbook

I want to deploy a Data Science VM automatically in a powershell runbook. To do so, I use the New-AzResourceGroupDeployment command and specify the parameter files in the -ParameterUri and -TemplateParameterUri. Unfortunately, powershell cannot…
0
votes
0 answers

Flexera agent installation getting timed out

Hi I am trying to install custom extension via a azure automation runbook in Windows Azure VM but cmdlet Set-AzureRmVMCustomScriptExtension is getting timed out, any suggestion what could be going wrong here? Error…
0
votes
1 answer

Create runbook to execute bash script

I have a .sh file stored on my azure Linux VM. I want to create a webhook that executes this script. I found that I first need to create a runbook for this. Until now I tried to create a powershell runbook and tried to execute my .sh file with…
Siem Peters
  • 193
  • 1
  • 12
0
votes
1 answer

Azure Automation runbook stops for no reason

I created a runbook to process multiple partitions of my cube. I launched it and 3 hours later, it stops. There is no error message or warning and nothing in the output pane. The only message I have is this one Exception The job was evicted and…
Mathieu Ricour
  • 368
  • 1
  • 4
  • 25
0
votes
1 answer

Azure Runbook Webhook with parameters from httpClient

looked at a few examples of how to execute a webhook with parameters but can't seem to make the connection on what I am missing. Any advice on what I am doing wrong would be appreciated. please consider: my Powershell…
macm
  • 544
  • 7
  • 21
0
votes
0 answers

Powershell - Deserialized XML to Variable (Azure Workflow Runbook)

Using an Azure runbook, with a Powershell Workflow, I'm trying to store the VM status into a variable. Normally, the following would work. $VM = Get-AzureRmVM -ResourceGroupName RG1 -Name VM1 -Status $VMStatus = $VM.Statuses[1].DisplayStatus The…
warnox
  • 33
  • 8
0
votes
1 answer

monitor heartbeat on azure vm

We shut down our azure vm's every day at 11pm and start them at 7am, except for weekends. Is there a way we can check the heartbeat on weekdays only between 7.30am and 10.30pm to see if the server is alive and working? If so, how can I send a mail…
0
votes
1 answer

Schedule scripts/jobs using azure cli

Does Microsoft azure give support to schedule scripts using az cli like it gives for Powershell runbooks on Azure Portal?
0
votes
1 answer

How do I pass parameters from Child to Parent in Azure RunBooks

So, one would think this would be pretty simple, but I've been dealing with this for a few days now. Basically it's like this: Parent.ps1 #calling the childrunbook ./childrunbook.ps1 -FirstName 'John'-LastName 'Snow' $newGreeting = $greeting +…
Kenneth Edwards
  • 143
  • 1
  • 6
0
votes
1 answer

How to pass hash table to azure child runbook using Start-AzureRmAutomationRunbook powershell cmdlet?

How to pass hash table to azure child runbook using Start-AzureRmAutomationRunbook powershell cmdlet? I have two runbooks, test1 and test2: workflow test1 { $Conn = Get-AutomationConnection -Name AzureRunAsConnection Add-AzureRMAccount…
Chris2005
  • 1
  • 2
0
votes
1 answer

Azure PowerShell Runbook

I am new to Azure Power shell run book. I wrote example hello world program. According to documentation it should show output. But it did not show output. I have tested it in test-pane. It show status "completed: but it does not output the string.…
0
votes
1 answer

Getting error on New-AzureRmDataFactoryPipeline using PowerShell

I am trying to run this tutorial on my Local Machine Using PowerShell, but at this line New-AzureRmDataFactoryPipeline $df -File .\MyFirstPipelinePSH.json (when I want to create Pipeline) I will get this error: New-AzureRmDataFactoryPipeline :…
Reza Amya
  • 1,494
  • 2
  • 25
  • 40