and heavy i run out of hardware capacity bigger
TRANSCRIPT
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
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.“
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
Full Office System 2013 Environment
CPU Memory
Storage
I run out of hardware capacityb
iggerbigge
r
bigg
er
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
Using Azure like HyperV
What‘s the important feature of HyperV for SharePoint –Developers?
Snapshotsas temporary Backup
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?
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)
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.)
DemoUsing Azure like HyperV
Build SharePoint on AzureVMs
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!
DemoIP Address in Azure
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
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
Require PowershellGet-AzureStaticVNetIPSet-AzureStaticVNetIPRemove-AzureStaticVNetIPTest-AzureStaticVNetIP
Azure Support static IP
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
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";
Build SharePoint with concept for AzureVM and Azure virt. Network
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
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
SharePoint Scenarios
Archive Stopped Delocated
Working in SharePoint Projects
SharePoint FarmReference Env.
AD
Work-Environment for Project 1
AD
+ copy
SP-Solution
Democreate Work-Environment on demand
Dynamic IT
Core IT
Lession learned – IT4Tomorrow
Azure
Office365
onPremise
SharePoint App
AzureREST API
VPN
“ SharePoint is a Hardware-Eating Monster, Azure is food.” Patrick Heyde
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
Azure Scripts from my Blog
Track resources
Michael Washman Blog
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
Complete an evaluation and enter to win!
Evaluate this session
Scan this QR code to evaluate this session.
© 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.