site recovery manager

197
Table of Contents 练习概述 - HOL-1725-USE-2 - VMware NSX 多站点VMware Site Recovery Manager ............................................................................................................................ 2 练习简................................................................................................................... 3 练习................................................................................................................... 4 1 - 配置的多站点 NSX 并配置站点本地路由 ........................................................ 9 元指................................................................................................................. 10 拓扑概述 ................................................................................................................. 11 vCenter 配置................................................................................................... 17 NSX Manager 配置 .......................................................................................... 19 看通用控制器集群 ................................................................................................ 21 看通用逻辑.............................................................................................. 22 境中的逻辑机并建一个新的通用逻辑............................................... 26 NSX Edge 配置................................................................................................ 33 RegionB0 置区域ID ............................................................................... 42 RegionB0_Perimeter_GW 上配置 BGP 筛选...................................................... 49 在通用逻辑路由器 RegionA0 上启用 BGP ................................................................... 57 在通用逻辑路由器 RegionB0 上启用 BGP ................................................................... 66 验证应........................................................................................................... 74 建通用分布式防火墙规则 ........................................................................................ 77 1 总结 ........................................................................................................ 114 2 - Site Recovery Manager 配置 ......................................................................... 115 元指............................................................................................................... 116 为应Site Recovery Manager 护组 ............................................................ 119 配置网映射 ......................................................................................................... 120 文件映射 ............................................................................................................ 128 源映射 ............................................................................................................... 132 占位数据存......................................................................................................... 135 建保护组 ............................................................................................................ 139 建恢复计......................................................................................................... 153 用故障移和测试 ............................................................................................... 162 请检查3 层应用的接情况 .................................................................................. 170 Edge ..................................................................................................... 178 运行恢复计划以站点行故障......................................................................... 181 接到 3 层应..................................................................................................... 193 2 总结 ........................................................................................................ 196 HOL-1725-USE-2 Page 1 HOL-1725-USE-2

Upload: hoangduong

Post on 28-Jan-2017

227 views

Category:

Documents


0 download

