Skip to content

Commit 019b0e5

Browse files
Merge pull request #284014 from BanoFarha/Automation-Update-Aug8
Updates to dsc-configuration article
2 parents b092b15 + 21f8e5d commit 019b0e5

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

articles/automation/quickstarts/dsc-configuration.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article helps you get started configuring an Azure VM with Des
44
services: automation
55
ms.subservice: desired-state-config
66
keywords: dsc, configuration, automation
7-
ms.date: 04/12/2023
7+
ms.date: 08/08/2024
88
ms.topic: quickstart
99
ms.custom: mvc, mode-other
1010
ms.service: azure-automation
@@ -13,19 +13,19 @@ ms.service: azure-automation
1313
# Configure a VM with Desired State Configuration
1414

1515
> [!CAUTION]
16-
> This article references CentOS, a Linux distribution that is End Of Life (EOL) status. Please consider your use and planning accordingly. For more information, see the [CentOS End Of Life guidance](~/articles/virtual-machines/workloads/centos/centos-end-of-life.md).
16+
> Azure Automation DSC for Linux has retired. For more information, see the [announcement](https://azure.microsoft.com/updates/migrate-from-linux-dsc-extension-to-the-guest-configuration-feature-of-azure-policy-by-may-1-2025/#:~:text=The%20DSC%20extension%20for%20Linux%20machines%20in%20Azure%2C,no%20longer%20be%20supported%20after%2030%20September%202023.).
1717
1818
> [!NOTE]
1919
> Before you enable Azure Automation DSC, we would like you to know that a newer version of DSC is now generally available, managed by a feature of Azure Policy named [Azure Machine Configuration](../../governance/machine-configuration/overview.md). The Azure Machine Configuration service combines features of DSC Extension, Azure Automation State Configuration, and the most commonly requested features from customer feedback. Azure Machine Configuration also includes hybrid machine support through [Arc-enabled servers](../../azure-arc/servers/overview.md).
2020
21-
By enabling Azure Automation State Configuration, you can manage and monitor the configurations of your Windows and Linux servers using Desired State Configuration (DSC). Configurations that drift from a desired configuration can be identified or auto-corrected. This quickstart steps through enabling an Azure Linux VM and deploying a LAMP stack using Azure Automation State Configuration.
21+
By enabling Azure Automation State Configuration, you can manage and monitor the configurations of your Windows servers using Desired State Configuration (DSC). Configurations that drift from a desired configuration can be identified or auto-corrected. This quickstart steps through enabling an Azure VM and deploying a LAMP stack using Azure Automation State Configuration.
2222

2323
## Prerequisites
2424

2525
To complete this quickstart, you need:
2626

2727
* An Azure subscription. If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/).
28-
* An Azure Resource Manager virtual machine running Red Hat Enterprise Linux, or Oracle Linux. For instructions on creating a VM, see [Create your first Linux virtual machine in the Azure portal](../../virtual-machines/linux/quick-create-portal.md)
28+
* An Azure Resource Manager virtual machine.
2929

3030
## Sign in to Azure
3131
Sign in to the [Azure portal](https://portal.azure.com).
@@ -43,8 +43,6 @@ There are many different methods to enable a machine for Automation State Config
4343
5. Select the DSC settings appropriate for the virtual machine. If you have already prepared a configuration, you can specify it as `Node Configuration Name`. You can set the [configuration mode](/powershell/dsc/managing-nodes/metaConfig) to control the configuration behavior for the machine.
4444
6. Click **OK**. While the DSC extension is deployed to the virtual machine, the status reported is `Connecting`.
4545

46-
![Enabling an Azure VM for DSC](./media/dsc-configuration/dsc-onboard-azure-vm.png)
47-
4846
## Import modules
4947

5048
Modules contain DSC resources and many can be found in the [PowerShell Gallery](https://www.powershellgallery.com). Any resources that are used in your configurations must be imported to the Automation account before compiling. For this quickstart, the module named **nx** is required.
@@ -54,7 +52,6 @@ Modules contain DSC resources and many can be found in the [PowerShell Gallery](
5452
1. Click on the module to import.
5553
1. Click **Import**.
5654

57-
![Importing a DSC Module](./media/dsc-configuration/dsc-import-module-nx.png)
5855

5956
## Import the configuration
6057

@@ -116,11 +113,10 @@ You can assign a compiled node configuration to a DSC node. Assignment applies t
116113
1. In the left pane of the Automation account, select **State Configuration (DSC)** and then click the **Nodes** tab.
117114
1. Select the node to which to assign a configuration.
118115
1. Click **Assign Node Configuration**
119-
1. Select the node configuration `LAMPServer.localhost` and click **OK**. State Configuration now assigns the compiled configuration to the node, and the node status changes to `Pending`. On the next periodic check, the node retrieves the configuration, applies it, and reports status. It can take up to 30 minutes for the node to retrieve the configuration, depending on the node settings.
120-
1. To force an immediate check, you can run the following command locally on the Linux virtual machine:
121-
`sudo /opt/microsoft/dsc/Scripts/PerformRequiredConfigurationChecks.py`
116+
1. Select the node configuration `LAMPServer.localhost` and click **OK**. State Configuration now assigns the compiled configuration to the node, and the node status changes to `Pending`. On the next periodic check, the node retrieves the configuration, applies it, and reports status.
117+
118+
It can take up to 30 minutes for the node to retrieve the configuration, depending on the node settings.
122119

123-
![Assigning a Node Configuration](./media/dsc-configuration/dsc-assign-node-configuration.png)
124120

125121
## View node status
126122

@@ -130,7 +126,7 @@ You can view the status of all State Configuration-managed nodes in your Automat
130126

131127
## Next steps
132128

133-
In this quickstart, you enabled an Azure Linux VM for State Configuration, created a configuration for a LAMP stack, and deployed the configuration to the VM. To learn how you can use Azure Automation State Configuration to enable continuous deployment, continue to the article:
129+
In this quickstart, you enabled an Azure VM for State Configuration, created a configuration for a LAMP stack, and deployed the configuration to the VM. To learn how you can use Azure Automation State Configuration to enable continuous deployment, continue to the article:
134130

135131
> [!div class="nextstepaction"]
136132
> [Set up continuous deployment with Chocolatey](../automation-dsc-cd-chocolatey.md)

0 commit comments

Comments
 (0)