© 2011 ibm corporation prerequisite scanner sprint 5 demo prerequisite scanner team sprint demo ibm...

15
© 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

Upload: cynthia-bryant

Post on 03-Jan-2016

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

© 2011 IBM Corporation

Prerequisite Scanner Sprint 5 Demo

Prerequisite Scanner Team Sprint Demo

IBM Prerequisite Scanner Team

June, 2012

Page 2: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

2 IBM Confidential

Key Accomplishments PRS refresh publish on iRAM to support KUD and zEnterprise

osdp installation prereq check single server support prototype (Story 26525 & 27406)

Feature Request: As a TCR user I would need PRS to detect the  'localhost' name defined in a machine (Story 26121)

Test automation stage 2

(Story 26622, 26621, 26620, 26619 & 25276) Automation engine setup – leverage jazz build engineRun tests after building test cases for a platform

Health check scenario investigation (Story 26446)

Build improvement (Story 21469 & 24304)

Dem o

Demo

Page 3: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

3 IBM Confidential

Demo 1 – TCR Feature Request

Page 4: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

4 IBM Confidential © 2007 IBM Corporation

A valid HOSTS file to pass this check should have at least 1 entry to satisfy:   1) starts with ipaddress 127.0.0.1   2) in the same entry, at least one of the column is "localhost“.

Config File Entries :

os.localhostInHostsFile=True

os.localhostInHostsFile=False

os.localhostInHostsFile

Page 5: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

5 IBM Confidential

/etc/hosts File Entries

Following are the supported entries in the /etc/hosts file

Example: (Supports the below formats)

127.0.0.1 localhost

127.0.0.1 localhost localhost.localdomain #Alias name

127.0.0.1 localhost # Tab Space

127.0.0.1 localhost.localdomain localhost

127.0.0.1 localhost localhost.localdomain

127.0.0.1 localhost

Page 6: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

6 IBM Confidential

os.localhostInHostsFile Results

[root@aclinux08 meti]# ./prereq_checker.sh DMO detail

IBM Prerequisite Scanner

Version: 1.2.0.90

Build : 20120605

OS name: Linux

Machine Information

Machine Name: aclinux08.tivlab.raleigh.ibm.com

Serial number: LKZRA6R

DMO - Prerequisite Scanner Demo [version 0750000]:

Property Result Found Expected

======== ====== ===== ========

os.localhostInHostsFile PASS True True

Prerequisite Scanner Overall Result: PASS

Details also available in /root/meti/result.txt

Page 7: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

© 2011 IBM Corporation

Test Automation – Stage 2 Demo

Prerequisite Scanner Team Sprint Demo

Page 8: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

8 IBM Confidential

Ant based test automation framework

Ant is used to:

- perform the test build

- run PRS commands

- run Junit tests

- collect the logs

Junit tests are written to perform comparison between actual and expected results.

Page 9: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

9 IBM Confidential

Test project in RTC – Directory structure: Project Name: com.ibm.tivoli.prc.test

Page 10: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

10 IBM Confidential

Multi-stage development approach:

Stage 1 - Completed

• develop the Ant based test framework

• manually build the test distribution zip on local Windows machine

• manually run tests using Ant/Junit on each of the test machines

• limited to a few basic tests on Linux and Windows

Page 11: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

11 IBM Confidential

Multi-stage development approach:

Stage 2 – Completed (today's demo)

• allocate and configure a dedicated test machine for running the test builds

•install and configure the Jazz build engine

•configure build definition so test builds can be run from RTC similar to dev builds

•configure the Ant build file to run the Junit tests on that machine after successful test build

•additional Junit tests added

Page 12: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

12 IBM Confidential

Multi-stage development approach:

Future enhancements – Stage 3 +

• ability to run tests on remote target machines including some control over which targets to run

• develop additional tests

• ability to run one specific test or a group of tests

• view html reports directly from RTC ?

Page 13: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

13 IBM Confidential

Page 14: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

14 IBM Confidential

What is PRS

A lightweight and easy-to-use scanning tool to automate prerequisite checks for single or multiple products in a solution

Automated and standardized prerequisite checking solution across products and deployment types

Simplicity of use and lightweight solution

Improve TTV, with ready-to-use out-of-the-box predefined checks

Extensibility to expand coverage easily in the field

Key Benefits & Differentiator

IBM Prerequisite Scanner

Page 15: © 2011 IBM Corporation Prerequisite Scanner Sprint 5 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team June, 2012

IBM Software Group | Tivoli Software

15 IBM Confidential

Completed sprint 5 storiesAs a end user, I want a quick reference to install and run Prerequisite Scanner to scan my target environments (27402)

Story: New cfg files for TPAE 7.5.1 and updates to existing 7.5.0 cfg files (28195)

Story: Refresh build 20120426-1509 for ITM agents team to include fix for defect 27689 (27722)

Story: end of sprint driver regression and documentation update (27551)

Story: as KUD agent team, we need a PRS release to support our June release (27199)

Story: Configure the CVT project: com.ibm.tivoli.prc.test to run the tests for that platform after the build (26622)

Story: Configure the CVT project: com.ibm.tivoli.prc.test to build/run on the Jazz build engine (26621)

Story: Install Jazz build engine on CVT build machine. (26620)

Story: Allocate and build a test machine to run the Jazz build engine for building and running the CVT tests. (26619)

Story: as PRS tester, I would like to improve test by adding additional automated test cases coverage (25276)

Story: Refresh iRAM 1.1.1.10 image with new zEnterprise Monitoring agent (KZE) configuration file (27624)

Story: Configure the Linux build machine to directly copy PRS builds to GSA instead of acwin20 (24304)

Story: Allocate and configure a Windows machine for the build process (21469)

Story: Restructure prc.windows.test build.xml to perform PRS install once rather than every time a test is run (27344)

Story: As a developer, I want to post sprint level builds to Boulder for Transparent Dev evaluation (26468)

Story: License and COO need to be updated for 1.2 (27200)

As an admin installing OSDP, I need to check for DB2 and WAS prereqs if not already installed (27399)

Story: as osdp and servicesteam, I would like to understand the design and approach that how PRS support prereq checks (27406)

Story: as osdp and services team, I would like to see and try the stage 1 (single server only) cfg files (26525)

Feature Request: As a TCR user I would need PRS to detect the  'localhost' name defined in a machine (26121)

Story: Investigate utilizing PRS as a Health Checker (26446)