35

and heavy I run out of hardware capacity bigger

Embed Size (px)

Citation preview

Page 1: and heavy I run out of hardware capacity bigger
Page 2: and heavy I run out of hardware capacity bigger

Microsoft SharePoint on Microsoft Azure VM and Virtual Networks: How the Cloud (IaaS) Changed the Way I Work and Improved Customer Productivity Patrick HeydeEvangelist Microsoft Germany

OFC-B333

Page 3: and heavy I run out of hardware capacity bigger

Since 2007 at Microsoft4 roles:

Partner Technical ConsultantSharePoint Support Escalation EngineerPremier Field EngineerEvangelist

Me –

SharePoint 2001 - 2003 - 2007 – 2010 – 2013 – Office 365

Customization Optimization Upgrade

SQL Server Profiler

Some self-made helper-tools

SharePoint Manager

Powershell

“SharePoint is a pet, it‘s a hardware monster and it‘s hungry.“

Page 4: and heavy I run out of hardware capacity bigger

For Productivity Demos, Samples & Projects I need:

Demo/Dev Images –> Several VM‘s (SharePoint, Exchange, Lync, …) + Snapshots

SharePoint 2007/2010/2013 My Device = Powerful, mobile

You take as much Cores, RAM and Disk-Space as you can get

My Last Environment

Travel-Equipment>10 kg (>22lb)

But anyway, you will run to limits. Over time you got the feeling that hardware becomes smaller.

and heavy

Page 5: and heavy I run out of hardware capacity bigger

Full Office System 2013 Environment

CPU Memory

Storage

I run out of hardware capacityb

iggerbigge

r

bigg

er

Page 6: and heavy I run out of hardware capacity bigger

How I worked & How do I work now

Touch Device

Laptop & HyperV Server

under my Desk

UMTSUMTS/LTE /

WLAN / LAN

Share

Poin

t Support

PFE

DPE

TahoeSharePoint 2001

Virtual Server/HyperV

Azure Subscription

8 core, 1 TB, 16 GB RAM

8 Cores, 0,5 TB, 16 GB RAM5,5 kg / 194oz/

12,1 lb

12 core, 2 TB, 32 GB RAM

4 GB, 250 GB, 8 Cores

6+ h Battery

SharePoint 2013SharePoint 2007

SharePoint 2003 SharePoint 2007

SharePoint 2010

SharePoint 2010

SharePoint 2007

LinuxBig Data, BI,

PDW

I run o

ut of h

ardware

capacit

y

Azure – Hardware as Service

Page 7: and heavy I run out of hardware capacity bigger

Using Azure like HyperV

Page 8: and heavy I run out of hardware capacity bigger

What‘s the important feature of HyperV for SharePoint –Developers?

Snapshotsas temporary Backup

Page 9: and heavy I run out of hardware capacity bigger

Possible on File-baseVM must be stopped before create a snapshot

Revert back to previous SnapshotProcess is more complex but can be scripted e.g. in powershell to make it easy

Does SharePoint allow/support the use of snapshots?

Snapshots in Azure

Yes, but with restrictions. Only possible for the whole farm (all VMs and all SQL databases)

Maybe there exist an easier way to restore?

Page 10: and heavy I run out of hardware capacity bigger

Like in HyperVShut down VM, Copy VHD, Start VM:

Backup via Storage Explorer or ScriptStart-AzureStorageBlobCopy Get-AzureStorageBlobCopyState

Backup Development work: Using Source Code Control

Visual Studio Online or TFS to load and push back source code

Backup via copy VHDReally? Never!

Copy 100 GB as backup takes? 30+ min

Snapshot is faster, for HyperV!>1 + >1 + >3 Minutes. (for 1xx GB)

Page 11: and heavy I run out of hardware capacity bigger

West US Region

Why Copy? – Speed & StampEast US Region

Load BalancerLoad Balancer

https://mystorage4.blob.core.windows.net

IP: 168.62.33.142

Load Balancer Load Balancer

https://mystorage1.blob.core.windows.net

IP: 168.62.1.142

https://mystorage2.blob.core.windows.net

IP: 168.62.1.142

https://mystorage3.blob.core.windows.net

IP: 168.62.0.14

Stamp 1 Stamp 2 Stamp 3

Cross-Datacenter-Copy = e.g. 50 GB in 10 min)

Inner-Stamp-Copy = instantaneous

Cross-Stamp-Copy (e.g. 100 GB in Minutes - in 10 min.)

Page 12: and heavy I run out of hardware capacity bigger

DemoUsing Azure like HyperV

Page 13: and heavy I run out of hardware capacity bigger

Build SharePoint on AzureVMs

Page 14: and heavy I run out of hardware capacity bigger

Required Technologies for SharePoint

Azure(dyn.IP) ~ static IP

DNS NetworkDB Server(Cluster?)

NLBPerforman

ceSecurity Aspect

Do not use IP to build a Farm!

Active Directory

AzureVM accept DHCP = ONFor all Server & DC

Define your Custom virt. Network!

Page 15: and heavy I run out of hardware capacity bigger

DemoIP Address in Azure

Page 16: and heavy I run out of hardware capacity bigger

Azure Custom Network

IP Rangee.g. 192.168.0.0/16

IP Rangee.g. 172.16.0.0 - 172.31.255.255

IP Rangee.g. 10.0.0.0/8

