SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Windows Azure 和 SQL Server
的 Hybrid 運用
- 備援以及高可用性
台灣微軟
李御安 Justin
大綱
 Windows Azure
 如何取得帳號
 管理入口網站
 混合雲解決方案
 備份/復原
 SQL 2012
 SQL 2014 Preview
 高可用性
 SQL 2012 高可用性
 SQL 2014 Preview 強化高可用性
 Hybrid HA/DR
 建立雲端與本地端的連線
 移轉資料庫至雲端 - 以 SSMS 為例
如何取得 Windows Azure 帳號
T-SQL Enhancements in SQL Server 2012
兩種”雲端”關聯式資料服務
在 Azure 上使用 VM
1. Azure Portal 建立新的 VM
2. Azure SDK – csupload 上傳企業現有的 VM
SDK Download : http://www.windowsazure.com/zh-tw/downloads/
• 安裝 Visual Studio 產生憑證
• 上傳憑證到 Azure
• 安裝 Azure SDK 上傳 VM
注意事項 :
1. 目前只支援 VHD
2. 上傳 VHD 支援 128 G
3. csupload 支援續傳
混合雲解決方案
Restore to VMGeo Replication
功能 :
 SQL Server 支援從 Windows Azure Blob storage service 手動備份和還原(T-SQL and
PowerShell Commandlets)
主要效益 : 充分利用 Windows Azure blob storage 優勢
 靈活的, 可靠的, 以及無地域性的儲存
 雲端備份
 沒有硬體管理成本
 成本效益
