Prerequisite Scanner Sprint 7 Demo

14
© 2011 IBM Corporation Prerequisite Scanner Sprint 7 Demo Prerequisite Scanner Team Sprint Demo IBM Prerequisite Scanner Team July 25, 2012

description

Prerequisite Scanner Team Sprint Demo. Prerequisite Scanner Sprint 7 Demo. IBM Prerequisite Scanner Team July 25, 2012. Key Accomplishments. Product beta support - Open Service Delivery Platform 1.1 (story 28920) - Tivoli Business Service Manager 6.2 (story 28610) - PowerPoint PPT Presentation

Transcript of Prerequisite Scanner Sprint 7 Demo

Page 1: Prerequisite Scanner Sprint 7 Demo

© 2011 IBM Corporation

Prerequisite Scanner Sprint 7 Demo

Prerequisite Scanner Team Sprint Demo

IBM Prerequisite Scanner Team

July 25, 2012

Page 2: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

2 IBM Confidential

Key Accomplishments Product beta support

- Open Service Delivery Platform 1.1 (story 28920)

- Tivoli Business Service Manager 6.2 (story 28610)

System JRE version check (story 28243)

User specified single or multiple properties check (story 28215)

HP-UX checks db2.home.space check (story 29067) os.swapSize (story 29064)

Unix junit BVT and automated unit tests improvement (story 27530)

Dem o

Demo

Page 3: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

3 IBM Confidential

Demo – System JRE version checkSupport Unix and Windows

Property name:

env.JRE.version.system[type:<IBM|Oracle>]

If optional type is specified, the check will enforce the type check.

Example1: env.JRE.version.system=1.6.0

Example2: env.JRE.version.system[type:IBM]=1.5.3+,1.6.*,1.7.0

“java” command must be in path

- “java –version” command is used for this check

- $JAVA_HOME is not required or checked

Page 4: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

4 IBM Confidential

Demo – System JRE version check Supported values

Complete version string

Example: env.JRE.version.system=1.6.0

Partial version string, with “*”

Example: env.JRE.version.system[type:IBM]=1.6.*

Specified version and above, with “+”

Example1: env.JRE.version.system[type:Oracle]=1.6+

Example2: env.JRE.version.system=1.5.2+

Multiple versions with comma separation,

Example: env.JRE.version.system[type:IBM]=1.5.2+,1.6.*,1.7.0

Page 5: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

5 IBM Confidential

Demo – Subset Property Check

Page 6: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

6 IBM Confidential © 2007 IBM Corporation

Subset/Single Property check allow Admin Services to pass in a single/Subset property in the command line options to check for both prerequisite scan and health check scenarios.

Command line input syntax

property="<propertyname1>,<propertyname2>…"

Example (Prerequisite Scanner Scenario)

prereq_checker.bat TPM detail property=“os.architecture“

prereq_checker.sh TPM detail property="os.pagesize,os.ksh"

Example (Health Check scenario)

prereq_checker.bat TPM detail property=“os.architecture“ –health active

prereq_checker.sh TPM detail property="os.pagesize“–health active

Subset/Single Property Check

Page 7: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

7 IBM Confidential

Design Assumptions and Scope

Single Property check allows the user to pass in any number of properties in the command line argument and properties should be separated by comma

Subset/Single property check supports only for one product. i.e it does not supports multiple products.

only the passed in properties will be checked, rest of the properties mentioned in the config file are ignored.

Requires minimum one property name to be passed .

Expected value need not to be passed along with the property name.

Page 8: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

8 IBM Confidential

Demo Config file

# Properties common to all UNIX platforms

[OSType:UNIX]

os.ksh=Available

os.pagesize=4KB

user.isAdmin=True

os.package.curl=curl

os.package.expect=expect-5.42+

Page 9: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

9 IBM Confidential

Subset/Single Property Outputaclinux6223b:~/SprintDemo # ./prereq_checker.sh DMO detail property=“os.pagesize”

IBM Prerequisite Scanner

Version: 1.2.0.408

Build : 20120723

OS name: Linux

Machine Information

Machine Name: aclinux6223b

Serial number: KQCVD22

Scenario: Prerequisite Scan

DMO - Prerequisite Scanner Demo [version 0750000]:

Property Result Found Expected

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

os.pagesize PASS 4KB 4KB

Prerequisite Scanner Overall Result: PASS

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

Page 10: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

10 IBM Confidential

XML Results:

Below is the “Warning Message” included in the XML results :

<Warnings> <Message>WARNING: USERPROPWARN1 - the following user passed in properties are not valid for this scan: os.architecture</Message></Warnings>

Page 11: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

11 IBM Confidential

Return Codes

Valid and Invalid Properties• PRS return code is depend on “Overall Result”, if the “Overall Result” is PASS

then PRS exits with return code “0”, otherwise, exits with return code 1

Valid Properties• PRS return code is depend on “Overall Result”, if the “Overall Result” is PASS

then PRS exits with return code “0”, otherwise, exits with return code 1

Invalid Properties• PRS returns exit code 2.

Page 12: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

12 IBM Confidential

Page 13: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

13 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 14: Prerequisite Scanner Sprint 7 Demo

IBM Software Group | Tivoli Software

14 IBM Confidential

Completed sprint 7 stories

Story: 1.2 refresh (29264)Story: as adopters and customer, I would like to know to how extend PRS by leveraging health check infrastructure to support a product health check (29024)

Story: as osdp team, I would like PRS to be part of osdp beta and support beta activities (28920)Story: RTC backlog clean up (28797)Story: As a TBSM and Impact customer, I want to scan for prererqs prior to upgrading to v6.2 (28610)Story: as admin services team, I would like PRS to implement support to our user scenarios for pre and post installation (28215)

Feature: enable db2.home.space check on HP-UX (29067)Feature: enable os.swapSize on HP-UX (29064)Story: As part of WAS prereq checking, add check for Java and Java version (28243)Story: Implement new junit test for unixlinux to test single/subset property check (27530)