Module 3 - Understanding HP IO Integration - Part 1
-
Upload
ermal-cene -
Category
Documents
-
view
46 -
download
0
description
Transcript of Module 3 - Understanding HP IO Integration - Part 1
©2009 HP Confidential1 ©2009 HP Confidential1
HP BladeSystem Matrix Integration Capabilities
A special 5-part TekTalk Edition Series
TekTalk Matrix Series – Part I
Understanding HP IO Integration
Nov 18, 2010
WW Converged Infrastructure Lab
©2009 HP Confidential2 ©2009 HP Confidential2
Session Topic DatePart #1 – HP Insight Dynamics Infrastructure
Orchestration (HP IO) Integration Architecture Nov 18, 2010
Part #2 – Introduction to HP Operations Orchestration (OO) workflows Authoring tool
– Creating your first OO workflow
– Publishing an OO workflow as an HP IO Service Action Workflow
Dec 2, 2010
Part #3 – Inside the HP IO Request XML
– Standard XML query language
– Techniques used to Parse the HP IO Request XML in an OO Workflow
Dec 16, 2010
Part #4 – Controlling HP IO through the HP IO API
– HP IO API Command Line Interface
– HP IO API Web Services
Jan 20, 2011
Part #5 – Integrating HP IO with external IT processes by examples
Feb 3, 2011
HP BladeSystem Matrix Integration - 5-Part Series
©2009 HP Confidential3 ©2009 HP Confidential33
AgendaUnderstanding HP IO Integration
•HP IO Overview
•Integration with Deployment Services
•Integration with “Full” OO
•System Flows
•Service Action Flows
•The HP IO WebService API
•The HP IO CLI
•The nbAPI
•Integrating with 3rd Party Hardware
•Introduction to OO Flows
•Q&A
©2009 HP Confidential4 ©2009 HP Confidential44
Goals of this Special TekTalk Edition SeriesHP BladeSystem Matrix Integration Capability
•Help You identify the value that HP IO/OO can provide to your customers
•Make accessible to a large audience some of the major subjects related to HP IO integration capabilities by:
• Understanding the HP IO integration Architecture
• Becoming an effective OO Workflow designer as it relates to HP IO
• Looking at the HP IO integration techniques with external IT processes
©2009 HP Confidential5 ©2009 HP Confidential5 ©2009 HP Confidential5
Why Automated Infrastructure Provisioning and Self-service Portal?
Deliver FasterThe business gets what they need, when they need it, not weeks after they ask for it.
Resource EfficiencyShared pools of infrastructure resources, lease periods, and required approval processes help reduce idle servers and physical and virtual server sprawl
IT Staff EfficiencyReduce time spent doing tedious setup tasks and coordinating between server, network, and storage teams
ConsistencyStandard templates, automation, and integration with IT processes reduces configuration errors that lead to bigger problems
©2009 HP Confidential6 ©2009 HP Confidential66
Linux
Windows
HP-UX
VM
Network
Web
Application
Database
Provision Infrastructure In Minutes
Automated activation of servers, storage and networking
Easily design best-practice infrastructure templates
Reliably provision infrastructure via a self-service portal
Seamlessly integrate with existing systems & processes
HP Insight Dynamics infrastructure orchestration
©2009 HP Confidential7 ©2009 HP Confidential77
Easily Design Best-practice Infrastructure TemplatesInfrastructure design using drag-and-drop designer
Captures detailed requirements needed for a service:• Servers (multiple tiers and nodes, physical and virtual)
• Storage
• Network
Validation rules check templates for errors
Published as best-practice templates to self-service portal
Cost tracking for components, reporting capabilities for resource requirements
©2009 HP Confidential8 ©2009 HP Confidential88
Reliably provision from shared infrastructure via a self-service portalBrowse, select, and request provisioning of infrastructure from library of service templates
Automated provisioning is driven from templates for consistency
View status and progress of service requests
Manage your infrastructure services, such as suspending or adding servers
Lease periods allow resources to be reclaimed when no longer in use
©2009 HP Confidential9 ©2009 HP Confidential9 ©2009 HP Confidential9
Seamless Integrate with Existing Tools and Processes
Powered by workflow technology from HP Operations Orchestration
Customize global workflows to fit customer’s IT process*
− Send email notifications− Connect to ticketing systems to approve/reject
service requests*− Perform manual tasks as needed
Attach workflows to template for additional pre/post provisioning tasks*
− Configure monitoring or backup− Run server configuration scripts
− Check server compliance status and provision applications
− Pass service cost data to billing and chargeback systems
* May require additional services
©2009 HP Confidential11 ©2009 HP Confidential1111
IO Highest Level Architecture
Visually Design
Easily Integrate
Rapidly Provision
Efficiently Operate
WorkflowStudio
TemplateDesigner
SIM Operations
Console
Self Service Portal
Insight Dynamicsinfrastructure orchestration
HP Operations Orchestration
User
ArchitectAdministrator
©2009 HP Confidential12 ©2009 HP Confidential1212
HP IO Architecture
VirtualMachines
Resource Pools
ServersStorage
WebPortals Asset &
Billing
Ticketingsystem
Applicationintegration
Networkintegration
Webservices
EnterpriseProcesses
ServiceManagementHP Insight
Orchestration
Process Workflow
Automation
Enterprise Integration
Template specificWorkflows
Customer & hp partnersupplied content
Softwaredeployment
Administrator
Self-service user
Architect
1
2
3
4
iIntegrationInterface
1’
CLI
RDP
SA
Ignite
3rd Party Hardware
5
©2009 HP Confidential13 ©2009 HP Confidential1313
HP IO Integration with Deployment ServicesHP IO v6.2 comes with support for:
•RDP 6.2
•Server Automation 7.83
• Ignite Server C.7.11.439
• In addition to VMware templates and HP VMM Templates (Hyper-V)
Connects and enumerate Jobs for OS provisioning and Application deployment
Populates Software tab in IO Management console
Jobs are tagged as OS or App deployment (manual operation for RDP, and Ignite)
©2009 HP Confidential14 ©2009 HP Confidential1414
Software View in HP IO
©2009 HP Confidential15 ©2009 HP Confidential1515
HP IO Integration with “full” OO
IO includes embedded technology from HP Operations Orchestration software
Can integrate with existing OO instance if customer already has OO installed
• Available whitepaper describes the procedure
Upgrading the embedded OO to full OO provides advantages:• Better if customer wants complex 3rd party software
integration (full OO comes with lots of connectors)• Better if customer has more than one team writing flows
(full OO supports multiple authors simultaneously)• Allows workflows to be run manually, scheduled, or
triggered by event (IO workflows can only be invoked by IO actions)
• Full OO allows integration between products outside of IO/Matrix
©2009 HP Confidential16 ©2009 HP Confidential1616
HP IO Integration with 3rd party Software
•Global “System” Flows−Changed in hpio.properties file
−Valid for entire application
−Needs IO restart
•Service Action Flows−Set in Template Designer
−Per Template
©2009 HP Confidential17 ©2009 HP Confidential17 ©2009 HP Confidential17
Global “System” workflows
17
Integration Point
When Invoked Sample Workflow
Approval Between reservation and provisioning phases of any operation that consumes resources.
Email message describing requested resources with Approve/Reject choices
Manual OS Deployment
During physical provisioning when an OS deployment is set as manual and not RDP. OS deployment to be done outside of IO.
Email message with manual operating system deployment instructions and Continue /Cancel choices
Manual Storage Provisioning
During physical provisioning when required storage is not available or needs provisioning.
Email message with manual storage provisioning instructions and Continue/Cancel choices
Manual Disk Scrubbing
During physical de-provisioning when Manual OS Deployment is set. Disk scrubbing needs to be done outside of IO.
Email message with manual disk scrubbing instructions and Continue/Cancel choices
Manual Storage De-provisioning
During physical de-provisioning when storage needs to be un-presented and LSM storage pool entries need to be edited
Email message with manual storage removal instructions and Continue/Cancel choices
Global End Action
End of any operation – enables global IT actions to be executed for every IO operation.
Email message notifying Administrator (currently approvers) of end of operation
User Notification
Key milestones of any operation – to notify user and others about progress and status.
Email message to user who submitted the operation
Lease Expiring Notification
1 week before lease expiration, 1 day before lease expiration
Email message to infrastructure owner with lease expiration warning
Pool Change Notification
Every server pool change, to notify users of changes to server pool assignments (OFF by default)
Email message to users with resource pool change
©2009 HP Confidential18 ©2009 HP Confidential18 ©2009 HP Confidential18
“Templates” Service Actions FlowsIO 6.x operation
Possible uses
Create • Add new servers into monitoring, backup, inventory, or other management applications
• Notify other IT users or processes of new infrastructure services or new resources consumed
• Run scripts on newly provisioned or activated servers to do additional configuration tasks
• Billing or chargeback configuration
• Etc.
Add Server
Add Disk
Activate
Power on
Power off • Remove servers from monitoring, backup, inventory, or other management applications
• Notify other IT users or processes of removed infrastructure services or freed resources
• Billing or chargeback configuration
• Etc.
Deactivate
Delete
Change Lease Period - decrease
IO 6.x service action workflowsBegin Action
•Executed after allocation and approvals, but before provisioning begins. [Create, Add *, Activate, Power *, Change Lease Period]
•Executed before de-provisioning begins. [Delete, Deactivate]End Action
•Executed after provisioning finishes. [Create, Add *, Activate, Power *, Change Lease Period]
•Executed after de-provisioning and de-allocation . [Delete, Deactivate]
©2009 HP Confidential19 ©2009 HP Confidential1919
Service Action Flows in IO Designer
©2009 HP Confidential20 ©2009 HP Confidential20 ©2009 HP Confidential20
Request Validation
Resource Reservation
Approval
Resource Allocation
Begin Action
Server Provisioning
OS Deployment
OS Customizatio
n
Add data Disks
ApplicationDeployment
Service End Action
Global End Action
Approval Flow
Manual Storage
Provisioning
Begin Service
Action Flow
End Service Action Flow
Manual OS Deployment
Manual Storage
Provisioning
Global End Flow
Service Action
Custom Flows
Global Custom Flows
Create Service Request Core Flow
©2009 HP Confidential21 ©2009 HP Confidential2121
HP IO Partner WebService API•https://<IPofCMS>:51443/hpio/controller/soap/v1?wsdl
•Submitted to DMTF Cloud Incubator
• http://www.dmtf.org/about/cloud-incubator
•Templates
−import, export, list, delete*
•Services
−list, get, create, delete, poweron, poweroff, activate, deactivate, changelease
•Requests
−list, get, continue, cancel, changeapprovalstatus
•Logical Server Groups
−get, addserver, adddisk, setactiveservercount
•Logical Servers
−find, get, activate, deactivate, poweron, poweroff
•Server Pools
−create*, delete*, list*, get*, moveservertopool −assignusertoserverpool*, unassignusertoserverpool*
* new in v6.2
©2009 HP Confidential22 ©2009 HP Confidential2222
DMTF Cloud Incubator Initiative
2
Cloud Service Lifecycle & Use Cases
Template Offering Contract Instance
Create TemplateUpdate TemplateDelete Template
Create OfferingUpdate OfferingDelete Offering
Establish RelationshipAdminister Relationship
Establish ContractUpdate ContractTerminate Contract
Contract ReportingContract Billing
Provision ResourcesDeploy PackageMonitor ResourcesChange CapacityRelease Resources
Lifecycle States:
Related use cases:
A Developer creates a template to describe the content and structure of a service
A Provider applies constraints, costs, and policies to a template to create an offering available for request by a Consumer
A Consumer and a Provider enter into a contract for services, including agreements on costs, SLAs, and specific configuration options
A Provider deploys instances of services per the agreement with the Consumer, which the Consumer then uses
Descriptions:
©2009 HP Confidential23 ©2009 HP Confidential2323
HP IO CLI
ioexec.exe in <IO>\bin
Same control as with WS API (wrapper to the IO WS)
Can execute commands remotely to IO server
Copy and install ioexec-6.XXX.zip from <IO>\cli
Useful to control IO via scripts from external management platform (e.g. BAC/SiteScope)
Need at least JRE 1.6.0_04
Be careful with time synchronization between client and IO Server
©2009 HP Confidential24 ©2009 HP Confidential2424
HP IO nbAPIA set of 5 HPPTS calls
Most of them also exist in Web Service (preferred way)•ApproveRequest•RejectRequest•ContinueRequest•CancelRequest•OOAlert
Examples: • https://CMS:51443/hpio/controller/ooflows/hpioControllerProxy.jsp?nbApiName=OOAlert&requestId=“Your
ID”&userToken=“YourToken”&status=“MAJOR or WARNING or INFO”&message=“Your Message”
• https://CMS:51443/hpio/controller/ooflows/hpioControllerProxy.jsp?nbApiName=ApproveRequest&requestId=“Your ID”&userToken=“YourToken”&respondent=“email address of approver”&responseNotes=“Your Message”
• https://CMS:51443/hpio/controller/ooflows/hpioControllerProxy.jsp?nbApiName=ContinueRequest&requestId=“Your ID”&userToken=“YourToken”&respondent=“email address of approver”&responseNotes=“Your Message”
©2009 HP Confidential25 ©2009 HP Confidential2525
HP IO Integration with 3rd party HardwareGlobal flows for server support
−Get Inventory−Get Server Info−Server Power ON and Server Power OFF (use SMASH/CLP)
Global flows for storage support
−Discover Arrays−Get Device Information−Enumerate Pools−Enumerate Volumes−Get Volume Info−Present Volume−Un-present Volume−Set Host Mode−Validate Management Path
Reference flows provided for IBM and DELL servers, and for XP Storage Arrays
©2009 HP Confidential26 ©2009 HP Confidential2626
So what is a “Flow”?
An OO procedure written in OO Studio
Executes in OO Central
Flow can be called
•From IO (service action flows or system flows)
•From another flow in OO
©2009 HP Confidential27 ©2009 HP Confidential2727
Writing Custom OO Flows for IO
Understanding Flow parameters passed by IO
•RequestXML•UserToken•Date
Retrieving basic values from the RequestXML
•GetXPathValue•GetXPathValues•GetXslt
Built many request using Xpath− //logicalServers/hostname
− //logicalServers[1]/hostname
− //logicalIPAddresses[Name=’${name}’]/address
Use XSLT for even more complex queries
©2009 HP Confidential28 ©2009 HP Confidential2828
Querying RequestXML with XSLT
Use default XLS files in IO\conf\OO as reference
Use authoring tool like XMLSpy from Altova
•Write simple flow to write RequestXML to disk
•Cut/paste file as input XML in XML Editor
•When ready, copy xls file to platform, read in your xls file (with ReadFile Subflow) and call GetXslt with xls and RequestXML, process output of the transform
•Check default Approval flow, it has an example
©2009 HP Confidential29 ©2009 HP Confidential29
Flow Example 1 (global)Proxy service approval to Service Manager
©2009 HP Confidential30 ©2009 HP Confidential30
Flow Example 2 (Service Action)Remove server from Load Balancer before standing by
©2009 HP Confidential31 ©2009 HP Confidential31
Flow Example 3 (Service Action)Install Oracle RAC
©2009 HP Confidential32 ©2009 HP Confidential32
Flow Example 4 (Hardware Flow)Power Off a server
©2009 HP Confidential33 ©2009 HP Confidential3333
Best Practices writing IO Flows
Modify Global End Flow to write RequestXML to tempfile for analysis
Make sure you specified the expected parameters − (RequestXML, Date, UserToken)
Do not delete/cut/paste flows in OO Studio after they have been registered in IO Templates
− Flows are remembered by Flow UUID
Service action flows must be registered before a service is created from template – Link to dummy flows initially then debug
Use Subflow “Send OO Alert to HPIO” to report back to IO Console (use “Initialize IP and Port” to fetch IP and Port)
Be carefull with long calls to external scripts, as OO will timeout
Use OO Central to debug
©2009 HP Confidential34 ©2009 HP Confidential34
Connecting to The Matrix
©2009 HP Confidential35 ©2009 HP Confidential35
Unique elements of the Matrix architecture
ConvergedConvergedinfrastructuinfrastructu
re re
ConvergedConvergedinfrastructuinfrastructu
re re
Matrix Matrix orchestratiorchestrati
ononenvironmeenvironme
nt nt
Matrix Matrix orchestratiorchestrati
ononenvironmeenvironme
nt nt
Partner Partner integration & integration &
simple simple deliverydelivery
Partner Partner integration & integration &
simple simple deliverydelivery
1 2 3
Simplifies support of diverse
application types on one standard
pool of resources
One powerful command console
for physical and virtual world that
combines disaster recovery, capacity
planning & automated
provisioning
Integration and optimization with existing applications,
network services and business-level management via
ANY pane of glass
©2009 HP Confidential36 ©2009 HP Confidential3636
Wake up guys! This is exactly what we have been discussing for an hour!
Matrix Matrix orchestratiorchestrati
ononenvironmeenvironme
nt nt
Matrix Matrix orchestratiorchestrati
ononenvironmeenvironme
nt nt
2
The “Matrix API”
The “Brain”
The “Software Stack”
The “Integration” piece
The “Glue”
The Key Differentiator
The “Tip of the Iceberg”
The “sexy” piece
The “portal”
The “console”
Partner Partner integration & integration &
simple simple deliverydelivery
Partner Partner integration & integration &
simple simple deliverydelivery
3
©2009 HP Confidential37 ©2009 HP Confidential3737
Accelerate the creation of service catalogsWhat is a Cloud Map?
HP Cloud Maps are a navigation system to facilitate the creation of a BladeSystem Matrix service catalog. Cloud Maps contain one or more of these engineering components:
Templates•Templates provide hardware and software configuration that can be imported directly into your BladeSystem Matrix, saving days or weeks of solution design time
Sizers•Sizers help guide capacity and performance planning
Workflows and Scripts•Workflows and scripts automate installation more quickly and in a repeatable fashion
Reference Whitepapers•Reference whitepapers to help customize the Cloud Map for your specific implementation
Best practice templates
Deployment scripts
Sizers
Whitepapers
Workflows
www.hp.com/go/cloudmaps
©2009 HP Confidential38 ©2009 HP Confidential3838
Dynamically Generate Templates with HP Sizing ToolsLeverage HP sizing tools to build (partial) IO template files
Support for:
•Exchange 2010
•SharePoint 2007/2010
•SQL2008 BI
•SQL2008 OLTP
•Citrix Xen server
©2009 HP Confidential39 ©2009 HP Confidential39
Demonstrating
©2009 HP Confidential40 ©2009 HP Confidential4040
DemonstratingLive via SDP (Internal Only)
•HP Solution Showcase for CI 2010 since May 2010 in all Regions
• Houston, Singapore, Grenoble
•CISS 2010 SP1 in September 2010 (IS 6.1, CSA for Matrix)
•CISS 2010 SP2 planed for December 2010 (IS6.2, SPM, IO/HPVM)
•CISS 2010 SP3 planed for April 2011 (IS 6.3)
Demonstrates HP IO integrations with Service Manager, SiteScope, Server Automation
Video on SDP
FastTours on SDP (Internal Only)
http://www.hp.com/go/cidemos
©2009 HP Confidential41 ©2009 HP Confidential4141
Q&A