Upload
robert-poma
View
12
Download
0
Tags:
Embed Size (px)
Citation preview
5/20/2018 WorkShop WIN2012
1/79
Workshop paraacadmicos
Bienvenidos!!!
5/20/2018 WorkShop WIN2012
2/79
Administrando SQL Server 2012
SQL PASS PERU
5/20/2018 WorkShop WIN2012
3/79
Speaker Juan Rafael
Consultor de Soluciones Microsoft en INITECH PERU
Lder de comunidad SQL PASS PERU [email protected]
@jlc_rve
mailto:[email protected]:[email protected]:[email protected]5/20/2018 WorkShop WIN2012
4/79
Agenda
Novedades en Windows Server 2012
Hyper V en Windows Server 2012
5/20/2018 WorkShop WIN2012
5/79
Microsoft Official Course
Module 1
Deploying and Managing Windows
5/20/2018 WorkShop WIN2012
6/79
Module Overview
Windows Server 2012 Overview
Overview of Windows Server 2012 Management Installing Windows Server 2012
Post-Installation Configuration of Windows Server 2
Introduction to Windows PowerShell
Active Directory
5/20/2018 WorkShop WIN2012
7/79
Lesson 1: Windows Server 2012 Overv
On Premises Servers
What Is Cloud Computing? Options for Windows Server 2012
What Is Server Core?
Windows Server 2012 Roles
What Are the Features of Windows Server 2012?
5/20/2018 WorkShop WIN2012
8/79
On Premises Servers
ClientsServersResources provided to clients
5/20/2018 WorkShop WIN2012
9/79
What Is Cloud Computing?
Private clouds have a single tenant:
Types of cloud services:
IaaS
PaaS SaaS
Is usually on premises Is highly automated
Uses System Center 2012 to provide automationand self-service
Requires minimal direct configuration once it is setup
Public clouds have multiple tenants
5/20/2018 WorkShop WIN2012
10/79
Options for Windows Server 2012Windows Server 2012 editions:
Windows Server 2012 Standard edition
Windows Server 2012 Enterprise edition
Windows Server 2012 Datacenter edition
Windows Server 2012 Foundation
edition
Windows Web Server 2012 edition
Windows Server 2012 HPC edition
5/20/2018 WorkShop WIN2012
11/79
What Is Server Core?Server Core
Is a more secure, less resource-intensive installation
option Can be converted to the full version of Windows
Server 2012
Is the default installation option for Windows Server2012
Is managed locally using sconfig.cmd
If you enable remote management:
You will rarely need to log on locally
You may not miss the graphic user interface
5/20/2018 WorkShop WIN2012
12/79
Windows Server 2012 Roles
Roles are:
Functions:
Web Server
Domain Controller Certificate Server
Made up of role services components that provideadditional functionality associated with the role
In Server Manager 2012, console servers with asimilar role are grouped together
Role deployment also includes the configuration ofdependencies
Wh A h F f Wi d S
5/20/2018 WorkShop WIN2012
13/79
What Are the Features of Windows Se2012?
Features:
Are components that support the server such as
Windows Server Backup or Failover clustering Usually do not provide a service directly to clients onthe network
Keep in mind the following points:
Roles can have features as dependencies
Features on demand are features that need to beinstalled using mounted image as a source
L 2 O i f Wi d S
5/20/2018 WorkShop WIN2012
14/79
Lesson 2: Overview of Windows ServerManagement What Is Server Manager?
Administrative Tools Demonstration: Using Server Manager
Configuring Services
Configuring Remote Management
5/20/2018 WorkShop WIN2012
15/79
What Is Server Manager?You can use Server Manager to:
Add roles and features
Launch Windows PowerShell sessions
View events
Perform server configuration tasks
Manage multiple servers on a network
from one console
5/20/2018 WorkShop WIN2012
16/79
Administering Servers with Server Man
Using Server Manager, you can:
Manage multiple servers fromone instance of Server Manager
Deploy roles and features toremote servers
Generate Windows PowerShellscripts for actions performed inServer Manager
Group servers
View the status ofall servers from a single location
Determine whether roles on thenetwork are functioningefficiently.
5/20/2018 WorkShop WIN2012
17/79
Adding Roles and Features Remotely deploy roles and features
Add roles and features to virtual hard disks even if the virtualmachine is turned off.
Demonst ation: E plo ing Se e
5/20/2018 WorkShop WIN2012
18/79
Demonstration: Exploring ServerManagement in Windows Server 2012
In this demonstration you will:
Start the Server Manager console.
Add a server role or feature.
View role related events.
Run the Best Practice Analyzer for a role.
List the tools available from Server Manager.
Open the Start Menu.
Log off the currently logged on user.
Restart Windows Server 2012.
Recorded Demo - Configuring Server Manager.wmv
http://localhost/var/www/apps/conversion/tmp/scratch_4/Configuring%20Server%20Manager.wmvhttp://localhost/var/www/apps/conversion/tmp/scratch_4/Configuring%20Server%20Manager.wmv5/20/2018 WorkShop WIN2012
19/79
Lesson 3: Installing Windows Server 20
Installation Methods
Installation Types Hardware Requirements for Windows Server 2012
Installing Windows Server 2012
5/20/2018 WorkShop WIN2012
20/79
Installation MethodsWindows Server 2012 deployment method
options include:
USBmedia
Optical disk
WindowsDeployment
Services
5/20/2018 WorkShop WIN2012
21/79
Installation Types
Hardware Requirements for Windows
5/20/2018 WorkShop WIN2012
22/79
Hardware Requirements for Windows 2012
Windows Server 2012 has the following minimumhardware requirements:
Processor architecture x86-64
Processor speed 1.4 GHz
Memory (RAM) 512 MB
Hard disk drive space 32 GB More hard disk drive space is needed if the
server has more than 16 GB of RAM
5/20/2018 WorkShop WIN2012
23/79
Installing Windows Server 2012
Lesson 4: Post Installation Configurati
5/20/2018 WorkShop WIN2012
24/79
Lesson 4: Post-Installation ConfiguratiWindows Server 2012 Overview of Post-Installation Configuration
Configuring Server Network Settings How to Join the Domain
Performing Offline Domain Join
Activating Windows Server 2012
Configuring a Server Core Installation
5/20/2018 WorkShop WIN2012
25/79
Overview of Post-Installation Configur
5/20/2018 WorkShop WIN2012
26/79
Configuring Server Network Settings
5/20/2018 WorkShop WIN2012
27/79
How to Join the DomainInformation necessary for adomain join:
Domain name Account with
permission to joincomputer to domain
5/20/2018 WorkShop WIN2012
28/79
Performing Offline Domain JoinProcess for performing an offline join:
1. If the user who is performing the offline domain join is not anadministrator, then appropriate rights must be delegated
2. To provision the computer accountobject and create the binary file, run djoin on the domaincontroller
3. Transfer the binary file with domaininformation to client computer systemhard disk drive
4. To load the binary file, in the destination computer, run djoin5. Restart the client computer
Windows Server2012
5/20/2018 WorkShop WIN2012
29/79
Activating Windows Server 2012
fi i ll i
5/20/2018 WorkShop WIN2012
30/79
Configuring a Server Core Installation
Lesson 5: Introduction to Windows
5/20/2018 WorkShop WIN2012
31/79
Lesson 5: Introduction to WindowsPowerShell What Is Windows PowerShell?
Windows PowerShell Cmdlet Syntax Common Cmdlets for Server Administration
What Is Windows PowerShell ISE?
Demonstration: Using Windows PowerShell ISE
Demonstration: Using Windows PowerShell
Wh I Wi d P Sh ll?
5/20/2018 WorkShop WIN2012
32/79
What Is Windows PowerShell?
Wi d P Sh ll C dl t S t
5/20/2018 WorkShop WIN2012
33/79
Windows PowerShell Cmdlet Syntax
Windows PowerShell CmdletSyntax:
Get-Help -NounNounName
Get-Help -VerbVerbName
Help CmdltName Get-Command
C C dl t f S Ad i i t
5/20/2018 WorkShop WIN2012
34/79
Common Cmdlets for Server Administ Service Cmdlets
Use the Service noun
Event Log Cmdlets Use the Eventlog noun
Process Cmdlets
Use the Process noun
ServerManager Module
Allows the WindowsFeature noun
Wh t I Wi d P Sh ll ISE?
5/20/2018 WorkShop WIN2012
35/79
What Is Windows PowerShell ISE?
Demonstration: Using Windows Powe
5/20/2018 WorkShop WIN2012
36/79
Demonstration: Using Windows PoweISE
In this demonstration, you will see how to:
Use Windows PowerShell ISE to import theServerManager module
View the cmdlets made available in the ServerManagerModule
Use the Get-WindowsFeature cmdlet from WindowsPowerShell ISE
Demonstration: Using Windows Powe
5/20/2018 WorkShop WIN2012
37/79
Demonstration: Using Windows PoweIn this demonstration, you will see how to useWindows PowerShell to view:
Running services All service-related commands
All running processes
All process-related commands
Lesson 6: Whats New in Active Directo
5/20/2018 WorkShop WIN2012
38/79
Lesson 6: What s New in Active Directo
Key New Features
Deploying Domain Controllers Virtualization-Safe Technology
Group Managed Service Accounts
Key New Features
5/20/2018 WorkShop WIN2012
39/79
Key New FeaturesNew features of AD DS:
New deployment methods
Simplified administration
Virtualized domain controllers
Active Directory module for PowerShell
Windows PowerShell History Viewer
Active Directory Federated Services
Active Directory Based Activation
Deploying Domain Controllers
5/20/2018 WorkShop WIN2012
40/79
Deploying Domain Controllers All configuration of
domain controllers canbe done through awizard in ServerManager
AD DS binaries can beinstalled usingPowerShell
Dism.exe is morecomplex to use
Dcpromo is onlysupported inUnattended mode
Virtualization Safe Technology
5/20/2018 WorkShop WIN2012
41/79
Virtualization-Safe TechnologyYou can safely clone existing virtual domain controllers by:
Creating a DcCloneConfig.xml file and storing it in the AD DSdatabase location.
Taking the VDC offline and exporting it.
Creating a new virtual machine by importing the exported VDC.
DcCloneConfig.xml to ADDS database location
Export the VDC Import the VDC
Group Managed Service Accounts
5/20/2018 WorkShop WIN2012
42/79
Group Managed Service AccountsGroup Managed Service Accounts provide:
Automatic password and SPN management to multiple serversin a farm
A single identity for services running on a farm
Groupmanagedserviceaccount
Farmserver1
Farmserver2
Farmserver3
Lesson 7: Availability Enhancements
5/20/2018 WorkShop WIN2012
43/79
Lesson 7: Availability Enhancements
Cluster Scalability
File Server High Availability DHCP High Availability
Cluster Aware Updating
Introducing Hyper-V Availability
Cluster Scalability
5/20/2018 WorkShop WIN2012
44/79
Cluster Scalability Clustering is now much
more scalable
Clustering is nowavailable in StandardEdition
File Server High Availability
5/20/2018 WorkShop WIN2012
45/79
File Server High Availability Scale out to provide scalability
Automatic failover to provide availability with zero downtimefailovers
CSV
Scale-Out File Servers
DHCP High Availability
5/20/2018 WorkShop WIN2012
46/79
DHCP High Availability DHCP Failover is a new feature in Windows Server 2012
Lease information is replicated between the two DHCP servers.
If one of the DHCP servers fails, then the other DHCP server
services the clients for the whole subnet.
Only IPv4 scopes and subnets are supported because IPv6 uses adifferent IP address assignment scheme.
Cluster Aware Updating
5/20/2018 WorkShop WIN2012
47/79
Cluster Aware Updating One command performs an update on all nodes in turn:
1. Fails over the workload
2. Applies updates
3. Reboots if necessary
4. Fails back the workload
5. Continues to next node
Cluster Updating Modes
Remote-updating mode
Self-updating mode.
Introducing Hyper-V Availability
5/20/2018 WorkShop WIN2012
48/79
Introducing Hyper V Availability Virtual machine monitoring
Live Migration
5/20/2018 WorkShop WIN2012
49/79
Microsoft Official Course
Module 2
Hyper-V in Windows Server 2012
Module Overview
5/20/2018 WorkShop WIN2012
50/79
Module Overview
Storage Enhancements
Whats New in Networking
Introducing Hyper-V Replica
Whats New in Guest Clustering and VM Monitoring
Virtual Machine Movement in Hyper-V
Lesson 1: Storage Enhancements
5/20/2018 WorkShop WIN2012
51/79
Lesson 1: Storage Enhancements
Features of Virtual Hard Disk File Format
Hyper-V over SMB
Offloaded Data Transfer
Features of Virtual Hard Disk File Form
5/20/2018 WorkShop WIN2012
52/79
Features of Virtual Hard Disk File Form Support for virtual hard disk storage capacity of up to 64 TB
Protection against data corruption during power failures
Improved alignment of the virtual hard disk format
Larger block sizes for dynamic and differencing disks
A 4-KB logical sector virtual disk
Store custom metadata
Efficiency in representing data
VHDX
Hyper-V over SMB
5/20/2018 WorkShop WIN2012
53/79
yp
VHDX
Hyper-V Parent 1
File Server Cluster (SMB)
Share 1 Share 2
DISK DISK
Config Child1
Disk VHDX
Hyper-V Parent N
Config Child1
Disk
Single-Node File Server
Offloaded Data Transfer
5/20/2018 WorkShop WIN2012
54/79
Enables copying of large amounts of data from one location toanother
Uses a token-based operation to move data on the storagedevice
Actual Data TransferVirtualDisk
VirtualDisk
Intelligentstorage array
Offloadread
Token TokenOffload
write
Token
Lesson 2: Whats New in Networking
5/20/2018 WorkShop WIN2012
55/79
g
Changes in Hyper-V Networking
Virtual Switches
Hyper-V Network Virtualization
Virtual MAC Addresses
Configuring Virtual Network Adapters
Quality of Service
Changes in Hyper-V Networking
5/20/2018 WorkShop WIN2012
56/79
g yp g DHCP guard
Router Guard
Hyper-V Extensible Switch
Extension monitoring
MAC address
MAC address spoofing
Monitor Port
single root I/O virtualization (SR-IOV)
Virtual Fibre Channel in Hyper-V
MultiPath I/O (MPIO)
Server for NFS data Store
Virtual Switches
5/20/2018 WorkShop WIN2012
57/79
Extensible virtual switch
ISVs can create their own plug-ins
Features
Bandwidth limit and burst support
ENC marking support
Diagnostics
Spoofing protection
DHCP Guard
Trunk mode to a VM
Port ACLs
Network traffic monitoring
Isolated VLAN
Hyper-V Network Virtualization
5/20/2018 WorkShop WIN2012
58/79
yp
Physicalnetwork
Woodgrove VM Contoso VM Woodgrove network Contoso netwo
Hyper-V MachineVirtualization
Run multiple virtual servers ona physical server
Hyper-V Network VirtualizationRun multiple virtual networks on a physical ne
Physicalserver
Switches
Servers
Virtual MAC Addresses
5/20/2018 WorkShop WIN2012
59/79
MAC Address in Hyper-V
Can be manually specified
Can be dynamically assigned within a range
If multiple Hyper-V hosts are hosting virtual machines usingadapters connected to external networks,
Should ensure that each Hyper-V host uses a different pool of MACaddresses
Consider using static MAC addresses for virtual machines whenthose virtual machines are allocated IP addresses through a DHCP
reservation.
Configuring Virtual Network Adapters
5/20/2018 WorkShop WIN2012
60/79
Synthetic and Legacy Adapters support:
MAC address allocation
DHCP Guard
Router Guard
Port Mirroring
NIC Teaming
Synthetic Adapters also support Hardware Acceleration features
Legacy Adapters do not support Hardware Acceleration features
Quality of Service
5/20/2018 WorkShop WIN2012
61/79
Includes bandwidth management features
Delivers predictable network performance
Ensures no customer is impacted by other customers on their
shared infrastructure
Provides a basis for cost charging
Lesson 3: Introducing Hyper-V Replica
5/20/2018 WorkShop WIN2012
62/79
Overview of Hyper-V Replica
How to Configure Hyper-V Replica
Test Failover
Planned Failover
Overview of Hyper-V Replica
5/20/2018 WorkShop WIN2012
63/79
Site A Site B
Primary host
(cluster)
Replica host
(standalone)
How to Configure Hyper-V Replicai
5/20/2018 WorkShop WIN2012
64/79
Requirements
Hardware that supports Hyper-V
Windows Server 2012
Sufficient storage
Sufficient network bandwidth
Setup
Configure Hyper-V servers to accept replication
Enable replication of the VM
Monitoring
Add Replication Health column
Test FailoverT if th d t t th li it
5/20/2018 WorkShop WIN2012
65/79
To verify the data at the replica site:
Test failover
Test workloads
Site B
Replica host
(standalone)
Site A
Primary host
(cluster)
Planned Failover1 Shutdow
5/20/2018 WorkShop WIN2012
66/79
Testing DR or failover before disaster or planned maintenance
Zero data loss, but some downtime
Efficient reverse replication
1. Shutdowprimary
2. Send last
3. Failover t
4. Reversereplicatio
Site B
Replica host
(standalone)
Site A
Primary host
(cluster)
Demonstration: Configuring Hyper-V RIn this demonst ation o ill see ho to config e H pe V
5/20/2018 WorkShop WIN2012
67/79
In this demonstration, you will see how to configure Hyper-VReplica
Recorded Demo Hyper-V Replica.wmv
Lesson 4: Whats New in Guest Clusterand VM Monitoring
http://localhost/var/www/apps/conversion/tmp/scratch_4/Hyper-V%20Replica.wmvhttp://localhost/var/www/apps/conversion/tmp/scratch_4/Hyper-V%20Replica.wmv5/20/2018 WorkShop WIN2012
68/79
and VM Monitoring VM Monitoring Overview
Comparison of Guest Clustering and VM Monitoring
High Availability Printing
VM Monitoring OverviewS f t
5/20/2018 WorkShop WIN2012
69/79
Sequence of recovery steps:
1. Application-level recovery
Service Control Manager (SCM)
2. Guest level HA recovery
Cluster service reboots VM
3. Host-level HA recovery
Cluster service fails over VM to another node
SQL
SAN
Comparison of Guest Clustering and VMonitoring
5/20/2018 WorkShop WIN2012
70/79
Monitoring
VM Monitoring Guest Clustering
Application health monitoring
Proactive application monitoring
Application mobility
Simplified configuration
Event monitoring
High Availability PrintingIn Windows Server 2012 HA Printing:
5/20/2018 WorkShop WIN2012
71/79
In Windows Server 2012, HA Printing:
Enables Print Servers use Live Migration
Can be monitored by Virtual Machine Monitoring
Is easier to deploy and has reduced complexity
Can now be deployed on Server Core
Experiences fewer problems with print devices and drivers thatwere not designed to work in a server cluster
Has simplified backup, restore, and migration features
Lesson 5: Virtual Machine Movement iHyper-V
5/20/2018 WorkShop WIN2012
72/79
yp Importing Virtual Machines
Storage Migration
Live Migration Process
Live Migration by using Shared Storage
Constrained Delegation
Importing Virtual Machines Each VM consists of:
5/20/2018 WorkShop WIN2012
73/79
Each VM consists of:
Virtual hard disks
Snapshots
Saved state of host specific devices
Memory file
Config file
Import Wizard:
Enables you to import either exported or copied VMs
Provides ability to fix common issues during import
Storage Migration Move any part of a running virtual machine
5/20/2018 WorkShop WIN2012
74/79
Move any part of a running virtual machine
VHDs
Config files
Snapshots
Storage migration enables you to:
Perform storage upgrades with no downtime
Respond to I/O bottlenecks
Resolve problems caused by poorly designed storage
Live Migration ProcessMove running virtual machines form one physical host to another
5/20/2018 WorkShop WIN2012
75/79
TCP
Move running virtual machines form one physical host to another
No disruption of service
No perceived downtime
Live Migration by using Shared Storag VMs can now be stored on an SMB 3 share
5/20/2018 WorkShop WIN2012
76/79
You can migrate a VM with the storage remaining on the SMBshare
VHDX
Demonstration: Live Migration In this demonstration, you will see how to perform a Live
5/20/2018 WorkShop WIN2012
77/79
y pMigration of a virtual machine
Recorded Demo - Hyper-V Live Migration.wmv.
Constrained Delegation
http://localhost/var/www/apps/conversion/tmp/scratch_4/Hyper-V%20Live%20Migration.wmvhttp://localhost/var/www/apps/conversion/tmp/scratch_4/Hyper-V%20Live%20Migration.wmv5/20/2018 WorkShop WIN2012
78/79
When using Kerberos to authenticate, scenarios involving 3computers can be problematic:
Log on to desktop, connect to Hyper-V server
Hyper-V server cannot pass your credentials to 3rd computer (e.g. SMBstorage)
Constrained delegation allows credentials to be passed
Configure through Active Directory
VHDX
5/20/2018 WorkShop WIN2012
79/79
WIN2012
Gracias!!!