SlideShare une entreprise Scribd logo
1  sur  46
Télécharger pour lire hors ligne
Automated Management of Tier-1 Applications
on VMware
Jeremy Kuhnash, VMware
Scott Salyer, VMware
VAPP5473
#VAPP5473
22
Agenda
 Introduction
 MS SQL Server Rolling Patch Upgrades with Automation
 Migrating Oracle Databases from Bare Metal to VMware
 SAP Performance Remediation with VMware Automation
33
Introduction
44
vCenter Site Recovery Manager vCloud Networking and Security
vCenter Orchestrator
vCloud Automation Center
vCenter Operations Manager
Hyperic
Tier-1 App Virtualization Domains
Monitoring and Operations
• Data Collection Methods (Adapters)
• App-specific Dashboards
• Alerts and Triggers
Automation and Provisioning
• Patching
• Migration
• Remediation
• Hybrid Cloud
Disaster Recovery
• App-specific site resiliency
strategies
• In-app features that complement
SRM
• Fully automated site recovery
Network Security
• Edge and App Functionality
• Elastic network scaling
• Management and Reporting
Virtualization of Tier 1 Apps
- Best Practices
- Design/Sizing
- Performance
- Availability
55
Benefits of Automation
 Rapidly execute predictable or repetitive tasks
• Patching
• Mass migrations
• Trigger-based remediation
• Hybrid Cloud deployment
 Work around software limitations to address unique use cases
• Pull deployment information from a configuration database
• Integrate multi-part approval workflows
 Avoid human error
• Complex deployments such as RAC
• Deployments that have multiple steps/systems to update (e.g. DNS, AD)
 Delegate administrative tasks; hide complexity from end users
• Self-service provisioning and maintenance for app owners or developers
66
Automation Toolset
Product Description Best Used For
PowerCLI
(or other OS/App scripts)
• Scripting tool built on Windows
PowerShell
• Other OS’s or Apps may have
other options
• Simple automation scripts that
can manage both vSphere and
Guest OS
vCenter Orchestrator • IT Process Automation engine
• Develop complex automation
tasks
• Launch workflows directly from
the vSphere Client or via various
triggering mechanisms.
• Complex, multi-step workflows;
glue many scripts together
• Multiple systems to update (DB,
AD, DNS, etc.)
• Human workflow elements
required (e.g. email notifications)
vCloud Automation Center • Customized, self-service
provisioning and automation
based on business policies
• Secure portal where authorized
users can request new / manage
existing resources from
predefined menus
• Delegation of workflow execution
(e.g. App Admins)
• “Industrializing” extremely useful
or popular workflows
• Adding a layer of security to limit
potential mishaps and audit
workflow execution
77
Automation Toolset Positioning
OS/App Scripting
(e.g. PowerCLI)
VMware vCenter
Orchestrator
VMware vCloud
Automation Center
ComplexityofSolution
Organizational Impact
Maturity of Solution
Security/Delegation
88
Automation Examples
 MS SQL Server Rolling Patch Upgrades with Automation
• Completely automated solution for patching non-clustered SQL Server VMs
• Less than 1 minute of downtime (15 seconds for small DB VMs)
• Can replace clustering in cases where clustering is only needed for patching
• Can be securely delegated to app admins with vCloud Automation Center
 Migrating Oracle Databases from Bare Metal to VMware
• Completely automated solution for migrating Oracle DBs from a single physical
server with multiple DBs to many VMs, each with one DB
• Utilizes Oracle DB scripts to migrate databases…coordinates with VM creation
processes to split DBs amongst the appropriate number of VMs
 SAP Performance Remediation with VMware Automation
• Completely automated solution for provisioning a pre-configured SAP front
end-server VM based on a triggered performance threshold from vCenter
Operations Manager
• Notifies SAP Admin of the provisioning action
99
MS SQL Server Rolling Patch
Upgrades with Automation
1010
Patching MS SQL Server at XYZ Corp
 Necessary, but Expensive
• Long maintenance windows
• Productivity costs through downtime
• High Administrator costs in managing patches
and maintenance windows
• Reproducibility is a challenge
1111
Option 1: Clustering MS SQL at XYZ Corp
 Clustering
