How Do You Find What Resource Groups You Have with Azure PowerShell?

Problem scenario
You want to find the resource groups in your Azure account.  Either you have already installed Azure PowerShell on Windows 7 or on Windows 10 you have installed the Azure modules.  You have connected to an Azure account (e.g., with this command Login-AzureRMAccount). What is the PowerShell command to list the resource groups in the Azure account?

Solution
Run this command:
Find-AzureRmResourceGroup

# It will work with the Azure Cloud Shell too.

How Do You Write a Python Program That Can Run Linux Bash Commands?

Problem scenario
You want to use Python to run Linux commands.  You have been told to not use the “import os” for this task.  You want to manipulate the text and output of Bash commands for sophisticated processing and automation with Python.  How can a Python program run Bash commands?

Solution
Use “from subprocess import check_output” as the first line.  Then encapsulate the Bash command inside double quotes,

How Do You Troubleshoot the Problem “ImportError: Entry Point (‘console_scripts’, ‘Parquet’) Not Found”?

Problem scenario
You are trying to run Apache Parquet commands.  But each command gives this error:

Traceback (most recent call last):
  File “/usr/local/bin/parquet”, line 11, in <module>
    load_entry_point(‘parquet==1.2’, ‘console_scripts’, ‘parquet’)()
  File “/home/ubuntu/.local/lib/python2.7/site-packages/pkg_resources/__init__.py”, line 570, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File “/home/ubuntu/.local/lib/python2.7/site-packages/pkg_resources/__init__.py”, line 2750, in load_entry_point
    raise ImportError(“Entry point %r not found” % ((group, name),))
ImportError: Entry point (‘console_scripts’,

How Do You Learn More about Quality Assurance Automation Tools?

Problem scenario
You want to learn more about QA automation tools. What do you do?

Solution
The DevOps Zone web page has an article entitled “Top 10 Testing Automation Tools for Software Testing.”  For people who are unfamiliar with QA-related technologies, they may not recognize the names of the companies behind the tools except HP.  Many companies rely on HP’s QA tools despite the fact that HP may sell its software development tools business unit to a different company. 

How Do You Deploy Apache Mesos and Apache Marathon to an Ubuntu Linux Server in AWS?

Problem scenario
You want to install Apache Mesos and Apache Marathon to an Ubuntu 16.x Linux server in AWS.  How do you do this?

Prerequisites
You need two Linux instances with relevant Security Group rules added to allow for connectivity between the two.  One Ubuntu Linux server will be for the Mesos master and the other server will be for the Mesos slave.  You also need to be able to use a web browser to the Mesos master server. 

How Do You Use PowerShell on Your Desktop to Manage Azure?

Problem scenario
You want to use PowerShell on your local machine to create, delete, and restart servers in Azure.  You want to do other things with Azure using PowerShell on your workstation.  What do you do?

Solution
1.  To run Azure commands from your desktop, you need to connect your PowerShell ISE with your Azure instance.  If you are using Windows 10, see this posting and ignore this set of directions here entitled “How Do You Use PowerShell on Your Desktop to Manage Azure?” 

How Do You Troubleshoot a Problem with Adding a DataNode to a Hadoop Cluster?

Problem scenario
You are trying to add a DataNode to an existing Hadoop cluster.  There are numerous problems.  What do you do to troubleshoot the process?

Possible solutions
1.  New versions of Hadoop use a “workers” file — not a “slaves” file.

2.  Do you have a DNS solution in place for your DataNode and NameNode to resolve each other?  If you do not have a DNS server,

How Do You Create a Chef Automate Server in Azure?

Problem scenario
You want to have a Chef Automate server in Azure.  How do you create one?

Solution
1.  In the Azure portal click the “New” button on the left.
2.  Search for “Chef Automate” with no quotes.
3.  Click “Create”.
4.  Fill out the required configuration settings.  Make a mental note of the Chef Automate FQDN DNS Label that you provide (e.g.,

How Do You Create an Ubuntu Linux VM in Azure Using PowerShell Azure?

Updated 1/12/19

Problem scenario
You want to create an Ubuntu Linux server with one vCPU and one GB of RAM in Azure using PowerShell.  You want to use Azure Resource Manager (an ARM template).  You do not want to use the Azure Portal for 95% of the work involved.  What do you do to automate the process (including the deployment of a resource group, a network security group,