Cloud Backup (SQL Server 2012 SP1 CU2 & CU4)
CREATE CREDENTIAL mystoragecred
WITH IDENTITY = ‘mystorage',
SECRET = ‘<your storage access key>
BACKUP DATABASE mydb TO URL ='https://mystorage.blob.core.windows.net/backup-
container/mydb-20130411.bak'
WITH CREDENTIAL = ‘mystoragecred',
FORMAT, COMPRESSION, STATS = 5,
MEDIANAME = ‘mydb backup 20130411', MEDIADESCRIPTION = 'Backup of mydb'
Cloud Backup Walkthrough –
Configuration 1. Enable Smart Backup at instance level
2. View Smart Backup configurations and files
Cloud Backup Walkthrough – Restore
混合雲解決方案
SQL SERVER 2012 ALWAYSON AVAILABILITY GROUPS
五個步驟輕鬆搞定高可用性與異地備援
• 可用性複本
• 支援PowerShell
AlwaysOn Availability Groups
全新HA功能加強了資料庫鏡像與 Cluster能力
• 支援多資料庫容錯移轉
• 支援多複本
• 支援同步與非同步資料庫同步模式
• 支援壓縮與加密
• 自動-page修復
• 自動與手動容錯移轉(全新設計)
• 前端應用程式可透過虛擬監聽器容
錯移轉
• 組態精靈減少設定步驟
• Dashboard協助控管
• System Center 整合
• 支援File-stream 資料同步
• 支援複寫
打造永不間斷服務
提供database level & instance 層級的保護
元大證券客服系統 HA Solution
改頭換面的 SQL Server AlwaysOn
元大證券 以SQL Server 2012高可用性架構成功演練多重備援情境,系統切換縮
短至一步驟2秒內完成。
• AlwaysOn 能提供一年 365 天全天候
的客戶相關服務
• 只要按幾下滑鼠按鈕,即可擁有完整
的備援與保護
• 應用程式容錯移轉與上線時間程度皆
以 2 倍計
15
說明 :
• 資料複本從 4 個增加到 8 個
• 同步模式的資料複本最大數量一樣是 2
Increase Number of
SQL 2014 Availability Group Secondaries
原因 :
• 客戶希望利用可讀資料複本
• 一種技術 ,設定管理一次搞定
• 比複寫還要有更好的效率
• 客戶希望有更多的資料複本 (6-8)
• 減少查詢延遲(在大型環境)
• 向外擴展分散查詢工作量
混和雲資料庫 – 高可用性與異地備援
Application
本地端主要資料庫伺服器 (SQLAG1)
備援雲端資料庫伺服器(SQLAG2)
混和雲資料庫 – 異地備援與查詢負載
Application
本地端主要資料庫伺服器 (SQLAG1)
備援雲端資料庫伺服器(SQLAG2)
報表查詢 & 備份
首要條件 - 建立 Site to Site VPN
Hardware VPN or
Windows RRAS
WA
Gateway
Site to Site
On-Promise 192.168.2.0 /24 Azure 10.2.0.0 /16
Azure VMAD
192.168.2.1
SQLAG1
192.168.2.5
Server Name
RRAS 192.168.2.50 / 118.x.x.x (Public IP)
AD 192.168.2.1
SQLAG1 192.168.2.5
廠商 裝置家族 最低作業系統版本
靜態 (原則式) 路由的
組態範本
動態 (路由式) 路由的
組態範本
Cisco ASA 8.3 Cisco ASA templates 不支援
Cisco ASR
IOS 15.1 (靜態)
IOS 15.2 (動態)
Cisco ASR templates Cisco ASR templates
Cisco ISR
IOS 15.0 (靜態)
IOS 15.1 (動態)
Cisco ISR templates Cisco ISR templates
Juniper SRX
JunOS 10.2 (靜態)
JunOS 11.4 (動態)
Juniper SRX templates Juniper SRX templates
Juniper J-系列
JunOS 10.4r9 (靜態)
JunOS 11.4 (動態)
Juniper J-series
templates
Juniper J-series
templates
Juniper ISG ScreenOS 6.3 (靜態和動態) Juniper ISG templates Juniper ISG templates
Juniper SSG ScreenOS 6.2 (靜態和動態) Juniper SSG templates Juniper SSG templates
Watchguard 全部 Fireware XTM v11.x 組態指示 不支援
F5 BIG-IP 系列 N/A 組態指示 不支援
Citrix
CloudBridge MPX 應用裝置或
VPX 虛擬應用裝置
N/A 整合指示 不支援
Microsoft 路由及遠端存取服務 Windows Server 2012 不支援
Routing and Remote
Access Service
templates
已知相容的 VPN 裝置
參考網址 : http://msdn.microsoft.com/zh-tw/library/jj156075.aspx
8/17/2013 | T-SQL Enhancements in SQL Server 201226 |
SQL Server DR between On-Premise and Azure
Technology SQL Server Version Zero Data Loss Scope # Secondaries Automatic
Failover
Readable
Secondaries
Availability
Groups
SQL Server 2012 Yes*
(Sync Mode)
DB(s) 4 Yes
(w/ additional
cluster member)**
Yes
Database
Mirroring
SQL Server 2008 R2
SQL Server 2012
Yes*
(High Safety
Mode)
DB 1 Yes
(w/ Witness)**
Limited
(database
snapshots)
Log
Shipping
SQL Server 2008 R2
SQL Server 2012
No DB N No Limited
(standby state)
*避免影響主要節點的效能 ,建議大多的客戶使用 Async Mode (高效能模式)
**Async Mode 只支援手動容錯移轉Failover to make DR (and potential data loss) a conscious decision
移轉企業資料庫到 Azure SQL Database
–SQL 2012
移轉企業資料庫到 Azure VM - SQL 2014
© 2013 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.

Weitere ähnliche Inhalte

Was ist angesagt?

SQL Server 2000 高可用性群集构建
SQL Server 2000 高可用性群集构建SQL Server 2000 高可用性群集构建
SQL Server 2000 高可用性群集构建bigqiang zou
 
Sql Cluster Tech Net 0401(Pm)
Sql Cluster Tech Net 0401(Pm)Sql Cluster Tech Net 0401(Pm)
Sql Cluster Tech Net 0401(Pm)bigqiang zou
 
了解真实的Oracle unbreakable database appliance
了解真实的Oracle unbreakable database appliance了解真实的Oracle unbreakable database appliance
了解真实的Oracle unbreakable database appliancemaclean liu
 
賽門鐵克 Backup Exec 2012 技術簡報
賽門鐵克 Backup Exec 2012 技術簡報賽門鐵克 Backup Exec 2012 技術簡報
賽門鐵克 Backup Exec 2012 技術簡報Wales Chen
 
