Azure File Sync Deployment

Working with Azure file sync enables us to centralize our organization’s file shares in Azure Files while keeping the flexibility, performance, and compatibility of an on-premises file server. for more details about the file sync
>> Planning for an Azure File Sync deployment

Requirments:

  • Azure Subscription
  • Storage Account
  • File Share
  • File Sync Service
  • Servers Endpoints [WS 2012 R2 / WS 2016]
  • Sync Group
  • Endpoints Agent

Let’s configure…

1- Create A storage account and File Share.

From azure portal go to storage accounts and create a new one / you can use an existing account.

1

Once the creation finished open the storage account >> Files >> create a File share
*This file will be the cloud endpoint*

Click on the + File share icon and create the file share enter the Name and Quota size of the file and click OK.

2- Create the Sync Services

From Azure Portal, Search for Azure File Sync and Create.

Open the Sync Service >> Sync Groups And create a new group this will contain the sync servers endpoints

Fill the blade Group Name, Subscription, Storage Account that we created above and it’s File Share.

Now open the Registered servers this will contain the server’s agent that will be synced with the Azure file share.

Download the Agent and Chose the OS Version 2012 R2 or 2016 servers

  • Install the Agent on servers by installing the .exe file you download.
  • Enter your Azure subscription and chose the associated storage account and Endpoint file which data will be stored.

Now this server showed be shown in the servers endpoints in your Azure Sync Group.

Please note that:

  1. Sync Folder on servers shouldn’t be a file system folder.
  2. Windows Management Framework 5.1 Installed. Windows Management Framework 5.1
  3. Latest AzureRM PowerShell module Installed. Install Azure PowerShell on Windows with PowerShellGet
  4. IE Enhanced Security Configuration Turned off.
  5. You can add only one cloud endpoint per sync group.
  6. The server can be associated with only one sync group.
  7. The appropriate package to download and install for Windows Server 2012 R2 is Win8.1AndW2K12R2-KB

Now after checking the above prerequisites open the Sync Agent on the server.

Register the server by choosing the subscription, Resource Group, and Storage Account.

Now the Server will be shown in the Registered servers

Let’s Add the Server Endpoint [This will be the server folder which files will be synced to – from Azure File Sync]

From the Sync Group, click on Add server endpoint, chose the Registered Server and add the Folder Path.

Now data should be synced between that Folder and the Azure Sync Folder in the Storage Account.

 

Advertisements

Create a WordPress Website on Microsoft Azure

Welcome Back.. in this blog we will create a WordPress website running on Microsoft Azure so let’s get started

First you need to have an azure account to access Azure portal, get a free azure account from http://azure.microsoft.com/en-us/pricing/free-trial/

  • From +New in the bottom bar >> Compute >> Website >> From Gallery

1

  • Select Blogs , scroll down and select WordPress then click → 

2

  • In Site Setting type your site name the URL.azurewebsite.net then click → 

3

  • In this Step provide a Database which will contain your website database, i will type my personal WordPressDBs, select region and MARK the √ check which mean that you agree the legal terms then click √ to Finish

4

 

  • So now our website has been created successfully What’s next? mmmm let’s access it ” you can see your website URL”  😉

5

  • Copy the URL, open your Browser, Past the URL and let’s configure the first steps to get started
  • Select your language and press Continue

7

 

  • Type your website name, the user name which will access it and provide a Strong Password then click Install WordPress

8

 

  • Now our website has been created and success let’s log in

9

 

  • Type your Username, Password and click Log in

10

  • Ohhhhh our Website alive Now 😀

11

 

 

Create a Virtual Machine Running Linux on Microsoft Azure

Hi all,
In this blog we will talk about Microsoft Azure VMs running Linux OS so let’s get started.

First you need to have azure account to access Azure portal, get a free azure account from http://azure.microsoft.com/en-us/pricing/free-trial/

Once you have your account…

  • + New in the bottom bar >> Compute >> Virtual Machine >> From Gallery

1

  • From Gallery you can choose your VM Os image, in this case we will choose Ubuntu Server and click

2

  • Now you have to type your VM Name and provide a Password which enable you to log on the VM next.. so i will type the VM Name and Password “Make sure to copy the User Name and Password your credential for this VM” and click 

3

  • Now you can see your VM cloud service, DNS name.cloudapp.net, storage and other configurations so let’s click → 

4

  • Finally our VM configuration has been finished click the  mark to finish and let’s wait until the VM is provisioned.

5

Now our VM successfully created so What’ Next !!?? … ohhh let’s connect to it 😉


You can connect to your VM using SSH or using RDP

Let’s connect using the SSH way

  • First you have to download the  SSH client PuTTY from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
    but before you connect to the VM you have to know your SSH Details and Port number to connect
    Go to Virtual Machines >> Your VM >> Quick Start DASHBOARD >> SSH DETAILS and copy it Screenshot (90)
  • After you have your SSH DETAILS go to PuTTY Configuration past your Host Name “Your VM SSH DETAILS ” and click Open7
  • You will be asked to provide a user name and password to log on your VM

8

Now you can access your Azure VM.


Let’s connect using the RDP way

  • To connect to VM using RDP you have to install Ubuntu desktop to do it run the following command >> sudo apt-get install ubuntu-desktop
  • After that you have to the install the RDP access to the VM to do it run the following command >> sudo apt-get install xrdp
  • Once you finish the installation go to the VM and add the ENDPOINTSScreenshot (93)
  • Add A STAND-ALONE ENDPOINT and click →   Screenshot (94)
  • Specify the details of the endpoint Name, Protocol, Public and Private Port then click √ to FinishScreenshot (95)
  • Now you can see the endpoints TCP protocol and Ports Screenshot (96)
  • Go to the VM again and connect to it Connect

 

 

 

SQL Server 2014 top New Features

let’s talk about the Top New Features of SQL Server 2014 SQL14

  1. In-Memory across Workloads Built-in
  2. Scalability Enhancement and Availability
  3. Power BI For Office 365
  4. Backup Encryption
  5. Microsoft Azure Integration

In-Memory across Workloads Built-in

It’s allows you to create memory-optimized database objects that enable more efficient data access **Remember select only Highly Utilized tables to be In-Memory**

that’s will improve performance by as much as 10 times, and improves scalability by 2-5 times.Per

It does this be minimizing the latency it takes to retrieve data.

This feature will be great for applications that need performance, have relatively short transactions, have a high degree of concurrent transactions with many connectionsIn-Memory

Scalability Enhancement and Availability

The number of logical processors has been increased to 640 and memory up to 4 TBs.

If SQL Server running in a virtual environment it’s up to 64 virtual processors and 1TB of memory

If you have a clustered SQL Server environment it’s will support up to 64 different nodes.

ABOUT High Availability the number of secondary Replica maximum from four to eight.

AG

Power BI For Office 365

It’s a cloud-based business intelligence (BI) solution which provides data navigation and visualization capabilities

Power BI for Office 365 includes Power Query , Power Map , Powerpivot, and Power ViewBI

Backup Encryption

It’s the ability to encrypt database backups. SQL Server 2014 supports several encryption algorithms; including Advanced Encryption Standard You must use a certificate or an asymmetric key to perform encryption for SQL Server 2014 backups.0572.1

More info about Backup Encryption https://helmymo7amed.wordpress.com/2014/07/14/sql-server-2014-backup/

 Microsoft Azure Integration

It’s the Ability to Automatic/Manual Backup to Azure Environment and Working with Azure Secondary Replica and storage. we can set an Availability Group resides in Azure when the Primary Replica Failure happens we can switch Manual but we can still working and Report to/from databaseAzure