Subnet1192.168.0.0/24

Subnet2192.168.1.0/24

Subnet3192.168.2.0/24

DNS for AzureNetwork

IP: x.x.x.x

Public DNS/IP

Internal IP from Azure

Subnet4172.16.0.0/24

Subnet5172.16.1.0/24

Subnet6172.16.2.0/24

Subnet710.0.0.0/16

Subnet810.1.0.0/16

Subnet910.2.0.0/16

Subnet…192.168…../24 Subnet…

172…….…../24Subnet….10….……/16

Page 17: and heavy I run out of hardware capacity bigger

Create SharePoint VM with DHCP=ON

IP Rangee.g. 10.0.0.0/8

DNS for AzureNetwork

IP: x.x.x.x

Public DNS/IP

Internal IP from Azure

Subnet710.0.0.0/16

Subnet810.1.0.0/16

Subnet910.2.0.0/16

VM0110.0.0.4

VM0510.1.0.4

VM0610.2.0.4

VM0210.0.0.5

VM0310.0.0.6

VM0410.0.0.7

IP: 10.0.0.4

Page 18: and heavy I run out of hardware capacity bigger

Require PowershellGet-AzureStaticVNetIPSet-AzureStaticVNetIPRemove-AzureStaticVNetIPTest-AzureStaticVNetIP

Azure Support static IP

Page 19: and heavy I run out of hardware capacity bigger

AzureVM with Static IP-Adress# check if IP is available$vnetname = "MyBackendVNetWestEurope" Test-AzureStaticVNetIP –VNetName "MyVirtNetwork" –IPAddress 192.168.4.7

# set Static IP to existing AzureVM$vm2 = Get-AzureVM -ServiceName "MyCloudService" –Name "MyAzureVM"$vmchange = Set-AzureStaticVNetIP -VM $vm2.VM -IPAddress 192.168.4.7 |Update-AzureVM -ServiceName “MyCloudService" –VM $vm2

Page 20: and heavy I run out of hardware capacity bigger

New AzureVM with Static IP# create new AzureVM, into a virt.Network and Subnet with static IP

$vm1 = New-AzureVMConfig -Name $vmname -ImageName $img –InstanceSize Small;Set-AzureSubNet –VM $vm1 –SubNetNames "Subnet1";Set-AzureStaticIP –IPAddress 192.168.4.7 -VM $vm1;New-AzureVM -ServiceName "MyCloudService" -VMs $vm1 –AffinityGroup "WestUSAG";

Page 21: and heavy I run out of hardware capacity bigger

Build SharePoint with concept for AzureVM and Azure virt. Network

Page 22: and heavy I run out of hardware capacity bigger

Create Azure Network & VMs for SharePoint

DataCenter (e.g. WestUS)

Azure Custom Network (incl. Affinity Group)

MyStorageAccount1 (Member of Affinity Group)

AppServer-SubNet

Core-SubNet

DC01(DNS)

DC02(DNS)

PublicCS

InternalCloudService

WFE01

WFE02 App01

App02

NLB

DB-SubNet

SQL01 SQL02

Container1

vhd

Container2

vhd

MyStorageAccount2 (Member of Affinity Group)

Container3

vhdvhd

vhdvhd

vhdvhd

vhdvhd

vhdvhd

Page 23: and heavy I run out of hardware capacity bigger

How to build this design?

Azure Management Portal Azure Powershell cmdlet Cli-Console

Good for First Steps+Monitoring, Alerts

For Windows ClientsFor Windows Clients

+For Linux Client

No Intellisense

WebBrowser

AzureVM creation over catalog has

limits

Page 24: and heavy I run out of hardware capacity bigger

SharePoint Scenarios

Page 25: and heavy I run out of hardware capacity bigger

Archive Stopped Delocated

Working in SharePoint Projects

SharePoint FarmReference Env.

AD

Work-Environment for Project 1

AD

+ copy

SP-Solution

Page 26: and heavy I run out of hardware capacity bigger

Democreate Work-Environment on demand

Page 27: and heavy I run out of hardware capacity bigger

Dynamic IT

Core IT

Lession learned – IT4Tomorrow

Azure

Office365

onPremise

SharePoint App

AzureREST API

VPN

Page 28: and heavy I run out of hardware capacity bigger

“ SharePoint is a Hardware-Eating Monster, Azure is food.” Patrick Heyde

Page 29: and heavy I run out of hardware capacity bigger

DBI-B314 CAT: Microsoft SQL Server High Availability and Disaster Recovery in Microsoft Azure

Related content

DBI-B334 SQL Server on Microsoft Azure Virtual Machines: The Important Details

DCIM-B210 How to Develop a Successful Hybrid Cloud Strategy

Find Me Later At: TechEd Booth - MSE Go Mobile

Page 31: and heavy I run out of hardware capacity bigger
Page 32: and heavy I run out of hardware capacity bigger

Resources

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

msdn

Resources for Developers

http://microsoft.com/msdn

TechNet

Resources for IT Professionals

http://microsoft.com/technet

Sessions on Demand

http://channel9.msdn.com/Events/TechEd

Page 33: and heavy I run out of hardware capacity bigger

Complete an evaluation and enter to win!

Page 34: and heavy I run out of hardware capacity bigger

Evaluate this session

Scan this QR code to evaluate this session.

Page 35: and heavy I run out of hardware capacity bigger

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.