Download PDF
Download page Deploy and Configure Virtual Appliance in Microsoft Azure.
Deploy and Configure Virtual Appliance in Microsoft Azure
You can deploy Virtual Appliance in Azure by using the Virtual Hard Disk (VHD) file.
This document contains links to Microsoft® Azure documentation. Splunk AppDynamics makes no representation as to the accuracy of Microsoft Azure documentation because Microsoft controls its own documentation.
Prepare the Azure Environment
To deploy virtual machines in Microsoft Azure, you require the following Azure resources. You can create or configure the Azure resources through Azure portal or Azure CLI.
To use Azure CLI, you require the reference scripts. Download these script from the Splunk AppDynamics GitHub repository. We recommend that you run the scripts in the given order. Before you run these scripts, ensure to update or verify the configuration details in config.cfg
such as tags, deployment configuration, and IP addresses.
For more information about Azure CLI, see Azure CLI Documentation.
Azure Resources | Description | Reference Scripts | |
---|---|---|---|
1 | Resource Group | This resource group contains the virtual machines and related resources. Create a resource group or use the existing resource group. See Manage Azure resource groups by using the Azure portal. | 01-azure-create-rg.sh |
2 | Network Security Group | Network security groups facilitates the traffic flow in the virtual network subnets and network interfaces. Create a network security group with ports 22 or 443 . You can also use the existing network security groups for deploying virtual machines. See Create, change, or delete a network security group. | 02-azure-create-nsg.sh |
3 | Virtual Network | You require a virtual network where the virtual machines share this network for their communication. Create a virtual network and associate it with the network security group that you created in the previous step. See Quickstart: Use the Azure portal to create a virtual network. | 03-azure-vnet.sh |
4 | Storage Account | Azure storage account keeps all the Azure Storage data objects such as, blobs, files, queues, and tables. The storage account is to store the VHD file and create an image. See, Create an Azure storage account. | 04-azure-storage-account.sh |
5 | Disk | Upload the VHD image to a storage account. Create a disk by using the URI of the VHD file. | 05-azure-create-disk.sh |
6 | Image Gallery | An image is a copy of the disk. Image gallery is a place where you can store and share the image to create multiple virtual machines.
|
|
Create Virtual Machines
Splunk AppDynamics On-Premises Virtual Appliance requires three virtual machines. Create three virtual machines in the Azure portal by using the image that you have created from the VHD file.
Ensure that the virtual machines follow the supported sizing requirements. See Sizing Requirements.
For more information about creating virtual machines, see Quickstart: Create a Linux virtual machine in the Azure portal.
Alternatively, you can run the 09-azure-vm-create.sh
file by using Azure CLI to create three virtual machines.
Verify the Configuration of the Virtual Machines
After you create three virtual machines, verify the configuration is correct and the server is ready to install the Splunk AppDynamics services.
- Log in to one of the node consoles using the
appduser
credentials. Run the
appdctl show boot
command on each node of the cluster.Sample Output
NAME | STATUS | ERROR -------------------+-----------+------- firewall-setup | Succeeded | -- hostname | Succeeded | -- netplan | Succeeded | -- ssh-setup | Succeeded | -- storage-setup | Succeeded | -- cert-setup | Succeeded | -- enable-time-sync | Succeeded | -- microk8s-setup | Succeeded | -- cloud-init-config | Succeeded | --
CODEAn error might appear for the
appdctl show boot
command. Run the command again after few minutes to resolve this error. See Troubleshoot Virtual Appliance Issues.
Next Steps
- You can review and update the parameters in the helm file. For more information about the helm file parameters, see Customize the Helm File.
- Install Cisco AppDynamics Services.