在Windows azure平台上進行資料庫處理及架構設計
在Windows azure平台上進行資料庫處理及架構設計在Windows azure平台上進行資料庫處理及架構設計
在Windows azure平台上進行資料庫處理及架構設計Sky Chang
 
王涛:基于Cloudera impala的非关系型数据库sql执行引擎
王涛:基于Cloudera impala的非关系型数据库sql执行引擎王涛:基于Cloudera impala的非关系型数据库sql执行引擎
王涛:基于Cloudera impala的非关系型数据库sql执行引擎hdhappy001
 
Oracle saa s paas overview
Oracle saa s paas overviewOracle saa s paas overview
Oracle saa s paas overviewChris Lee
 
MySQL 網路參考架構
MySQL 網路參考架構MySQL 網路參考架構
MySQL 網路參考架構郁萍 王
 
Microsoft azure
Microsoft azureMicrosoft azure
Microsoft azurewei andy
 
MS SQL 2012 安裝與基本使用教學
MS SQL 2012 安裝與基本使用教學MS SQL 2012 安裝與基本使用教學
MS SQL 2012 安裝與基本使用教學Yuan Chiu
 
2016 Azurebootcamp 中國Azure 使用經驗
2016 Azurebootcamp 中國Azure 使用經驗2016 Azurebootcamp 中國Azure 使用經驗
2016 Azurebootcamp 中國Azure 使用經驗Edward Kuo
 

Was ist angesagt? (13)

SQL Server 2000 高可用性群集构建
SQL Server 2000 高可用性群集构建SQL Server 2000 高可用性群集构建
SQL Server 2000 高可用性群集构建
 
Sql Cluster Tech Net 0401(Pm)
Sql Cluster Tech Net 0401(Pm)Sql Cluster Tech Net 0401(Pm)
Sql Cluster Tech Net 0401(Pm)
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
了解真实的Oracle unbreakable database appliance
了解真实的Oracle unbreakable database appliance了解真实的Oracle unbreakable database appliance
了解真实的Oracle unbreakable database appliance
 
賽門鐵克 Backup Exec 2012 技術簡報
賽門鐵克 Backup Exec 2012 技術簡報賽門鐵克 Backup Exec 2012 技術簡報
賽門鐵克 Backup Exec 2012 技術簡報
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
在Windows azure平台上進行資料庫處理及架構設計
在Windows azure平台上進行資料庫處理及架構設計在Windows azure平台上進行資料庫處理及架構設計
在Windows azure平台上進行資料庫處理及架構設計
 
王涛:基于Cloudera impala的非关系型数据库sql执行引擎
王涛:基于Cloudera impala的非关系型数据库sql执行引擎王涛:基于Cloudera impala的非关系型数据库sql执行引擎
王涛:基于Cloudera impala的非关系型数据库sql执行引擎
 
Oracle saa s paas overview
Oracle saa s paas overviewOracle saa s paas overview
Oracle saa s paas overview
 
MySQL 網路參考架構
MySQL 網路參考架構MySQL 網路參考架構
MySQL 網路參考架構
 
Microsoft azure
Microsoft azureMicrosoft azure
Microsoft azure
 
MS SQL 2012 安裝與基本使用教學
MS SQL 2012 安裝與基本使用教學MS SQL 2012 安裝與基本使用教學
MS SQL 2012 安裝與基本使用教學
 
2016 Azurebootcamp 中國Azure 使用經驗
2016 Azurebootcamp 中國Azure 使用經驗2016 Azurebootcamp 中國Azure 使用經驗
2016 Azurebootcamp 中國Azure 使用經驗
 

Andere mochten auch

SQL PASS Taiwan 七月份聚會-3
SQL PASS Taiwan 七月份聚會-3SQL PASS Taiwan 七月份聚會-3
SQL PASS Taiwan 七月份聚會-3SQLPASSTW
 
Sharia'a compliant activities
Sharia'a compliant activitiesSharia'a compliant activities
Sharia'a compliant activitiesDésirée Di Iesu
 
