Moving files between Azure Storage and RHEL

written with assistance from Harshal Dharia, Michael Hansen, and Kan Mongwa of Microsoft There are several options when you want to move files in or out of an Azure Storage account to a Red Hat Linux (RHEL) server.  Below is a quick break down of the most commonly used options. Azure CLI Azure CLI is…

0

Working with Azure ARM VMs, Images, and Unmanaged Disk (Storage Accounts)

A lot of the pre-managed disk documentation has become hard to find.  Below is a cheat-sheet on where to find the documents you need to work with Azure ARM VMs, images, and storage accounts.   Create an Azure VM from custom image (VHD) – https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sa-upload-generalized Create an Azure VM from existing VHD – https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sa-create-vm-specialized Create…

0

Using Azure CLI 1.0 to Copy a File between Subscriptions

  note: examples are from the Azure Government cloud but the command used will work in all clouds   Goal: Use Azure CLI 1.0 to copy a blob file between to different subscriptions Syntax:  azure storage blob copy start “sourceSAS” destContainer -a destStorageAccount -k destStorageKey Example: azure storage blob copy start “https://mystorage.blob.core.usgovcloudapi.net/vhds/OSDisk.vhd?sv=2016-05-31&ss=bfqt&srt=sco&sp=rwdlacup&se=2017-05-16T06:59:23Z&st=2017-05-15T22:59:23Z&spr=https&sig=lyzka%2F3ID1qFhLeoxlDcjBpNuHDB701qWL0ubiD66wo%3D” vhds –a secondstorage…

0

The OMS Agent for Azure Government – A Cheat Sheet

  Below are the quick and dirty details you need to connect your Windows servers to OMS hosted in Microsoft Azure Government (MAG).  Any server with internet access can report to an OMS workspace (including but not limited to servers located on-premises, in the Azure Commercial cloud, hosted by other cloud providers, etc.). Initial Install…

0

Using OMS to Alert on Azure Service Outages

  If you are unable to alert from the Azure Portal, or simple wish to have all your alerting from one source, consider leveraging OMS (Operations Management Suite).  With the free tier option (7 days of day retained) there is no additional cost! Azure Service events are logged automatically in the Azure Portal –> Monitoring…

0

OMS – Azure Activity Logs Solution – Access to the Subscription was Lost

  Error Seen in the Azure Activity Logs solution view. Detail: Access to the subscription was lost. Ensure that the XXX subscription is in the XXX Azure Active Directory tenant. If the subscription is transferred to another tenant, there is no impact to the services, but information for the tenant could take up to an…

2

Azure IP Ranges

  For a myriad of reasons it’s nice to know what IPs you can expect to see coming to/from your Azure space.  Below is a quick cheat sheet. Microsoft Azure Datacenter IP Ranges (Commercial) https://www.microsoft.com/en-us/download/details.aspx?id=41653 Microsoft Azure Datacenter IP Ranges (Government/Sovereign Cloud) upon request; please open a case via the Azure ARM (new) Portal  …

0

Connecting to MySQL for Azure Site Recovery (ASR)

When using ASR to replication VMware or physical machines into Azure two roles are required – the configuration and process servers (often combined on a single server) – to help coordinate and facilitate the data replication (https://docs.microsoft.com/en-us/azure/site-recovery/site-recovery-vmware-to-azure#run-site-recovery-unified-setup).  On the configuration server, configuration data is stored in a MySQL database.  *at this time this is a…

0

Connecting OMS in Microsoft Azure Government (MAG) to SCOM

note: this is a supplement to https://docs.microsoft.com/en-us/azure/azure-government/documentation-government-services-monitoringandmanagement#log-analytics   With the release of OMS for MAG (oms.microsoft.us), your SCOM instance can now leverage OMS while remaining complaint (see https://www.microsoft.com/en-us/TrustCenter/Compliance/default.aspx). The only trick to make this happen is to update the OMS MPs used by SCOM.  These new MPs add an option to select your Azure environment (commercial…

1

Azure Classic Portal | How to Add a Data Disk Using a Different Storage Account than the OS Disk

  When you add a new disk to an existing VM, you can only modify the  disk name and size which means you are stuck using the current/default storage account (see https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-classic-attach-disk/) Using PowerShell, you can specify a different storage location for your new data disk though (see https://msdn.microsoft.com/library/azure/jj152837.aspx) o Make sure you use -MediaLocation…

0

Azure VMs need Internet Access

  When customers move into the cloud, they tend to mimic their setup on-prem.  Not a bad thing, but when it comes to blocking internet access for servers this can create some unusual problems. If you are using network security groups (NSGs), user defined routing (UDR), or forced-tunneling be sure to put in an exception…

0

How to Use Storage Explorer with Microsoft Azure for Government (MAG)

Update 02/16/2017 – The latest version of Storage Explorer allows you to connect with your Azure Government ID and will auto-populate your storage accounts, just like it already did for commercial Azure.  If you haven’t already, update your client!   Microsoft Azure Storage Explorer (http://storageexplorer.com/) is a free tool that provides a GUI to use…

0

Removing OMS from your SCOM Management Group

Have you inherited an environment where someone had “played” with OMS? OMS is partially configured, but you’re not exactly sure how, and as a result it’s spamming your Operations Manager event log with warnings and errors… You’d like to get OMS working, but just don’t have the time and for now you just need the…

0

Azure IaaS – Can’t Logon? Wrong ID/PW?

If you forgot your VM’s logon ID/PW, you have a few options to get back in there.  Note: Domain Controllers don’t have local users so these tricks won’t work with them…. If this is a brand-new VM (never logged on or configured), it’s generally fastest to delete and recreate it. If the VM extension installed,…

0

Azure IaaS VMs and the Three (now Four!) R’s

 updated 27 May 2016 When you have a problematic IaaS VM (won’t start, won’t stop, can’t RDP even though it worked just yesterday….) and you’ve exhausted your usual tricks, turn to the Three Four R’s (the “did you reboot?” of Azure). Restart – Most users will think of this, just be sure you restart (and…

3