• Provides high availability (HA)
• Patching features
• Higher License Fees than Standalone
1212
Option 2: MS SQL Server Rolling Patch Upgrades Using VMware
 Virtualization allows use of Secondary / Passive Server
• Dramatically shortens time required for maintenance windows
• Standard templates can be used for revving versions
 Still a Manual Process
• Time Consuming
• Many steps
• Still must manage outage windows
1313
VMware Automation for Tier 1 Applications
VMware
PowerCLI
Scripting Automation
on VMware
Final Role Switch
Configure Standby VM
to IP Address of Primary
VM, observe Application
connections resume.
Add Resource
Associate storage with
Secondary VM in
vSphere, bring OS
volume online.
Remove Resource
Hot remove storage from
Primary VM in vSphere.
Deploy Standby VM
Create Standby VM clone,
upgrade to desired SQL
Server level.
Network Disconnect
Disconnect public NIC
device on Primary VM
SQL Rolling Upgrade Process
1414
Scripted MS SQL Server Rolling Patch Upgrades
VMWare PowerCLI and Powershell provide a reproducible result
What about…
 Audit trail / log of execution?
 Which roles participate in managing upgrade and how?
VMware ESX VMware ESXi
1515
Use vCenter Orchestrator and vCloud Automation Center to
Enhance Rolling Patch Upgrades
 Automation Execution and Status
• Workflows provide a powerful means for process flow and
control
• Creates a standard definition of infrastructure processes
• Execution status available in realtime
 Integrates with Scripting and Systems
• Managed Powershell execution
 Self Service
• Self Service Portal
• Initiated by assigned user Roles
• Delegated Approvals
1616
vCAC Self Service Portal
1717
vCAC Self Service Portal
1818
VMware vCO
vCenter Orchestrator and vCAC + Scripted Execution
VMware ESX VMware ESXi
VMware vCAC
Automation Infrastructure
PowerShell Host
2020
Steps to Building Out Self Service Automation
Develop and Configure vCAC
Extension in Visual Studio
1
Develop vCO Workflow for
Execution of Powershell /
PowerCLI
2
Develop Powershell /
PowerCLI and Configure vCO
Powershell plugin and
PowerShell Host
3
2121
Migrating Oracle Databases
from Bare Metal to VMware
2222
Oracle Database Migration - Physical to Virtual
 From Physical to Virtual machines
• License and Maintenance Savings (i.e. RISC to x86)
• Return On Investment
 “Deconsolidation” of Multiple Databases on a single host
• Workload Measurement
• Quality of Service (QoS)
• Avoids Single Point of Failure (SPoF)
 Completely Automated with Provisioning
• Oracle data pump utility
• vCloud Orchestrator
2323
VMware Automation for Tier 1 Applications: Oracle
VMware
Orchestrator
Process Automation
Engine
Finalize Migration
Configure applications for
new database, observe
connections resume.
Create Database
Execute ‘create_db.sh’
script on target. Copy Data File
Using common storage
between source and target,
copy exported database
dump file.
Provision Oracle VM
Prepare and create VM
clone with target Oracle
binaries installed.
Export Database
Execute ‘exp_db.sh’ script
on source database host.
This exports the database to
a dump file.
Oracle Migration Process
Import Database
Execute ‘imp_db.sh’ script
on target database VM. This
imports the database from
the dump file.
Get DBs on Oracle
Server
Get database instances on
Source Server
2424
vCO Workflow: Oracle Migrate Databases from Host to VMs
2525
vCO Workflow: Oracle Migrate Databases from Host to VMs
 SSH into Oracle server
 Parses /etc/oratab
 Extracts databases instances
 Returns as a vCO array of database
names
databaseNames: ‘orcl’, ‘orcl2’
2626
vCO Workflow: Oracle Migrate Databases from Host to VMs
 Creates a VM Clone from Template
that has Oracle binaries preinstalled.
 VM Name uses Database name
 Starts VM, waits for boot
 Returns VM as Workflow Attribute,