SQL PASS Taiwan 七月份聚會-5
SQL PASS Taiwan 七月份聚會-5SQL PASS Taiwan 七月份聚會-5
SQL PASS Taiwan 七月份聚會-5SQLPASSTW
 
SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1SQLPASSTW
 
opputunities in Belgium for india
opputunities in Belgium for india opputunities in Belgium for india
opputunities in Belgium for india itzmeyash
 
SQL PASS Taiwan 七月份聚會-2
SQL PASS Taiwan 七月份聚會-2SQL PASS Taiwan 七月份聚會-2
SQL PASS Taiwan 七月份聚會-2SQLPASSTW
 
Native Ads: Ad Content in Context
Native Ads: Ad Content in ContextNative Ads: Ad Content in Context
Native Ads: Ad Content in ContextMichael Wörmann
 
Speak, wave, touch: How to do it right. User research insights about Natural ...
Speak, wave, touch: How to do it right. User research insights about Natural ...Speak, wave, touch: How to do it right. User research insights about Natural ...
Speak, wave, touch: How to do it right. User research insights about Natural ...Michael Wörmann
 
We think our feelings Part two
We think our feelings Part twoWe think our feelings Part two
We think our feelings Part twoAndrew Milne
 
Feelings and Emotions : We think our feelings Part 1
Feelings and Emotions : We think our feelings Part 1Feelings and Emotions : We think our feelings Part 1
Feelings and Emotions : We think our feelings Part 1Andrew Milne
 
Ch 1 introduction_om
Ch 1 introduction_omCh 1 introduction_om
Ch 1 introduction_omitzmeyash
 

Andere mochten auch (12)

SQL PASS Taiwan 七月份聚會-3
SQL PASS Taiwan 七月份聚會-3SQL PASS Taiwan 七月份聚會-3
SQL PASS Taiwan 七月份聚會-3
 
Sharia'a compliant activities
Sharia'a compliant activitiesSharia'a compliant activities
Sharia'a compliant activities
 
SQL PASS Taiwan 七月份聚會-5
SQL PASS Taiwan 七月份聚會-5SQL PASS Taiwan 七月份聚會-5
SQL PASS Taiwan 七月份聚會-5
 
SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1
 
opputunities in Belgium for india
opputunities in Belgium for india opputunities in Belgium for india
opputunities in Belgium for india
 
SQL PASS Taiwan 七月份聚會-2
SQL PASS Taiwan 七月份聚會-2SQL PASS Taiwan 七月份聚會-2
SQL PASS Taiwan 七月份聚會-2
 
Native Ads: Ad Content in Context
Native Ads: Ad Content in ContextNative Ads: Ad Content in Context
Native Ads: Ad Content in Context
 
Speak, wave, touch: How to do it right. User research insights about Natural ...
Speak, wave, touch: How to do it right. User research insights about Natural ...Speak, wave, touch: How to do it right. User research insights about Natural ...
Speak, wave, touch: How to do it right. User research insights about Natural ...
 
Mooc takaful
Mooc takafulMooc takaful
Mooc takaful
 
We think our feelings Part two
We think our feelings Part twoWe think our feelings Part two
We think our feelings Part two
 
Feelings and Emotions : We think our feelings Part 1
Feelings and Emotions : We think our feelings Part 1Feelings and Emotions : We think our feelings Part 1
Feelings and Emotions : We think our feelings Part 1
 
Ch 1 introduction_om
Ch 1 introduction_omCh 1 introduction_om
Ch 1 introduction_om
 

Ähnlich wie SQL PASS 臺灣分部八月份聚會 - Windows Azure 和 SQL Server 的Hybrid運用-備援以及高可用性

王龙:百度数据库架构演变与设计
王龙:百度数据库架构演变与设计王龙:百度数据库架构演变与设计
王龙:百度数据库架构演变与设计YANGL *
 
BAS010_虛擬化基礎_v190330 (View online)
BAS010_虛擬化基礎_v190330 (View online)BAS010_虛擬化基礎_v190330 (View online)
BAS010_虛擬化基礎_v190330 (View online)rwp99346
 
