140 likes | 301 Views
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)
E N D
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) • 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) Demo Demo
Demo – System JRE version check • Support 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
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
Subset/Single Property Check 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
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.
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+
Subset/Single Property Output aclinux6223b:~/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
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>
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.
What is PRS A lightweight and easy-to-usescanning 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 IBM Prerequisite Scanner Key Benefits & Differentiator
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)