used as target for Import steps
databaseNames: ‘orcl’, ‘orcl2’
targetVMName: ‘ORAVM-orcl’
currentDatabaseName: ‘orcl’
2727
vCO Workflow: Oracle Migrate Databases from Host to VMs
databaseNames: ‘orcl’, ‘orcl2’
targetVMName: ‘ORAVM-orcl’
currentDatabaseName: ‘orcl’
2828
vCO Workflow: Migrate Oracle Data in Detail
export_db.sh: Export Database to
dump file using ‘expdp’
(Oracle Data Pump)
create_db.sh: Create Database
as currentDatabaseName
import_db.sh: import database
from database dump file using
‘impdp’ (Oracle Data Pump)
2929
vCloud Orchestrator Automated Oracle Database Migration
Oracle Database Server
VMware vCO
VMware ESX VMware ESXi
3030
SAP Performance Remediation with
VMware Automation
3131
Variability in SAP Workloads Require More Compute Nodes
 Scaling out to meet ad-hoc spikes in demand as required by the
business
• May be unforeseen
 Scaling out to meet extra demand at month end
• Predictable spike in demand
 In this example, 4 applications servers required for month end
• Beginning of the month, 2 application servers are sufficient and up and running
• 2 extra application server VMs available but powered down
• High CPU usage > 80%, custom threshold violation in vCloud Operations
Manager generates an SNMP trap
• vCloud Orchestrator detects this trap and starts remediation workflow to start
another application server
3232
VMware Automation for Tier 1 Applications
VMware
vC Ops and
vCO
Notify Admin
Send email notification
that remediation has been
handled.
Workflow Starts
Standby Server
vCO workflow manages
startup of powered off
SAP app server.
vCOPs Creates
SNMP Trap
Create alert for SAP servers
based on criteria.
Handle with vCO
SNMP Trap Policy
Handle and process alert as
a vCO policy.
SAP Performance Remediation Process
Execute vCO
Workflow
Start workflow which
remediates issue.
3333
vCenter Orchestrator SNMP Integration Detail
 vCO Policy listens for trap from SNMP Device
 Policy executes script
 Script calls workflow based on trap data
vCenter Ops
Manager
SNMP
Device
Script Workflow
Trap
Trap Data from
SNMP Service
Analytics VM IP
Trap Port
Start
3434
Configure vCO Policy for SNMP Traps
 vCO Supports scripting as a response to an SNMP Trap allowing
filtering and custom handling of values
 Workflows can also be configured for handling a trap directly
3535
Correlating Trap OIDs and Values
 Common criteria can be used within the script for filtering based
on values of the trap OIDs
vCO Workflow ID
OID Keys
Expected Values For OIDs
3636
Custom Scripting for vCO Policies
 Scripts use filtering logic to start the workflow when
criteria matches
If conditions are met, Run the
Workflow.
3737
vCO SAP Remediation Workflow
 Once started, the workflow will start an available or specified SAP
app server VM that has been configured but is powered off
vCenter Orchestrator also
supports full user interaction
for those environments that
require Administrator
response before remediation.
3838
vCOPs and vCO for SAP Remediation
Desktop
Virtual
SAP Servers
Enterprise Storage
VMware
vC Ops
VMware
vCO
3939
Summary
4040
Key Takeaways
 Use the most appropriate tool for the job
 Need better management of script execution? Start by using vCO
 Common, recurring processes can be presented to Users or
Admins as self service within vCAC…use vCAC to “industrialize”
your most commonly used workflows
 Manage security and auditing of delegating to users within vCAC
 Utilize notifications to keep stakeholders informed; keeps admins
in the know
4141
Questions?
THANK YOU
Automated Management of Tier-1 Applications
on VMware
Jeremy Kuhnash, VMware
Scott Salyer, VMware
VAPP5473
#VAPP5473
4545
Appendix
4646
Implementation Notes
 Process takes around 15 minutes per small database
• Actual time will vary based on provisioning time, resources and actual size of
database
 vCO processing of SSH commands will fail if the result code or
stderr streams indicate failure.
• Not all DB objects in the dump file will succeed on import, but this does not
necessarily indicate a real error. Some objects may already correctly exist from
loading the catalog.
• Advise review of import logs as part of a sanity check.
 Additional details in Oracle Sessions #xxxx and at the Tier1 Apps
