You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/extensions/agent-linux.md
+37-36Lines changed: 37 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Azure Linux VM Agent overview
3
-
description: Learn how to install and configure Azure Linux Agent (waagent) to manage your virtual machine's interaction with the Azure Fabric controller.
2
+
title: Azure Linux Agent overview
3
+
description: Learn how to install and configure the Azure Linux Agent (waagent) to manage your virtual machine's interaction with the Azure fabric controller.
4
4
ms.topic: article
5
5
ms.service: virtual-machines
6
6
ms.subservice: extensions
@@ -11,10 +11,9 @@ ms.collection: linux
11
11
ms.date: 03/28/2023
12
12
13
13
---
14
-
# Understanding and using the Azure Linux Agent
15
-
16
-
The Microsoft Azure Linux Agent (waagent) manages Linux and FreeBSD provisioning, and virtual machine (VM) interaction with the Azure Fabric controller. In addition to the Linux agent providing provisioning functionality, Azure also provides the option of using `cloud-init` for some Linux operating systems.
14
+
# Azure Linux Agent overview
17
15
16
+
The Microsoft Azure Linux Agent (waagent) manages Linux and FreeBSD provisioning, along with virtual machine (VM) interaction with the Azure fabric controller. In addition to the Linux agent providing provisioning functionality, Azure provides the option of using `cloud-init` for some Linux operating systems.
18
17
19
18
The Linux agent provides the following functionality for Linux and FreeBSD Azure Virtual Machines deployments. For more information, see [Microsoft Azure Linux Agent](https://github.com/Azure/WALinuxAgent/blob/master/README.md).
20
19
@@ -25,8 +24,8 @@ The Linux agent provides the following functionality for Linux and FreeBSD Azure
25
24
- Deploys SSH public keys and key pairs
26
25
- Sets the host name
27
26
- Publishes the host name to the platform DNS
28
-
- Reports SSH host key fingerprint to the platform
29
-
- Manages resource disk
27
+
- Reports SSH host key fingerprints to the platform
28
+
- Manages the resource disk
30
29
- Formats and mounts the resource disk
31
30
- Configures swap space
32
31
@@ -37,29 +36,30 @@ The Linux agent provides the following functionality for Linux and FreeBSD Azure
37
36
38
37
### Kernel
39
38
40
-
- Configures virtual NUMA (disable for kernel <`2.6.37`)
39
+
- Configures virtual NUMA (disable for kernel `2.6.37`)
41
40
- Consumes Hyper-V entropy for */dev/random*
42
41
- Configures SCSI timeouts for the root device, which can be remote
43
42
44
43
### Diagnostics
45
44
46
-
-Console redirection to the serial port
45
+
-Provides console redirection to the serial port
47
46
48
47
### System Center Virtual Machine Manager deployments
49
48
50
-
- Detects and bootstraps the Virtual Machine Manager agent for Linux when running in a System Center Virtual Machine Manager 2012 R2 environment
49
+
- Detects and bootstraps the Virtual Machine Manager agent for Linux when it's running in a System Center Virtual Machine Manager 2012 R2 environment
51
50
52
51
### VM Extension
53
52
54
-
- Injects component authored by Microsoft and partners into Linux VMs to enable software and configuration automation
55
-
- VM Extension reference implementation on [https://github.com/Azure/azure-linux-extensions](https://github.com/Azure/azure-linux-extensions)
53
+
- Injects components authored by Microsoft and partners into Linux VMs to enable software and configuration automation
54
+
55
+
You can find a VM Extension reference implementation on [GitHub](https://github.com/Azure/azure-linux-extensions).
56
56
57
57
## Communication
58
58
59
-
The information flow from the platform to the agent occurs by using two channels:
59
+
The information flow from the platform to the agent occurs through two channels:
60
60
61
61
- A boot-time attached DVD for VM deployments. This DVD includes an Open Virtualization Format (OVF)-compliant configuration file that includes all provisioning information other than the SSH key pairs.
62
-
- A TCP endpoint exposing a REST API used to obtain deployment and topology configuration.
62
+
- A TCP endpoint that exposes a REST API that's used to get deployment and topology configuration.
63
63
64
64
## Requirements
65
65
@@ -74,8 +74,8 @@ The following systems have been tested and are known to work with the Azure Linu
74
74
| CentOS | 7.x+, 8.x+ | 7.x+ |
75
75
| Debian | 10+ | 11.x+ |
76
76
| Flatcar Linux | 3374.2.x+ | 3374.2.x+ |
77
-
| openSUSE | 12.3+ |**Not Supported**|
78
-
| Oracle Linux | 6.4+, 7.x+, 8.x+ |**Not Supported**|
77
+
| openSUSE | 12.3+ |*Not supported*|
78
+
| Oracle Linux | 6.4+, 7.x+, 8.x+ |*Not supported*|
79
79
| Red Hat Enterprise Linux | 6.7+, 7.x+, 8.x+ | 8.6+, 9.0+ |
80
80
| Rocky Linux | 9.x+ | 9.x+ |
81
81
| SLES | 12.x+, 15.x+ | 15.x SP4+ |
@@ -84,11 +84,11 @@ The following systems have been tested and are known to work with the Azure Linu
84
84
> [!IMPORTANT]
85
85
> RHEL/Oracle Linux 6.10 is the only RHEL/OL 6 version with ELS support available. [The extended maintenance ends on June 30, 2024](https://access.redhat.com/support/policy/updates/errata).
86
86
87
-
Other Supported Systems:
87
+
Other supported systems:
88
88
89
89
- FreeBSD 10+ (Azure Linux Agent v2.0.10+)
90
90
91
-
The Linux agent depends on some system packages in order to function properly:
91
+
The Linux agent depends on some system packages to function properly:
92
92
93
93
- Python 2.6+
94
94
- OpenSSL 1.0+
@@ -97,45 +97,46 @@ The Linux agent depends on some system packages in order to function properly:
97
97
- Password tools: chpasswd, sudo
98
98
- Text processing tools: sed, grep
99
99
- Network tools: ip-route
100
-
- Kernel support for mounting UDF file systems.
100
+
- Kernel support for mounting UDF file systems
101
101
102
-
Ensure your VM has access to IP address 168.63.129.16. For more information, see [What is IP address 168.63.129.16](../../virtual-network/what-is-ip-address-168-63-129-16.md).
102
+
Ensure that your VM has access to IP address 168.63.129.16. For more information, see [What is IP address 168.63.129.16?](../../virtual-network/what-is-ip-address-168-63-129-16.md).
103
103
104
104
## Installation
105
105
106
-
The preferred method of installing and upgrading the Azure Linux Agent uses an RPM or a DEB package from your distribution's package repository. All the [endorsed distribution providers](../linux/endorsed-distros.md) integrate the Azure Linux agent package into their images and repositories.
106
+
The preferred method of installing and upgrading the Azure Linux Agent uses an RPM or a DEB package from your distribution's package repository. All the [endorsed distribution providers](../linux/endorsed-distros.md) integrate the Azure Linux Agent package into their images and repositories.
107
107
108
-
For advanced installation options, such as installing from source or to custom locations or prefixes, see [Microsoft Azure Linux Agent](https://github.com/Azure/WALinuxAgent).
108
+
For advanced installation options, such as installing from a source or to custom locations or prefixes, see [Microsoft Azure Linux Agent](https://github.com/Azure/WALinuxAgent).
109
109
110
110
## Command-line options
111
111
112
112
### Flags
113
113
114
-
-`verbose`: Increase verbosity of specified command
115
-
-`force`: Skip interactive confirmation for some commands
114
+
-`verbose`: Increases verbosity of the specified command.
115
+
-`force`: Skips interactive confirmation for some commands.
116
116
117
117
### Commands
118
118
119
-
-`help`: Lists the supported commands and flags
120
-
-`deprovision`: Attempt to clean the system and make it suitable for reprovisioning. The operation deletes:
121
-
- All SSH host keys, if `Provisioning.RegenerateSshHostKeyPair` is `y` in the configuration file
122
-
- Nameserver configuration in */etc/resolv.conf*
123
-
- Root password from */etc/shadow*, if `Provisioning.DeleteRootPassword` is `y` in the configuration file
124
-
- Cached DHCP client leases
125
-
- Resets host name to `localhost.localdomain`
119
+
-`help`: Lists the supported commands and flags.
120
+
-`deprovision`: Attempts to clean the system and make it suitable for reprovisioning. The operation deletes:
121
+
- All SSH host keys, if `Provisioning.RegenerateSshHostKeyPair` is `y` in the configuration file.
122
+
-`Nameserver` configuration in */etc/resolv.conf*.
123
+
- The root password from */etc/shadow*, if `Provisioning.DeleteRootPassword` is `y` in the configuration file.
124
+
- Cached DHCP client leases.
125
+
126
+
The client resets the host name to `localhost.localdomain`.
126
127
127
128
> [!WARNING]
128
129
> Deprovisioning doesn't guarantee that the image is cleared of all sensitive information and suitable for redistribution.
129
130
130
-
-`deprovision+user`: Performs everything in `deprovision` (previous) and also deletes the last provisioned user account, obtained from */var/lib/waagent*, and associated data. Use this parameter when you deprovision an image that was previously provisioned on Azure so that it can be captured and reused.
131
+
-`deprovision+user`: Performs everything in `deprovision` (previous) and deletes the last provisioned user account (obtained from */var/lib/waagent*) and associated data. Use this parameter when you deprovision an image that was previously provisioned on Azure so that it can be captured and reused.
131
132
-`version`: Displays the version of waagent.
132
133
-`serialconsole`: Configures GRUB to mark ttyS0, the first serial port, as the boot console. This option ensures that kernel boot logs are sent to the serial port and made available for debugging.
133
-
-`daemon`: Run waagent as a daemon to manage interaction with the platform. This argument is specified to waagent in the waagent *init* script.
134
-
-`start`: Run waagent as a background process.
134
+
-`daemon`: Runs waagent as a daemon to manage interaction with the platform. This argument is specified to waagent in the waagent *init* script.
135
+
-`start`: Runs waagent as a background process.
135
136
136
137
## Configuration
137
138
138
-
The */etc/waagent.conf* configuration file controls the actions of waagent. This example is a sample configuration file:
139
+
The */etc/waagent.conf* configuration file controls the actions of waagent. Here's an example of a configuration file:
139
140
140
141
```config
141
142
Provisioning.Enabled=y
@@ -195,7 +196,7 @@ Default: y
195
196
196
197
If `y`, the agent deletes all SSH host key pairs from */etc/ssh/* during the provisioning process, including ECDSA, DSA, and RSA. The agent generates a single fresh key pair.
197
198
198
-
Configure the encryption type for the fresh key pair by using the `Provisioning.SshHostKeyPairType` entry. Some distributions re-create SSH key pairs for any missing encryption types when the SSH daemon is restarted, for example, upon a reboot.
199
+
Configure the encryption type for the fresh key pair by using the `Provisioning.SshHostKeyPairType` entry. Some distributions re-create SSH key pairs for any missing encryption types when the SSH daemon is restarted--for example, after a reboot.
0 commit comments