Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Waarschuwing
Dit artikel verwijst naar CentOS, een Linux-distributie met de EOL-status (End Of Life). Houd rekening met uw gebruik en plan dienovereenkomstig. Zie de richtlijnen CentOS End Of Lifevoor meer informatie.
Overzicht
Stackify provides products that track details about your application to help find and fix problems quickly. For developer teams, Retrace is a fully integrated, multi-environment, app performance super-power. It combines several tools every development team needs.
Retrace is the ONLY tool that delivers all of the following capabilities across all environments in a single platform.
- Application performance management (APM)
- Application and server logging
- Error tracking and monitoring
- Server, application, and custom metrics
About Stackify Linux Agent Extension
This extension provides an install path for the Linux Agent for Retrace.
Vereiste voorwaarden
Besturingssysteem
The Retrace agent can be run against these Linux distributions
Distributie | Version |
---|---|
Ubuntu | 16.04 LTS |
Debian | 9 |
Red Hat | 6.10, 7.1+ |
CentOS | 6.10, 7.0+ |
Belangrijk
Keep in consideration Red Hat Enterprise Linux 6.X is already EOL. RHEL 6.10 has available ELS support, which will end on 06/2024.
Verbinding met internet
The Stackify Agent extension for Linux requires that the target virtual machine is connected to the internet.
You may need to adjust your network configuration to allow connections to Stackify, see https://support.stackify.com/hc/en-us/articles/207891903-Adding-Exceptions-to-a-Firewall.
Extensieschema
The following JSON shows the schema for the Stackify Retrace Agent extension. The extension requires the environment
and activationKey
.
{
"type": "extensions",
"name": "StackifyExtension",
"apiVersion": "[variables('apiVersion')]",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId('Microsoft.Compute/virtualMachines',variables('vmName'))]"
],
"properties": {
"publisher": "Stackify.LinuxAgent.Extension",
"type": "StackifyLinuxAgentExtension",
"typeHandlerVersion": "1.0",
"autoUpgradeMinorVersion": true,
"settings": {
"environment": "myEnvironment"
},
"protectedSettings": {
"activationKey": "myActivationKey"
}
}
}
Sjabloonimplementatie
Azure VM-extensies kunnen worden geïmplementeerd met Azure Resource Manager-sjablonen. The JSON schema detailed in the previous section can be used in an Azure Resource Manager template to run the Stackify Retrace Linux Agent extension during an Azure Resource Manager template deployment.
The JSON for a virtual machine extension can be nested inside the virtual machine resource, or placed at the root or top level of a Resource Manager JSON template. The placement of the JSON affects the value of the resource name and type. For more information, see Set name and type for child resources.
The following example assumes the Stackify Retrace Linux extension is nested inside the virtual machine resource. When nesting the extension resource, the JSON is placed in the "resources": [] object of the virtual machine.
The extension requires the environment
and activationKey
.
{
"type": "extensions",
"name": "StackifyExtension",
"apiVersion": "[variables('apiVersion')]",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId('Microsoft.Compute/virtualMachines',variables('vmName'))]"
],
"properties": {
"publisher": "Stackify.LinuxAgent.Extension",
"type": "StackifyLinuxAgentExtension",
"typeHandlerVersion": "1.0",
"autoUpgradeMinorVersion": true,
"settings": {
"environment": "myEnvironment"
},
"protectedSettings": {
"activationKey": "myActivationKey"
}
}
}
When placing the extension JSON at the root of the template, the resource name includes a reference to the parent virtual machine, and the type reflects the nested configuration.
{
"type": "Microsoft.Compute/virtualMachines/extensions",
"name": "<parentVmResource>/StackifyExtension",
"apiVersion": "[variables('apiVersion')]",
"location": "[resourceGroup().location]",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', variables('vmName'))]"
],
"properties": {
"publisher": "Stackify.LinuxAgent.Extension",
"type": "StackifyLinuxAgentExtension",
"typeHandlerVersion": "1.0",
"autoUpgradeMinorVersion": true,
"settings": {
"environment": "myEnvironment"
},
"protectedSettings": {
"activationKey": "myActivationKey"
}
}
}
PowerShell-implementatie
The Set-AzVMExtension
command can be used to deploy the Stackify Retrace Linux Agent virtual machine extension to an existing virtual machine. Before running the command, the public and private configurations need to be stored in a PowerShell hash table.
The extension requires the environment
and activationKey
.
$PublicSettings = @{"environment" = "myEnvironment"}
$ProtectedSettings = @{"activationKey" = "myActivationKey"}
Set-AzVMExtension -ExtensionName "Stackify.LinuxAgent.Extension" `
-ResourceGroupName "myResourceGroup" `
-VMName "myVM" `
-Publisher "Stackify.LinuxAgent.Extension" `
-ExtensionType "StackifyLinuxAgentExtension" `
-TypeHandlerVersion 1.0 `
-Settings $PublicSettings `
-ProtectedSettings $ProtectedSettings `
-Location WestUS `
Implementatie van Azure CLI
The Azure CLI tool can be used to deploy the Stackify Retrace Linux Agent virtual machine extension to an existing virtual machine.
The extension requires the environment
and activationKey
.
az vm extension set --publisher 'Stackify.LinuxAgent.Extension' --version 1.0 --name 'StackifyLinuxAgentExtension' --protected-settings '{"activationKey":"myActivationKey"}' --settings '{"environment":"myEnvironment"}' --resource-group 'myResourceGroup' --vm-name 'myVmName'
Problemen oplossen en ondersteuning bieden
Error codes
Error code | Betekenis | Mogelijke actie |
---|---|---|
10 | Install Error | wget is required |
20 | Install Error | Python is required |
30 | Install Error | sudo is required |
40 | Install Error | activationKey is required |
51 | Install Error | OS distro not supported |
60 | Install Error | environment is required |
70 | Install Error | Onbekend |
80 | Enable Error | Service setup failed |
90 | Enable Error | Service startup failed |
100 | Disable Error | Service Stop Failed |
110 | Disable Error | Service Removal Failed |
120 | Uninstall Error | Service Stop Failed |
If you need more help you can contact Stackify support at https://support.stackify.com.