Booth

Contenu connexe

Tendances

Datasheet was pluginforrd
Datasheet was pluginforrdDatasheet was pluginforrd
Datasheet was pluginforrd
MidVision
 
Datasheet weblogicpluginforrd
Datasheet weblogicpluginforrdDatasheet weblogicpluginforrd
Datasheet weblogicpluginforrd
MidVision
 

Tendances (20)

Log Analytics by VMware Log Insight
Log Analytics by VMware Log InsightLog Analytics by VMware Log Insight
Log Analytics by VMware Log Insight
 
The Age of Network Operations Management in Software Defined Data Centers
The Age of Network Operations Management in Software Defined Data CentersThe Age of Network Operations Management in Software Defined Data Centers
The Age of Network Operations Management in Software Defined Data Centers
 
Datasheet was pluginforrd
Datasheet was pluginforrdDatasheet was pluginforrd
Datasheet was pluginforrd
 
VMware vSphere 7 Update 2 offered greater VM density and increased availabili...
VMware vSphere 7 Update 2 offered greater VM density and increased availabili...VMware vSphere 7 Update 2 offered greater VM density and increased availabili...
VMware vSphere 7 Update 2 offered greater VM density and increased availabili...
 
Gain Insights, Make Decisions, and Take Action Across a Streamlined and Autom...
Gain Insights, Make Decisions, and Take Action Across a Streamlined and Autom...Gain Insights, Make Decisions, and Take Action Across a Streamlined and Autom...
Gain Insights, Make Decisions, and Take Action Across a Streamlined and Autom...
 
Citrix XenApp 6.5 Performance - How To Ensure a Great End User Experience Bef...
Citrix XenApp 6.5 Performance - How To Ensure a Great End User Experience Bef...Citrix XenApp 6.5 Performance - How To Ensure a Great End User Experience Bef...
Citrix XenApp 6.5 Performance - How To Ensure a Great End User Experience Bef...
 
V mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kitV mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kit
 
Virtual Server
Virtual ServerVirtual Server
Virtual Server
 
Datasheet weblogicpluginforrd
Datasheet weblogicpluginforrdDatasheet weblogicpluginforrd
Datasheet weblogicpluginforrd
 
VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!
 
How to Balance System Speed and Risk for Multi-Platform Innovation
How to Balance System Speed and Risk for Multi-Platform InnovationHow to Balance System Speed and Risk for Multi-Platform Innovation
How to Balance System Speed and Risk for Multi-Platform Innovation
 
Azure SQL Database Managed Instance - technical overview
Azure SQL Database Managed Instance - technical overviewAzure SQL Database Managed Instance - technical overview
Azure SQL Database Managed Instance - technical overview
 
VMware Ready vRealize Automation Program
VMware Ready vRealize Automation ProgramVMware Ready vRealize Automation Program
VMware Ready vRealize Automation Program
 
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
 
VMworld 2013: Virtualizing Highly Available SQL Servers
VMworld 2013: Virtualizing Highly Available SQL Servers VMworld 2013: Virtualizing Highly Available SQL Servers
VMworld 2013: Virtualizing Highly Available SQL Servers
 
Troubleshooting Storage Devices Using vRealize Operations (formerly vC Ops)
Troubleshooting Storage Devices Using vRealize Operations (formerly vC Ops)Troubleshooting Storage Devices Using vRealize Operations (formerly vC Ops)
Troubleshooting Storage Devices Using vRealize Operations (formerly vC Ops)
 
Log insight technical overview customer facing (based on 3.x)
Log insight technical overview customer facing (based on 3.x)Log insight technical overview customer facing (based on 3.x)
Log insight technical overview customer facing (based on 3.x)
 
Blue Medora - VMware vRealize Operations Management Pack for Oracle Enterpris...
Blue Medora - VMware vRealize Operations Management Pack for Oracle Enterpris...Blue Medora - VMware vRealize Operations Management Pack for Oracle Enterpris...
Blue Medora - VMware vRealize Operations Management Pack for Oracle Enterpris...
 
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the CloudAAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
 