BAS010_虛擬化基礎_v190330
BAS010_虛擬化基礎_v190330BAS010_虛擬化基礎_v190330
BAS010_虛擬化基礎_v190330rwp99346
 
虚拟化介绍201012
虚拟化介绍201012虚拟化介绍201012
虚拟化介绍201012ITband
 
如何架构和开发高性能,高伸缩性Web 应用系统
如何架构和开发高性能,高伸缩性Web 应用系统如何架构和开发高性能,高伸缩性Web 应用系统
如何架构和开发高性能,高伸缩性Web 应用系统melity78
 
深入浅出 V cloud director
深入浅出 V cloud director深入浅出 V cloud director
深入浅出 V cloud directorITband
 
深入研究雲端應用程式平台-AppFabric
深入研究雲端應用程式平台-AppFabric深入研究雲端應用程式平台-AppFabric
深入研究雲端應用程式平台-AppFabricJohn Chang
 
Mes 實作 第二週
Mes 實作 第二週Mes 實作 第二週
Mes 實作 第二週信宏 陳
 
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure PlatformtwMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure PlatformtwMVC
 
雲端環境的快取策略-Global Azure Bootcamp 2015 臺北場
雲端環境的快取策略-Global Azure Bootcamp 2015 臺北場雲端環境的快取策略-Global Azure Bootcamp 2015 臺北場
雲端環境的快取策略-Global Azure Bootcamp 2015 臺北場twMVC
 
Oracle雲端服務介紹 taiwan
Oracle雲端服務介紹   taiwanOracle雲端服務介紹   taiwan
Oracle雲端服務介紹 taiwanChieh-An Yu
 
从Docker到容器服务
从Docker到容器服务从Docker到容器服务
从Docker到容器服务Li Yi
 
以业务为中心的云自动化 V mware-v-realize-automation-7
以业务为中心的云自动化 V mware-v-realize-automation-7以业务为中心的云自动化 V mware-v-realize-automation-7
以业务为中心的云自动化 V mware-v-realize-automation-7Frank Chang
 
Azure Data Lake 簡介
Azure Data Lake 簡介Azure Data Lake 簡介
Azure Data Lake 簡介Herman Wu
 

Ähnlich wie SQL PASS 臺灣分部八月份聚會 - Windows Azure 和 SQL Server 的Hybrid運用-備援以及高可用性 (20)

Symantec Backup Exec 2012 產品技術訓練
Symantec Backup Exec 2012 產品技術訓練Symantec Backup Exec 2012 產品技術訓練
Symantec Backup Exec 2012 產品技術訓練
 
王龙:百度数据库架构演变与设计
王龙:百度数据库架构演变与设计王龙:百度数据库架构演变与设计
王龙:百度数据库架构演变与设计
 
BAS010_虛擬化基礎_v190330 (View online)
BAS010_虛擬化基礎_v190330 (View online)BAS010_虛擬化基礎_v190330 (View online)
BAS010_虛擬化基礎_v190330 (View online)
 
BAS010_虛擬化基礎_v190330
BAS010_虛擬化基礎_v190330BAS010_虛擬化基礎_v190330
BAS010_虛擬化基礎_v190330
 
虚拟化介绍201012
虚拟化介绍201012虚拟化介绍201012
虚拟化介绍201012
 
如何架构和开发高性能,高伸缩性Web 应用系统
如何架构和开发高性能,高伸缩性Web 应用系统如何架构和开发高性能,高伸缩性Web 应用系统
如何架构和开发高性能,高伸缩性Web 应用系统
 
深入浅出 V cloud director
深入浅出 V cloud director深入浅出 V cloud director
深入浅出 V cloud director
 
深入研究雲端應用程式平台-AppFabric
深入研究雲端應用程式平台-AppFabric深入研究雲端應用程式平台-AppFabric
深入研究雲端應用程式平台-AppFabric
 
Mes 實作 第二週
Mes 實作 第二週Mes 實作 第二週
Mes 實作 第二週
 
六合彩
六合彩六合彩
六合彩
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure PlatformtwMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
 
