120 likes | 248 Views
Prerequisite Scanner Team Sprint Demo. Prerequisite Scanner Sprint 8 Demo. IBM Prerequisite Scanner Team August 22, 2012. Key Accomplishments. Allow to check if UDP port is in use regardless of its state (29492) Unix logging enhancement design and framework improvement (29558)
E N D
Prerequisite Scanner Team Sprint Demo Prerequisite Scanner Sprint 8 Demo IBM Prerequisite Scanner Team August 22, 2012
Key Accomplishments • Allow to check if UDP port is in use regardless of its state (29492) • Unix logging enhancement design and framework improvement (29558) • as a user in DTE, I would like PRS unix to display os.space real value as the same unit as the expected value (29302) • osdp typical install, launch pad integration and installation image bundle support (29639) • As a Prerequisite Scanner non-English user, I want to review PRS documentation in my native language (29748) Demo Demo Demo
Demo 1 – Allow to check if UDP port is in use regardless of it's state (29429) Support Unix and Windows • Existing properties check for TCP ports network.portsInUse.app_type=<port | port_range> network.availablePorts.app_type=<port | port_range> • New properties created to check UDP ports: network.UDPportsInUse.app_type=<port | port_range> network.UDPavailablePorts.app_type=<port | port_range> • Expected value should be one of the following: • single port – example: 1304 • port range – example: 1304-1352
Demo 1 – Allow to check if UDP port is in use regardless of it's state (29429) • Examples: network.UDPportsInUse.appA=15002 will PASS if UDP port 15002 is in use network.UDPavailablePorts.appA=15002 will PASS if UDP port 15002 is available
Demo 1 – Allow to check if UDP port is in use regardless of it's state (29429) • Examples (continued): network.UDPportsInUse.appB=49152-49168 will PASS if entire port range, 49152-49168, is in use network.UDPavailablePorts.appB=49152-49168 will PASS only if ALL the ports in the range are available
Demo 2 – Unix logging enhancement design and framework improvement (29558) • Supported Log Messages • INFO • WARNING • ERROR • DEBUG • Command line Option • ./prereq_checker.sh DMO detail debug • “precheck.log” location • Created in <$PRS_HOME dir > or in <OutputDir>
Demo 2 – Unix logging enhancement design and framework improvement (29558) • Examples – network.availablePorts check logging messages • [2012-08-21 05:10:00 ] DEBUG : Evaluating network.availablePorts.partiallyUsed... • [2012-08-21 05:10:00 ] DEBUG : Delete if any control char • [2012-08-21 05:10:00 ] DEBUG : Removing the [] contents from the network.availablePorts.partiallyUsed • [2012-08-21 05:10:00 ] DEBUG : rstvalue=631,5989,56804,53038,25,22,111 • [2012-08-21 05:10:00 ] DEBUG : compare file name network.availablePorts.partiallyUsed_compare.sh • [2012-08-21 05:10:00 ] DEBUG : look for env.JRE.version_compare GetEnvVar= • [2012-08-21 05:10:01 ] DEBUG : [PASS] network.availablePorts.partiallyUsed expect 500-550 while get 631,5989,56804,53038,25,22,111 • [2012-08-21 05:10:01 ] INFO : Entering function myprintf() • [2012-08-21 05:10:01 ] DEBUG : %-40s%-16s%-43s%-20s\n ** network.availablePorts.partiallyUsed ** PASS ** 631,5989,56804,53038,25,22,111 ** 500-550 • [2012-08-21 05:10:01 ] INFO : Exiting function myprintf() • [2012-08-21 05:10:01 ] INFO : Entering function smyprintf()
Demo 3 – Display real value as the same unit as the expected value (29302) • [Property Result Found Expected • ======== ====== ===== ======== • os.space.opt PASS 77824MB [dir:root=/opt/IBM/tivoli]5MB • os.space.tmp PASS "28672MB" " [dir:root=/tmp, unit:MB]1.2” • db2.home.space PASS 77824MB 8MB • os.RAMSize PASS 2969.6MB 2.8MB • os.swapSize PASS 4085.76MB 2MB+ • os.FreePagingSpace FAIL Unavailable 4MB+ • Memory PASS 2672.64MB 8MB • Disk PASS 77824.00MB 2MB • Temp PASS 28672MB 1.2MB
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 8 stories • Story: IM-TEM-PRS integration - Applying FP 8.0.0.1 to WAS 8.0 using TEM (30778) • Story: JRE version test and documentation completion (29895) • Story: Single property test completion (29894) • Story: RTC backlog re-prioritization (29861) • Story: osdp 1.1 beta support - admin services integration (29823) • As a Prerequisite Scanner non-English user, I want to review PRS documentation in my native language (29748) • Story: Unix logging enhancement design and framework improvement (29558) • Story: osdp 1.1 beta support - installation support stage 3 work (29639) • Story: [TCR] Allow to check if UDP port is in use regardless of its state (29492) • Enhancement request: as a user in DTE, I would like PRS unix to display os.space real value as the same unit as the expected value (29302) • Story: as security product team, I would like PRS to support our accumulate disk space check based on installed softwares (28942) • ID Story: as PRS adopter using XML result and API, I would like to have a well documented guide to introduce how to use the API (26548) • Story: Additional improvements to test automation - 1.2 Sprint 8 (28204)