© 2011 ibm corporation prerequisite scanner sprint 10 demo prerequisite scanner team sprint demo...
TRANSCRIPT
© 2011 IBM Corporation
Prerequisite Scanner Sprint 10 Demo
Prerequisite Scanner Team Sprint Demo
IBM Prerequisite Scanner Team
October 17, 2012
IBM Software Group | Tivoli Software
2 IBM Confidential
Key Accomplishments PRS 1.2.0.1 Release to FixCentral and iRAM (29568)
New product: TBSM 6.1.1 & Netcool/Impact 6.1.1
Product update: TBSM 6.1, Netcool/Impact 6.1, ITCAM for Transactions Internet Service Monitoring 7.3, Tivoli Enterprise Portal Server 6.2.2
Note: Details see “back up”
Unix PRS scan prereq – BASH check (31287)
How does checks for its unix scan requirement BASH
Unix logging enhancement stage 2 (31761)
Change wrl function implementation to call new logging functions
Deprecated “trace” option and handling
Design to enhance section support in a generic fashion (31660)
JazzSM milestone 7 support (31648) Test automation – prototype remote execution (30713)
Gulf Breeze - The summary line in "results.txt" should include the product code as well as the result - proposal and design (31658)
Demo
Demo
Demo
IBM Software Group | Tivoli Software
3 IBM Confidential
Demo 1
Unix PRS scan prereq – BASH check (31287)
IBM Software Group | Tivoli Software
4 IBM Confidential
Demo 1 – Unix PRS scan prereq BASH check(31287)
Create symbolic link
- ln -s <Dir location/bash> /bin/bash
Command to export /bin in $PATH
- export PATH=/bin:$PATH
Sample script files
#!/bin/bash
# ************** Copyright - Details ****************
# Licensed Materials . Property of IBM
# ************************ End Standard Header *************************
# Start script after this line
IBM Software Group | Tivoli Software
5 IBM Confidential
Demo 2
Unix logging enhancement stage 2 (31761)
IBM Software Group | Tivoli Software
6 IBM Confidential
Demo 2 – Unix PRS scan prereq BASH check(31287)
Log message types
INFO
WARNING
ERROR
DEBUG
Sample LOG Messages
[2012-10-15 05:52:11 ] INFO : Exiting function IsConfigFileHasEntries()
[2012-10-15 05:52:11 ] INFO : ====== Step 3: Reading product config file and creating product shell script
[2012-10-15 05:52:11 ] DEBUG : config file is /tmp/prs_20121015_055207/UNIX_Linux/DMO_0750000.cfg
[2012-10-15 05:52:11 ] DEBUG : Calling packageTest.sh script with parameters ** /tmp/prs_20121015 _055207/UNIX_Linux ** DMO_0750000.cfg
IBM Software Group | Tivoli Software
7 IBM Confidential
Demo 3
Prototype and design to enhance section support in a more generic fashion (31600)
Changes from sprint 9 prototype review
IBM Software Group | Tivoli Software
8 IBM Confidential
Demo 3 – Syntax update
Key and value assignment symbol
- Previously supported section categories: [key:value]
Example: [OSType:Linux]
- PRS supported properties: [key=value]
Design point:
Usability: user can copy and paste from existing config file
Readability: various PRS properties use “:” as part of the optional syntax
Example: [user.isAdmin=True]
OSType
OSArch
@<EnvVar_Name> CPUArch (unix only)
CPU (unix only)
IBM Software Group | Tivoli Software
9 IBM Confidential
Demo 3 – Syntax update (continued) Keep Logical OR support consistent across platforms:
[@TPAE_DB_FEATURE:True]|[@TPAE_DIR_FEATURE:True]
Windows:
[@TPAE_DB_FEATURE:True]|[@TPAE_DIR_FEATURE:True]
UNIX:
Recommended syntax (consistence with Windows):
[@TPAE_DB_FEATURE:True]|[@TPAE_DIR_FEATURE:True]
Old syntax (continue to support, not recommended):
[@TPAE_DB_FEATURE:True|@TPAE_DIR_FEATURE:True]
IBM Software Group | Tivoli Software
10 IBM Confidential
Demo 3 – basic syntax validation If validation failed, WARNING message will be printed out.
1. Enforced section closing bracket
Section starts with opening bracket: [
Section closing bracket is enforced: ]
Example: [!db2.version=10.1+ missing closing bracket
2. At least one key and value assignment symbol should be included in section specification
At least one colon, :, or one equal sign, =, should be included
Example: [env.var.set.JAVA_HOME] missing key and value assignment symbol
IBM Software Group | Tivoli Software
11 IBM Confidential
Demo 3 – basic syntax validation (continued) If validation failed, WARNING message will be printed out.
3. Supported existing PRS category check
If colon is used as key and value separator, the key has to be PRS supported existing section category
Example: [OperatingSystemType:Windows]
not in the supported section category list
4. Supported PRS property check
If equal sign is used as key and value separator, the key has to be PRS supported property name
Example: [DataBaseType=DB2]
not supported PRS property. Supported property name is “DBType”.
OSType
OSArch
@<EnvVar_Name> CPUArch (unix only)
CPU (unix only)
IBM Software Group | Tivoli Software
12 IBM Confidential
IBM Software Group | Tivoli Software
13 IBM Confidential
Back up
IBM Software Group | Tivoli Software
14 IBM Confidential
Updated Prodcut Config Files
IBM Software Group | Tivoli Software
15 IBM Confidential
Completed sprint 9 stories
• Story: as JazzSM installation team, I would like PRS to enhance the installation support to prepare for Milestone 7 (31648)
• Story: Additional improvements to test automation (30713)
• Notify TBSM when sprint 10 is published externally (32142)
• Story: PRS 1.2.0.1 release (31661)
• Story: complete enhanced section support prototype and design (31660)
• Story: Gulf Breeze - The summary line in "results.txt" should include the product code as well as the result - proposal and design (31658)
• Story: UNIX logging framework enhancement stage 2 (31761)
• Story: IM-TEM-PRS integration enhancement (31659)
• New Feature: On Unix check for prereq BASH is properly installed before proceeding (31287)
• Story: Support has requested TTEC-Go refresh to cover latest PRS release (30571)
• Feature Request: Additional uLimit checks are required for AIX (28961)
IBM Software Group | Tivoli Software
16 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