|
| 1 | +--- |
| 2 | +title: Cluster management best practices - Azure HDInsight |
| 3 | +description: Learn best practices for managing HDInsight clusters. |
| 4 | +author: hrasheed-msft |
| 5 | +ms.author: hrasheed |
| 6 | +ms.reviewer: jasonh |
| 7 | +ms.service: hdinsight |
| 8 | +ms.custom: hdinsightactive |
| 9 | +ms.topic: conceptual |
| 10 | +ms.date: 11/19/2019 |
| 11 | +--- |
| 12 | +# HDInsight cluster management best practices |
| 13 | + |
| 14 | +Learn best practices for managing HDInsight clusters. |
| 15 | + |
| 16 | +## How do I create HDInsight clusters? |
| 17 | + |
| 18 | +| Option | Documents | |
| 19 | +|---|---| |
| 20 | +| Azure Data Factory | [Create on-demand Apache Hadoop clusters in HDInsight using Azure Data Factory](../hdinsight-hadoop-create-linux-clusters-adf.md) | |
| 21 | +| Custom Resource Manager template | [Create Apache Hadoop clusters in HDInsight by using Resource Manager templates](./hdinsight-hadoop-create-linux-clusters-arm-templates.md) | |
| 22 | +| Quickstart templates | [HDInsight Quickstart templates](https://azure.microsoft.com/resources/templates/?term=hdinsight) | |
| 23 | +| Azure samples | [HDInsight Azure samples](https://docs.microsoft.com/samples/browse/?products=azure-hdinsight) | |
| 24 | +| Azure portal | [Create Linux-based clusters in HDInsight by using the Azure portal](./apache-spark-intellij-tool-plugin.md) | |
| 25 | +| Azure CLI | [Create HDInsight clusters using the Azure CLI](./hdinsight-hadoop-create-linux-clusters-azure-cli/) | |
| 26 | +| Azure PowerShell | [Create Linux-based clusters in HDInsight using Azure PowerShell](./hdinsight-hadoop-create-linux-clusters-azure-powershell.md) | |
| 27 | +| cURL | [Create Apache Hadoop clusters using the Azure REST API](./hdinsight-hadoop-create-linux-clusters-curl-rest.md) | |
| 28 | +| SDKs (.NET, Python, Java) | [.NET](https://docs.microsoft.com/dotnet/api/overview/azure/hdinsight?view=azure-dotnet), [Python](https://docs.microsoft.com/python/api/overview/azure/hdinsight?view=azure-python), [Java](https://docs.microsoft.com/java/api/overview/azure/hdinsight?view=azure-java-stable), [Go](https://docs.microsoft.com/azure/hdinsight/hdinsight-go-sdk-overview) | |
| 29 | + |
| 30 | +## How do I customize HDInsight clusters? |
| 31 | + |
| 32 | +| Option | Documents | |
| 33 | +|---|---| |
| 34 | +| Script actions | [Customize Azure HDInsight clusters by using script actions](../hdinsight-hadoop-customize-cluster-linux.md) | |
| 35 | +| Bootstrap | [Customize HDInsight clusters using Bootstrap](../hdinsight-hadoop-customize-cluster-bootstrap.md) | |
| 36 | +| External metastores | [Use external metadata stores in Azure HDInsight](../hdinsight-use-external-metadata-stores.md) | |
| 37 | +| Custom Ambari DB | [Set up HDInsight clusters with a custom Ambari DB](../hdinsight-custom-ambari-db.md) | |
| 38 | + |
| 39 | +## What are some errors I might face when creating clusters? |
| 40 | + |
| 41 | +| Error | More information | |
| 42 | +|---|---| |
| 43 | +| No quota | There are quotas for the number of quotas that you can create on your subscription in each region. For more information, see [Capacity planning: quotas](./hdinsight-capacity-planning.md). | |
| 44 | +| No more IP addresses available | Each VNet has a limited number of IP addresses. When you create a HDInsight cluster, each node (including zookeeper and gateway nodes) uses some of these allotted IP addresses. When all of the IP addresses are in use, you will encounter this error. | |
| 45 | +| NSG rules don't whitelist HDInsight Resource Provider | If you use network security groups (NSGs) or user defined routes (UDRs) to control inbound traffic to your HDInsight cluster, you must ensure that your cluster can communicate with critical Azure health and management services. For more information, see [HDInsight management IP addresses](./hdinsight-management-ip-addresses.md) | |
| 46 | +| Reuse of cluster name | When you use a cluster name that you have used before, you need to wait X number of minutes before recreating the cluster. Otherwise you will see a message that the resource already exists. | |
| 47 | + |
| 48 | +## How do I manage running HDInsight clusters? |
| 49 | + |
| 50 | +| Option | Documents | |
| 51 | +|---|---| |
| 52 | +| Autoscale | [Automatically scale Azure HDInsight clusters](./hdinsight-autoscale-clusters.md) | |
| 53 | +| Manual scaling | [Scale Azure HDInsight clusters](./hdinsight-scaling-best-practices.md) | |
| 54 | +| Monitoring with Ambari| [Monitor cluster performance in Azure HDInsight](./hdinsight-key-scenarios-to-monitor.md) | |
| 55 | +| Monitoring with Azure Monitor logs | [Use Azure Monitor logs to monitor HDInsight clusters](./hdinsight-hadoop-oms-log-analytics-tutorial.md) | |
| 56 | + |
| 57 | +## How do I check on deleted HDInsight clusters? |
| 58 | + |
| 59 | +### Azure Monitor logs |
| 60 | + |
| 61 | +You can use the following query with Azure Monitor logs to monitor deleted clusters. |
| 62 | + |
| 63 | +```loganalytics |
| 64 | +AzureActivity |
| 65 | +| where ResourceProvider == "Microsoft.HDInsight" and (OperationName == "Create or Update Cluster" or OperationName == "Delete Cluster") and ActivityStatus == "Succeeded" |
| 66 | +``` |
| 67 | + |
| 68 | +## Next steps |
| 69 | + |
| 70 | +* [Capacity planning for HDInsight clusters](./hdinsight-capacity-planning.md) |
| 71 | +* [What are the default and recommended node configurations for Azure HDInsight?](./hdinsight-supported-node-configuration.md) |
0 commit comments