Presentation desarrollos cloud con oracle virtualization
Presentation   desarrollos cloud con oracle virtualizationPresentation   desarrollos cloud con oracle virtualization
Presentation desarrollos cloud con oracle virtualization
 

Similaire à VMworld 2013: Automated Management of Tier-1 Applications on VMware

C6 deploying applications to your private cloud 7 to 10 times faster
C6   deploying applications to your private cloud 7 to 10 times fasterC6   deploying applications to your private cloud 7 to 10 times faster
C6 deploying applications to your private cloud 7 to 10 times faster
Dr. Wilfred Lin (Ph.D.)
 
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
LarryZaman
 
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Andrew Miller
 

Similaire à VMworld 2013: Automated Management of Tier-1 Applications on VMware (20)

VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
 
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
 
Oracle VM - the Heart of Oracle Cloud
Oracle VM - the Heart of Oracle CloudOracle VM - the Heart of Oracle Cloud
Oracle VM - the Heart of Oracle Cloud
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
 
Commvault Story - CVTSP_1.pptx
Commvault Story - CVTSP_1.pptxCommvault Story - CVTSP_1.pptx
Commvault Story - CVTSP_1.pptx
 
VMware Automation, PowerCLI presented at the Northern California PSUG
VMware Automation, PowerCLI presented at the Northern California PSUGVMware Automation, PowerCLI presented at the Northern California PSUG
VMware Automation, PowerCLI presented at the Northern California PSUG
 
Varrow VMworld Update and vCHS Lunch and Learn Presentation
Varrow VMworld Update and vCHS Lunch and Learn PresentationVarrow VMworld Update and vCHS Lunch and Learn Presentation
Varrow VMworld Update and vCHS Lunch and Learn Presentation
 
C6 deploying applications to your private cloud 7 to 10 times faster
C6   deploying applications to your private cloud 7 to 10 times fasterC6   deploying applications to your private cloud 7 to 10 times faster
C6 deploying applications to your private cloud 7 to 10 times faster
 
Business-critical MySQL with DR in vCloud Air
Business-critical MySQL with DR in vCloud AirBusiness-critical MySQL with DR in vCloud Air
Business-critical MySQL with DR in vCloud Air
 
VMware Outlines Its Own Journey to the Cloud
VMware Outlines Its Own Journey to the CloudVMware Outlines Its Own Journey to the Cloud
VMware Outlines Its Own Journey to the Cloud
 
Business-critical MySQL with DR in vCloud Air
Business-critical MySQL with DR in vCloud AirBusiness-critical MySQL with DR in vCloud Air
Business-critical MySQL with DR in vCloud Air
 
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
 
Oracle VM Spec Sheet
Oracle VM Spec SheetOracle VM Spec Sheet
Oracle VM Spec Sheet
 
VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private C...
VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private C...VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private C...
VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private C...
 
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
 
Continuent webinar 02-19-2015
Continuent webinar 02-19-2015Continuent webinar 02-19-2015
Continuent webinar 02-19-2015
 
VMworld 2013: Practicing What We Preach: VMware IT on vCenter Operations Mana...
VMworld 2013: Practicing What We Preach: VMware IT on vCenter Operations Mana...VMworld 2013: Practicing What We Preach: VMware IT on vCenter Operations Mana...
VMworld 2013: Practicing What We Preach: VMware IT on vCenter Operations Mana...
 
Webinar: Automating the Creation and Use of Virtual Testing Environments
Webinar: Automating the Creation and Use of Virtual Testing Environments Webinar: Automating the Creation and Use of Virtual Testing Environments
Webinar: Automating the Creation and Use of Virtual Testing Environments
 
Application-Driven Virtualization: Architectural Considerations
Application-Driven Virtualization: Architectural ConsiderationsApplication-Driven Virtualization: Architectural Considerations
Application-Driven Virtualization: Architectural Considerations
 

Plus de VMworld

Plus de VMworld (20)

VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
 
VMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for HorizonVMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for Horizon
 
VMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSXVMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSX
 
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco InfrastructureVMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
 
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI AutomationVMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
 
VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7
 
VMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep DiveVMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep Dive
 
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
 
VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations! VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations!
 
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
 
VMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts PanelVMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts Panel
 
VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way! VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way!
 
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
 
VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6
 
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
 
VMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphereVMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphere
 
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
 
VMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SANVMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SAN
 
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes ConfigurationsVMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
 
VMworld 2015: Virtual Volumes Technical Deep Dive
VMworld 2015: Virtual Volumes Technical Deep DiveVMworld 2015: Virtual Volumes Technical Deep Dive
VMworld 2015: Virtual Volumes Technical Deep Dive
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

VMworld 2013: Automated Management of Tier-1 Applications on VMware

  • 1. Automated Management of Tier-1 Applications on VMware Jeremy Kuhnash, VMware Scott Salyer, VMware VAPP5473 #VAPP5473
  • 2. 22 Agenda  Introduction  MS SQL Server Rolling Patch Upgrades with Automation  Migrating Oracle Databases from Bare Metal to VMware  SAP Performance Remediation with VMware Automation
  • 4. 44 vCenter Site Recovery Manager vCloud Networking and Security vCenter Orchestrator vCloud Automation Center vCenter Operations Manager Hyperic Tier-1 App Virtualization Domains Monitoring and Operations • Data Collection Methods (Adapters) • App-specific Dashboards • Alerts and Triggers Automation and Provisioning • Patching • Migration • Remediation • Hybrid Cloud Disaster Recovery • App-specific site resiliency strategies • In-app features that complement SRM • Fully automated site recovery Network Security • Edge and App Functionality • Elastic network scaling • Management and Reporting Virtualization of Tier 1 Apps - Best Practices - Design/Sizing - Performance - Availability
  • 5. 55 Benefits of Automation  Rapidly execute predictable or repetitive tasks • Patching • Mass migrations • Trigger-based remediation • Hybrid Cloud deployment  Work around software limitations to address unique use cases • Pull deployment information from a configuration database • Integrate multi-part approval workflows  Avoid human error • Complex deployments such as RAC • Deployments that have multiple steps/systems to update (e.g. DNS, AD)  Delegate administrative tasks; hide complexity from end users • Self-service provisioning and maintenance for app owners or developers
  • 6. 66 Automation Toolset Product Description Best Used For PowerCLI (or other OS/App scripts) • Scripting tool built on Windows PowerShell • Other OS’s or Apps may have other options • Simple automation scripts that can manage both vSphere and Guest OS vCenter Orchestrator • IT Process Automation engine • Develop complex automation tasks • Launch workflows directly from the vSphere Client or via various triggering mechanisms. • Complex, multi-step workflows; glue many scripts together • Multiple systems to update (DB, AD, DNS, etc.) • Human workflow elements required (e.g. email notifications) vCloud Automation Center • Customized, self-service provisioning and automation based on business policies • Secure portal where authorized users can request new / manage existing resources from predefined menus • Delegation of workflow execution (e.g. App Admins) • “Industrializing” extremely useful or popular workflows • Adding a layer of security to limit potential mishaps and audit workflow execution
  • 7. 77 Automation Toolset Positioning OS/App Scripting (e.g. PowerCLI) VMware vCenter Orchestrator VMware vCloud Automation Center ComplexityofSolution Organizational Impact Maturity of Solution Security/Delegation
  • 8. 88 Automation Examples  MS SQL Server Rolling Patch Upgrades with Automation • Completely automated solution for patching non-clustered SQL Server VMs • Less than 1 minute of downtime (15 seconds for small DB VMs) • Can replace clustering in cases where clustering is only needed for patching • Can be securely delegated to app admins with vCloud Automation Center  Migrating Oracle Databases from Bare Metal to VMware • Completely automated solution for migrating Oracle DBs from a single physical server with multiple DBs to many VMs, each with one DB • Utilizes Oracle DB scripts to migrate databases…coordinates with VM creation processes to split DBs amongst the appropriate number of VMs  SAP Performance Remediation with VMware Automation • Completely automated solution for provisioning a pre-configured SAP front end-server VM based on a triggered performance threshold from vCenter Operations Manager • Notifies SAP Admin of the provisioning action
  • 9. 99 MS SQL Server Rolling Patch Upgrades with Automation
  • 10. 1010 Patching MS SQL Server at XYZ Corp  Necessary, but Expensive • Long maintenance windows • Productivity costs through downtime • High Administrator costs in managing patches and maintenance windows • Reproducibility is a challenge
  • 11. 1111 Option 1: Clustering MS SQL at XYZ Corp  Clustering • Provides high availability (HA) • Patching features • Higher License Fees than Standalone
  • 12. 1212 Option 2: MS SQL Server Rolling Patch Upgrades Using VMware  Virtualization allows use of Secondary / Passive Server • Dramatically shortens time required for maintenance windows • Standard templates can be used for revving versions  Still a Manual Process • Time Consuming • Many steps • Still must manage outage windows
  • 13. 1313 VMware Automation for Tier 1 Applications VMware PowerCLI Scripting Automation on VMware Final Role Switch Configure Standby VM to IP Address of Primary VM, observe Application connections resume. Add Resource Associate storage with Secondary VM in vSphere, bring OS volume online. Remove Resource Hot remove storage from Primary VM in vSphere. Deploy Standby VM Create Standby VM clone, upgrade to desired SQL Server level. Network Disconnect Disconnect public NIC device on Primary VM SQL Rolling Upgrade Process
  • 14. 1414 Scripted MS SQL Server Rolling Patch Upgrades VMWare PowerCLI and Powershell provide a reproducible result What about…  Audit trail / log of execution?  Which roles participate in managing upgrade and how? VMware ESX VMware ESXi
  • 15. 1515 Use vCenter Orchestrator and vCloud Automation Center to Enhance Rolling Patch Upgrades  Automation Execution and Status • Workflows provide a powerful means for process flow and control • Creates a standard definition of infrastructure processes • Execution status available in realtime  Integrates with Scripting and Systems • Managed Powershell execution  Self Service • Self Service Portal • Initiated by assigned user Roles • Delegated Approvals
  • 18. 1818 VMware vCO vCenter Orchestrator and vCAC + Scripted Execution VMware ESX VMware ESXi VMware vCAC Automation Infrastructure PowerShell Host
  • 19.
  • 20. 2020 Steps to Building Out Self Service Automation Develop and Configure vCAC Extension in Visual Studio 1 Develop vCO Workflow for Execution of Powershell / PowerCLI 2 Develop Powershell / PowerCLI and Configure vCO Powershell plugin and PowerShell Host 3
  • 21. 2121 Migrating Oracle Databases from Bare Metal to VMware
  • 22. 2222 Oracle Database Migration - Physical to Virtual  From Physical to Virtual machines • License and Maintenance Savings (i.e. RISC to x86) • Return On Investment  “Deconsolidation” of Multiple Databases on a single host • Workload Measurement • Quality of Service (QoS) • Avoids Single Point of Failure (SPoF)  Completely Automated with Provisioning • Oracle data pump utility • vCloud Orchestrator
  • 23. 2323 VMware Automation for Tier 1 Applications: Oracle VMware Orchestrator Process Automation Engine Finalize Migration Configure applications for new database, observe connections resume. Create Database Execute ‘create_db.sh’ script on target. Copy Data File Using common storage between source and target, copy exported database dump file. Provision Oracle VM Prepare and create VM clone with target Oracle binaries installed. Export Database Execute ‘exp_db.sh’ script on source database host. This exports the database to a dump file. Oracle Migration Process Import Database Execute ‘imp_db.sh’ script on target database VM. This imports the database from the dump file. Get DBs on Oracle Server Get database instances on Source Server
  • 24. 2424 vCO Workflow: Oracle Migrate Databases from Host to VMs
  • 25. 2525 vCO Workflow: Oracle Migrate Databases from Host to VMs  SSH into Oracle server  Parses /etc/oratab  Extracts databases instances  Returns as a vCO array of database names databaseNames: ‘orcl’, ‘orcl2’
  • 26. 2626 vCO Workflow: Oracle Migrate Databases from Host to VMs  Creates a VM Clone from Template that has Oracle binaries preinstalled.  VM Name uses Database name  Starts VM, waits for boot  Returns VM as Workflow Attribute, used as target for Import steps databaseNames: ‘orcl’, ‘orcl2’ targetVMName: ‘ORAVM-orcl’ currentDatabaseName: ‘orcl’
  • 27. 2727 vCO Workflow: Oracle Migrate Databases from Host to VMs databaseNames: ‘orcl’, ‘orcl2’ targetVMName: ‘ORAVM-orcl’ currentDatabaseName: ‘orcl’
  • 28. 2828 vCO Workflow: Migrate Oracle Data in Detail export_db.sh: Export Database to dump file using ‘expdp’ (Oracle Data Pump) create_db.sh: Create Database as currentDatabaseName import_db.sh: import database from database dump file using ‘impdp’ (Oracle Data Pump)
  • 29. 2929 vCloud Orchestrator Automated Oracle Database Migration Oracle Database Server VMware vCO VMware ESX VMware ESXi
  • 30. 3030 SAP Performance Remediation with VMware Automation
  • 31. 3131 Variability in SAP Workloads Require More Compute Nodes  Scaling out to meet ad-hoc spikes in demand as required by the business • May be unforeseen  Scaling out to meet extra demand at month end • Predictable spike in demand  In this example, 4 applications servers required for month end • Beginning of the month, 2 application servers are sufficient and up and running • 2 extra application server VMs available but powered down • High CPU usage > 80%, custom threshold violation in vCloud Operations Manager generates an SNMP trap • vCloud Orchestrator detects this trap and starts remediation workflow to start another application server
  • 32. 3232 VMware Automation for Tier 1 Applications VMware vC Ops and vCO Notify Admin Send email notification that remediation has been handled. Workflow Starts Standby Server vCO workflow manages startup of powered off SAP app server. vCOPs Creates SNMP Trap Create alert for SAP servers based on criteria. Handle with vCO SNMP Trap Policy Handle and process alert as a vCO policy. SAP Performance Remediation Process Execute vCO Workflow Start workflow which remediates issue.
  • 33. 3333 vCenter Orchestrator SNMP Integration Detail  vCO Policy listens for trap from SNMP Device  Policy executes script  Script calls workflow based on trap data vCenter Ops Manager SNMP Device Script Workflow Trap Trap Data from SNMP Service Analytics VM IP Trap Port Start
  • 34. 3434 Configure vCO Policy for SNMP Traps  vCO Supports scripting as a response to an SNMP Trap allowing filtering and custom handling of values  Workflows can also be configured for handling a trap directly
  • 35. 3535 Correlating Trap OIDs and Values  Common criteria can be used within the script for filtering based on values of the trap OIDs vCO Workflow ID OID Keys Expected Values For OIDs
  • 36. 3636 Custom Scripting for vCO Policies  Scripts use filtering logic to start the workflow when criteria matches If conditions are met, Run the Workflow.
  • 37. 3737 vCO SAP Remediation Workflow  Once started, the workflow will start an available or specified SAP app server VM that has been configured but is powered off vCenter Orchestrator also supports full user interaction for those environments that require Administrator response before remediation.
  • 38. 3838 vCOPs and vCO for SAP Remediation Desktop Virtual SAP Servers Enterprise Storage VMware vC Ops VMware vCO
  • 40. 4040 Key Takeaways  Use the most appropriate tool for the job  Need better management of script execution? Start by using vCO  Common, recurring processes can be presented to Users or Admins as self service within vCAC…use vCAC to “industrialize” your most commonly used workflows  Manage security and auditing of delegating to users within vCAC  Utilize notifications to keep stakeholders informed; keeps admins in the know
  • 43.
  • 44. Automated Management of Tier-1 Applications on VMware Jeremy Kuhnash, VMware Scott Salyer, VMware VAPP5473 #VAPP5473
  • 46. 4646 Implementation Notes  Process takes around 15 minutes per small database • Actual time will vary based on provisioning time, resources and actual size of database  vCO processing of SSH commands will fail if the result code or stderr streams indicate failure. • Not all DB objects in the dump file will succeed on import, but this does not necessarily indicate a real error. Some objects may already correctly exist from loading the catalog. • Advise review of import logs as part of a sanity check.  Additional details in Oracle Sessions #xxxx and at the Tier1 Apps Booth