Skip to content

Commit 7dea8b4

Browse files
authored
Merge pull request #52725 from jeana-redhat/OSDOCS-4165-azure-worker-boot-diagnostics
[OSDOCS-4165]: Enabling Azure boot diagnostics on compute machines
2 parents 53fe16d + 2a5d47b commit 7dea8b4

File tree

3 files changed

+70
-0
lines changed

3 files changed

+70
-0
lines changed

machine_management/creating_machinesets/creating-machineset-azure-stack-hub.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ include::modules/machineset-yaml-azure-stack-hub.adoc[leveloffset=+1]
2020
//Creating a compute machine set
2121
include::modules/machineset-creating.adoc[leveloffset=+1]
2222

23+
//Enabling Azure boot diagnostics on compute machines
24+
include::modules/machineset-azure-boot-diagnostics.adoc[leveloffset=+1]
25+
2326
//Enabling customer-managed encryption keys for a compute machine set
2427
include::modules/machineset-customer-managed-encryption-azure.adoc[leveloffset=+1]

machine_management/creating_machinesets/creating-machineset-azure.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ include::modules/machineset-creating.adoc[leveloffset=+1]
2323
//Selecting an Azure Marketplace image
2424
include::modules/installation-azure-marketplace-subscribe.adoc[leveloffset=+1]
2525

26+
//Enabling Azure boot diagnostics on compute machines
27+
include::modules/machineset-azure-boot-diagnostics.adoc[leveloffset=+1]
28+
2629
//Machine sets that deploy machines as Spot VMs
2730
include::modules/machineset-non-guaranteed-instance.adoc[leveloffset=+1]
2831

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * machine_management/creating_machinesets/creating-machineset-azure.adoc
4+
// * machine_management/creating_machinesets/creating-machineset-azure-stack-hub.adoc
5+
6+
ifeval::["{context}" == "creating-machineset-azure-stack-hub"]
7+
:ash:
8+
endif::[]
9+
10+
:_content-type: PROCEDURE
11+
[id="machineset-azure-boot-diagnostics_{context}"]
12+
= Enabling Azure boot diagnostics on compute machines
13+
14+
You can enable boot diagnostics on Azure machines that your compute machine set creates.
15+
16+
.Prerequisites
17+
18+
* Have an existing Microsoft Azure
19+
ifdef::ash[Stack Hub]
20+
cluster.
21+
22+
.Procedure
23+
24+
* Add the `diagnostics` configuration that is applicable to your storage type to the `providerSpec` field in your compute machine set YAML file:
25+
26+
** For an Azure Managed storage account:
27+
+
28+
[source,yaml]
29+
----
30+
providerSpec:
31+
diagnostics:
32+
boot:
33+
storageAccountType: AzureManaged <1>
34+
----
35+
+
36+
<1> Specifies an Azure Managed storage account.
37+
38+
** For an Azure Unmanaged storage account:
39+
+
40+
[source,yaml]
41+
----
42+
providerSpec:
43+
diagnostics:
44+
boot:
45+
storageAccountType: CustomerManaged <1>
46+
customerManaged:
47+
storageAccountURI: https://<storage-account>.blob.core.windows.net <2>
48+
----
49+
+
50+
<1> Specifies an Azure Unmanaged storage account.
51+
<2> Replace `<storage-account>` with the name of your storage account.
52+
+
53+
[NOTE]
54+
====
55+
Only the Azure Blob Storage data service is supported.
56+
====
57+
58+
.Verification
59+
60+
* On the Microsoft Azure portal, review the *Boot diagnostics* page for a machine deployed by the compute machine set, and verify that you can see the serial logs for the machine.
61+
62+
ifeval::["{context}" == "creating-machineset-azure-stack-hub"]
63+
:!ash:
64+
endif::[]

0 commit comments

Comments
 (0)