Académique Documents
Professionnel Documents
Culture Documents
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. This is an HP copyrighted work that may not be reproduced without the written permission of HP. You may not use these materials to deliver training to any person outside of your organization without the written permission of HP. Intel is a trademark of Intel Corporation in the U.S. and other countries. JavaTM and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates. Microsoft, Windows, Windows Vista, and Windows XP are U.S. registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. UNIX is a registered trademark of The Open Group. Printed in the USA Continuous Delivery Automation (CDA) 1.x: How to POC, Level 360 Presentation and Lab Guide August 2012 CDA1.xHowToPOC-Rev.0.9
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Course Introduction
Preface
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Audience
The target audiences for this course include:
Pre-Sales Technical Consultants
Professional Services Consulting Engineers Technical Support Engineers
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Goal
The main goal of this course is to:
Install and configure the CDA-specific software in a pre-installed lab environment, integrate CDA with the key CDA solution products already preinstalled, provision a platform, deploy a simple application, and integrate ALM 11.5 with CDA to demonstrate the main Lab Management Automation (LMA) use case being emphasized for CDA 1.00
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Course Objectives
Upon successfully completing this course, you should be able to:
Prepare for a CDA POC by properly scoping the POC based on given customer requirements
TBD (not currently in the deck)
Install and configure the CDA-specific software in a pre-installed lab environment Integrate CDA with the key CDA solution products already installed Perform verification steps to validate the CDA installation and integration with the CDA solution products
Create an IO template using HP IO and build and provision a platform around that template within CDA Model a simple application and deployment topology and deploy the an application version on to the provisioned platform Repeat the model and deploy process for a slightly more complex application (Pet Clinic)
Perform the product feature configurations or customizations most commonly encountered in POCs for CDA
Integrate ALM with CDA and deploy the lab management automation use case with ALM
Implement the most common use cases scoped for a CDA POC
6 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Curriculum Prerequisites
Before taking this curriculum, you should have the following prerequisites or equivalent experience:
Level Prerequisites (or equivalent experience) Grow Course ID 00273768 00271543 00271553 Pre-Sales Solutions Consultants Pre-Sales Technical Consultants Yes Yes PSO Consulting Engineer Yes Yes Yes Technical Support Engineer Yes Yes
HP Operations Orchestration (OO) 9.x: Essentials, Advanced Authoring, and Integration HP Server Automation (SA) 9.x: Essentials HP Server Automation (SA) 9.x: Installation
HP Server Automation (SA) 9.x: Administration and 00271561 Yes Hopefully the team can help define what they feel the prerequisites are Maintenance for each of their organizations after 00271584 attending the bootcamp. Please HP Server Automation (SA) 9.x: OS Provisioning Yes feedback to the FE team! HP Server Automation (SA) 9.x: provide Application Deployment 00271590 Yes Manager Sitescope 11.0 Essentials and Advanced 6 months+ field experience with OO and SA 00296961 Yes Yes
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CDA 1.0: Technical Awareness Webinar (TAW) CDA 1.0: Introduction to CDA CDA 1.0x: SWAT Bootcamp (beta) + CDA 1.0: Support Webinar
+ Workshop based on CDA 2.0: No longer offered on CDA 2.0, should take the Continuous Delivery Automation (CDA) 2.x: SWAT Bootcamp instead (Grow ID: 00390660)
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CDA 1.00: Introduction to CDA CDA 1.00: Technical Awareness Webinar (TAW) CDA 1.00: Delta Technical Deployment Webinar + CDA 1.00: Technical Deployment Webinar 1
400
400 400 500
5 (optional)
6 (optional) 7
6 (optional) 6
8 (optional) 8
+ Recommended only if you have already been working with CDA 2.0 (skip CDA 1.00: Technical Deployment Webinar 1)
* Series of 5 webinars in the planning stages for September and October (Webinar 1 is open for registration)
Employee link: http://grow.hp.com/Saba/loginAsUser.jsp?deepLinkName=CourseDetail&deepLinkParams=courseId=<Course ID> Partner link: http://h20507.www2.hp.com/Saba/loginAsUser.jsp?deepLinkName=CourseDetail&deepLinkParams=courseId=<Course ID>
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Course References
References for this course to help you learn more:
Documentation:
CDA 1.00 Release Notes CDA 1.00 Support Matrix CDA 1.00 Concept Guide CDA 1.00 Install & Configuration Guide CDA 1.00 User Guide CDA 1.00 Troubleshooting Guide
Other
R&D and Product Marketing CDA Wiki:
http://rndwiki.atlanta.hp.com/confluence/display/hybridcloud/BTO+Hybrid+Cloud
https://connections.houston.hp.com/docs/DOC-12072 https://connections.houston.hp.com/docs/DOC-19291
CDA FAQ:
CDA Forum (internal) (TBD) Please share if you have other links that you find helpful
10
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Conventions
The following text conventions are used throughout the materials:
Courier text, courier text bold
Normal represents screen output, a file, or command Bold represents screen input to type
11
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Goal
The main goal of this lesson is to:
Install and configure the CDA-specific software in a pre-installed lab environment
13
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Objectives
Upon successfully completing this lesson, you should be able to:
List the CDA components and CDA roles
Describe the overall process for successfully installing CDA Access the lab environment
14
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson References
References for this lesson to help you learn more:
Documentation:
CDA 1.00 Release Notes CDA 1.00 Support Matrix CDA 1.00 Concepts Guide CDA 1.00 Installation & Configuration Guide CDA 1.00 Troubleshooting Guide
15
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Dev Sees
Operations Sees
More urgent, date-driven projects put into the queue Even more fragile code (less secure) put into production More releases have increasingly turbulent installs Release cycles lengthen to amortize cost of deployments Failing bigger deployments more difficult to diagnose Most senior and constrained IT ops resources have less time to fix underlying process problems Ever increasing backlog of work that could help the business win Ever increasing amount of tension between IT Ops, Development, Design
17
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Ops
ITSM Perf Mgmt
ARM
ALM AAL
AWM
MAL
Build
CI Controller
Rich Infrastructure Services
Converged Infrastructure
Multi-site, Multi-tenant
18
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
APIs
MAL
MAL Event Listener MAL Internal API Monitor config Event receiver
Correlation/ Rules engine
monitoring
AWM
event pipeline
JPBM process engine Quartz scheduler
SiteScope
Diagnostics
DSL
Application designer UI Infrastructure designer UI Application model Infrastructure model
RTSM
Nagios
SW artifact pointers
Chef
Server Automation
OO DMA HyperV
MOE
HP cloud
vCenter EC2 Provisioning (IaaSC)
deployment
19
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
call-outs, customizations
HP restricted
CDA administration
20 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein HP is subject to change without notice. restricted
CDA personae
Application developer Application builder Application tester Application release mgr Application ops mgr
Dev Requirements, Dev Code, Unit-Test, Dev Env Setup, Checkin; develops requirements for IT service designer; resolves defects from tester Build Artifacts, Src code repository Mgmt, Models; interfaces with Application release mgr & tester for releasing artifacts to DSL Test Dev Requirements, Test Code, Unit-Test, Test Lab Setup, System Test, Perf Test, Reliability Test; defines release readiness, tracks test/CHO metrics Release Planning for Releases: From Test to Staging. From Staging to Production; interfaces with Application tester for sign off on release readiness Production SLAs (uptime, performance, scaling, security) for applications in production; provides app monitoring requirements
IT platform designer
IT operations IT service manager CDA admin
Develops Templates & Pools for Dev, QA, Staging, Production; interfaces with Application developer for template requirements
Administers configurations and installations of packaged applications, OS, network, DB for QA, Staging, Production IT environments Production SLAs (uptime, performance, scaling, security) for production IT infrastructure; capacity planning; HW acquisition Manage CDA installation; provider eco-system/plugins; Systinet domains
HP restricted
policy binding
LB group
external service
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
vm images
Deploy monitoring
CDA server
Provision, deploy orchestration Models: app, platform, infra, monitor policy Artifacts: platforms, deployments
Provider plugins
IaaS server
VPN, firewall
Infra templates
24
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Installation
PostInstallation
MOE service config: setup connection to MOE HP CDA Console Plugin config: create plugin configurations to other integrated tools HP CDA Console Tags: Define your orgs env tags for platforms, apps HP CDA Console Lifecycle: Define your orgs release lifecycle stages HP CDA Console
Content (optional) Install and configure OO, Chef recipes, DMA flows
25 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Pre-Installation
Check the support matrix documentation for details on the hardware and software requirements for CDA Prepare the target servers for installation
Operating systems, networking, storage, access to software installers, and so on Setup DNS and NTP on the servers,
Installation
Part of lab
27
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
PostInstallation
28
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
30
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
31
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
There is the shared resource network environment that will be accessible by ALL students via their student environment.
32 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Each student environment is identical, so only outbound connections are allowed to the Internet and the shared resource network.
33
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
This is the RD Web URL that you will use to access the Fort Collins lab environments for this class.
34
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
This is the web server that you will initially log in to using your assigned student-xxx account and password provided by the Instructor.
35
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
name name
name name name name name name name name name name name
ovsc\student-xxx ovsc\student-xxx
ovsc\student-xxx ovsc\student-xxx ovsc\student-xxx ovsc\student-xxx ovsc\student-xxx sovsc\tudent-xxx ovsc\student-xxx
Password Password
Password Password Password Password Password Password Password
10.0.42.xxx 10.0.42.xxx
10.0.42.xxx 10.0.42.xxx 10.0.42.xxx 10.0.42.xxx 10.0.42.xxx 10.0.42.xxx 10.0.42.xxx
The first page of the LabAssignments.pdf file contains studentxxx Password 10.0.42.xxx your assigned studentxxx account and password for the student-xxx Password 10.0.42.xxx duration of the class. This account is only for accessing the student-xxx Password 10.0.42.xxx Fort Collins lab. The PDF should be in the Virtual Room student-xxx Password 10.0.42.xxx handouts.
36
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Download and open the LabAssignments.pdf document from the Virtual Room.
https://www.rooms.hp.com/attend/default.aspx?key=RPNEWNMDJ2 Note that there is a generic Sandbox Student Login Process.pdf document in case you are having problems.
2. Write down or print your assigned student account, password and the IP address of your AccessVM from the document.
3. Use Internet Explorer to access the RD Web URL:
https://sandboxtraining.ovsc.adapps.hp.com/RDWeb
4. Log in using the OVSC domain account and password assigned to you. 5. Establish an RDP session to your assigned student environment. 6. Setup student environment Approximate time for exercise: 30 minutes
37 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
38
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
39
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Enter your assigned student account and password, see LabAssignments.pdf for details.
40
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
You should now see a link to the AccessVM in the student environment that has been assigned to you by your Instructor.
41
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
From the web server there is a link to your assigned student environment, which will establish a RDP session (eventually) to the Access VM of your assigned student environment.
42
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
From the Access VMs Windows desktop, you will be able to use the tools on the Access VM to access the VMs in your assigned student environment and the shared resource network environment. For example, RDP or PuTTY to another server within the lab environment.
43
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
44
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
45
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The sqldb-student server is a RedHat Linux server hosting Oracle (installed using the SA bits). It will be used as the CDA database backend.
46 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The adam-student server is a Windows server and will be used to practice installing CDA.
47
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The alm-student server is a Windows server hosting HP Application Lifecycle Management (ALM). This server will be used in a later lab.
48 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The servers in the shared resource network, behind the VMR, are a complete CDA solution set that includes vCenter and ESX servers so that students can provision CDA platforms and deploy applications.
49
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The second page of the LabAssignments.pdf file contains your assigned vcenter-yy account and passwords for all the accounts within the lab environment. These will be used for integration. For now, just use the Administrator user.
50 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
51
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
52
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
VM templates are used for creating IO templates, which are used for creating CDA platforms, which are used for deploying applications on top of, and so on.
53
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The remaining pages of the LabAssignments.pdf file contains the various username and passwords you will need in both the student and shared environments.
54
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
55
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Create a mapped network drive to \\10.0.44.101\training for easy access to the lab files for this course.
56
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copy the contents of the hosts_file.txt file found on the media server to the Windows hosts file.
10.0.44.83
Note the late edition to the file for another IO (io1) server that you will use in labs instead of the older IO (io) server.
57 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Make sure you use the local administrator account and password (which is VC_SL_DC001)
58
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Update the existing hosts file for the late edition IO server.
10.0.44.83
Note the late edition to the file for another IO (io1) server that you will use in labs instead of the older IO (io) server.
59 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify connectivity to: adam-student sqldb-student io-student & 172.16.253.1 (AccessVM GW address) io1 chef0106
60
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
If no, then let your instructor know by chatting in the Virtual Room
Please do not hesitate to let your instructor know if you are having any problems in the exercises
Also check the Question Manager for possible answers to your from past classes
61
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
63
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The current adam-student server already has CDA installed. All you have to do is start it up and log in!
64
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The adam-student installed CDA instance is already integrated with the IO and Chef servers in the shared resource network.
65
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Before installing CDA, start the existing CDA instance, log in and explore the CDA user interface.
66
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Verify Oracle is running and listening for services 2. Verify connectivity from adam-student 3. Start the CDA installation 4. Log in to CDA
67
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
68
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify connectivity to: sqldb-student (CDAs database server) io & chef0106 (CDAs integration to the shared resource network, notice the NATd addresses)
69
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
3. Start CDA
Change to the CDA bin directory and run the serverstart.bat script. This window will be your CDA console.
70 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Take a break, you deserve it! It will take about 5 minutes to start. After you see the hp-adam.ear message, press enter within the window and THEN you should be able to log in to CDA using a browser.
71
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
72
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
4. Log in to CDA
admin / changeit
73
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
4. Log in to CDA
Make sure you are pointing to adam-student and not the shared CDA server.
74
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
75
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Use next series of slides for the values to use in the Installer wizard.
The Command or Power Shell window must remain open and displays all CDA console messages
77
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
78
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
79
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
80
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
82
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
83
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
84
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
85
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
86
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
87
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
88
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
89
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Use the sqldb-student server for the database server and VC_SL_DC001 as the database password. Warning: Be sure to use sqldb-student and NOT the sqldb server in the shared lab environment.
90 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
C:\JODBC\ojdbc6-11.2.0.2.0.jar
91
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
92
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Newer builds will ask for the data file folder. Accept the default for this lab.
93
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select Initial Import. Note that after you click Next you should see status messages while validation steps are performed.
94
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Enter the adam-student server for the hostname and cda as the Web Context.
95
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
96
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select Basic.
97
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
FE_Passphrase#1 FE_Passphrase#1
Enter the domain and pass-phrase for LWSSO. Use FE_Passphrase#1 for the pass-phrase. This pass-phrase needs to be consistent with other LWSSO-enabled products such as ALM.
98
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Enter any value for the email since there is no email (SMTP) server in the lab. Note that the default password is: changeit
99
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
100 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
101 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Almost done!
102 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
103 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Done installing.
104 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Change to the bin directory and start the server from a Command or Power Shell window.
106 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
It should take about 2-5 minutes to fully start CDA. You should be able to log in after you see the hp-adam.ear file deployed in the console window. Note that the console (server) log, and other logs, can be found in the c:\Program Files\Hewlett-Packard\CDA\1.00\jb710\standalone\log folder.
107 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that the browser should be set to NOT proxy URLs from *.syslab.adam.qa.hp.com
IE is already set
108 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Log in to CDA on the adam-student server and explore the interface after a clean installation.
109 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
If no, then let your instructor know by chatting in the Virtual Room
Please do not hesitate to let your instructor know if you are having any problems in the exercises
Also check the Question Manager for possible answers to your from past classes
110 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Set up HP IO integration
5. Set up HP OO integration
6. Set up Jenkins build server integration 7. Run a Check Connections test from CDA and verify a connection is established for each provider Approximate time for exercise and break: 30 minutes
112 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Set up HP IO integration
Open a browser window and verify you can connect to the HP IO URL needed for the CDA-IO integration: https://io.syslab.adam.qa.hp.com:51443/hpio
113 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Set up HP IO integration
Verify you can log in to HP IO using the CDA-IO integration account and credentials: administrator / IO_001
114 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Set up HP IO integration
Please note that you are using the IO server in the shared resource network that is being used by ALL students. Please be careful in the shared environment and follow the guidelines in the lab guide when using IO and creating content. Be sure to PREFIX content with SXXX, where XXX is your student assigned ID. This will make it easier to identify your work.
115 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Set up HP IO integration
Return to the CDA interface and add a new IO server from the Administration tab and Servers option.
116 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Set up HP IO integration
Enter the following values:
Name: Shared IO Server
Description: IO server in the shared resource network. MOE User name: administrator Password: IO_001 MOE Server: https://io.syslab.adam.qa.hp.com: 51443/hpio Connection Timeout: 90
1. Set up HP IO integration
Verify if any existing IO templates show up in CDA
A. Select the Platforms tab and navigate to the Infrastructure Templates page
B. Select the IO server that you just finished setting up the connection information for
C. Verify if any IO templates show up on the page as Not Synchronized Yet
Note that if the IO server has any IO templates, these templates should show up in the CDA interface and validate the communications with IO. It is possible that there are not any existing IO templates and you will need to create them either before or after the integration with CDA. For example:
118 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify you can ping the Chef server and/or connect to the Chef server using a browser.
119 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
120 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
B. C.
Perform an Test Connection to verify CDA can communication with Chef Save the settings
121 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
SA Host: sa.syslab.adam.qa.hp.com
SA User: administrator SA Password: Aut0mat10n!
122 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
123 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
5. Set up HP OO integration
Steps:
A. Select the Administration tab and navigate to the Plugins page
B. Locate the OO Deployer Plugin option and Select Add configuration C. Configure the Create Provider parameters for the OO Deployer Plugin:
Name: Shared OO Server
Description: Connection to the OO server in the shared lab environment used by ALL students.
OO Host: oo.syslab.adam.qa.hp.com
OO Port: 8443 OO Protocol: https OO Central Certificate Autotrust: yes OO Basic Auth User Name: admin OO Basic Auth password: Aut0mat10n!
124 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
B. Return to the CDA user interface and select the Administration tab and navigate to the Servers page C. Select the Add Jenkins Server link
serverUrl:
Verify each server or provider shows up in the list and the communications test is successful.
126 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
If no, then let your instructor know by chatting in the Virtual Room
Please do not hesitate to let your instructor know if you are having any problems in the exercises Also check the Question Manager for possible answers to your from past classes
127 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
129 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
130 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Create a new CDA Domain. Use your assigned student ID as a prefix for the domain to make it easier to identify.
131 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Review each of the sub-tabs before making further changes (for comparison later).
132 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
133 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Change the Default Domain of the user to the newly created CDA Domain.
134 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Change the users Role Membership for the newly created CDA Domain. Add all roles to the new user.
135 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
View the Roles for the newly created CDA Domain and verify the new user is now a member of the Domain Administrator role within that domain.
136 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
137 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Change the Default Domain of the user to the newly created CDA Domain.
138 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Change the Role Membership of the non-Domain Administrator user. Assign all roles except for the Domain Administrator.
139 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
View the newly created CDA Domain. Verify the non-Domain Administrator user is a member of all roles, except the Domain Administrator role, for the domain.
140 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Log out of the existing session and restart the browser. Note that you might experience page and JavaScript errors if you do not restart the browser.
141 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
View the options on the Administration tab. Notice the user has limited permissions
142 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify the user cannot to switch domains from the Settings tab.
143 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
144 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Notice that this user does not have the Administration tab.
145 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
146 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
147 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
3. Install the CDA patch 4. Start the CDA server instance 5. Verify the CDA patch is installed
149 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
150 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Open and review the patch document already downloaded on the \\10.0.44.101 server as: CDA_00001_Doc.htm
151 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
B. Copy the CDA1.00.001_Patch folder to the C:\ drive of the adamstudent server.
Do this step now.
C. Shutdown the existing CDA instance from the CDA console window (CTL-C).
Do this step now.
Run the setup.bat script. This will launch the CDA setup wizard.
153 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
154 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
155 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
156 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
157 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
158 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
159 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
160 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
161 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
162 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
163 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The update should take about 20 minutes to complete. When done, click Next to continue.
164 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
165 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
166 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Wait until you see the hp-adam.ear message before trying to log in to the CDA server instance.
167 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
168 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Scroll to the bottom of the page and select the About Continuous Delivery Automation link.
169 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
170 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Summary
After completion of this lesson, you should now be able to :
List the CDA components and CDA roles
Describe the overall process for successfully installing CDA Access the lab environment
171 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Goal
The main goal of this lesson is to:
Provision a single Ubuntu CDA platform to verify provisioning is working correctly between CDA, IO and vCenter
173 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Objectives
Upon successfully completing this lesson, you should be able to:
Create a single Ubuntu server IO template from HP IO
Create a CDA platform based on the single Ubuntu server IO template Provision the single Ubuntu CDA platform from CDA
Verify the single Ubuntu server CDA platform is fully provisioned between CDA, IO, vCenter
174 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson References
References for this lesson to help you learn more:
Documentation:
CDA 1.00 Release Notes CDA 1.00 Concepts Guide CDA 1.00 User Guide HP MOE Docs
Other
vSphere Virtual Machine Administration Guide
http://www.vmware.com/pdf/vsphere4/r41/vsp_41_vm_admin_guide.pdf
Chapter 4, Working with Templates and Clones
175 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Overview of HP IO templates
Create an overview that explains what an HP IO template is and how it is used in context with CDA
Describe the user roles that will be responsible for creating these HP IO templates
Their relationship with those creating VM templates and those creating CDA platforms from the IO templates
Provide example scenarios in relation to the main Dev/Test use case being promoted with CDA 1.0
What else would you like to see in this section as far as an overview?
177 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
MOE templates encapsulate the network, storage & compute complexity of the IaaS
Templates define virtualization source (i.e. VMware, EC2) Templates can be hybrid of public and private
Server groups can define future capacity (i.e. starting number of servers in the group to provision, max number to allow scaling up to)
New in MOE 7.1 is also support for load balancers and firewalls
178 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
179 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
180 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that there is a sample IO template created by student-000 (S000) for reference.
181 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
183 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Double-click the SvrGrp1 icon to edit the Server Group for the new template.
184 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Update the settings for the Config, Networks and Software tabs before saving. Be sure to use your assigned student ID as a prefix to uniquely identify your template in the shared IO server.
185 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Be sure to use your student prefix to create unique hostnames for your provisioned servers. and select DHCP for the network.
186 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the cda-ubuntu VM template that already exists on the ESX server.
187 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
189 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Return to the IO portal and verify your template shows up in the IO portal. Note that you will likely see many other student IO templates.
190 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select your IO template and create a new service to provision and verify your template works from IO
191 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Enter a unique service name and hostname for your new service and then select Options (NOT Submit). Please use a short prefix to identify your service from other students.
Note that Service Name and hostname uniqueness is VERY important in a shared environment. Also, CDA limits the hostname completion to 2 characters, while HP IO allows more characters.
192 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Before submitting the request, verify you are using the CDA Pool for provisioning.
193 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
194 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify vCenter is cloning and setting up the VM for your service. Switch back-and-forth between IO and vCenter to watch the progress. Note that you should see several tasks related to your service (clone, reconfigure, customize, power on).
195 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that you will not be able to directly ping or access the VM from your student environment.
196 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
S000Ubt1
.36
The new VM is cloned on one of the ESX servers from the VM template and then reconfigured by IO with a hostname and put on the network. The VM boots and then gets a DHCP IP address from the DHCP server . The DHCP client then requests a dynamic update of DNS, and so on.
197 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
IMPORTANT: Please delete your VM to conserve shared resources or the entire class will have problems later.
198 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
If no, then let your instructor know by chatting in the Virtual Room
Please do not hesitate to let your instructor know if you are having any problems in the exercises
Also check the Question Manager for possible answers to your question from past classes
199 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note: CDA platforms do NOT model any specific aspects of the application that comes later!
201 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
MOE template
202 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Different CDA platforms can use the same underlying MOE template, but deliver different platform capabilities
app A dev platform app B dev platform
MOE template
MOE template
OS only
OS only
OS only
OS only
203 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Platform models takes advantage of MOE 7.1 server customers existing templates & content
IaaS templates
storage NW
compute
NW
compute
Additional Software
The CDA model for platform captures the IaaS template capabilities For platform stack completion: CDA can maintain a library of external SW Sources: OO, DMA, Chef Creates standardized platform provisioning
flows
recipes
flows
204 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
205 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
206 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
This allows the platform provisioning process to setup the right deployment tool right away
Bootstrapping will setup the targets agents
Does mean that customers that use different deploy tools across their org may end up with some duplicate platforms (differing only on deployment tool)
For example, could have different SA server for Staging vs. Production
207 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
208 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Log in to the CDA server instance as the Domain Administrator for your newly created CDA Domain.
209 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
From your adam-student server, import your IO template into CDA and synchronize.
210 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the imported IO template. Note the first time you do this, you might need to re-enter the CDA username and password.
211 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the imported IO template and click on the Server Group in the illustration.
212 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Add MySQL 5.1 and Tomcat 6 to the list of software already provisioned on the template. Save the changes.
213 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select deployer
214 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
215 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Go to the Designer tab for the platform and edit the properties of the Server Group to set the deployer username and password to: root / ubuntu
216 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Post-MOE provisioning
CDA will bootstrap the deployment agent (Chef, in the lab examples) CDA will install any assigned platform SW
CDA also exposes a command line tool to essentially import externally provisioned platforms into CDA
218 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
219 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
220 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Return to the Overview tab of the platform and scroll the page to the right and select Provision to provision the platform.
221 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Enter unique values for the hostname and service name. Note that the hostname can only be 2 characters at this time.
222 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Save the parameters for this Provisioned Platform using the Service Name (makes it easier to identify later).
223 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
224 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
225 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
226 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify your platform is being provisioned in vCenter. Switch backand-forth between vCenter, IO and CDA to watch the progress.
227 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that while provisioning, near the end of the provisioning, CDA (without the .0001 patch) will tell the Chef Server to bootstrap the node. You can switch to the CDA console window and should be able to see various messages related to the Chef Server and bootstrapping. Note that bootstrapping in the .0001 patch has moved to application deployment.
228 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
When provisioning is complete, you should see successful messages on the reports page. The platform is now ready for application deployment.
229 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
230 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
View All Provisioned Platforms and verify your platform shows up in the list as PROVISIONED.
231 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
If no, then let your instructor know by chatting in the Virtual Room
Please do not hesitate to let your instructor know if you are having any problems in the exercises
Also check the Question Manager for possible answers to your question from past classes
232 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Summary
After completion of this lesson, you should now be able to :
Create a single Ubuntu server IO template from HP IO
Create a CDA platform based on the single Ubuntu server IO template Provision the single Ubuntu server CDA platform from CDA Verify the CDA platform is fully provisioned between CDA, IO and vCenter
233 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Goal
The main goal of this lesson is to:
Model and deploy a multi-tiered application in CDA on an already provisioned CDA platform
235 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Objectives
Upon successfully completing this lesson, you should be able to:
Model and deploy a simple application on a single Ubuntu server CDA platform
Model and deploy the Pet Clinic application on a single Ubuntu server CDA platform
236 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson References
References for this lesson to help you learn more:
Documentation:
CDA Release Notes CDA Concepts Guide CDA User Guide
Other
Optionally, Opscode (Chef) wiki: http://wiki.opscode.com
237 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Quickly model and deploy a very simple application (if you can even call it that) to test whether you can deploy using the Chef deployer
Discuss modeling and layers in relation to application layers and tiers
Perhaps discuss how to model a complex multi-tiered application such as the Online Banking Application
Rumors that it will be used at Discover?
Model a little more complex application like the Pet Clinic to make a pass at a more real application
Perhaps that is as far as we go for the SWAT Bootcamp?
239 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Log in to the CDA server instance as the non-Domain Administrator user that you created earlier.
241 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
243 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select Create Application Model to model the application or select Application Models and then Create.
244 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
245 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select Application Models to define your application layers and model the deployment of those layers.
246 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the application model you created earlier. Note that an application version can have more than one application model. Why you might ask? Stay tuned
247 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
249 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Expand the Deploy actions and add an Executed Script to your layer to be used during the Deploy phase.
250 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
253 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Skip defining a monitoring policy for the deployment topology and select Finish.
255 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
You would map the application layers to the Server Groups if you had multiple layers and groups. For this case, the 2 layers are automapped to 1 server.
256 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
257 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Use your application model, topology and previously provisioned platform to deploy.
258 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
259 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
260 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
From the AccessVM you can open a PuTTY window to the Chef Server to get inside the shared resource network.
262 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
C. Change to the /etc/chef/cookbooks and look for your generated cookbooks (for example, s000) D. Open an ssh connection to your chef node E. Change to the /etc/chef directory, on the node, to see what a properly bootstrapped client looks like F. Run chef-client on the node to validate client/server communications
263 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
G. List the /tmp directory and look for your deployment file
Return to CDA and view All Deployments from the Applications tab. Select your application.
264 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
265 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
266 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
267 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
268 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Importing and Deploying the Pet Clinic Application on an already provisioned Ubuntu server CDA platform
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Import the Pet Clinic application archive into CDA as the Domain Administrator. 2. Update the application model layers. 3. Define a new deployment topology.
270 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Log in to the CDA server instance as the Domain Administrator for your newly created CDA Domain.
271 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
From the Model Archive option, locate the petclinic-chef-ubuntu0.11.0.3.zip file on the shared drive and then select Advanced Options.
272 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Review the import options and then click Import to import the zip file.
273 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
274 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
B. Return to the Applications, Platforms and Administration tabs and view what content is imported from a CDA perspective:
Application tab
Pet Clinic Application and version, including all related artifacts are imported
These came from a previous export of the repository from another lab environment, therefore, there needs to be some editing of the model before you can use the imported content
While on the Administration tab, review all of the Pet Clinic Application related links and tabs to help become familiar with the various screens All Platforms > Pet Clinic Logical Platform definition
Platforms tab
275
Infrastructure templates (notice a new IO server artifact and IO template was imported) Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Log in to the CDA server instance as the non-Domain Administrator user that you created earlier.
276 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
277 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Drill down until you locate the Layers of the Pet Clinic application model.
278 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Expand the DB Layer and view the mysql config deployment step.
279 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Drill down until you can actually view the contents of this artifact. Note that you might need to provide credentials to view.
280 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Notice that this configuration file has been parameterized to allow you to set the port value at deployment time. You should find one more parameterized value in this file. Close the file when done viewing and navigate back to the Layers page for the application model.
281 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The values in the my.cnf configuration file are set at the Layer level.
282 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The default values are set using Reference Variables that are picked up from the defined Endpoints for the Layer.
283 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
284 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Edit (view) the mysql.bindaddress default value to point to the ipaddress endpoint. Click OK and then Save to update the Default Value.
285 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Edit the mysql.port default value to point to the port endpoint. Click OK and then Save to update the Default Value.
286 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Save your work BEFORE you move on to the next deployment step.
287 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
mysql.bindaddress
mysql.port mysql.dbname (maps to path endpoint) mysql.localuser.name (maps to application layer) mysql.localuser.password (maps to application layer) mysql.remoteuser.name (maps to application model)
288 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The imported model points to a nonexistent server in our lab environment, so you will need to update the location of the petclinic.war file. See next slide.
289 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Change the source to use an image from the DSL. You can upload the petclinic.war file to the DSL from the shared media server in the lab.
290 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Make sure to Save you changes BEFORE moving to the next deployment step.
291 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The imported deployment topology model points to a platform that does NOT exist in the environment. You can delete or ignore this topology for now.
292 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
293 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
294 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
295 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
296 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Return to the Overview, then scroll right and deploy the application.
297 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select a unique deployment name and appropriate Application and Model and Platform to deploy to.
298 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
299 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
There is no monitoring policy set at this time, so Finish to start the deployment.
300 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Deployment should start and you should be able to click See report for more details.
301 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
302 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
304 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
305 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
306 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Yippy!
307 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that the student environments will not be able to directly access the newly provisioned platforms because they are in a NATd environment. Ask your instructor to try your URL from within the shared environment. [Need to get a Windows jump server in the shared env.]
308 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
If no, then let your instructor know by chatting in the Virtual Room
Please do not hesitate to let your instructor know if you are having any problems in the exercises
Also check the Question Manager for possible answers to your from past classes
309 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Summary
After completion of this lesson, you should now be able to :
Describe the process and the infrastructure requirements for creating VMware templates for use with CDA
Create a VMware template for Linux and Windows Create a VMware customization specification for Linux and Windows
310 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
311 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Different configs for different artifact locations; these are from CDA DSL
312 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
313 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Application builds
This is a CDA packaging from the default config can now be deployed over & over
314 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Lifecycle processing
Manage the lifecycle of the app here in the app build area
315 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Lifecycle processing
316 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lifecycle management
Can have more than 1 lifecycle defined for the CDA install
If lifecycle stage has no approvers, then CDA users can directly click in Builds to promote (otherwise promotion blocked until all authenticators sign off)
317 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
1. Lifecycle configuration
318 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson 4: Integrating ALM with CDA and Deploying the Lab Management Automation Use Case
Continuous Delivery Automation (CDA) 1.x: How to POC, Level 360
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Goal
The main goal of this lesson is to:
Integrate ALM 11.5 in to the CDA solution and successfully implement the lab management automation use case.
320 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Objectives
Upon successfully completing this lesson, you should be able to:
Describe the ALM to CDA Lab Management Automation use case and user story
Install ALM 11.5 for CDA integration
Note that I thought it would be helpful for BSA Pre-Sales to see how to install ALM in a minimum configuration to support ALM-CDA integration and the LMA use case Experienced LMA users should at least have a set of parameters that they need for installation so they dont have to go through all of the slides
Possibly create a second ALM instance that is already installed. Students can then power on the ALM they wish to use. Create a hyperlink in PPT that takes them to the next exercise.
Integrate CDA with an existing ALM 11.5 installation Implement and demonstrate a simple Lab Management Automation (LMA) use case example between ALM and CDA using the Pet Clinic application
321 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson References
References for this lesson to help you learn more:
CDA documentation:
CDA 1.00 User Guide
Chapter 2, HP CDA General Information and Tasks, see the section on Parameters and Parameterization Chapter 3, Troubleshooting Integration Issues with Other HP Applications
ALM documentation:
A
B
Other:
Pointers to Pre-Sales collateral for Presentation and Demonstration of LMA Pointers to ALM related enablement
322 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Architecture
Connectivity between CDA-ALM Roles/Authentication API What a real world deployment looks like
324 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Overall Process
1. Install
2. Integrate
3. Configure 4. Import
5. Provision
6. Deploy 7. Undeploy 8. Deprovision Note that the start actions will need to be added to the Deploy workflow since an ALM user has no way to select which actions are performed.
325 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
2. Install the ALM Add-ins necessary to connect to ALM and integrate with CDA
3. Configure ALM for CDA integration as the ALM Site Administrator
4. Configure Lab Management for CDA integration as the ALM Site Administrator
5. Configure Lab Management for CDA integration as the ALM User Approximate time for exercise and break: 60 minutes
327 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that the above steps have not yet been implemented in the current lab environment. You will need to perform Tasks 1 and 2.
328 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Before starting the installation, edit the Windows hosts file and uncomment the localhost entry.
329 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
330 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
331 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
333 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
334 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
335 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Progress is shown as the installation proceeds. It should take approximately 5 minutes to copy the files and start the server configuration wizard.
336 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
337 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The ALM server configuration wizard should automatically launch to allow you to configure ALM.
338 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
339 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Enter the Database Server configuration parameters. Use VC_SL_DC001 as the DB admin password.
340 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
341 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
342 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Be sure to use Administrator with a capitol A. The password should be: VC_SL_DC001
343 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
344 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
345 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
346 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Enable the Install Mercury Tours check box if you wish to view the tutorials.
347 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select None for this lab environment since there is no SMTP server available.
348 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
alm-student.syslab.adam.qa.hp.com
349 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The configuration wizard should now update the configuration. The configuration should take about 10 minutes to complete.
350 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
351 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
It might take up to 5 minutes to start the ALM server. Note that a browser window should open and display the top page of ALM when started (next slide).
352 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
View the ALM icon in the System Tray and verify the server is started.
353 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
354 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the Add-Ins Page link to set up various add-ins required by ALM.
355 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that for the ALM/CDA integration Lab Management use case, you will nee to install several add-ins.
356 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Download and install the add-in. Return to the previous screen when done.
357 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
358 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Use the default settings for the installer wizard. Use the values for the HP ALM Lab Service Settings found on the next slide.
359 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
360 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
361 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Click OK to continue. There is no approval that you need to do for the lab.
362 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Click OK to continue.
363 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
364 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
365 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify the ALM Lab Service is running in the System Tray. Return to the previous add-ins screen when done.
366 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the HP ALM Client Registration. Note that there are two add-ins that you need to install.
367 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Scroll to the bottom of the page to find two links for the Client Registration add-ins.
Select Register HP ALM link.
368 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that a new browser window should open to indicate that you will need to download and install some additional Windows software.
369 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Read the note. Notice that you need to download and install the 32 bit version of the Windows software.
370 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
371 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
372 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Return to the previous browser window and refresh the page to start the add-ins installer.
373 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
374 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
You should get a message to close the browser window if the add-in was installed successfully.
375 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Return to the previous add-ins screen. Install and register the HP ALM Site Administration add-in.
376 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
377 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify the registration completes successfully and close the browser window. Return to the top server page for the ALM server: http://localhost:8080/qcbin
378 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select Site Administration and verify you can log in to ALM as the ALM Site Administrator.
379 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that add-ins are downloaded and installed per user and host.
380 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Administrator / VC_SL_DC001
381 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
ALM installation and basic configuration is now complete and you are now ready to configure the ALM/CDA integration for the Lab Management use case.
382 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
383 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
384 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
385 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
386 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Click OK to continue.
387 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
388 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the ALM Lab Extension option for this new project.
389 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Review and create the new project. It will take several minutes to create.
390 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select No to not complete the Lab Management project settings. You do this later in the lab.
391 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
392 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
393 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Add the new project to the list of user projects assigned to this new user.
394 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Add the new user to the new project and assign the new user as a Project Administrator to the new project.
395 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
396 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
397 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
398 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
399 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Open a second browser tab and verify connectivity to the student CDA server.
400 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Create a new CDA Server to the student CDA server in the lab.
401 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
If you get an error trying to configure the CDA server, more than likely the LWSSO passphrases for both ALM and CDA are different.
Note that the next 2 slides show you how to update the passphrase value in ALM, if necessary.
402 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Log in to CDA as the admin user and view the passphrase value in the System Settings. Use that value to reconfigure ALM, if necessary. Note that changing the value in CDA does not appear to work at this time.
403 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
You can edit the passphrase value in ALM as the Site Administrator. Note that you will need to restart ALM after the change.
404 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The goal is to add the student CDA server to the list of CDA servers in ALM Lab Management.
Note that ALM only supports one CDA server at this time.
405 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Update the Project Settings for the CDA_DEMO_PROJECT. Add the CDA Server and then set the CDA Domain to point to the student CDA server and the student created CDA domain (created in CDA).
406 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Add a new testing host to run the VAPI-XP scripts. Not that the name must match the host name set in the HP ALM Lab Service Settings.
407 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Notice that the host status should be Unavailable and Not registered at this time.
408 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
A. Open the ALM Lab Service Settings from the System Tray.
409 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Refresh the list of testing hosts and verify the new host is now Operational and Registered.
410 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
411 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
B. Create a Test
Create a Test Plan and Script
413 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Authenticate and log in as the alm-user. Note that there is no password set for this user (at this time).
414 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify the testing host is listed. Note that you cannot make changes from this interface.
415 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Create a new AUT Environment for the current Pet Clinic version under test.
416 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Create a new AUT Environment Configuration for the Pet Clinic AUT Environment.
417 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Create a set of parameters for the Pet Clinic application environment with default values for ALM.
418 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Set the new parameter values based on values returned from CDA.
419 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
420 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
421 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Replace the current contents with those from the file: Z:\CDA1.0\vapi-pc-script-simple.txt
425 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Create a new test set folder for the Pet Clinic test sets.
426 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
427 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
428 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
429 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Create a new folder to hold Pet Clinic related build verification suites.
430 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
A. Create a new Pet Clinic build verification suite. B. Add the Pet Clinic test set to the Pet Clinic build verification suite.
431 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that the test set is a Functional test set. It is easy to create a test set without setting the type earlier.
432 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Run the Pet Clinic build verification suite and use the already deployed Pet Clinic environment.
433 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The window should display the values for the parameters passed from CDA to ALM. Close the window to finish the test.
435 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
436 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Run the build verification suite again and this time deprovision when done.
437 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
B. Verify the CDA Platform is deprovisioned C. Verify the VM is deleted in vCenter D. Run BSV again and this time provision and deploy, while leaving the application deployed when the testing is done. E. Verify the VM is provisioned F. Verify the CDA Platform is provisioned G. Verify the Pet Clinic application is deloyed H. View the results of the BSV test I. Verify the Pet Clinic application remains deployed and the CDA Platform remains provisioned.
438 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Summary
After completion of this lesson, you should now be able to :
Describe the ALM to CDA Lab Management Automation use case and user story
Install ALM 11.5 for CDA integration Integrate CDA with an existing ALM 11.5 installation
Implement and demonstrate a simple Lab Management Automation (LMA) use case example between ALM and CDA using the Pet Clinic application
439 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Goal
The main goal of this lesson is to:
Integrate HP SiteScope 11.20 in to the CDA solution and show how to configure a new monitoring provider:
Import SiteScope (SiS) templates Understand CDA monitor policy Deploy monitoring with an app
441 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Objectives
Upon successfully completing this lesson, you should be able to:
Describe the CDA SiS monitoring use case and user story
Integrate CDA with an existing HP SiteScope 11.2 installation Implement and demonstrate a simple monitoring deployment use case example between SiS and CDA
442 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson References
References for this lesson to help you learn more:
CDA documentation:
CDA Release Notes
Deployment of the same HP SiteScope template to the same target directory on two or more HP SiteScope systems is not supported Requires HP SiteScope 11.20
Other
HP SiteScope 11.0 documentation set
443 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Concepts to Cover
Notes:
CDA includes monitoring deployment in conjunction with application deployment A monitoring policy is attached to a deployment topology during deployment The monitoring policy defines the monitor server and monitor templates to use CDA currently supports HP SiteScope, HP Diagnostic and Nagios (open source) monitoring tools Monitoring tools allow you to monitor application availability and performance Monitoring is deployed and undeployed with the application via CDA Monitoring tool events are reported back to CDA and monitoring status is displayed in the CDA user interface Monitoring details are displayed in the appropriate monitoring tool CDA allows monitor policy changes and re-deployment to existing deployments
445 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Concepts to Cover
Notes (continued):
Process overview
Identify monitoring tools in the environment
CDA supports HP SiteScope, HP Diagnostics and Nagios (open source) monitoring tools Other monitoring tools require custom integration Also need to configure the monitoring tool to send monitoring events to CDA (not part of lab because ALL students are sharing the one HP SiteScope server in the shared lab environment) HP SiteScope monitors are created in CDA by importing HP SiteScope templates HP Diagnostics and Nagios monitors are manually configured
Define Monitors
Define Monitoring Policies Assign Monitoring Policies to Deployment Topologies Deploy the application (and monitoring) Review the state of the monitored application Modify the Monitor Policies and Re-Deploy Undeploy the application (and monitoring)
446 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
447 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
448 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Rich set of monitoring tool integrations including Sitescope, Diagnostics and BSM stack, Nagios ( see earlier slides on phased approach ) Extensible to other monitoring systems via abstraction layer Policy management Configurable rules Actionable Application & Infrastructure events generated based on policy and rules configured.
449 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Retrieve, Store
Scale, Control
Events
Actions
IaaS Controller or Resource Abstraction Layer (RAL), Deployers, Configuration Abstraction Layer (CAL)
450 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Monitoring Tool
Monitor Config API
ARM/AWM
Monitors
Create/Delete Instance
Threshold Engine
Event API
Model Info
Actionable Event
451 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
452 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CDA 1.0 ships OOTB with provider template for Diagnostics and SIS
A. Create a new monitor server configuration in CDA for all monitor tools across the release environment B. For a given server configuration, import its monitor templates
453 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
454 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
455 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
456 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Provide a name and description and then select a monitor provider definition (before clicking Next).
457 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Add the SiteScope monitoring server type as the monitor provider definition.
458 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify SiteScope is added as a monitor provider definition and click Next to continue.
459 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Open a new browser window and connect to the shared SiS server in the lab: http://sis.syslab.adam.qa.hp.com:8080/SiteScope
460 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The HP SiteScope monitor server is now available, but only to the System domain. Does not show up in other domains.
462 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
464 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
465 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
466 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
467 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
468 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
470 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
471 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
473 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
474 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Drill down to the Pet Clinic application model and view the current Deployments. First, you will need to undeploy the existing deployment.
475 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Undeploy the current deployment. Verify the undeploy is successful and then return to the Pet Clinic application model.
476 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
478 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
479 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
480 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select and add the SiS monitoring policy that you created earlier.
481 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Add the SiteScope monitor server that you created earlier as the monitor server for this topology.
482 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the SiteScope monitor server that you created earlier and add it to the topology.
483 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
View the new topology with the SiteScope monitoring policy. Verify the policy shows up on the App Server Layer.
485 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Provide a unique name and select the deployment topology that includes monitoring.
486 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
487 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Enter appropriate values for the monitoring parameters. Be sure to use a unique sis_destinatio n_path because the HP SiteScope server is shared by ALL students.
488 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Save the parameters for later use and then click Finish to deploy.
489 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
3. Verify monitoring
Review the deployment report and verify the monitoring deployment was successful.
490 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
3. Verify monitoring
Start the Pet Clinic application. Verify the Pet Clinic application starts successfully.
491 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
3. Verify monitoring
View SiteScope monitoring. Note that the Cpu and Memory monitors might not work because the template uses Telnet for communications, which is not enabled on the Ubuntu server.
492 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Additional steps:
A. Undeploy the application and verify the monitoring is also undeployed
493 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
494 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify monitoring is also undeployed in SiteScope. Note that the HP SiteScope server is shared by ALL students, so your specific monitors should not show up.
495 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
496 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
ubuntu
497 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Goal
The main goal of this lesson is to:
Integrate CDA with the HP Server Automation (SA) and HP Database and Middleware Automation (DMA) service providers and demonstrate a simple integration use case for deploying a SA Policy and DMA Flow through CDA.
499 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Objectives
Upon successfully completing this lesson, you should be able to:
Describe the CDA to SA/DMA integration and use case scenarios
Integrate CDA with an existing SA 9.12 installation Implement and demonstrate a simple deployment use case example using a SA Policy Implement and demonstrate a simple DMA flow execution
500 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson References
References for this lesson to help you learn more:
Documentation:
CDA Release Notes
Other
Server Automation and DMA User Guide documentation
501 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
[testing integration]
Exercise Tasks
502 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
503 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Goal
The main goal of this lesson is to:
Learn best practices for creating VMware templates for use with CDA and optionally create a Linux template that works with both SA and the Chef deployer
505 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Objectives
Upon successfully completing this lesson, you should be able to:
Describe the process and the infrastructure requirements for creating VMware templates for use with CDA
Create a VMware template for Linux and Windows
506 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson References
References for this lesson to help you learn more:
Documentation:
CDA Installation and Configuration Guide
Other
vSphere Virtual Machine Administration Guide
http://www.vmware.com/pdf/vsphere4/r41/vsp_41_vm_admin_guide.pdf
Chapter 4, Working with Templates and Clones
507 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
VM templates are simply a master copy of a VM that can be used to create many clones (other VMs from the template)
Standard VMware definition For example, the VM name, computer name, network settings, and so on Known as guest operating system customization in VMware Uses a wizard or customization specification and optional scripts VMware Tools must be installed on the VM template Guest operating system customization must be supported by VMware for the given OS
Refer to the VMware vSphere Compatibility Matrixes documentation for other details
509 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Other software
VM template can contain base software that will be used by all platforms
510 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
2. Deploy the SA Agent to the VM and bring it under management of SA (if the VM was not provisioned through SA) 3. Sanitize the SA Agent on the VM and shutdown the VM 4. Deactivate and delete the managed server from SA 5. Convert the VM to a VM template
511 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
513 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Password: VC_SL_DC001 View the VMs and Templates that are already managed by vCenter
514 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
C. After the VM is deployed, then edit the VM settings and set the Network adapter to: 10.0.44.0 Network (the same network the shared SA core is on), also make sure the adapter is connected
515 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
516 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
If you do not get an IP address, recheck your VM network settings and make sure the adapter is connected
Select your VM in the vSphere Client and launch the Install/Upgrade VMware Tools option
Note that this version of vCenter will automatically install or upgrade VMware Tools on Linux and should take about 5 minutes
517 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Note that previous versions of vCenter require you to mount the CD-ROM, install the VMware Tools RPM, and run the VMware configuration tool
B. Deploy the SA Agent to your target VM You should see your Select Manage Server and deploy the Agent to the server, use root / VM based on the IP opsware for the credentials address you C. Verify the target VM is now under management of SA recorded earlier. Please note that SA and vCenter are shared resources with other students.
518 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Go to Unmanaged Servers and scan for the IP address of your specific target VM
519 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
520 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
521 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
522 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
B. Launch the vSphere Client and log in to the shared vCenter Server for the lab
IP address: 10.0.44.42 User name: vcenter-YY, where YY is a unique number assigned to each student by the instructor Password: VC_SL_DC001
C. Go to the Customization Specifications Manager interface D. Review the existing useVmName_Linux and useVmName_Windows customization specifications
These were already defined in the shared environment and are used by the shared CDA installation
523 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
C. Return to the SA Client and verify the server is now managed D. Deactivate and Delete the server record from SA
E. Return to the vSphere Client and shutdown your VM and then delete the VM from disk
Note that you do NOT want to delete your VM template because you will use that template later in the sample service designs of CDA
525 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
If no, then let your instructor know by chatting in the Virtual Room
Please do not hesitate to let your instructor know if you are having any problems in the exercises
Also check the Question Manager for possible answers to your from past classes
526 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Summary
After completion of this lesson, you should now be able to :
Describe the process and the infrastructure requirements for creating VMware templates for use with CDA
Create a VMware template for Linux and Windows
527 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Goal
The main goal of this lesson is to:
Install the HP Insight Orchestration (IO), also known as Matrix Operating Environment (MOE) 7.1 (build 38) software and integrate MOE with vCenter to allow CDA to provision platforms through MOE
529 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson Objectives
Upon successfully completing this lesson, you should be able to:
Install MOE 7.1 build 38
Integrate MOE with vCenter Create and provision an IO template to verify operations
530 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lesson References
References for this lesson to help you learn more:
Documentation:
CDA 1.00 Release Notes CDA 1.00 Support Matrix CDA 1.00 Concepts Guide CDA 1.00 Installation & Configuration Guide CDA 1.00 Troubleshooting Guide
531 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Locate the ISOs for MOE and then mount the MOE ISO(s) to the VM DVD drive(s).
534 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Mount the MOE ISOs and start the autorun application, if needed.
535 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
536 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
537 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select all of the options and then Customize to configure the appropriate options.
538 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
HP Insight Control server deployment (install locally or reuse remote installation) HP Insight Control Server deployment SIM Integration module HP Insight Control server deployment Quiesce SIM Plugin HP Insight Control server migration HP Matrix recovery management
539 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
540 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
541 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Review the server prerequisites. Note that the installer will install MS SQL if not installed already.
542 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Enter the password for the logged on (Administrator) user. Include the domain, if appropriate for your installation.
543 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
544 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
545 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
546 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
547 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
548 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
549 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
552 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
The installation can take up to 3 hours to complete in the Fort Collins lab environment. Monitor on occasion.
555 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
At about 16 percent or 20 minutes the system will reboot. You will be asked to enter the location of the second DVD (ISO) if you are using only one mounted DVD.
556 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
557 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Review the Next Steps. Perform the first and third high-level bullets for the Fort Collins lab.
558 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Run the Advisor and view the output. You should get only one Major notification, which you can ignore.
559 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Review the log file and look (search) for any obvious errors.
560 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Access the Systems Insight Manager. Log in as the Administrator user and IO_001 password.
561 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Go to All Systems and verify the IO server shows up in the list of systems.
563 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Return to the Insight Management Installer and close the window. Reboot the server and then relaunch Insight manager.
564 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
565 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
566 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
567 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
568 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
569 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
570 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
571 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
572 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
573 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
575 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the option to specify a file name and path to the key file.
577 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify you now have available licenses to manage the vCenter managed hosts.
580 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
581 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
582 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
583 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
584 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
585 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
586 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify the task is running. The task should discover the listed ESX managed hosts and any VMs on those managed hosts. Note that esx2 was not connected at the time of the discovery.
587 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the Task ID to drill down deeper into the task details.
588 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the ESX server Target and scroll down to see the target details.
589 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
590 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
View the target details and look for any Major failures, for example, credential issues.
Return to All Systems and view the results of the discovery task.
591 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
592 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
593 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
594 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
595 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
596 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
597 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
598 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
599 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
600 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
601 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
602 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
604 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
605 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
606 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
607 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
608 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
609 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
610 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
611 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
612 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
613 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
615 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
616 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
617 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
618 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
619 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
View the task target details and verify there are no Major errors.
620 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
From the vCenter servers properties page, select Options, Credentials, and System Credentials.
622 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify the Access Type is set to both WBEM/WMI and Sign-in. Select one of them and then Edit system credentials.
623 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
624 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select the VME tab and set the VME credentials for the vcenter protocol.
625 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
626 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
627 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
628 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
629 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
630 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
631 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
632 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
633 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
634 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Select Refresh and verify the ESX server shows up in the Unassigned server pool.
635 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Create a new pool for the ESX servers that will be used for provisioning through CDA.
636 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Create a new pool and assign the newly discovered ESX server to the new pool. Save the changes when done.
637 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Verify the ESX server is now in the newly created server pool.
638 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Go to the Software tab and verify any existing VM templates show up in the list of available software.
639 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
640 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
641 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
642 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
643 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Go to the Windows sub-tab and edit the Windows domain settings. Save the changes when done.
644 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
645 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
646 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
647 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
648 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
649 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
650 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
651 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
652 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
653 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Save the template. Use a unique name if multiple students are performing the lab.
654 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Return to the Infrastructure orchestration window and verify the IO template now shows up under the Templates tab.
655 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
657 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Make sure you use a unique service name and hostname to identify your service because the IO server is shared by ALL students.
658 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
659 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Thank you
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.