雲端環境的快取策略-Global Azure Bootcamp 2015 臺北場
雲端環境的快取策略-Global Azure Bootcamp 2015 臺北場雲端環境的快取策略-Global Azure Bootcamp 2015 臺北場
雲端環境的快取策略-Global Azure Bootcamp 2015 臺北場
 
Oracle雲端服務介紹 taiwan
Oracle雲端服務介紹   taiwanOracle雲端服務介紹   taiwan
Oracle雲端服務介紹 taiwan
 
1~60
1~601~60
1~60
 
从Docker到容器服务
从Docker到容器服务从Docker到容器服务
从Docker到容器服务
 
以业务为中心的云自动化 V mware-v-realize-automation-7
以业务为中心的云自动化 V mware-v-realize-automation-7以业务为中心的云自动化 V mware-v-realize-automation-7
以业务为中心的云自动化 V mware-v-realize-automation-7
 
Azure Data Lake 簡介
Azure Data Lake 簡介Azure Data Lake 簡介
Azure Data Lake 簡介
 

SQL PASS 臺灣分部八月份聚會 - Windows Azure 和 SQL Server 的Hybrid運用-備援以及高可用性

  • 1. Windows Azure 和 SQL Server 的 Hybrid 運用 - 備援以及高可用性 台灣微軟 李御安 Justin
  • 2. 大綱  Windows Azure  如何取得帳號  管理入口網站  混合雲解決方案  備份/復原  SQL 2012  SQL 2014 Preview  高可用性  SQL 2012 高可用性  SQL 2014 Preview 強化高可用性  Hybrid HA/DR  建立雲端與本地端的連線  移轉資料庫至雲端 - 以 SSMS 為例
  • 3. 如何取得 Windows Azure 帳號 T-SQL Enhancements in SQL Server 2012
  • 4.
  • 6. 在 Azure 上使用 VM 1. Azure Portal 建立新的 VM 2. Azure SDK – csupload 上傳企業現有的 VM SDK Download : http://www.windowsazure.com/zh-tw/downloads/ • 安裝 Visual Studio 產生憑證 • 上傳憑證到 Azure • 安裝 Azure SDK 上傳 VM 注意事項 : 1. 目前只支援 VHD 2. 上傳 VHD 支援 128 G 3. csupload 支援續傳
  • 7.
  • 9. 功能 :  SQL Server 支援從 Windows Azure Blob storage service 手動備份和還原(T-SQL and PowerShell Commandlets) 主要效益 : 充分利用 Windows Azure blob storage 優勢  靈活的, 可靠的, 以及無地域性的儲存  雲端備份  沒有硬體管理成本  成本效益 Cloud Backup (SQL Server 2012 SP1 CU2 & CU4) CREATE CREDENTIAL mystoragecred WITH IDENTITY = ‘mystorage', SECRET = ‘<your storage access key> BACKUP DATABASE mydb TO URL ='https://mystorage.blob.core.windows.net/backup- container/mydb-20130411.bak' WITH CREDENTIAL = ‘mystoragecred', FORMAT, COMPRESSION, STATS = 5, MEDIANAME = ‘mydb backup 20130411', MEDIADESCRIPTION = 'Backup of mydb'
  • 10.
  • 11. Cloud Backup Walkthrough – Configuration 1. Enable Smart Backup at instance level 2. View Smart Backup configurations and files
  • 14. SQL SERVER 2012 ALWAYSON AVAILABILITY GROUPS 五個步驟輕鬆搞定高可用性與異地備援 • 可用性複本 • 支援PowerShell AlwaysOn Availability Groups 全新HA功能加強了資料庫鏡像與 Cluster能力 • 支援多資料庫容錯移轉 • 支援多複本 • 支援同步與非同步資料庫同步模式 • 支援壓縮與加密 • 自動-page修復 • 自動與手動容錯移轉(全新設計) • 前端應用程式可透過虛擬監聽器容 錯移轉 • 組態精靈減少設定步驟 • Dashboard協助控管 • System Center 整合 • 支援File-stream 資料同步 • 支援複寫
  • 15. 打造永不間斷服務 提供database level & instance 層級的保護 元大證券客服系統 HA Solution 改頭換面的 SQL Server AlwaysOn 元大證券 以SQL Server 2012高可用性架構成功演練多重備援情境,系統切換縮 短至一步驟2秒內完成。 • AlwaysOn 能提供一年 365 天全天候 的客戶相關服務 • 只要按幾下滑鼠按鈕,即可擁有完整 的備援與保護 • 應用程式容錯移轉與上線時間程度皆 以 2 倍計 15
  • 16. 說明 : • 資料複本從 4 個增加到 8 個 • 同步模式的資料複本最大數量一樣是 2 Increase Number of SQL 2014 Availability Group Secondaries 原因 : • 客戶希望利用可讀資料複本 • 一種技術 ,設定管理一次搞定 • 比複寫還要有更好的效率 • 客戶希望有更多的資料複本 (6-8) • 減少查詢延遲(在大型環境) • 向外擴展分散查詢工作量
  • 18.
  • 19. 混和雲資料庫 – 異地備援與查詢負載 Application 本地端主要資料庫伺服器 (SQLAG1) 備援雲端資料庫伺服器(SQLAG2) 報表查詢 & 備份
  • 20.
  • 21. 首要條件 - 建立 Site to Site VPN Hardware VPN or Windows RRAS WA Gateway Site to Site On-Promise 192.168.2.0 /24 Azure 10.2.0.0 /16 Azure VMAD 192.168.2.1 SQLAG1 192.168.2.5 Server Name RRAS 192.168.2.50 / 118.x.x.x (Public IP) AD 192.168.2.1 SQLAG1 192.168.2.5
  • 22.
  • 23.
  • 24.
  • 25. 廠商 裝置家族 最低作業系統版本 靜態 (原則式) 路由的 組態範本 動態 (路由式) 路由的 組態範本 Cisco ASA 8.3 Cisco ASA templates 不支援 Cisco ASR IOS 15.1 (靜態) IOS 15.2 (動態) Cisco ASR templates Cisco ASR templates Cisco ISR IOS 15.0 (靜態) IOS 15.1 (動態) Cisco ISR templates Cisco ISR templates Juniper SRX JunOS 10.2 (靜態) JunOS 11.4 (動態) Juniper SRX templates Juniper SRX templates Juniper J-系列 JunOS 10.4r9 (靜態) JunOS 11.4 (動態) Juniper J-series templates Juniper J-series templates Juniper ISG ScreenOS 6.3 (靜態和動態) Juniper ISG templates Juniper ISG templates Juniper SSG ScreenOS 6.2 (靜態和動態) Juniper SSG templates Juniper SSG templates Watchguard 全部 Fireware XTM v11.x 組態指示 不支援 F5 BIG-IP 系列 N/A 組態指示 不支援 Citrix CloudBridge MPX 應用裝置或 VPX 虛擬應用裝置 N/A 整合指示 不支援 Microsoft 路由及遠端存取服務 Windows Server 2012 不支援 Routing and Remote Access Service templates 已知相容的 VPN 裝置 參考網址 : http://msdn.microsoft.com/zh-tw/library/jj156075.aspx
  • 26. 8/17/2013 | T-SQL Enhancements in SQL Server 201226 |
  • 27. SQL Server DR between On-Premise and Azure Technology SQL Server Version Zero Data Loss Scope # Secondaries Automatic Failover Readable Secondaries Availability Groups SQL Server 2012 Yes* (Sync Mode) DB(s) 4 Yes (w/ additional cluster member)** Yes Database Mirroring SQL Server 2008 R2 SQL Server 2012 Yes* (High Safety Mode) DB 1 Yes (w/ Witness)** Limited (database snapshots) Log Shipping SQL Server 2008 R2 SQL Server 2012 No DB N No Limited (standby state) *避免影響主要節點的效能 ,建議大多的客戶使用 Async Mode (高效能模式) **Async Mode 只支援手動容錯移轉Failover to make DR (and potential data loss) a conscious decision
  • 28. 移轉企業資料庫到 Azure SQL Database –SQL 2012
  • 29.
  • 31. © 2013 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.