Kristopher Bash Anurag Gupta BRK2464 Microsoft Linux Your datacenter reality Microsoft gets it You operate Windows workloads You operate Linux workloads You just want them both to run great ID: 623608
Download Presentation The PPT/PDF document "Managing Linux Workloads in Windows Serv..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1Slide2
Managing Linux Workloads in Windows Server, Microsoft System Center and Windows Azure Pack
Kristopher BashAnurag Gupta
BRK2464Slide3
Microsoft
♥
LinuxSlide4
Your datacenter reality
Microsoft “gets it”
You operate Windows workloads
You operate Linux workloads
You just want them both to run great
You want the simplicity of unified systems managementSlide5
Focus of this Session
Traditional
Virtualized
Private Cloud
Public Cloud
Windows
Linux
UNIX
Windows
Linux
UNIX
Windows
Linux
Windows
Linux
Running and managing UNIX and
Linux
In
your datacenter or private
cloud
With
System Center and Hyper-V 2012 R2 Slide6
IntroductionRunning and Deploying
LinuxLinux Integration Services
Virtual Machine Manager
Windows
Azure
Pack
Managing and Monitoring Linux
Configuration Manager
Operations Manager
Automation with DSC
AgendaSlide7
Supported Operating Systems
Linux
UNIX
Red
Hat
SUSE
CentOS
Ubuntu
Debian
Oracle
AIX
HP-UX
Solaris
Operations
Manager
Configuration Manager
Endpoint Protection
No
Plans
Data Protection
Manager
Virtual Machine Manager
Hyper-V
Azure
IaaS
Slide8
Running and Deploying LinuxSlide9
Integration Services (IS): What Are They?
Hyper-V presents synthetic devices to the guest
OS
Synthetic devices seen by the guest OS are the same, regardless of the real hardware under Hyper-V
Guest
OS needs drivers for these synthetic devices
Just like an OS needs drivers for devices it sees when running on real hardware
Integration Services
=
guest OS
drivers for
Hyper-V
They run in the guest OS so must follow the device driver model for that guest OS
Windows IS are different from Linux IS, are different from FreeBSD IS
Linux and FreeBSD integration services also include user-space daemons that interact with the driversSlide10
Key Linux vendors include LIS in their distros
Support
strategy
Vanilla Linux questions: Contact the Linux vendor
Issues running Linux on Hyper-V: Contact the Linux vendor or Microsoft
Linux Integration Services
Distro
Version
LIS Availability
Red Hat
Enterprise Linux
&
CentOS
5.5
-
5.8
6.0 - 6.3
Download LIS from Microsoft. LIS 4.0 now available.
5.9, 5.11
6.4
– 6.6, 7.X
LIS built-in and certified by Red Hat. LIS 4.0 now available as update.
SUSE Linux
Enterprise
Server
11 SP2, 11
SP3, 12
LIS built-in
Ubuntu Server
12.04 -
15.04
LIS built-in
Debian
7.0 – 7.4
LIS built-in
Oracle
Linux (RHCK & UEK)
6.4-6.6, 7.X
LIS built-in and certified by OracleSlide11
Deploying Linux
Virtual Machine ManagerFabric and VM managementAdminister hosts, networks, storageDefine VM and Service Templates
Deploy and manage VMs and Services
Windows Azure Pack
Administrator and Tenant sites
Familiar Microsoft Azure interface
Deploy from gallery of VM Templates and VM Roles
Leverages VMM fabric for Private Cloud Slide12
VHD/VHDX images with a Linux operating systemLinux Integration Services & VMM agent for Linux must be pre-installed in the Linux
OSThe VMM Linux Agent facilitates “sysprep” behavior for Linux VMs
Hardware
profile
MAC address management via VMM managed pools
NIC configuration via DHCP or VMM managed IP address pools & settings
OS
profile UI and cmdlets support Linux-specific data
Hostname and domain suffixRoot password & ssh key
Timezone
“Run Once” command lines
VMM: Linux OS SpecializationSlide13
OS Specialization Architecture
VMM host agent
VMM Server
Agent files
Hyper-V host
❶
VMM server generates Linux specialization doc
BITS
❷
VMM Server creates ISO with specialization doc and Linux agent, and sends to host agent
.xml
HW
config
OS
config
Linux
Integration Services
Linux guest agent
❻
Agent does specialization using doc from DVD, then exits and shuts down VM
.xml
❺
After boot, agent checks for new version on DVD and installs
Library Server
VHD with Linux OS
BITS
❸
Host agent creates VM from Linux VHD and mounts ISO in the virtual DVD drive
❹
Host agent starts VMSlide14
Deploy and manage Linux VMsExpose VMM VM Templates as “Gallery” templates
Linux VM RolesAuthor Linux roles in the Authoring ToolInstall applications with “RunOnce” commands – e.g. using Yum/Apt-Get
Scale roles in/out
Windows Azure Pack – Linux IaaSSlide15
DemoLinux Deployments
Kristopher BashSlide16
Managing and Monitoring LinuxSlide17
Linux Management Functionality
Configuration ManagerInventory hardware
Inventory installed applications
Create collections based on inventory
Distribute and install software
Report on inventory and software distribution
Endpoint Protection (anti-virus)
Operations Manager
Monitor OS health & performance
Monitor log files
Monitor JEE app servers
Monitor line-of-business applications
Monitor databases and web servers
Audit security eventsSlide18
Configuration ManagerSlide19
Architecture Overview
ConfigMgr server roles
Client for Linux/UNIX
CIM Server (OMI)
Provider
1
Provider 3
PAL
Provider 2
OS Resources
Equivalent of ccmexec.exe in Windows
Equivalent of the WMI service in Windows
Equivalent of WMI providers in Windows
New component
common
to all Linux/UNIX
New component - OS specific
Built-in OS functionality
Existing ConfigMgr 2012
R2
Normal ConfigMgr MP & DP communication
Request
ResponseSlide20
View Linux/UNIX hardware inventory for a single computer using Resource ExplorerLinux/UNIX computers use same inventory tables as Windows
View installed software (like Add/Remove Programs)Create collections of computers based on HW Inventory propertiesCollections can contain mix of computers – Windows and
Linux/UNIX
Run reports that aggregate inventory data across Windows and Linux/UNIX computers
Hardware Inventory - ScenariosSlide21
Deploy applications
Deploy patches/updates to installed applicationsDeploy Linux/UNIX OS
patches
Run
arbitrary maintenance scripts
Software Deployment - ScenariosSlide22
Software Deployment - Implementation
SWD – Package (MSI/??) + Program
Advertisement
Download
Pkg
(SMB or HTTP)
Download
Pkg
(HTTP/S only)
Status
Msg
Linux/UNIX Advertisement
SWD – Package (PKG/RPM/??) + Program (command line)
Install during maintenance window
Policy
Install during maintenance window
Policy
Status
Msg
Site Server & Site DB
IT Admin
Admin UI
MP
DP
Linux/UNIX additions dovetail with:
Existing ConfigMgr Console and UI
Existing Hardware Infrastructure
Existing Management ParadigmsSlide23
DemoConfiguration Manager
Anurag GuptaSlide24
Operations ManagerSlide25
Architectural Overview
Health
Service
MP
MP
MP
OpsMgr Management Server
Managed Linux/UNIX Computer
OpsMgr agent
for Linux/UNIX
(
OpenPegasus
CIM
Server + providers)
sshd
ssh client
library
WinRM
library
HTTPS
transport
WS-Man
protocol
Agent Maintenance Actions
HTTPS
transport
Config
Service
SDK
(OMI
CIM Server
+
providers)
ssh connection
OpsMgr agent
for
Windows
Config
(MPs)
Events, Data, State
Managed Windows Computer
Health Service
MOMChannelSlide26
Built-In MonitoringSlide27
Extensibility via TemplatesSlide28
Monitor top four JEE application serversDiscovery, basic health, memory usage, garbage collection, running modules
Health and performance data from custom MbeansNew versions in 2012 R2 UR4:
JBoss
7 & 8, Tomcat 8
Monitor JEE
AppServers
Tomcat
5.5,
6.0, 7, 8
JBoss
4.2, 5.1, 6, 7, 8
WebSphere
6.1, 7.0
, 8.X
WebLogic
10g
Rel3, 11g Rel1, 12c
Rel 1
Windows Server
Linux
Oracle
Solaris
IBM AIX
HP-UXSlide29
Extensibility via Partners
OpsMgr Management Pack Catalog
http://pinpoint.microsoft.com/en-US/category.aspx?catid=1&fpf=700004
Search for Management Packs
Representative partners:
Partner
Management Packs
Bridgeways
Oracle, DB2,
others
NiCE
Oracle,
DB2, Domino,
zLinux
, BlackBerry
OpsLogix
Oracle,
VMware, Blackberry, SWIFT
E-View
AS/400 and
zOS
VeeamVMware ESXSlide30
DemoOperations Manager
Kristopher BashSlide31
Automation with DSCSlide32
A declarative
configuration platform Define intended state, and DSC will “Make it so”Protects against configuration drift
“Uses
language extensions and providers to enable declarative, autonomous and idempotent (repeatable) Deployment, Configuration and Conformance of
standards-based managed
elements”
PS Desired State Configuration OverviewSlide33
Now available: www.microsoft.com/downloads
Source code available at: https://github.com/MSFTOSSMgmt/WPSDSCLinux
Requires Open Management Infrastructure
:
https://collaboration.opengroup.org/omi
/
Supports:CentOS 5, 6 and 7 (x86/x64)
Debian GNU/Linux 6 and 7 (x86/x64)Oracle Linux 5, 6 and 7 (x86/x64)Red Hat Enterprise Linux Server 5, 6 and 7 (x86/x64)
SUSE Linux Enterprise Server
10, 11
and 12 (x86/x64)
Ubuntu Server 12.04 LTS and 14.04 LTS (x86/x64)
DSC/Linux Version 1 Now Available!Slide34
PowerShell DSC for Linux
DSC For LinuxImplements the Local Configuration Manager (an OMI provider) and Linux Resource ProvidersFeatures
10 Built-In
Resource Providers for
Linux
Delivered as native
packages (rpm/deb)
Push & Pull support (http/https)Pull custom resources
Partial Configuration support w/ Pull server
Resource
Configures
nxArchive
Sync .tar/.zip with directory
nxFile
Files and Directories
nxFileLine
Lines
in a file
nxPackage
Packages (rpm/deb,
yum, zipper, apt-get)
nxUser
Local user accounts
nxGroup
Local groups
nxScript
Arbitrary
scriptsnxService
Services (init, upstart, systemd)
nxEnvironmentEnvironment variables
nxSshAuthorizedKeys
User’s authorized
ssh
keys
Built-In ResourcesSlide35
Example Configuration
Configuration ApacheRole{ Node
“$
nodename
"{
nxPackage
httpd { Name = "
httpd" Ensure = "Present" PackageManager = "Yum"
}
nxPackage
mod_ssl
{
Name = "
mod_ssl" Ensure = "Present" PackageManager
= "Yum" } nxService
ApacheService { Name = "httpd"
State = "running" Enabled = $true Controller = "init" } }} Slide36
Demo
Desired State Configuration for LinuxKristopher BashSlide37
Microsoft is committed to running and managing Linux in the heterogeneous datacenter
Continuing investment as part of our normal product development cycleProduction ready for real customersLinux is an integral part of Microsoft’s offering, right alongside WindowsExisting System Center infrastructure easily incorporates Linux servers
Wrap-UpSlide38
Learn more
with FREE
IT Pro Resources
Free technical training resources:
On-demand online training:
http://aka.ms/moderninfrastructure
Expand your
Modern
Infrastructure Knowledge
Free
ebooks
:
Deploying Hyper-V with Software-Defined
Storage
& Networking:
http://aka.ms/deployinghyperv
Microsoft System Center: Integrated Cloud Platform:
http://aka.ms/cloud-platform-ebook
Join the IT Pro community:
Twitter
@
MS_ITPro
Get hands-on: Free virtual labs:
Microsoft Virtualization with Windows Server
and
System Center:
http://aka.ms/virtualization-lab
Windows Azure Pack: Install and Configure:
http://aka.ms/wap-lab Slide39
Free Resources for DevOps Practices
Optimize your
DevOps practices & tools
:
Get started on your DevOps journey:
aka.ms/
devops
Accelerate your application
delivery
lifecycle
Download the Forrester Infrastructure-as-Code whitepaper:
Complexity kills. Automate with Infra as code:
aka.ms/
iac_tlp
Technical resources for Practitioners:
Get access to free online training,
evals
and HOLs:
aka.ms/
devopsmva
Join the Community conversations:
Use
#
TalkDevOps
on TwitterSlide40
Visit
Myignite
at
http://myignite.microsoft.com
or download and use the
Ignite
Mobile
App
with
the QR code above.
Please evaluate this session
Your feedback is important to us!Slide41