TRANSCRIPT

  • Table of Contents - HOL-1725-USE-2 - VMware NSX VMware Site RecoveryManager............................................................................................................................ 2

    ................................................................................................................... 3 ................................................................................................................... 4

    1 - NSX ........................................................ 9 ................................................................................................................. 10 ................................................................................................................. 11 vCenter ................................................................................................... 17 NSX Manager .......................................................................................... 19 ................................................................................................ 21 .............................................................................................. 22 ............................................... 26 NSX Edge ................................................................................................ 33 RegionB0 ID ............................................................................... 42 RegionB0_Perimeter_GW BGP ...................................................... 49 RegionA0 BGP................................................................... 57 RegionB0 BGP................................................................... 66........................................................................................................... 74 ........................................................................................ 77 1 ........................................................................................................ 114

    2 - Site Recovery Manager ......................................................................... 115 ............................................................................................................... 116 Site Recovery Manager ............................................................ 119......................................................................................................... 120 ............................................................................................................ 128 ............................................................................................................... 132......................................................................................................... 135 ............................................................................................................ 139......................................................................................................... 153 ............................................................................................... 162 3 .................................................................................. 170 Edge ..................................................................................................... 178 ......................................................................... 181 3 ..................................................................................................... 193 2 ........................................................................................................ 196

    HOL-1725-USE-2

    Page 1HOL-1725-USE-2

  • - HOL-1725-USE-2- VMware NSX VMware Site

    Recovery Manager

    HOL-1725-USE-2

    Page 2HOL-1725-USE-2

  • IT VMware Site Recovery Manager (SRM) vSphere Replication Site Recovery Manager SiteRecovery Manager VLAN (dvPG) NSX

    NSX L2 NSX API (RPO) (RTO) NSX Site Recovery Manager (DFW) NSX

    NSX 6.2 vCenter NSX NSX vCenter NSX / vRO NSX

    vCenter NSX (L2L3DFW)/ IP

    HOL-1725-USE-2

    Page 3HOL-1725-USE-2

  • 90 HOL-1725-SDC-1 NSX

    vCenter NSX Manager NSX Edge

    NSX Site Recovery Manager Site Recovery Manager NSX NSX

    1. HOL-1703-SDC-1 NSX 2. HOL-1725-SDC-1 NSX Advanced Consumption

    NSX Site Recovery Manager Web 3 NSX Site Recovery Manager Site RecoveryManager NSX 1 2 2 Site Recovery Manager FastFailover.ps1 PowerShell

    Site Recovery Manager FastForward

    1 - NSX Site Recovery Manager -45 ID

    2 - Site Recovery Manager45 SiteRecovery Manager

    1-2 - Dev Sharma

    HOL-1725-USE-2

    Page 4HOL-1725-USE-2

  • [http://docs.hol.pub/HOL-2017]

    http://docs.hol.vmware.com/announcements/nee-default-language.pdf

    1. 2.

    3. 90 EXTEND VMware 30 15 VMware 9 30

    HOL-1725-USE-2

    Page 5HOL-1725-USE-2

    cme-export/hol-1725-use-2_pdf_en/[http:/docs.hol.pub/HOL-2017]http://docs.hol.vmware.com/announcements/nee-default-language.pdf
  • (CLI)

    1. Windows

    @@ Shift 2

    1. 2. Shift

    HOL-1725-USE-2

    Page 6HOL-1725-USE-2

  • @

    1. @

    @

    Chrome

    Chrome

    Ready 5 Ready

    HOL-1725-USE-2

    Page 7HOL-1725-USE-2

  • Chrome

    Windows

    Internet Microsoft

    VMware Microsoft Internet Windows Internet

    HOL-1725-USE-2

    Page 8HOL-1725-USE-2

  • 1 - NSX

    HOL-1725-USE-2

    Page 9HOL-1725-USE-2

  • NSX ManagervCenter Edge RegionB01 ID BGP Edge

    HOL-1725-USE-2

    Page 10HOL-1725-USE-2

  • 1 2

    HOL-1725-USE-2

    Page 11HOL-1725-USE-2

  • vSphere (DVS) VTEP IP

    RegionA01-MGMT01 RegionA01-COMP01 vCenter Server A(vcsa-01a.corp.local)

    RegionB01-COMP01 vCenter Server B (vcsa-01b.corp.local)

    vCenter A01 Platform Services Controller(psc-01a.corp.local)

    NSX (TZ)

    RegionA0_TZ TZ vCenter A A01 TZ

    Universal_TZ TZ vCenter TZ

    HOL-1725-USE-2

    Page 12HOL-1725-USE-2

  • HOL-1725-USE-2

    Page 13HOL-1725-USE-2

  • NSX

    Web_Tier_ULSApp_Tier_ULS DB_Tier_ULS RegionA01_Transit RegionB01_Transit

    3 (UDLR) NSX Edge (ESG)BGP ESG vSphere Replication 3 Site Recovery Manager

    ID UDLR ESG iBGP BGP

    HOL-1725-USE-2

    Page 14HOL-1725-USE-2

  • Web

    HOL-1725-USE-2

    Page 15HOL-1725-USE-2

  • HOL-1725-USE-2

    Page 16HOL-1725-USE-2

  • vCenter vCenter Server vCenter Server vSphere Web Client NSX vSphere Web Client

    vSphere Web Client Hosts and Clusters

    Chrome vCenter

    1. Home2. Hosts and Clusters

    HOL-1725-USE-2

    Page 17HOL-1725-USE-2

  • vCenter Server

    vCenter Server

    HOL-1725-USE-2

    Page 18HOL-1725-USE-2

  • NSX Manager NSX Manager A0 NSX Manager B0 NSX Manager

    Networking Security

    1. Home2. Networking Security

    HOL-1725-USE-2

    Page 19HOL-1725-USE-2

  • Installation

    1. Installation

    NSX Manager

    NSX Manager Installation NSX Manager NSX Manager

    HOL-1725-USE-2

    Page 20HOL-1725-USE-2

  • NSX NSX vCenter Server NSX Manager

    NSX Manager

    NSX Controller nodesNSX Controller NSX Managercontroller-1controller-2 controller-3 NSX ManagerPeers

    NSX Manager

    NSX Controller controller-1controller-2 controller-3 NSX Manager

    HOL-1725-USE-2

    Page 21HOL-1725-USE-2

  • Logical Network Preparation

    NSX Manager ID

    ID ID vCenter NSX Manager ID

    1. Logical Network Preparation2. NSX Manager3. Segment ID ID4. Segment ID pool ID 5. Universal Segment ID pool ID

    NSX Manager

    NSX Manager

    1. NSX Manager2. 192.168.210.42(Role:Secondary)192.168.210.42 []

    HOL-1725-USE-2

    Page 22HOL-1725-USE-2

  • NSX Manager ID

    NSX Manager ID NSX Manager ID ID NSX Manager

    1. NSX Manager ID NSX Manager ID 2. ID

    HOL-1725-USE-2

    Page 23HOL-1725-USE-2

  • vCenter Server vCenter Server

    1. Transport Zones2. Universal_TZ3. Connect Clusters4. RegionB01-COMP01Normal

    NSX Manager Universal_TZ RegionA01-COMP01RegionA01-MGMT01Normal

    HOL-1725-USE-2

    Page 24HOL-1725-USE-2

  • HOL-1725-USE-2

    Page 25HOL-1725-USE-2

  • ULS

    NSX Manager

    5

    1. Logical Switches2. 192.168.110.15(Role:Primary)192.168.110.15 []3. 5

    ID ID

    HOL-1725-USE-2

    Page 26HOL-1725-USE-2

  • NSX Manager

    NSX Manager NSX Manager ID ID

    1. 192.168.210.42(Role:Secondary)192.168.210.42 []2. NSX Manager

    ID NSX Manager

    1. NSX Manager192.168.110.15(Role:Primary)192.168.110.15 []

    HOL-1725-USE-2

    Page 27HOL-1725-USE-2

  • NSX Manager NSX ManagerNSX Manager

    1.

    HOL-1725-USE-2

    Page 28HOL-1725-USE-2

  • 1. NSX_ULS2. Change

    HOL-1725-USE-2

    Page 29HOL-1725-USE-2

  • 1. Universal_TZ2. OK3. OK

    HOL-1725-USE-2

    Page 30HOL-1725-USE-2

  • NSX_ULS Universal_TZ ID ID NSX Manager

    HOL-1725-USE-2

    Page 31HOL-1725-USE-2

  • 1. 192.168.110.15(Role:Primary)192.168.110.15 []2. NSX_ULS3. 192.168.210.42(Role:Secondary)192.168.210.42 []4. NSX_ULS

    HOL-1725-USE-2

    Page 32HOL-1725-USE-2

  • NSX Edge NSX Edge NSX Edge BGP (ECMP) NSX Edge (UDLR) ULS ESG ECMP UDLR

    HOL-1725-USE-2

    Page 33HOL-1725-USE-2

  • ESG UDLR ESG ESG UDLR UDLR ESGESG UDLR

    1. RegionA0 RegionA0 ESG 2. RegionB0 RegionB0 ESG 3. UDLR

    RegionA0_Perimeter_GW ESG

    HOL-1725-USE-2

    Page 34HOL-1725-USE-2

  • 1. NSX Edges(NSX Edge) 2. 192.168.110.15(Role:Primary)192.168.110.15 []3. RegionA0_Perimeter_GWESG

    HOL-1725-USE-2

    Page 35HOL-1725-USE-2

  • 1. Manage2. Settings3. Interfaces

    vNIC0 RegionA0 VLAN ESXi-RegionA01-vDS-COMP

    vNIC1 RegionA0_Transit RegionA0_Transit UDLR

    HOL-1725-USE-2

    Page 36HOL-1725-USE-2

  • ECMP BGP ESG

    1. Routing2. ECMP BGP 3. BGP4.

    ESG 192.168.100.1 192.168.5.3ULDR

    HOL-1725-USE-2

    Page 37HOL-1725-USE-2

  • HOL-1725-USE-2

    Page 38HOL-1725-USE-2

  • NSX Manager

    NSX Manager RegionB0_Perimeter_GW

    1. NSX Edges2. 192.168.210.42(Role:Secondary)192.168.210.42 []

    RegionB0_Perimeter_GW NSX Edges NSX Manager

    1. 192.168.110.15(Role: Primary)192.168.110.15 []2. Universal_DLR_01

    HOL-1725-USE-2

    Page 39HOL-1725-USE-2

  • UDLR

    UDLR

    1. Manage2. Settings3. Configuration

    ULDR

    RegionA01 UDLR

    UDLR

    1. Interfaces2.

    HOL-1725-USE-2

    Page 40HOL-1725-USE-2

  • 2 RegionA0_Uplink NSX Manager UDLR RegionB0_Uplink NSX Manager UDLR NSX ManagerUDLR UDLR NSX Manager NSX Manager UDLR NSX Edges NSX Manager

    HOL-1725-USE-2

    Page 41HOL-1725-USE-2

  • RegionB0 ID RegionB0 ID RegionA0 ID ID

    ID ID ULDR

    HOL-1725-USE-2

    Page 42HOL-1725-USE-2

  • Networking Security

    1. Home2. Networking Security

    HOL-1725-USE-2

    Page 43HOL-1725-USE-2

  • Installation

    NSX Edge

    1. Installation

    RegionB0 ID

    1. Host Preparation2. NSX Manager3. 192.168.210.42(Role:Secondary)192.168.210.42 []

    HOL-1725-USE-2

    Page 44HOL-1725-USE-2

  • Change Locale ID ID

    1. Installation Status2. Change Locale ID ID

    ID

    HOL-1725 Use 2- VMware Multi-Site NSX with DR andSRM.txt

    1.

    HOL-1725-USE-2

    Page 45HOL-1725-USE-2

  • A ID

    1. A ID

    HOL-1725-USE-2

    Page 46HOL-1725-USE-2

  • ID

    1. Ctrl2. CCopy

    HOL-1725-USE-2

    Page 47HOL-1725-USE-2

  • ID

    Locale ID ID

    CTRLVPaste ID

    1. OK

    RegionA0 RegionB0 UDLR Edge Gateway

    HOL-1725-USE-2

    Page 48HOL-1725-USE-2

  • RegionB0_Perimeter_GW BGP

    (RegionB0) BGP Web DB RegionB0

    NSX Edges

    1. NSX Edges

    HOL-1725-USE-2

    Page 49HOL-1725-USE-2

  • RegionB0_Perimeter_GW

    1. RegionB0_Perimeter_GW

    HOL-1725-USE-2

    Page 50HOL-1725-USE-2

  • Routing

    1. Manage2. Routing

    HOL-1725-USE-2

    Page 51HOL-1725-USE-2

  • BGP

    1. BGP2. 192.168.200.13. Edit

    HOL-1725-USE-2

    Page 52HOL-1725-USE-2

  • BGP

    1. BGP FiltersBGP add

    HOL-1725-USE-2

    Page 53HOL-1725-USE-2

  • 1. DirectionOut2. ActionDeny3. Network 172.16.10.0/244. OK

    172.16.20.0/24 172.16.30.0/24 1-4

    HOL-1725-USE-2

    Page 54HOL-1725-USE-2

  • +

    1. ActionPermit2. Network 192.168.200.0/243. OK

    HOL-1725-USE-2

    Page 55HOL-1725-USE-2

  • 1. 2. OK

    1. Publish Changes

    Edge GW BGP 172.16.10.0/24172.16.20.0/24 172.16.30.0/24

    HOL-1725-USE-2

    Page 56HOL-1725-USE-2

  • RegionA0 BGP BGP

    NSX Edges

    1. NSX Edges

    NSX Manager

    1. NSX Manager2. 192.168.110.15(Role:Primary)192.168.110.15 []

    HOL-1725-USE-2

    Page 57HOL-1725-USE-2

  • UDLR

    1. Universal_DLR_01

    UDLR

    1. Manage2. Routing

    HOL-1725-USE-2

    Page 58HOL-1725-USE-2

  • ID ID IP

    1. Edit2. RegionA0_Uplink ID3. OK

    HOL-1725-USE-2

    Page 59HOL-1725-USE-2

  • 1. Publish Changes

    BGP ULDR

    1. BGP2. BGP ConfigurationBGP Edit

    BGP

    BGP (AS) ESGDLR ULDRAS

    1. Enable BGP BGP2. 65001Local AS AS

    HOL-1725-USE-2

    Page 60HOL-1725-USE-2

  • 3. OK

    HOL-1725-USE-2

    Page 61HOL-1725-USE-2

  • RegionA0_Perimeter_GW IP RegionA0_Perimeter_GW IP Universal_DLR RegionA0 IP IP RegionA0_Perimeter_GW ESG BGP

    1. Neighbors2. IP AddressIP 192.168.5.13. Forwarding Address 192.168.5.24. Protocol Address 192.168.5.35. Remote AS AS 65001

    6. OK

    HOL-1725-USE-2

    Page 62HOL-1725-USE-2

  • 1. Publish Changes

    ULDR BGP

    1. Route Redistribution2. Edit

    HOL-1725-USE-2

    Page 63HOL-1725-USE-2

  • BGP

    1. OSPF2. BGP3. OK

    OSPF

    HOL-1725-USE-2

    Page 64HOL-1725-USE-2

  • BGP

    BGP

    1. Route Redistribution tableAdd2. BGPLearner Protocol3. Allow learning fromConnected4. OK

    1. Publish Changes

    RegionA0 UDLR RegionA0 Edge GW iBGP

    HOL-1725-USE-2

    Page 65HOL-1725-USE-2

  • RegionB0 BGP BGP

    UDLR

    NSX Edges RegionB0 UDLR

    1. NSX Edges2. NSX Manager3. 192.168.210.42(Role:Secondary)192.168.210.42 []

    Universal_DLR_01

    1. Universal_DLR_01

    HOL-1725-USE-2

    Page 66HOL-1725-USE-2

  • 1. Manage2. Routing3. Global Configuration

    HOL-1725-USE-2

    Page 67HOL-1725-USE-2

  • ID ID IP Dynamic Routing

    1. Dynamic Routing ConfigurationEdit2. RegionB0_Uplink ID3. OK

    1. Publish Changes

    HOL-1725-USE-2

    Page 68HOL-1725-USE-2

  • BGP ULDR

    BGP RegionB0_Perimeter_GW

    1. BGP2. BGP ConfigurationBGP Edit

    BGP

    BGP (AS) ESGDLR ULDRAS

    1. Enable BGP BGP2. 65011Local AS AS3. OK

    HOL-1725-USE-2

    Page 69HOL-1725-USE-2

  • RegionA0_Perimeter_GW IP RegionA0_Perimeter_GW IP Universal_DLR RegionA0 IP IP RegionA0_Perimeter_GW ESG BGP

    1. NeighbourAdd2. IP AddressIP 192.168.5.93. Forwarding Address 192.168.5.104. Protocol Address 192.168.5.115. Remote AS AS 65011

    6. OK

    HOL-1725-USE-2

    Page 70HOL-1725-USE-2

  • 1. Publish Changes

    ULDR BGP

    1. Route Redistribution2. Edit

    HOL-1725-USE-2

    Page 71HOL-1725-USE-2

  • BGP

    1. OSPF2. BGP3. OK

    OSPF

    HOL-1725-USE-2

    Page 72HOL-1725-USE-2

  • BGP

    BGP

    1. Add2. BGPLearner Protocol3. Connected4. OK

    1. Publish Changes

    RegionB0 UDLR RegionB0 Edge GW iBGP

    HOL-1725-USE-2

    Page 73HOL-1725-USE-2

  • RegionA0 3

    1. Chrome Web

    3

    1. New Tab2. Customer_DB_App

    HOL-1725-USE-2

    Page 74HOL-1725-USE-2

  • Hands on Labs Multi Tier Application

    ping

    HOL-1725-USE-2

    Page 75HOL-1725-USE-2

  • ping

    ping

    1. ping 172.16.10.112. ping 172.16.20.113. ping 172.16.30.11

    ping

    HOL-1725-USE-2

    Page 76HOL-1725-USE-2

  • Customer_DB_App IP IP MAC MAC vCenter

    vSphere Web Client

    vSphere Web Client

    1. vSphere Web Client

    HOL-1725-USE-2

    Page 77HOL-1725-USE-2

  • Networking Security

    Networking Security

    1. Home2. Networking Security

    HOL-1725-USE-2

    Page 78HOL-1725-USE-2

  • NSX Manager

    1. NSX Managers

    HOL-1725-USE-2

    Page 79HOL-1725-USE-2

  • NSX Manager

    1. NSX Manager192.168.110.15

    IP

    1. Manage2. IP SetsIP

    HOL-1725-USE-2

    Page 80HOL-1725-USE-2

  • IP

    1. Add

    HOL-1725-USE-2

    Page 81HOL-1725-USE-2

  • IP

    1. IP Web-Tier2. IP 172.16.10.0/243. Mark this object for Universal Synchronization4. OK

    1-4 IP 172.16.20.0/24 172.16.30.0/24

    HOL-1725-USE-2

    Page 82HOL-1725-USE-2

  • NSX Manager IP

    NSX manager IP NSX manager NSX Manager NSX Manager IP

    1. 192.168.210.422. Web-TierWeb App-TierDB-TierIP

    HOL-1725-USE-2

    Page 83HOL-1725-USE-2

  • Firewall

    Distributed Firewall Configuration

    1. NSX ManagersNetworking Security

    2. Firewall

    NSX Manager NSX Manager

    1. Default Section Layer3 (Rule 1-3) 3 [ 1-3]AddSection

    HOL-1725-USE-2

    Page 84HOL-1725-USE-2

  • 1. Three Tier App2. Mark this section for Universal Synchronization

    1. Add Rule

    HOL-1725-USE-2

    Page 85HOL-1725-USE-2

  • Three Tier App

    1. Three Tier App (Rule 1)Three Tier App [ 1]

    Web

    http Web

    1. Edit

    1. Inbound Web Server2. Save

    HOL-1725-USE-2

    Page 86HOL-1725-USE-2

  • Sourceany IP

    1. DestinationEdit

    Object TypeSecurityGroup

    1. Object Type2. Security Group

    HOL-1725-USE-2

    Page 87HOL-1725-USE-2

  • Security GroupObject TypeAvailableObjectsNew Security Group

    1. New Security Group

    HOL-1725-USE-2

    Page 88HOL-1725-USE-2

  • Add Security Group

    1. NameWeb-USGNext2. Select objects to include

    HOL-1725-USE-2

    Page 89HOL-1725-USE-2

  • IP

    1. Object Type2. IP SetsIP

    HOL-1725-USE-2

    Page 90HOL-1725-USE-2

  • Web IP

    IP Available Objects

    1. Web-TierWeb 2. Web-TierWeb Selected Objects3. Finish Web-USG

    HOL-1725-USE-2

    Page 91HOL-1725-USE-2

  • Web-USG

    1. OK

    DestinationWeb-USG

    HOL-1725-USE-2

    Page 92HOL-1725-USE-2

  • 1. ServicesEdit

    1. http2. HTTPHTTPSSelected Objects

    3. OK

    Web

    1. Inbound Web

    HOL-1725-USE-2

    Page 93HOL-1725-USE-2

  • 2. Add Below

    1. NameEdit

    1. Web to App2. Save

    HOL-1725-USE-2

    Page 94HOL-1725-USE-2

  • Source

    1. Edit

    Web-USG

    Web-USG App-USG

    1. Object TypeSecurity Group2. Web-USGWeb-USGSelected Objects3. OK

    HOL-1725-USE-2

    Page 95HOL-1725-USE-2

  • 1. DestinationEdit

    Source App Tier Security Group

    IP

    1. Object Type2. Security Group

    HOL-1725-USE-2

    Page 96HOL-1725-USE-2

  • Security GroupObject TypeAvailableObjectsNew Security Group

    1. New Security Group

    HOL-1725-USE-2

    Page 97HOL-1725-USE-2

  • Add Security Group

    1. Name App-USGNext2. Select objects to include

    IP App-Tier

    1. Object Type2. IP SetsIP

    HOL-1725-USE-2

    Page 98HOL-1725-USE-2

  • IP set App-Tier IP App-Tier

    IP Available Objects

    1. App-Tier2. App-TierSelected Objects3. Finish App-USG

    HOL-1725-USE-2

    Page 99HOL-1725-USE-2

  • 1. OK

    1. ServiceEdit

    HOL-1725-USE-2

    Page 100HOL-1725-USE-2

  • Tomcat

    1. Tomcat2. Tomcat3. 4. OK

    HOL-1725-USE-2

    Page 101HOL-1725-USE-2

  • 2

    1. Web to App2. Add Below

    1. NameEdit

    1. App to DB2. Save

    HOL-1725-USE-2

    Page 102HOL-1725-USE-2

  • 1. Edit

    App-USG

    1. Object TypeSecurity Group2. App-USGApp-USG App-USG Selected Objects

    3. OK

    HOL-1725-USE-2

    Page 103HOL-1725-USE-2

  • 1. Edit

    1. Object Type2. Security Group

    HOL-1725-USE-2

    Page 104HOL-1725-USE-2

  • DB-Tier

    Security GroupObject TypeAvailableObjectsNew Security Group

    1. New Security Group

    HOL-1725-USE-2

    Page 105HOL-1725-USE-2

  • Add Security Group

    1. Name DB-USGNext2. Select objects to include

    HOL-1725-USE-2

    Page 106HOL-1725-USE-2

  • IP DB-Tier

    IP Available Objects

    1. DB-Tier2. DB-TierSelected Objects3. Finish DB-USG

    HOL-1725-USE-2

    Page 107HOL-1725-USE-2

  • 1. OK

    1. ServiceEdit

    MySQL

    1. MySQL

    HOL-1725-USE-2

    Page 108HOL-1725-USE-2

  • 2. MySQL3. Add4. OK

    HOL-1725-USE-2

    Page 109HOL-1725-USE-2

  • 3

    1. App to DB2. Add Below

    1. DefaultRule Name2. Save

    HOL-1725-USE-2

    Page 110HOL-1725-USE-2

  • 1. ActionEdit

    1. ActionReject2. Save

    1. Publish Changes

    HOL-1725-USE-2

    Page 111HOL-1725-USE-2

  • 1. New Tab2. Customer_DB_App

    Hands on Labs Multi Tier Application

    ping

    ping

    ping

    HOL-1725-USE-2

    Page 112HOL-1725-USE-2

  • 1. ping 172.16.10.112. ping 172.16.20.113. ping 172.16.30.11

    ping

    HOL-1725-USE-2

    Page 113HOL-1725-USE-2

  • 1 NSX IDUDLR //

    1

    1 2 Site RecoveryManager How to End Lab

    NSX vC URLCross-vCenterInstallation GuideCross-vCenter

    https://communities.vmware.com/docs/DOC-32552

    1-2 - Dev Sharma

    END

    HOL-1725-USE-2

    Page 114HOL-1725-USE-2

    https://communities.vmware.com/docs/DOC-32552
  • 2 - Site RecoveryManager

    HOL-1725-USE-2

    Page 115HOL-1725-USE-2

  • Site Recovery Manager

    1 2

    1 Site Recovery Manager

    HOL-1725-USE-2

    Page 116HOL-1725-USE-2

  • Site Recovery Manager FastForward

    2 1

    1. Site Recovery Manager FastForward.ps12. Run with PowerShell PowerShell

    NSX

    1. RegionB0 ID2. BGP 3. 4. 5. IP 6. 7.

    HOL-1725-USE-2

    Page 117HOL-1725-USE-2

  • HOL-1725-USE-2

    Page 118HOL-1725-USE-2

  • Site Recovery Manager Web Site Recovery Manager vSphere Replication B

    Site Recovery

    1. Home2. Site Recovery

    HOL-1725-USE-2

    Page 119HOL-1725-USE-2

  • Site Recovery Manager

    NSX A B

    1. Sites

    HOL-1725-USE-2

    Page 120HOL-1725-USE-2

  • Site A Network Mappings A

    1. vcsa-01a-corp.local(RegionA0 vCenter)2. Manage3. Network Mappings4. Add New Mapping

    HOL-1725-USE-2

    Page 121HOL-1725-USE-2

  • Create Network Mapping

    1. Prepare Mappings Manually2. Next

    HOL-1725-USE-2

    Page 122HOL-1725-USE-2

  • 1. vDSRegionA0 RegionA01-vDS-COMP vDSRegionB0 RegionB01-vDS-COMP vDS

    VXLAN VXLAN ID

    1. A 2. B ID 1 3. ID4. Add Mappings

    1-4ID 2 3

    NEXT

    Web_Tier_ULS App_Tier_ULS DB_Tier_ULS Web ID

    HOL-1725-USE-2

    Page 123HOL-1725-USE-2

  • ID 1 Web_Tier_ULS

    ID 2 App_Tier_ULS

    ID 3 DB_Tier_ULS

    HOL-1725-USE-2

    Page 124HOL-1725-USE-2

  • 1. 2. Next

    HOL-1725-USE-2

    Page 125HOL-1725-USE-2

  • Select Test networks

    1. Next

    HOL-1725-USE-2

    Page 126HOL-1725-USE-2

  • Prepare Reverse Mappings

    1. Finish

    HOL-1725-USE-2

    Page 127HOL-1725-USE-2

  • Site Recovery Manager

    1. Folder Mappings2. New Folder Mappings

    HOL-1725-USE-2

    Page 128HOL-1725-USE-2

  • 1. Create Folder MappingPrepare MappingsManually

    2. Next

    HOL-1725-USE-2

    Page 129HOL-1725-USE-2

  • Prepare Mappings

    1. Region-A012. Region-B013. Add Mappings4. Next

    HOL-1725-USE-2

    Page 130HOL-1725-USE-2

  • 1. Finish

    HOL-1725-USE-2

    Page 131HOL-1725-USE-2

  • 1. Resource Mappings2. New Resource Mapping

    HOL-1725-USE-2

    Page 132HOL-1725-USE-2

  • 1. Region_A02. Region_B03. RegionA01-COMP01

    RegionB0 RegionB0-COMP01

    4. Add Mappings4. RegionA01-COMP-01 RegionB01-COMP015. Next

    HOL-1725-USE-2

    Page 133HOL-1725-USE-2

  • 1. Finish

    HOL-1725-USE-2

    Page 134HOL-1725-USE-2

  • Site Recovery Manager

    1. vcsa-01a.corp.local 2. Placeholder Datastores3. +

    HOL-1725-USE-2

    Page 135HOL-1725-USE-2

  • 1. RegionA01-ISCSI01-COMP012. OK

    HOL-1725-USE-2

    Page 136HOL-1725-USE-2

  • RegionB01

    1. Sitesvcsa-01b.corp.local2. Placeholder Datastores3.

    HOL-1725-USE-2

    Page 137HOL-1725-USE-2

  • 1. RegionB01-ISCSI01-COMP012. OK

    HOL-1725-USE-2

    Page 138HOL-1725-USE-2

  • 3 Web

    Site Recovery

    1. NavigatorSite Recovery

    HOL-1725-USE-2

    Page 139HOL-1725-USE-2

  • 1. Protection Groups

    HOL-1725-USE-2

    Page 140HOL-1725-USE-2

  • Web

    1. Objects2.

    HOL-1725-USE-2

    Page 141HOL-1725-USE-2

  • 1. NameWeb Server2. Next

    HOL-1725-USE-2

    Page 142HOL-1725-USE-2

  • 1. vcsa-01a-corp.local - vcsa-01b.corp.local2. Individual VM's (vSphere Replication) [vSphere Replication]3. Next

    HOL-1725-USE-2

    Page 143HOL-1725-USE-2

  • 1. Web-01a2. Next

    HOL-1725-USE-2

    Page 144HOL-1725-USE-2

  • 1. Finish

    HOL-1725-USE-2

    Page 145HOL-1725-USE-2

  • 2-3 vSphere Refresh

    1. Web ServerProtection StatusOKRecovery StatusREADY

    2. BackSite Recovery

    App and DB

    HOL-1725-USE-2

    Page 146HOL-1725-USE-2

  • 1. Objects2.

    HOL-1725-USE-2

    Page 147HOL-1725-USE-2

  • 1. Name App and DB2. Next

    HOL-1725-USE-2

    Page 148HOL-1725-USE-2

  • 1. vcsa-01a-corp.local - vcsa-01b.corp.local2. Individual VM's (vSphere Replication) [vSphere Replication]3. Next

    HOL-1725-USE-2

    Page 149HOL-1725-USE-2

  • 1. app-01a and db-01a 2. Next

    HOL-1725-USE-2

    Page 150HOL-1725-USE-2

  • App and DB

    1. Finish

    HOL-1725-USE-2

    Page 151HOL-1725-USE-2

  • 2-3 vSphere Refresh

    1. App and DBProtection StatusOKRecovery StatusREADY

    2. BackSite Recovery

    HOL-1725-USE-2

    Page 152HOL-1725-USE-2

  • Web

    Site Recovery

    1. Site Recovery

    HOL-1725-USE-2

    Page 153HOL-1725-USE-2

  • 1. Recovery Plans

    HOL-1725-USE-2

    Page 154HOL-1725-USE-2

  • 1. Objects2. New Recovery Plan

    HOL-1725-USE-2

    Page 155HOL-1725-USE-2

  • 1. Web2. Next

    HOL-1725-USE-2

    Page 156HOL-1725-USE-2

  • 1. vcsa-01b.corp.local2. Next

    HOL-1725-USE-2

    Page 157HOL-1725-USE-2

  • 1. Web Server2. Next

    HOL-1725-USE-2

    Page 158HOL-1725-USE-2

  • Test Networks

    1. Next

    HOL-1725-USE-2

    Page 159HOL-1725-USE-2

  • 1. Finish

    App and DBApp and DBvcsa01b.corp.local

    HOL-1725-USE-2

    Page 160HOL-1725-USE-2

  • Web Site Recovery Manager NSX

    HOL-1725-USE-2

    Page 161HOL-1725-USE-2

  • Web RegionA01 RegionB01Site Recovery Manager RegionA0_Perimeter_GW REST API

    Site Recovery

    1. Home2. Site Recovery

    HOL-1725-USE-2

    Page 162HOL-1725-USE-2

  • Recovery Plans

    1. Recovery Plans

    HOL-1725-USE-2

    Page 163HOL-1725-USE-2

  • Web

    1. Web

    HOL-1725-USE-2

    Page 164HOL-1725-USE-2

  • Web

    1. Monitor2. Recovery Steps

    HOL-1725-USE-2

    Page 165HOL-1725-USE-2

  • Web

    1.

    HOL-1725-USE-2

    Page 166HOL-1725-USE-2

  • Web Web

    1. I understand that this process will permanently alter the virtualmachines......

    2. Planned Migration3. Next

    HOL-1725-USE-2

    Page 167HOL-1725-USE-2

  • 1. Finish

    HOL-1725-USE-2

    Page 168HOL-1725-USE-2

  • 5-6

    HOL-1725-USE-2

    Page 169HOL-1725-USE-2

  • 3 Web RegionB01 Web

    RegionA01 Web

    HOL-1725-USE-2

    Page 170HOL-1725-USE-2

  • 1. Customer_DB_App

    Web RegionB01 IP

    HOL-1725-USE-2

    Page 171HOL-1725-USE-2

  • Firewall

    1. Firewall

    HOL-1725-USE-2

    Page 172HOL-1725-USE-2

  • Primary NSX Manager NSX ManagerThree Tier App

    1. NSX Manager2. 192.168.110.15 (Role Primary)192.168.110.15 []3. Three Tier App

    HOL-1725-USE-2

    Page 173HOL-1725-USE-2

  • 1. 2. Publish Changes

    Web traceroute

    1.

    HOL-1725-USE-2

    Page 174HOL-1725-USE-2

  • traceroute

    1. tracert 172.16.10.11 Enter2. 192.168.110.2 vPOD 192.168.100.3

    RegionA0_Perimeter_GW 192.168.5.2Universal_DLR01

    traceroute

    3. tracert 172.16.20.11 Enter

    Web RegionB0 Web

    HOL-1725-USE-2

    Page 175HOL-1725-USE-2

  • Hosts and Clusters

    1. Home2. Hosts and Clusters

    HOL-1725-USE-2

    Page 176HOL-1725-USE-2

  • Web

    Edge

    HOL-1725-USE-2

    Page 177HOL-1725-USE-2

  • Edge RegionA0_Perimeter_GW

    1. 2. Edge 3. 4. WAN 5. NSX Manager 6. DCI

    URL

    https://communities.vmware.com/docs/DOC-31692

    HOL-1725-USE-2

    Page 178HOL-1725-USE-2

    https://communities.vmware.com/docs/DOC-31692
  • Hosts and Clusters

    1. Home2. Hosts and Clusters

    HOL-1725-USE-2

    Page 179HOL-1725-USE-2

  • Edge

    1. RegionA01_Perimeter_GW2. Power3. Shut Down Guest OS

    HOL-1725-USE-2

    Page 180HOL-1725-USE-2

  • Site Recovery

    1. Home2. Site Recovery

    HOL-1725-USE-2

    Page 181HOL-1725-USE-2

  • Recovery Plans

    1. Recovery Plans

    HOL-1725-USE-2

    Page 182HOL-1725-USE-2

  • App and DB

    1. App and DB

    HOL-1725-USE-2

    Page 183HOL-1725-USE-2

  • 1.

    HOL-1725-USE-2

    Page 184HOL-1725-USE-2

  • 1. I understand that this process will permanently alter the virtual machines andinfrastructure......

    2. Disaster Recovery3. Next

    HOL-1725-USE-2

    Page 185HOL-1725-USE-2

  • 1. Finish

    HOL-1725-USE-2

    Page 186HOL-1725-USE-2

  • 3-5

    Trigger-Failover

    1.

    HOL-1725-USE-2

    Page 187HOL-1725-USE-2

  • Trigger-Failover

    1. Trigger-Failover.ps12. Edit with Notepad++ Notepad++

    HOL-1725-USE-2

    Page 188HOL-1725-USE-2

  • RegionB0 ID ID BGP 3

    HOL-1725-USE-2

    Page 189HOL-1725-USE-2

  • Trigger-Failover.ps1

    1. Trigger-Failover.ps12. Run with PowerShell PowerShell

    HOL-1725-USE-2

    Page 190HOL-1725-USE-2

  • 1.

    HOL-1725-USE-2

    Page 191HOL-1725-USE-2

  • traceroute

    1. tracert 172.16.10.11 Enter

    Web Edge UDLRtraceroute

    HOL-1725-USE-2

    Page 192HOL-1725-USE-2

  • 3

    1. New Tab

    1. Customer_DB_App

    Hands on Labs Multi Tier Application

    HOL-1725-USE-2

    Page 193HOL-1725-USE-2

  • ping

    1.

    ping

    ping

    1. ping 172.16.10.112. ping 172.16.20.113. ping 172.16.30.11

    ping

    HOL-1725-USE-2

    Page 194HOL-1725-USE-2

  • Hosts and Clusters

    Web Region-B01

    RegionB01 IP

    HOL-1725-USE-2

    Page 195HOL-1725-USE-2

  • 2 Site Recovery Manager

    NSX

    Site Recovery Manager HOL-1705-SDC-1 Site Recovery Manager

    2

    2

    1-2 - Dev Sharma

    END

    HOL-1725-USE-2

    Page 196HOL-1725-USE-2

  • ConclusionThank you for participating in the VMware Hands-on Labs. Be sure to visithttp://hol.vmware.com/ to continue your lab experience online.

    Lab SKU: HOL-1725-USE-2

    Version: 20161024-044456

    HOL-1725-USE-2

    Page 197HOL-1725-USE-2

    http://hol.vmware.com/Table of Contents - HOL-1725-USE-2 - VMware NSX VMware Site Recovery Manager @ Chrome 1 - NSX vCenter vSphere Web Client Hosts and Clusters vCenter Server NSX Manager Networking Security Installation NSX Manager NSX Manager NSX Manager NSX Manager ID NSX Manager NSX Manager ID NSX Manager NSX Manager NSX Edge NSX Manager UDLR UDLR RegionB0 ID Networking Security Installation RegionB0 ID Change Locale ID ID ID A ID ID ID RegionB0_Perimeter_GW BGP NSX Edges RegionB0_Perimeter_GW Routing BGP BGP RegionA0 BGP NSX Edges NSX Manager UDLR UDLR BGP ULDR BGP BGP BGP RegionB0 BGP UDLR Universal_DLR_01 BGP ULDR BGP BGP BGP 3 ping ping vSphere Web Client Networking Security NSX Manager NSX Manager IP IP IP NSX Manager IP Firewall Three Tier App Web IP Web IP Web-USG Web Web-USG Source App Tier Security Group IP App-Tier IP set App-Tier IP App-Tier Tomcat App-USG DB-Tier IP DB-Tier MySQL ping ping 1 1 2 - Site Recovery Manager Site Recovery Manager FastForward Site Recovery Manager Site Recovery Site A Network Mappings A RegionB01 Site Recovery Web App and DB Site Recovery Site Recovery Recovery Plans Web Web Web 3 Firewall Primary NSX Manager NSX Manager Three Tier App traceroute Hosts and Clusters Web Edge Hosts and Clusters Edge Site Recovery Recovery Plans App and DBTrigger-Failover Trigger-Failover Trigger-Failover.ps1 traceroute 3 ping ping Hosts and Clusters 2 2 Conclusion