Quantcast
Channel: The Middleware Shop » WebSphere
Viewing all 70 articles
Browse latest View live

WebSphere Jython: AttributeError: instance of

$
0
0

 Jython Error: AttributeError: instance of

WASX7017E: Exception received while running file "/var/apps/scripts/wasAdmin/manageApp/appReady.py"; exception information: com.ibm.bsf.BSFException: exception from Jython:
Traceback (innermost last):
  File "<string>", line 30, in ?
  File "/var/apps/scripts/wasAdmin/manageApp/./manageApp.py", line 77, in __init__
AttributeError: instance of 'APPLICATION' has no attribute '_APPLICATION__cellName'

Basically I have a Jython class with name called APPLICATION as defined by a few lines in my Jython class:

#######################################################################################################
# CLASS: This class provides the ability to Manage Applications. 
#######################################################################################################
class APPLICATION:

But, I have not declared a private member variable called __cellName

I had:

#######################################################################################################
# CLASS: This class provides the ability to Manage Applications. 
#######################################################################################################
class APPLICATION:

    cellName = None
    appName = None
    serverName = None

I should have had

#######################################################################################################
# CLASS: This class provides the ability to Manage Applications. 
#######################################################################################################
class APPLICATION:

    __cellName = None
    __appName = None
    __serverName = None

 


WebSphere 8.5.5 Training

$
0
0

Are you looking for WebSphere Application Server 8.5.5.x Training Materials?

I have extensive WebSphere Training Courses for sale. I have two styles of WebSphere Training Materials. One style is the actual course materials for self-paced learning and these can be purchased immediately from this site click here >> , details of some sample course-outlines are shown below. The other kind of WebSphere Training Materials are training guides for instructors, for instructor-lead (classroom) training. For more information about teaching/instructor guides, please contact me via my contact page.

Currently, I have “7” IBM WebSphere related courses available as of April 2015.I am currently writing several new courses, which I think are very exciting and are a first on the internet. These are:

  • WAS 7 – WAS 8.5.5.x Migration Course (Due Q3 2015)
    • This course covers the process of migrating, with consideration to Applications.
  • WAS Jython by example (Due Q3 2015)
    • In this course we cover how to build and manage a WebSphere Application Server Network Deployment cluster using Jython.
  • WAS 7 & WAS 8.5.5.x Automation (Due Q2 2015)
    • This course provides a proven and tested commercial quality set of WebSphere, IBM HTTP Server and WebSphere Plugin automation script exaplined step by step
    • Topics are: Installation, Upgrade (Fix Packs and iFixes), Profile Management etc
  • WAS 8.5.5.x Security Guide
    • A comprehensive practical guide into LDAP, Kerberos, TAI etc
    • Jython automated Federated Repositories
    • SSL

Also, two very popluar courses are the WebSphere Application Server 8.5 Base/Network Deployment Essentials Course and the WebSphere Application Server 8.5 Performance Tuning Course, outlines are below.

WebSphere Application Server version 8.5 Base/Network Deployment Essentials Course

The WebSphere Application Server version 8 Network Deployment Essentials Course pack contains the following modules:

Course Detail:

  • Application Server Overview
    • Need for application servers
    • WAS management features
    • WAS flavours
    • WAS Topologies
    • WAS 8.5 new features
  • Module 1 – Install & Uninstall
    • Installation planning
    • Product installation in GUI and silent mode
    • Profile creation in GUI and silent mode
    • Uninstalling product in GUI and silent mode
  • Module 2 – Logs and Configuration
    • Understanding product directory structure
    • Various log files written by WAS
    • HPEL
    • Configuring WAS classloaders
  • Module 3 – IBM HTTP Server & WAS Plug-in
    • Installing IHS and WebSphere Plug-in
    • Creating Web server definition
    • Plug-in generation and propagation
  • Module 4 – Vertical Scaled Cluster Creation
    • Basic terminology
    • Federating nodes into DMGR cell
    • Vertical and Horizontal clustering
    • Node synchronization
    • Assigning weights to cluster members
    • Cluster level operations
  • Module 5 – JDBC
    • JDBC providers
    • Creating data source & testing connection
    • Connection pool settings
  • Module 6 – JMS
    • Why JMS?
    • Messaging models
    • JMS – administered objects
    • WAS JMS – High level picture
    • Service Integration Bus
    • File store and Data store
    • WebSphere MQ messaging
    • WebSphere MQ Link
  • Module 7 – Application Deployment
    • Understanding virtual hosts
    • Deployment – High level picture
    • Application targets
    • Deployment using admin console
    • Monitored directory deployment
  • Module 8 – Administrative Scripting
    • Using ws_ant
    • Introduction to Jython
    • How wsadmin works?
    • Profile scripts
    • The wsadmin.properties file
    • Using command assistance
    • Property file based configuration management
  • Module 9 – Job Manager
    • Creating Job Manager Profile
    • Registering DMGR and base nodes to Job Manager
    • Creating and scheduling jobs for execution
  • Module 10 – SSL Part I
    • SSL Concepts
    • Configure SSL between IHS and WAS
    • The ikeyman tool
  • Module 11 – SSL Part II
    • Inbound SSL
    • SSL Configuration object
    • Outbound SSL
    • Monitoring Certificate Expiry
  • Module 12 – Health Management
    • Health Policy
    • Health Action
    • Health Controller
    • Creating Health Policies
  • Module 13 – Monitoring and Tuning
    • Analyzing Thread Dumps
    • Analyzing Heap Dumps
    • Dump Agents
    • JVM Tuning
    • Analyzing GC log messages using GCMV
    • Performance monitoring infrastructure (PMI)
  • Module 14 – High availability
    • Understanding session affinity
    • Deploying applications in a cluster
    • Clustering and JMS
    • Clustering and JDBC
    • Clustering and EJB requests
    • Understand Session replication & persistence
    • Dynamic Cluster
  • Module 15 – Administrative Agent
    • Creating administrative agent profile
    • Registering & Deregistering application server nodes
    • Working with administrative agent console
  • Module 16 – Security
    • Introduction to WAS security
    • User, Group and Role
    • Authentication and Authorization
    • Securing different types of applications
  • Module 17 – Security Auditing
    • Configure security auditing
    • Signing audit records
    • Encrypting audit records
    • Repository Checkpoint
  • Module 18 – Administration Tools
    • EarExpander.sh
    • Collector.sh
    • Visual Configuration Explorer
    • The applyPerfTuningTemplate.py too
  • Module 19 – CIM
    • CIM Overview
    • Job Targets
    • Using Sudo
    • Job Types
    • Job Creation Wizard
    • Submitting CIM jobs from command line
  • Module 20 – Liberty Profile
    • Liberty Profile Overview
    • Liberty Profile Installation
    • Setting Liberty Server runtime
    • Deploying an Application
    • Securing Liberty Server
    • Liberty Server Administration

You can either purchase this course online or acquire the rights to on-sell these courses.

WebSphere Application Server version 8.5 Performance Tuning Course

The WebSphere Application Server version 7 Performance Tuning Course pack contains the following modules:

  • Performance Tuning Process and Tools
    • Performance Tuning Process
    • Model for Performance Tuning
    • PMI, TPV and the Advisor
    • WAS Threads, the Work Horses
    • Identifying Bottlenecks
  • JVM Tuning
    • Server Hang & Thread dumps
    • Memory Leak & Heap dumps
    • Dump Agents
    • JVM Memory Architecture and Flags
  • Tuning Thread Pools
    • Application Execution Model
    • Tuning Thread Pool
    • Tuning Transport Channels
  • Tuning Connection Pools
    • Connection Pool settings
    • Statement Caching and its Impact on Performance
  • Session Tuning
    • Calculating Optimal session Time-Out Duration
    • Session Replication Tuning
    • Session Persistence Tuning
    • Session Replication Vs Persistence
  • Performance Tuning Checklist
  • Summary

As with all courses, You can either purchase this course online or acquire the rights to on-sell these courses.

Need more information? the feel free to contact me.

WebSphere Training Online

$
0
0

Looking for WebSphere Training Online?

I have extensive WebSphere Training Courses for sale. I have two styles of WebSphere Training Materials. One style is the actual course materials for self-paced learning and these can be purchased immediately from this site click here >> , details of some sample course-outlines are shown below. The other kind of WebSphere Training Materials are training guides for instructors, for instructor-lead (classroom) training. For more information about teaching/instructor guides, please contact me via my contact page.

Currently, I have “7” IBM WebSphere related courses available as of April 2015.I am currently writing several new courses, which I think are very exciting and are a first on the internet. These are:

  • WAS 7 – WAS 8.5.5.x Migration Course (Due Q3 2015)
    • This course covers the process of migrating, with consideration to Applications.
  • WAS Jython by example (Due Q3 2015)
    • In this course we cover how to build and manage a WebSphere Application Server Network Deployment cluster using Jython.
  • WAS 7 & WAS 8.5.5.x Automation (Due Q2 2015)
    • This course provides a proven and tested commercial quality set of WebSphere, IBM HTTP Server and WebSphere Plugin automation script explained step by step
    • Topics are: Installation, Upgrade (Fix Packs and iFixes), Profile Management etc
  • WAS 8.5.5.x Security Guide
    • A comprehensive practical guide into LDAP, Kerberos, TAI etc
    • Jython automated Federated Repositories
    • SSL

Also, two very popluar courses are the WebSphere Application Server 8.5 Base/Network Deployment Essentials Course and the WebSphere Application Server 8.5 Performance Tuning Course, outlines are below.

WebSphere Application Server version 8.5 Base/Network Deployment Essentials Course

The WebSphere Application Server version 8 Network Deployment Essentials Course pack contains the following modules:

Course Detail:

  • Application Server Overview
    • Need for application servers
    • WAS management features
    • WAS flavours
    • WAS Topologies
    • WAS 8.5 new features
  • Module 1 – Install & Uninstall
    • Installation planning
    • Product installation in GUI and silent mode
    • Profile creation in GUI and silent mode
    • Uninstalling product in GUI and silent mode
  • Module 2 – Logs and Configuration
    • Understanding product directory structure
    • Various log files written by WAS
    • HPEL
    • Configuring WAS classloaders
  • Module 3 – IBM HTTP Server & WAS Plug-in
    • Installing IHS and WebSphere Plug-in
    • Creating Web server definition
    • Plug-in generation and propagation
  • Module 4 – Vertical Scaled Cluster Creation
    • Basic terminology
    • Federating nodes into DMGR cell
    • Vertical and Horizontal clustering
    • Node synchronization
    • Assigning weights to cluster members
    • Cluster level operations
  • Module 5 – JDBC
    • JDBC providers
    • Creating data source & testing connection
    • Connection pool settings
  • Module 6 – JMS
    • Why JMS?
    • Messaging models
    • JMS – administered objects
    • WAS JMS – High level picture
    • Service Integration Bus
    • File store and Data store
    • WebSphere MQ messaging
    • WebSphere MQ Link
  • Module 7 – Application Deployment
    • Understanding virtual hosts
    • Deployment – High level picture
    • Application targets
    • Deployment using admin console
    • Monitored directory deployment
  • Module 8 – Administrative Scripting
    • Using ws_ant
    • Introduction to Jython
    • How wsadmin works?
    • Profile scripts
    • The wsadmin.properties file
    • Using command assistance
    • Property file based configuration management
  • Module 9 – Job Manager
    • Creating Job Manager Profile
    • Registering DMGR and base nodes to Job Manager
    • Creating and scheduling jobs for execution
  • Module 10 – SSL Part I
    • SSL Concepts
    • Configure SSL between IHS and WAS
    • The ikeyman tool
  • Module 11 – SSL Part II
    • Inbound SSL
    • SSL Configuration object
    • Outbound SSL
    • Monitoring Certificate Expiry
  • Module 12 – Health Management
    • Health Policy
    • Health Action
    • Health Controller
    • Creating Health Policies
  • Module 13 – Monitoring and Tuning
    • Analyzing Thread Dumps
    • Analyzing Heap Dumps
    • Dump Agents
    • JVM Tuning
    • Analyzing GC log messages using GCMV
    • Performance monitoring infrastructure (PMI)
  • Module 14 – High availability
    • Understanding session affinity
    • Deploying applications in a cluster
    • Clustering and JMS
    • Clustering and JDBC
    • Clustering and EJB requests
    • Understand Session replication & persistence
    • Dynamic Cluster
  • Module 15 – Administrative Agent
    • Creating administrative agent profile
    • Registering & Deregistering application server nodes
    • Working with administrative agent console
  • Module 16 – Security
    • Introduction to WAS security
    • User, Group and Role
    • Authentication and Authorization
    • Securing different types of applications
  • Module 17 – Security Auditing
    • Configure security auditing
    • Signing audit records
    • Encrypting audit records
    • Repository Checkpoint
  • Module 18 – Administration Tools
    • EarExpander.sh
    • Collector.sh
    • Visual Configuration Explorer
    • The applyPerfTuningTemplate.py too
  • Module 19 – CIM
    • CIM Overview
    • Job Targets
    • Using Sudo
    • Job Types
    • Job Creation Wizard
    • Submitting CIM jobs from command line
  • Module 20 – Liberty Profile
    • Liberty Profile Overview
    • Liberty Profile Installation
    • Setting Liberty Server runtime
    • Deploying an Application
    • Securing Liberty Server
    • Liberty Server Administration

You can either purchase this course online or acquire the rights to on-sell these courses.

WebSphere Application Server version 8.5 Performance Tuning Course

The WebSphere Application Server version 7 Performance Tuning Course pack contains the following modules:

  • Performance Tuning Process and Tools
    • Performance Tuning Process
    • Model for Performance Tuning
    • PMI, TPV and the Advisor
    • WAS Threads, the Work Horses
    • Identifying Bottlenecks
  • JVM Tuning
    • Server Hang & Thread dumps
    • Memory Leak & Heap dumps
    • Dump Agents
    • JVM Memory Architecture and Flags
  • Tuning Thread Pools
    • Application Execution Model
    • Tuning Thread Pool
    • Tuning Transport Channels
  • Tuning Connection Pools
    • Connection Pool settings
    • Statement Caching and its Impact on Performance
  • Session Tuning
    • Calculating Optimal session Time-Out Duration
    • Session Replication Tuning
    • Session Persistence Tuning
    • Session Replication Vs Persistence
  • Performance Tuning Checklist
  • Summary

As with all courses, You can either purchase this course online or acquire the rights to on-sell these courses.

Need more information? the feel free to contact me.

WebSphere 8.5.5 Administration Training

$
0
0

Require WebSphere Administration Training ?

I have extensive WebSphere Training Courses for sale. I have two styles of WebSphere Training Materials. One style is the actual course materials for self-paced learning and these can be purchased immediately from this site click here >> , details of some sample course-outlines are shown below. The other kind of WebSphere Training Materials are training guides for instructors, for instructor-lead (classroom) training. For more information about teaching/instructor guides, please contact me via my contact page.

Currently, I have “7” IBM WebSphere related courses available as of April 2015.I am currently writing several new courses, which I think are very exciting and are a first on the internet. These are:

  • WAS 7 – WAS 8.5.5.x Migration Course (Due Q3 2015)
    • This course covers the process of migrating, with consideration to Applications.
  • WAS Jython by example (Due Q3 2015)
    • In this course we cover how to build and manage a WebSphere Application Server Network Deployment cluster using Jython.
  • WAS 7 & WAS 8.5.5.x Automation (Due Q2 2015)
    • This course provides a proven and tested commercial quality set of WebSphere, IBM HTTP Server and WebSphere Plugin automation script explained step by step
    • Topics are: Installation, Upgrade (Fix Packs and iFixes), Profile Management etc
  • WAS 8.5.5.x Security Guide
    • A comprehensive practical guide into LDAP, Kerberos, TAI etc
    • Jython automated Federated Repositories
    • SSL

Also, two very popluar courses are the WebSphere Application Server 8.5 Base/Network Deployment Essentials Course and the WebSphere Application Server 8.5 Performance Tuning Course, outlines are below.

WebSphere Application Server version 8.5 Base/Network Deployment Essentials Course

The WebSphere Application Server version 8 Network Deployment Essentials Course pack contains the following modules:

Course Detail:

  • Application Server Overview
    • Need for application servers
    • WAS management features
    • WAS flavours
    • WAS Topologies
    • WAS 8.5 new features
  • Module 1 – Install & Uninstall
    • Installation planning
    • Product installation in GUI and silent mode
    • Profile creation in GUI and silent mode
    • Uninstalling product in GUI and silent mode
  • Module 2 – Logs and Configuration
    • Understanding product directory structure
    • Various log files written by WAS
    • HPEL
    • Configuring WAS classloaders
  • Module 3 – IBM HTTP Server & WAS Plug-in
    • Installing IHS and WebSphere Plug-in
    • Creating Web server definition
    • Plug-in generation and propagation
  • Module 4 – Vertical Scaled Cluster Creation
    • Basic terminology
    • Federating nodes into DMGR cell
    • Vertical and Horizontal clustering
    • Node synchronization
    • Assigning weights to cluster members
    • Cluster level operations
  • Module 5 – JDBC
    • JDBC providers
    • Creating data source & testing connection
    • Connection pool settings
  • Module 6 – JMS
    • Why JMS?
    • Messaging models
    • JMS – administered objects
    • WAS JMS – High level picture
    • Service Integration Bus
    • File store and Data store
    • WebSphere MQ messaging
    • WebSphere MQ Link
  • Module 7 – Application Deployment
    • Understanding virtual hosts
    • Deployment – High level picture
    • Application targets
    • Deployment using admin console
    • Monitored directory deployment
  • Module 8 – Administrative Scripting
    • Using ws_ant
    • Introduction to Jython
    • How wsadmin works?
    • Profile scripts
    • The wsadmin.properties file
    • Using command assistance
    • Property file based configuration management
  • Module 9 – Job Manager
    • Creating Job Manager Profile
    • Registering DMGR and base nodes to Job Manager
    • Creating and scheduling jobs for execution
  • Module 10 – SSL Part I
    • SSL Concepts
    • Configure SSL between IHS and WAS
    • The ikeyman tool
  • Module 11 – SSL Part II
    • Inbound SSL
    • SSL Configuration object
    • Outbound SSL
    • Monitoring Certificate Expiry
  • Module 12 – Health Management
    • Health Policy
    • Health Action
    • Health Controller
    • Creating Health Policies
  • Module 13 – Monitoring and Tuning
    • Analyzing Thread Dumps
    • Analyzing Heap Dumps
    • Dump Agents
    • JVM Tuning
    • Analyzing GC log messages using GCMV
    • Performance monitoring infrastructure (PMI)
  • Module 14 – High availability
    • Understanding session affinity
    • Deploying applications in a cluster
    • Clustering and JMS
    • Clustering and JDBC
    • Clustering and EJB requests
    • Understand Session replication & persistence
    • Dynamic Cluster
  • Module 15 – Administrative Agent
    • Creating administrative agent profile
    • Registering & Deregistering application server nodes
    • Working with administrative agent console
  • Module 16 – Security
    • Introduction to WAS security
    • User, Group and Role
    • Authentication and Authorization
    • Securing different types of applications
  • Module 17 – Security Auditing
    • Configure security auditing
    • Signing audit records
    • Encrypting audit records
    • Repository Checkpoint
  • Module 18 – Administration Tools
    • EarExpander.sh
    • Collector.sh
    • Visual Configuration Explorer
    • The applyPerfTuningTemplate.py too
  • Module 19 – CIM
    • CIM Overview
    • Job Targets
    • Using Sudo
    • Job Types
    • Job Creation Wizard
    • Submitting CIM jobs from command line
  • Module 20 – Liberty Profile
    • Liberty Profile Overview
    • Liberty Profile Installation
    • Setting Liberty Server runtime
    • Deploying an Application
    • Securing Liberty Server
    • Liberty Server Administration

You can either purchase this course online or acquire the rights to on-sell these courses.

WebSphere Application Server version 8.5 Performance Tuning Course

The WebSphere Application Server version 7 Performance Tuning Course pack contains the following modules:

  • Performance Tuning Process and Tools
    • Performance Tuning Process
    • Model for Performance Tuning
    • PMI, TPV and the Advisor
    • WAS Threads, the Work Horses
    • Identifying Bottlenecks
  • JVM Tuning
    • Server Hang & Thread dumps
    • Memory Leak & Heap dumps
    • Dump Agents
    • JVM Memory Architecture and Flags
  • Tuning Thread Pools
    • Application Execution Model
    • Tuning Thread Pool
    • Tuning Transport Channels
  • Tuning Connection Pools
    • Connection Pool settings
    • Statement Caching and its Impact on Performance
  • Session Tuning
    • Calculating Optimal session Time-Out Duration
    • Session Replication Tuning
    • Session Persistence Tuning
    • Session Replication Vs Persistence
  • Performance Tuning Checklist
  • Summary

As with all courses, You can either purchase this course online or acquire the rights to on-sell these courses.

Need more information? the feel free to contact me.

ADMA5060E: Resource validation for application failed due to unexpected exception java.lang.NullPointerException

$
0
0

The Error: ADMA5060E: Resource validation for application <app_name> failed due to unexpected exception java.lang.NullPointerException

Often occurs when you have coded attributes for a deployment to build an attribute string for an AdminApp.install for example

'-target', 'WebSphere:node=WAS7_01_AppServer01  ,server=server1',

The line above has a space after the node name, it should be as follows

'-target', 'WebSphere:node=WAS7_01_AppServer01,server=server1',

Notice I have removed the space after WAS7_01_AppServer01

MIGR0536E: The profileRegistry.xml file cannot be found – MIGR0272E: The migration function cannot complete the command

$
0
0

You are migrating a WAS 7 profile to WAS 8 and you get the error below…

Command being issued was:

./WASPostUpgrade.sh /var/apps/was7_to_was8550/WAS7_01_AppServer01Prof_backup -oldProfile WAS7_01_AppServer01Prof -profileName WAS855_01_AppServer01Prof -replacePorts true -includeApps true

Result

IBM WebSphere Application Server, Release 8.5

Product Upgrade PostUpgrade tool, Version 1.0

Copyright IBM Corp., 1997-2010

MIGR0536E: The profileRegistry.xml file cannot be found.

MIGR0272E: The migration function cannot complete the command.

The destination profile must be the same same as the source WAS 7 profile. Essentially you create a WAS 8.5.5.x profile in WAS 8.5.5.x, using the same name as the profile that exists in WAS 7. You cannot use a different name as the WASPostUpgrade.sh script doesn’t know how to deal with this.

Solution:

Create a destination profile in the destination WAS 8.5.5.x intance and issue the following command:

./WASPostUpgrade.sh /var/apps/was7_to_was8550/WAS7_01_AppServer01Prof_backup -oldProfile WAS7_01_AppServer01Prof -profileName WAS7_01_AppServer01Prof -replacePorts true -includeApps true

Bash script to determine WebSphere Application Server Cell Name

$
0
0

A script to determine the WebSphere instance’s Cell Name

#!/bin/bash
if [[ -z "${1}" ]]; then
            echo "Please pass in a full path to the profile's location!"
            echo "e.g. getCellName.sh <path_to_profile>"
            exit 1
fi
theFile=${1}/bin/setupCmdLine.sh
cat ${theFile} | grep -oP '(?<=WAS_CELL=)[^ ]*'

 

A simple bash script to kill WebSphere processes

$
0
0

A simple bash script to kill WebSphere processes

#!/bin/bash
export thePids=`ps -ef | grep -e '-Duser.install.root[^ ]*' | grep -v grep | awk -F" " '{print $2}'`
if [[ -z "${thePids}" ]]; then
            echo "No WAS process found!"
            exit 1
fi
for thePid in $thePids
    do
        echo "killing the pid=[${thePid}] using kill -9 ${thePid}"
        kill -9 ${thePid}
    done;

 


WebSphere Automation Scripts

$
0
0

Do you need to save time automating manual WAS tasks?

Have you ever wondered how to automate IBM Installation Manager? Ever needed to automate the installation of WAS 8.5.5.x and automate Upgrades and Roll-backs?

The WebSphere Application Server 8.5.5.x Automation Course provides the student with a full set of guides and a set of commercial-grade automation scripts with detailed worked-examples.

The course provides scripts to automate the following:

  • Install/Upgrade/Remove IBM Installation Manager (IM)
  • Fully demonstrates the three modes of IM Modes (Admin, User, Group).
    • This is never been documented in this much detail before, not even by IBM!
  • Install/Upgrade WebSphere Application Server 8.5.5x (or even 8.x, 8.5.x)
  • Install/Upgrade IBM HTTP Server (IHS)
  • Understand IHS Administration
  • Detailed SSL CA, and CSR examples using ikeyman tool, gskcmd tool, and OpenSSL
    • This is never been documented in this much detail before, not even by IBM!
  • Install/Upgrade the WebSphere Plugin
  • Report on IBM Installation managed installs

This course was produced over 4 months with full-time effort towards design, testing and verification of advanced automation scripts which can be used independently or plugged into any enterprise orchestration management software. To engage a leading IBM WAS consultant to build these scripts, would cost over £100,000 pounds and likely to take 3-6 months to write, and test. I have leveraged my vast industry experience to give you one of the most valuable courses I have produced to date. Once purchased, you can augment these scripts as you please into your enterprise management processes, saving you time and money.

Imagine being able to install and upgrade WAS 8.x.x.x products in minutes, with self auditing configurations and detailed logging.

The course has been written by Steve Robinson who is a well known WebSphere product specialist and the author of several published WebSphere related books.

Duration: 3-5 Days Self Study
Audience:

  • Experienced JEE Developers and Administrators having good experience with WebSphere Application Servers.
  • People looking to upgrade their skills to the Latest version of WebSphere Application Server.
  • Advanced professionals looking to automate installing and upgrading WAS 8.5.5.x in the enterprise.

Requirements:
Basic knowledge of Linux  commands is expected. Prior experience in administering WebSphere Application Server version 8.x.x.x servers is expected.

Sample Videos:

http://www.themiddlewareshop.com/was-8-5-5-automation-course-videos

WebSphere Application Server 8.5.5 Automation Course
WebSphere Application Server 8.5.5 Automation Course
Price: $499.95
facebooktwittergoogle_plusredditpinterestlinkedinmail

WebSphere Scripting

$
0
0

Note:This is not part of the $199 deal (all courses pre Jan 2015) because this course was released July 2015.

Do you need to save time automating manual WAS tasks?

Have you ever wondered how to automate IBM Installation Manager? Ever needed to automate the installation of WAS 8.5.5.x and automate Upgrades and Roll-backs?

The WebSphere Application Server 8.5.5.x Automation Course provides the student with a full set of guides and a set of commercial-grade automation scripts with detailed worked-examples.

The course provides scripts to automate the following:

  • Install/Upgrade/Remove IBM Installation Manager (IM)
  • Fully demonstrates the three modes of IM Modes (Admin, User, Group).
    • This is never been documented in this much detail before, not even by IBM!
  • Install/Upgrade WebSphere Application Server 8.5.5x (or even 8.x, 8.5.x)
  • Install/Upgrade IBM HTTP Server (IHS)
  • Understand IHS Administration
  • Detailed SSL CA, and CSR examples using ikeyman tool, gskcmd tool, and OpenSSL
    • This is never been documented in this much detail before, not even by IBM!
  • Install/Upgrade the WebSphere Plugin
  • Report on IBM Installation managed installs

This course was produced over 4 months with full-time effort towards design, testing and verification of advanced automation scripts which can be used independently or plugged into any enterprise orchestration management software. To engage a leading IBM WAS consultant to build these scripts, would cost over £100,000 pounds and likely to take 3-6 months to write, and test. I have leveraged my vast industry experience to give you one of the most valuable courses I have produced to date. Once purchased, you can augment these scripts as you please into your enterprise management processes, saving you time and money. I would recommend that you consider the cost it would take you to produce a similar set of scripts, and you will see that the price of the course (essentially the scripts with examples) is well worth it, even if it is just to get hold of these scripts and include them in your administration-tools arsenal.

Imagine being able to install and upgrade WAS 8.x.x.x products in minutes, with self auditing configurations and detailed logging.

The course has been written by Steve Robinson who is a well known WebSphere product specialist and the author of several published WebSphere related books.

Duration: 3-5 Days Self Study
Audience:

  • Experienced JEE Developers and Administrators having good experience with WebSphere Application Servers.
  • People looking to upgrade their skills to the Latest version of WebSphere Application Server.
  • Advanced professionals looking to automate installing and upgrading WAS 8.5.5.x in the enterprise.

Requirements:
Basic knowledge of Linux  commands is expected. Prior experience in administering WebSphere Application Server version 8.x.x.x servers is expected.

Sample Videos:

http://www.themiddlewareshop.com/was-8-5-5-automation-course-videos

WebSphere Application Server 8.5.5 Automation Course
WebSphere Application Server 8.5.5 Automation Course
Price: $499.95

Note: Once you have paid and registered, you will gain instant access to download your course materials.

facebooktwittergoogle_plusredditpinterestlinkedinmail

has no attribute – Jython Error in WebSphere Application Server script

$
0
0

Error experienced when running a custom Juthon script to manage JDBC Datasources.

WASX7017E: Exception received while running file "/var/apps/scripts/wasAdmin/manageJDBC/configureJDBC.py"; exception information: com.ibm.bsf.BSFException: exception from Jython:
Traceback (innermost last):
  File "<string>", line 91, in ?
  File "/var/apps/scripts/wasAdmin/manageJDBC/./manageJDBC.py", line 868, in remove
AttributeError: instance of 'JDBCDatasource' has no attribute '_JDBCDatasource__simluateMode'

WASX7341W: No "save" was performed before the interactive scripting session exited; configuration changes will not be saved.

After some investigation, I found that in the manageJDBC.py script (My Master library for JDBC create, delete, etc) contained a spelling mistake. The solution was to check the spelling of my internal variables. The reason I have added this error is to remind you/me that when you are looking for a ‘has no attribute error’ and your variables/setters are correct ie they exist, then maybe it is a spelling error. Sometimes you can see the wood for the trees.

PS. If you are requiring Jython scripting libraries for WAS 8.5.5 and above, then please contect me via my support desk at http://support.themiddlewareshop.com. They do come at a cost, however they are affordable and have helped many administrators in many organisations around the world.

Good luck,

Steve

facebooktwittergoogle_plusredditpinterestlinkedinmail

ADMG0037E: A new instance of the DataSource object cannot be created because the jndiName attribute of an existing DataSource object has the same value

$
0
0

I experienced this error when I was updating my JDBC Master Jython Script

com.ibm.websphere.management.exception.ConfigServiceException: ADMG0037E: A new instance of the DataSource object cannot be created because the jndiName attribute of an existing DataSource object has the same value as jdbc/estore_datasource.

Simply, the reason for this is either you have tried to create another/new Datasource using the same JNDI name, or you are calling a create when you should be calling a modify. When modifying we can use the Datasource name to locate the MBean and use AdminConfig to update the Datasource, this means we can refer to the same JNDI name for the Mbean, but if we are not updating ie using AdminTask to create or AdminConfig to create, then we must specify a unique JNDI name because each MBean must have a uique JNDI name.

Note: You could iterate existing Datasources and see if this JNDI has been used before.

If you wish to purchase WAS 8.5.5.x / or previous version(s) of WebSphere automation scripts, then please ping me via my support site http://support.themiddlewareshop.com

facebooktwittergoogle_plusredditpinterestlinkedinmail

WebSphere Migration Consultant

$
0
0

Hi, I am Steve Robinson, an independent WebSphere Application Server Migration Consultant

IBM WebSphere Application Server (WAS) version 8..x.x.x (WAS 8, WAS 8.5, WAS 8.5.5, WAS 8.5.5.x) versions have been available for a while now, and so organizations are now evaluating migration of existing WAS 7 application server environments along with applications to the newer stable and updated version of IBM WebSphere Application Server. IBM supplies tools to help with the migration of a WAS profile from WAS 7 to WAS 8.x, which are simple if used correctly, however, application design can thwart the process and be an area of concern. I can help with planning, architecture and automation of much of the process.

If you have need of services such as:

  • Migration Automation
  • Migration Approach & Strategy
  • J2EE, JEE Application Migration support
  • General WebSphere thought leadership

Then please feel free to have a chat. My contact details are on my contact page.

Regards,

Steve Robinson – IBM Champion 2013

Migration tools

IBM provides several tools to make migration from an earlier version as smooth as possible. WAS v8.x migration tools support the migration from WAS v6.0, v6.1 and v7.0. The following diagram explains the application of these tools.

There are many things to be migrated, but the most important things are

  • Migration of application server configuration (profile)
  • Migration of applications

IBM provides several tools to help with the migration process, for example, the IBM WebSphere Application Server Migration Toolkit is a suite of tools and knowledge collections that enables your organization to quickly and cost-effectively migrate to WebSphere Application Server V7.0 through V8.5.5, whether from a previous version of WebSphere Application Server or competitive application servers including Apache Tomcat Server, JBoss Application Server, Oracle® Application Server, and Oracle WebLogic Server.

Do you want to scan application binaries? Check out the newest tool, the Migration Toolkit for Application Binaries (currently in Tech Preview).This new command-line tool, you can quickly evaluate application binaries for rapid deployment on the WebSphere Application Server Liberty profile. https://developer.ibm.com/wasdev/docs/migration-toolkit-application-binaries-tech-preview/

Also there is a migration toolkit dedicated to move Was Full Profiles to WAS Liberty Profile.

https://developer.ibm.com/wasdev/blog/2014/04/23/websphere-application-server-migration-toolkit-liberty-tech-preview/

The WebSphere Version to Version Application Migration Tool enables organizations deploying WebSphere Application Server V7 through V8.5.5 to more easily migrate applications from WebSphere Application Server V5.1 through V8. Upgrading to a more recent version of WebSphere Application Server is of course less time-consuming than migrating from another application server, given that IBM has made significant investments in upward compatibility, configuration, and management process upgrades, as well as API preservation and consistency between versions. However, in some cases, applications must be changed in order to support or exploit new levels of industry standard specifications delivered with new versions of WebSphere Application Server. These toolkits can be located at https://developer.ibm.com/wasdev/downloads/#filter/sortby=lastUpdatedOn;sortorder=desc;q=migration%20toolkit

The Application migration tool is available as eclipse feature and can be installed into eclipse version 3.5 or higher. This toolkit can also be installed in Rational Application Developer version 7.5 to 8.5. This tool is a rule based code analyzer and when run against an eclipse project, can identify issues that can impact migration of the application to the newer version of WAS. The tool also can automatically fix certain types of issues. With the help of this tool, one case migrate applications to the newer JEE specification very quickly, and easily identify and implement any application changes required when upgrading to WebSphere Application Server V7 through V8.5.5.

The migration wizard can also deploy the applications as it is in the new application server, but this may not work in many cases, and as mentioned above there is a separate Application Migration Tool.

IBM are very hot on providing tools. Not only for their own consulting use but for their clients and the industry. It is important to note that with IBM there is often more than one way to skin a cat, we are often spoiled for choice, so this is why this guide was created. My intention in my courses and consutling, is to explain by example the intricacies of the different tools available and their typical use-cases.

To begin your foray in to Migrating WAS ND 7 to WAS ND 8.5.5.x, then contact me

facebooktwittergoogle_plusredditpinterestlinkedinmail

WebSphere Application Server Profiles

$
0
0

This small document contains some useful background information on WAS profiles. Use this information as part of automating WebSphere migrations and or installations.

You can also download this free guide in PDF format here

Profile types WAS 8.5.5.x

Templates for each profile are located in the <app_server_root>/profileTemplates directory.

Multiple directories exist within this directory, which correspond to different profile types and vary with the type of product that is installed. The directories are the paths that you indicate while using the manageprofiles command with the -templatePath option. You can also specify profile templates that exist outside the profileTemplates directory, if you have any.

See the -templatePath parameter description in the manageprofiles command topic for more information.

The manageprofiles command in the WebSphere Application Server Network Deployment product can create the following types of profiles:

 

Management profile with a deployment manager server

The basic function of the deployment manager is to deploy applications to a cell of application servers, which it manages. Each application server that belongs to the cell is a managed node.

You can create the management profile with a deployment manager server using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify <app_server_root>/profileTemplates/management for the -templatePath parameter and DEPLOYMENT_MANAGER for the -serverType parameter.

Specify management for the -templatePath parameter and DEPLOYMENT_MANAGER for the -serverType parameter to create this type of management profile with the manageprofiles command.

 

Management profile with an administrative agent server

The basic function of the administrative agent is to provide a single interface to administer multiple unfederated application servers.

You can create the profile using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify <app_server_root>/profileTemplates/management for the -templatePath parameter and ADMIN_AGENT for the -serverType parameter to create this type of management profile.

Specify management for the -templatePath parameter and ADMIN_AGENT for the -serverType parameter to create this type of management profile with the manageprofiles command.

 

Management profile with a job manager server

The basic function of the job manager is to provide a single console to administer multiple base servers, multiple deployment managers, and do asynchronous job submission.

You can create the profile using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify <app_server_root>/profileTemplates/management for the -templatePath parameter and JOB_MANAGER for the -serverType parameter to create this type of management profile.

Specify management for the -templatePath parameter and JOB_MANAGER for the -serverType parameter to create this type of management profile with the manageprofiles command.

 

Application server profile

Use the application server to make applications available to the Internet or to an intranet.

An important product feature is the ability to scale up a standalone application server profile by adding the application server node into a deployment manager cell. Multiple application server processes in a cell can deploy an application that is in demand. You can also remove an application server node from a cell to return the node to the status of a standalone application server.

Each standalone application server can optionally have its own administrative console application, which you use to manage the application server. You can also use the wsadmin scripting facility to perform every function that is available in the administrative console application.

No node agent process is available for a standalone application server node unless you decide to add the application server node to a deployment manager cell. Adding the application server node to a cell is known as federation. Federation changes the standalone application server node into a managed node. You use the administrative console of the deployment manager to manage the node. If you remove the node from the deployment manager cell, then use the administrative console and the scripting interface of the standalone application server node to manage the process.

You can create the profile using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify <app_server_root>/profileTemplates/default for the -templatePath parameter to create this type of profile.

The application server profile is created by default if you do not specify the -templatePath parameter. You can alternatively specify default for the -templatePath parameter on the manageprofiles command to create the application server profile.

 

Cell profile

Use the cell profile to make applications available to the Internet or to an intranet under the management of the deployment manager.

Creation of a cell profile generates a deployment manager and a federated node in one iteration through the Profile Management Tool. The result is a fully functional cell on a given system.

To create a cell profile using the manageprofiles command, you must create two portions of the profile: the cell deployment manager portion and the cell node portion. Additionally, you can have only one cell deployment manager and one cell node associated with each other when you create a cell. The initial cell profile that you create with the manageprofiles command is equivalent to the cell profile you create with the Profile Management Tool. After you create the initial cell profile, you can create custom profiles or standalone profiles and federate the profiles into the deployment manager.

On the manageprofiles command, specify <app_server_root>/profileTemplates/cell/dmgr for the -templatePath parameter for the deployment manager and <app_server_root>/profileTemplates/cell/default for the -templatePath parameter for the cell node.

On the manageprofiles command, specify <app_server_root>/profileTemplates/cell/dmgr on the -templatePath parameter for the deployment manager and <app_server_root>/profileTemplates/cell/default on the -templatePath parameter for the cell node. You can read about the cell profile type in the article on creating a cell profile with the manageprofiles command.

After you create the two portions that make up the cell profile, you have a deployment manager and federated node. The federated node contains an application server and the default application, which contains the snoop servlet, the HitCount application, and the HelloHTML servlet.

 

Custom profile

Use the custom profile, which belongs to a deployment manager cell, to make applications available to the Internet or to an intranet under the management of the deployment manager.

The deployment manager converts a custom profile to a managed node by adding the node into the cell. The deployment manager also converts an application server node into a managed node when you add an application server node into a cell. When either node is added to a cell, the node becomes a managed node. The node agent process is then instantiated on the managed node. The node agent acts on behalf of the deployment manager to control application server processes on the managed node. The node agent can start or stop application servers, for example.

A deployment manager can create multiple application servers on a managed node so long as the node agent process is running. Processes on the managed node can include cluster members that the deployment manager uses to balance the workload for heavily used applications.

Use the administrative console of the deployment manager to control all of the nodes that the deployment manager manages. You can also use the wsadmin scripting facility of the deployment manager to control any of the managed nodes. A custom profile does not have its own administrative console or scripting interface. You cannot manage the node directly with the wsadmin scripting facility.

A custom profile does not include default applications or a default server like the application server profile includes. A custom profile is an empty node. Add the node to the deployment manager cell. Then, you can use the administrative interface of the deployment manager to customize the managed node by creating clusters and application servers.

You can create the profile using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify <app_server_root>/profileTemplates/managed for the -templatePath parameter to create this type of profile.

Profile types WAS 7

Templates for each profile are located in the <app_server_root>/profileTemplates directory.

Multiple directories exist within this directory, which correspond to different profile types and vary with the type of product that is installed. The directories are the paths that you indicate while using the manageprofiles command with the -templatePathoption. You can also specify profile templates that exist outside the profileTemplates directory, if you have any.

The manageprofiles command in the product can create the following types of profiles:

 

Management profile with a deployment manager server

The basic function of the deployment manager is to deploy applications to a cell of application servers, which it manages. Each application server that belongs to the cell is a managed node.

You can create the management profile with a deployment manager server using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify<app_server_root>/profileTemplates/management for the -templatePath parameter and DEPLOYMENT_MANAGER for the -serverType parameter.

 

Management profile with an administrative agent server

The basic function of the administrative agent is to provide a single interface to administer multiple unfederated application servers.

You can create the management profile with an administrative agent server using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify<app_server_root>/profileTemplates/management for the -templatePath parameter and ADMIN_AGENT for the -serverType parameter to create this type of management profile.

 

Management profile with a job manager server

The basic function of the job manager is to provide a single console to administer multiple base servers, multiple deployment managers, and do asynchronous job submission.

You can create the profile using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify <app_server_root>/profileTemplates/management for the -templatePathparameter and JOB_MANAGER for the -serverType parameter to create this type of management profile.

 

Application server profile

Use the application server to make applications available to the Internet or to an intranet.

An important product feature is the ability to scale up a standalone application server profile by adding the application server node into a deployment manager cell. Multiple application server processes in a cell can deploy an application that is in demand. You can also remove an application server node from a cell to return the node to the status of a standalone application server.

Each standalone application server can optionally have its own administrative console application, which you use to manage the application server. You can also use the wsadmin scripting facility to perform every function that is available in the administrative console application.

No node agent process is available for a standalone application server node unless you decide to add the application server node to a deployment manager cell. Adding the application server node to a cell is known as federation. Federation changes the standalone application server node into a managed node. You use the administrative console of the deployment manager to manage the node. If you remove the node from the deployment manager cell, then use the administrative console and the scripting interface of the standalone application server node to manage the process.

You can create the profile using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify <app_server_root>/profileTemplates/default for the -templatePathparameter to create this type of profile.

 

Cell profile

Use the cell profile to make applications available to the Internet or to an intranet under the management of the deployment manager.

Creation of a cell profile generates a deployment manager and a federated node in one iteration through the Profile Management Tool. The result is a fully functional cell on a given system.

To create a cell profile using the manageprofiles command, you must create two portions of the profile: the cell deployment manager portion and the cell node portion. Additionally, you can have only one cell deployment manager and one cell node associated with each other when you create a cell. The initial cell profile that you create with the manageprofiles command is equivalent to the cell profile you create with the Profile Management Tool. After you create the initial cell profile, you can create custom profiles or standalone profiles and federate the profiles into the deployment manager.

On the manageprofiles command, specify <app_server_root>/profileTemplates/cell/dmgr for the -templatePath parameter for the deployment manager and <app_server_root>/profileTemplates/cell/default for the -templatePath parameter for the cell node.

After you create the two portions that make up the cell profile, you have a deployment manager and federated node. The federated node contains an application server and the default application, which contains the snoop servlet, the HitCount application, and the HelloHTML servlet.

IBM provide the Cell profile option, but I never personally use this because it uses default naming conventions, and you may not want to use the default profile names, and profile locations etc in your installation.

 

Custom profile

Use the custom profile which belongs to a deployment manager cell, to make applications available to the Internet or to an intranet under the management of the deployment manager.

The deployment manager converts a custom profile to a managed node by adding the node into the cell. The deployment manager also converts an application server node into a managed node when you add an application server node into a cell. When either node is added to a cell, the node becomes a managed node. The node agent process is then instantiated on the managed node. The node agent acts on behalf of the deployment manager to control application server processes on the managed node. The node agent can start or stop application servers, for example.

A deployment manager can create multiple application servers on a managed node so long as the node agent process is running. Processes on the managed node can include cluster members that the deployment manager uses to balance the workload for heavily used applications.

Use the administrative console of the deployment manager to control all of the nodes that the deployment manager manages. You can also use the wsadmin scripting facility of the deployment manager to control any of the managed nodes. A custom profile does not have its own administrative console or scripting interface. You cannot manage the node directly with the wsadmin scripting facility.

A custom profile does not include default applications or a default server like the application server profile includes. A custom profile is an empty node. Add the node to the deployment manager cell. Then, you can use the administrative interface of the deployment manager to customize the managed node by creating clusters and application servers.

You can create the profile using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify <app_server_root>/profileTemplates/managed for the -templatePathparameter to create this type of profile.

 

Secure proxy profile

Use the secure proxy server to take requests from the Internet and forward them to application servers. The secure proxy server resides in the DMZ.

You can create the profile using the manageprofiles command. If you create the profile with the manageprofiles command, specify <app_server_root>/profileTemplates/secureproxy for the –templatePath parameter to create this type of profile.

Profile Types WAS 6.1

Similar to WAS 7, but a few subtle differences

 

Profile types

Templates for each profile are located in the <app_server_root>/profileTemplates directory.

Multiple directories exist within this directory, which correspond to different profile types and vary with the type of product that is installed. The directories are the paths that you indicate while using the manageprofiles command with the -templatePath option. You can also specify profile templates that exist outside the installation root, if you have any.

The manageprofiles command in the Network Deployment product can create the following types of profiles:

 

Deployment manager profile

The basic function of the deployment manager is to deploy applications to a cell of application servers, which it manages. Each application server that belongs to the cell is a managed node.

Specify app_server_root/profileTemplates/dmgr for the -templatePath parameter to create this type of profile.

 

Application server profile

Use the application server to make applications available to the Internet or to an intranet.

An important product feature is the ability to scale up a stand-alone application server profile by adding the application server node into a deployment manager cell. Multiple application server processes in a cell can deploy an application that is in demand. You can also remove an application server node from a cell to return the node to the status of a stand-alone application server.

Each stand-alone application server has its own administrative console application, which you use to manage the application server. You can also use the wsadmin scripting facility to perform every function that is available in the administrative console application.

No node agent process is available for a stand-alone application server node unless you decide to add the application server node to a deployment manager cell. Adding the application server node to a cell is known as federation. Federation changes the stand-alone application server node into a managed node. You use the administrative console of the deployment manager to manage the node. If you remove the node from the deployment manager cell, then use the administrative console and the scripting interface of the stand-alone application server node to manage the process.

Specify app_server_root/profileTemplates/default for the -templatePath parameter to create this type of profile.

 

Cell profile

Use the cell profile to make applications available to the Internet or to an intranet under the management of the deployment manager.

Creation of a cell profile generates a deployment manager profile and a federated node profile in one iteration through the Profile Management tool. The result is a fully functional cell on a given system.

To create a cell profile using the manageprofiles command, you must create two individual profiles: the cell deployment manager profile and the cell node profile. Additionally, you can have only one cell deployment manager profile and one cell node profile associated with each other when you create a cell. The initial cell profile that you create with the manageprofiles command is equivalent to the cell profile you create with the Profile Management tool. After you create the initial cell profile, you can create custom profiles or stand-alone profiles and federate the profiles into the deployment manager.

On the manageprofiles command, specify <app_server_root>/profileTemplates/cell/dmgr for the -templatePath parameter for the deployment manager profile and app_server_root/profileTemplates/cell/default for the -templatePath parameter for the cell node profile.

After you create the two profiles which make up the cell profile, they have a deployment manager and federated node. The federated node contains an application server and the default application, which contains the snoop servlet, the HitCount application, and the HelloHTML servlet.

 

Custom profile

Use the custom profile which belongs to a deployment manager cell, to make applications available to the Internet or to an intranet under the management of the deployment manager.

The deployment manager converts a custom profile to a managed node by adding the node into the cell. The deployment manager also converts an application server node into a managed node when you add an application server node into a cell. When either node is added to a cell, the node becomes a managed node. The node agent process is then instantiated on the managed node. The node agent acts on behalf of the deployment manager to control application server processes on the managed node. The node agent can start or stop application servers, for example.

A deployment manager can create multiple application servers on a managed node so long as the node agent process is running. Processes on the managed node can include cluster members that the deployment manager uses to balance the workload for heavily used applications.

Use the administrative console of the deployment manager to control all of the nodes that the deployment manager manages. You can also use the wsadmin scripting facility of the deployment manager to control any of the managed nodes. A custom profile does not have its own administrative console or scripting interface. You cannot manage the node directly with the wsadmin scripting facility.

A custom profile does not include default applications or a default server like the application server profile includes. A custom profile is an empty node. Add the node to the deployment manager cell. Then, you can use the administrative interface of the deployment manager to customize the managed node, by creating clusters and application servers.

Otherwise, specify <app_server_root>/profileTemplates/managed for the -templatePath parameter to create this type of profile.

Example: Using predefined port numbers

File locations of default port values, which can show you how to craft your own portFiles.

This table lists the file locations of default port values by type of profile.

Profile File path
Application server <app_server_root>/profileTemplates/default/actions/portsUpdate/portdef.props
Cell – application server portion <app_server_root>/profileTemplates/cell/dmgr/actions/portsUpdate/nodeportdef.props
Cell – deployment manager portion <app_server_root>/profileTemplates/cell/dmgr/actions/portsUpdate/portdef.props
Custom <app_server_root>/profileTemplates/managed/actions/portsUpdate/portdef.props
Management profile for a deployment manager server <app_server_root>/profileTemplates/management/actions/portsUpdate/dmgr.portdef.props
Management profile for an administrative agent server <app_server_root>/profileTemplates/management/actions/portsUpdate/adminagent.portdef.props
Management profile for a job manager server <app_server_root>/profileTemplates/management/actions/portsUpdate/jmgr.portdef.props
Secure proxy <app_server_root>/profileTemplates/secureproxy/actions/portsUpdate/portdef.props

 

The manageprofiles command recommends initial port values when you do not explicitly set port values. You can use predefined port values instead.

The manageprofiles command recommends port values when the options of -defaultPorts, -startingPort, or -portsFile are not specified.

To customize the port values in the portdef.props file before creating your profile, perform the following steps. The following example creates the default profile. For other types of profiles, you must substitute the file path with the file path of the profile that you want to create.

Copy the <app_server_root>/profileTemplates/default/actions/portsUpdate/portdef.props file from the default profile template path and place a copy of the file in an arbitrary temporary directory such as:

c:\temp\ports

/temp/ports

In the new file, modify the port settings to specify your port values.

Create your profile with the manageprofiles command. Use the modified port values. Specify the location of your modified portdef.props file on the -portsFile parameter. Specify the -validatePorts parameter to ensure that ports are not reserved or in use. Use the following example as a guide:


manageprofiles.bat

-create

-profileName Wow_Profile

-profilePath profile_root

-templatePath <app_server_root>\profileTemplates\default

-nodeName Wow_node

-cellName Wow_cell

-hostName lorriemb

-portsFile C:\temp\ports\portdef.props

-validatePorts


manageprofiles.sh

-create

-profileName Wow_Profile

-profilePath profile_root

-templatePath <app_server_root>\profileTemplates\default

-nodeName Wow_node

-cellName Wow_cell

-hostName lorriemb

-portsFile \temp\ports\portdef.props

-validatePorts

Suppose that the portdef.props file has the following values:

WC_defaulthost=39080

WC_adminhost=39060

WC_defaulthost_secure=39443

WC_adminhost_secure=39043

BOOTSTRAP_ADDRESS=32809

SOAP_CONNECTOR_ADDRESS=38880

IPC_CONNECTOR_ADDRESS=39633

SAS_SSL_SERVERAUTH_LISTENER_ADDRESS=39401

CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS=39403

CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS=39402

ORB_LISTENER_ADDRESS=39100

DCS_UNICAST_ADDRESS=39353

SIB_ENDPOINT_ADDRESS=37276

SIB_ENDPOINT_SECURE_ADDRESS=37286

SIB_MQ_ENDPOINT_ADDRESS=35558

SIB_MQ_ENDPOINT_SECURE_ADDRESS=35578

SIP_DEFAULTHOST=35060

SIP_DEFAULTHOST_SECURE=35061

OVERLAY_UDP_LISTENER_ADDRESS=35062

OVERLAY_TCP_LISTENER_ADDRESS=35063

STATUS_LISTENER_ADDRESS=35064

After running the manageprofiles command to create your profile with the user defined port values, a success or fail result displays.

The manageprofiles command creates a copy of the current portdefs.props file in the profile_root\properties directory.

Use only one of the three port values parameters, -startingPort, -defaultPorts, or -portsFile with the manageprofiles command. The three parameters are mutually exclusive.

To learn more about the courses available from The Middleware Shop, please go to http://www.themiddlewareshop.com/products to see a full list of the current courses available.

Default profiles

Profiles use the concept of a default profile when more than one profile exists. The default profile is set to be the default target for scripts that do not specify a profile. You can use the -profileName parameter with most of the scripts to enable the scripts to act on a profile other than the default profile.

The default profile name is <profile_type><profile_number>:

<profile_type> is a value of AppSrv, Dmgr, Custom, AdminAgent, JobMgr, or SecureProxySrv.

<profile_number> is a sequential number that is used to create a unique profile name

Addressing a profile in a multiprofile environment: When multiple profiles exist on a machine, certain commands require that you specify the -profileName parameter if the profile is not the default profile. In those cases, it might be easier to use the commands that are in the bin directory of each profile. When you issue one of these commands within the bin directory of a profile, the command acts on that profile unless the -profileName parameter specifies a different profile.

Consulting

If you or your organization require support in architecture, performance tuning, automation or simply advice, then please contact me via my support site and request a conversation, where we can discuss your requirement.

About Steve

Steve is a seasoned passionate technology professional, strategist and leader.

An expert in technical communications, and adept in almost all forms of Internet and mobile related technology, Steve has time and time again proven his tenacity to improve systems around him and deliver.

Steve has worn many hats during his career such as Chief Technical Officer, Founding Member of several business ventures, Programmer, Systems Administrator, Architect, Blogger and Published Author to name a few.

Due to 20 years Industry experience in Middleware, Programming, Networks and Internet Technologies, He combines systems knowledge with efficient working methods and inter personal skills required to build effective relationship with clients and colleagues alike. Exceeding typical expectations in any role undertaken, Steve is certain to become a valuable asset within any organisation He joins.

 

Key Skills

• Leadership (Team, Project, Business, People).

• Architecture (Solutions, Information, Technical, Applications).

Simply, I help you deal with CANETI: Constant And Never Ending Technological Innovation

Specific IBM WebSphere skills:

  • WebSphere Application Server (WAS Base, WAS ND & Liberty Profile & Liberty Runtime)
  • Automation
  • Security, SSL
  • Dev Ops
  • Architecture
  • Performance Tuning

Middleware Integration Skills:

  • .NET programming, and Architecture
  • Java Programming, and Architecture
  • SOA, SOAP and XML messaging
  • JBoss Fuse, WMQ, IIB, Mule

Integration Skills:

  • SOA
  • Process Improvement
  • ICD’s
  • Messaging Architecture
  • Governance

 

General Digital Architecture & Governance

  • Lightweight Architectures
  • Digital Strategy, platform stacks for example IAAS, PAAS, SAAS
  • PCI DSS

 

Industry Qualifications & Recognition

  • TOGAF 9.1
  • IBM Champion 2013
facebooktwittergoogle_plusredditpinterestlinkedinmail

WebSphere Application Server Migration Course

$
0
0

Note:This is not part of the $199 deal as this course was released September 2015.

  • Have you ever wondered how to automate the migration from WAS 7 to WAS 8.x or WAS 8.5.x or WAS 8.5.5.x?
  • Do you need to Migrate a WebSphere Application Server?
  • Do you need to save time automating migration tasks?

The WebSphere Application Server Migration – Automation Course provides the student with a full set of guides and a set of commercial-grade automation scripts with detailed worked-examples.

The course provides scripts to automate the following:

  • Migrate from WAS 7 to WAS 8.x.x.x
  • Install/Upgrade/Remove Update Installer
  • Install/Upgrade WebSphere Application Server 7.x
  • Install/Upgrade IBM HTTP Server (IHS)
  • Understand IHS Administration
  • Install/Upgrade the WebSphere Plugin
  • Report on IBM Installation managed installs

Also contained within the course are the following topics:

  • A Complete Jython-based automation library for application deployments
  • A Complete Jython-based automation library for JDBC Provider/Datasource management
  • A complete guide on how to install and configure MySQL as a database server

This course was produced over 2 months with full-time effort towards design, testing and verification of advanced automation scripts which can be used independently or plugged into any enterprise orchestration management software. To engage a leading IBM WAS consultant to build these scripts, would cost over £100,000 pounds and likely to take several months to write, and test. I have leveraged my vast industry experience to give you another valuable course. Once purchased, you can augment these scripts as you please into your enterprise management processes, saving you time and money. I would recommend that you consider the cost it would take you to produce a similar set of scripts, and you will see that the price of the course (essentially the scripts with examples) is well worth it, even if it is just to get hold of these scripts and include them in your administration-tools arsenal.

Imagine being able to install and upgrade WAS 7.x products in minutes, with self auditing configurations and detailed logging, and also being able to Migrate from WAS 7 to WAS 8.x.x.x

The course has been written by Steve Robinson who is a well known WebSphere product specialist and the author of several published WebSphere related books.

Duration: 3-5 Days Self Study
Audience:

  • Experienced JEE Developers and Administrators having good experience with WebSphere Application Servers.
  • People looking to upgrade their skills to the Latest version of WebSphere Application Server.
  • Advanced professionals looking to automate installing and upgrading WAS 7 or to Migrate from WAS 7 to WAS 8.x, 8.5.x, 8.5.5.x in the enterprise.

Requirements:
Basic knowledge of Linux commands is expected. Prior experience in administering WebSphere Application Server version 7.x servers is expected.

WebSphere Application Server Migration Course
WebSphere Application Server Migration Course
Price: $499.95

Note: Once you have paid and registered, you will gain instant access to download your course materials.

facebooktwittergoogle_plusredditpinterestlinkedinmail

Example Diagrams of WAS 8.5.5.x ND and Liberty-Runtime Collective environments

$
0
0

You can download the PPT source for these diagrams here

Use this template to help create environment diagrams. In my personal experience it is an area performed badly by Middleware Administrators.

This template is my way of providing some help to make creating diagrams of your environments less painful when you are under pressure to perform your support role.

It is in PPT as this will allow a wider audience, not everyone in your organisation has VISIO.

This diagram set is based on IBM WebSphere Application Server Network Deployment and Liberty-Runtime (Core) Collective and only shows a few examples of fictitious Cells. There are many designs that could be drawn, these are just some examples.

Single Cell, (Single Deployment Manager). Contains two nodes, thus two managed-node profiles.

Two application clusters. Each cluster contains two JVMS (servers) for an HA service concept, but all installed on one physical host for testing purposes. This is known as a vertical cluster. A vertical cluster is when one or more of the entire cluster members exist on the same physical machine.

Single Cell, (Single Deployment Manager). Two nodes, thus two node profiles. Two application clusters. Each cluster contains two JVMs and thus presents two copies of each application for service.

This is also known as a horizontal cluster. When one or more members of a cluster exist on separate hosts (via managed nodes) then the cluster is considered to be a horizontal cluster.

Complex Highly Available WAS ND environment. We can can see in the diagram below that we have many managed nodes.

The green coloured managed-nodes could even be considered to be hosted in a secondary facility i.e. second data-centre to ensure high availability. It will all depend on your HA design and ability to route traffic across data centres. Either way, the design allows for multiple host and JVM failure and provides a level of tolerance.

Not that the weakest point is the fact that the Deployment Manager is not highly available, however this is not required for a running HA environment unless maintenance/configuration changes need to be actioned.

A simple way to cater for a Deployment Manager corruptions is to ensure that you have quality consistent backups of the DMGR file-system.

It is possible to perform a Highly Available DMGR design, however it requires thought and is a delicate procedure to get right and you should consult a WebSphere Specialist to help with a highly-available Deployment Manager scenario.

Solution to provide HA of “App” during deployment of a new version. We can stop Cluster Members from communicating (take off-line), and or App’s and release a new version as required. Then using controlled administration ie cluster-weights, we can ensure that testing is able to verify the new application is working before allowing full distrubution(Sunchronisation) across the cluster members.
Solution to provide HA of “App” across a “4 Member Liberty Collective”
Note: 2 Physical hosts are depicted in this example

Libery-Runtime is not the same prodcut as WAS 8.5.5.x ND, and so the pattern for deployment is completely different, as is the automation and configuration using Shell and Jython.

We can leverage some of our WAS 8.x.x.x knowledge, however understanding a new set of API’s and XML configurations will be required.

facebooktwittergoogle_plusredditpinterestlinkedinmail

WAS 8.5.5 Migration Course

$
0
0

The WebSphere Migration Course (with Automation) course provides scripts to automate the following:

  • Migrate from WAS 7 to WAS 8.x.x.x
  • Install/Upgrade/Remove Update Installer
  • Install/Upgrade WebSphere Application Server 7.x
  • Install/Upgrade IBM HTTP Server (IHS)
  • Understand IHS Administration
  • Install/Upgrade the WebSphere Plugin
  • Report on IBM Installation managed installs

Also contained within the course are the following topics:

  • A Complete Jython-based automation library for application-deployments
  • A Complete Jython-based automation library for JDBC Provider/Datasource management
  • A complete guide on how to install and configure MySQL as a database server

Duration: 3-5 Days Self Study
Audience:

  • Experienced JEE Developers and Administrators having good experience with WebSphere Application Servers.
  • People looking to upgrade their skills to the Latest version of WebSphere Application Server.
  • Advanced professionals looking to automate installing and upgrading WAS 7 or to Migrate from WAS 7 to WAS 8.x, 8.5.x, 8.5.5.x in the enterprise.

Requirements:
Basic knowledge of Linux commands is expected. Prior experience in administering WebSphere Application Server version 7.x servers is expected.

WebSphere Application Server Migration Course
WebSphere Application Server Migration Course
Price: $499.95

Note: Once you have paid and registered, you will gain instant access to download your course materials.

Essential Topics Covered in this course:

Topics Covered
Manual Upgrade Process
WASPreUpgrade.sh
WASPostUpgrade.sh
WAS Profiles
A guide to discuss how to use Jython to automate Application Deployments
How to deploy the provided sample application
How to install MySQL
How to manually create a JDBC Provider
How to manually create a DataSource
How to create a J2C Authentication Alias
How to automate JDBC configurations using Jython
How to use wasMigrate.sh
Complete automation of manual migration steps
Complete automation of WAS 7 / WAS ND install
Create Profiles (Manual and Automated)
Delete Profiles (Manual and Automated)
Deployment Manager Profile
Node Profile
Ports Definition File
Query Port usage
Default vs Custom Ports
Port ranges
Port table
Profile Types
Install IHS silently (Manual and Automated)
Install Plugin silently (Manual and Automated)
Upgrade IHS silently (Manual and Automated)
Upgrade Plugin (Manual and Automated)
Rollback Fix Pack (Manual and Automated)

 

This course was produced over 2 months with full-time effort towards design, testing and verification of advanced automation scripts which can be used independently or plugged into any enterprise orchestration management software. To engage a leading IBM WAS consultant to build these scripts, would cost over £100,000 pounds and likely to take several months to write, and test. I have leveraged my vast industry experience to give you another valuable course. Once purchased, you can augment these scripts as you please into your enterprise management processes, saving you time and money. I would recommend that you consider the cost it would take you to produce a similar set of scripts, and you will see that the price of the course (essentially the scripts with examples) is well worth it, even if it is just to get hold of these scripts and include them in your administration-tools arsenal.

facebooktwittergoogle_plusredditpinterestlinkedinmail

Bargain Bucket – ALL Courses including new 2015 releases for $399.00

$
0
0

Buy both for only $399, valued at $791, with a bonus of 9 other courses valued at additional $999.

This page provides the facility to purchase the elite membership, which grants you full access to all products released before December 2014 (ALL Courses) and all products relased during 2015 (ALL 2015 COURSES).

If it was not for customers like yourself, The Middlewareshop would not be able to provide the quality courses we produce.
As a special thank-you, I would personally like to extend to you an offer to purchase my latest courses listed on this page for only $399.

1. WebSphere 8.5.5.x Install/Upgrade Automation Course (Retail $495)

The WebSphere Application Server 8.5.5.x (Installation and Upgrade) Automation Course provides the student with a full set of guides and a set of commercial-grade installation, and upgrade automation scripts with detailed worked-examples, including a very advanced Cluster Management Library showing how to code commercial quality Object Oriented Jython for WAS management.

2. WebSphere Migration Automation Course (Retail $495)

The WebSphere Application Server Migration – Automation Course provides the student with a full set of guides and a set of commercial-grade automation scripts with detailed worked-examples covering WAS 7 to WAS 8.5.5.x Migration. This course also includes a fully automated Application Deployment Library and JDBC configuration Library all written in commercial quality Object Oriented Jython.

Buy both 2015 courses for only $399, after purchase, you will gain access to ALL 2015 courses released this year in addition to the <=2014 courses.

You get perpetual access to ALL the courses listed below.

ALL COURSES (Valued at $999):
Oracle Coherence 3.7 Admin Essentials
WebLogic 11g System Administration Course
WebSphere Application Server 8.5 Performance Tuning Course
WebSphere Application Server 7 Performance Tuning Course
WebSphere Application Server 8 Administration Course
WebSphere Application Server 8.5 Administration course
WebSphere Message Broker 8 Development Course
WebSphere MQ 7.5 Administration Course
WebSphere Portal 8 Administration Basics Course
ALL 2015 COURSES (Valued at $990):
WebSphere 8.5.5.x install/upgrade automation Course (Includes Cluster Management using Jython and IHS automation)
WebSphere 7 to 8.5.5.x Migration Automation Course (includes JDBC automation, and Application Deployment automation)

 

Also…Coming soon in 2015 (Q4) are:

Essential WebSphere Security Concepts – How to deal with User/Application Security, Federated Security in detail, with LDAP automation. SSL with IHS & IHS Administration techniques. WAS SSL certificate management. (Retail estimated to be $199)
Advanced WebSphere Security Concepts – SSO, Kerberos, TAI and LPTA, alogn with advanced SSL end-point management (Retail estimated to be $199)

All 2015 Courses - Bargain Bucket
All 2015 Courses - Bargain Bucket
Access to all 'The Middleware Shop's' training products released before and during 2015. Consists of all active products released up to the end of 2015.
Price: $990.00
Price: $399.00

Note: Once you have paid and registered, you will gain instant access to download your course materials.

 

facebooktwittergoogle_plusredditpinterestlinkedinmail

WebSphere Application Client – HowTo Cookbook

$
0
0

Note: This is part of the $399 special deal as this course was released before December 2015.

  • Have you ever wondered how to install an Application client?
  • Have you ever had trouble connecting to a secure server? 
  • Have you wondered how to call JMX i.e. call WAS Mbeans using Java as opposed to Jython scripting?

The WebSphere Application Server 8.5.5.x – Application Cookbook provides the student with a detailed example-based guide and also a pre-prepared Eclipse workspace to help speed up your learning. This course was produced because I had many members of the public asking for support on how to connect an Application Client (Java client) to a secure WebSphere Application Server. For some reason connecting a Java client to secure WebSphere application sever’s is not very well document. As always, I have tried to simply and distill the core facts so that you can get on with the task at hand.

The course provides scripts to automate the following:

  • Background: Choosing a type of client
  • J2SE Considerations
  • Java EE 5 Considerations
  • Security (WAS Global Security = On)
  • Installing IBM Application Client (FREE Version)
  • Download process
  • Installing Process
  • Creating an Admin Client application
  • Changing Libraries
  • Adding a new JRE (IBM JRE)
  • Running the Code
  • Source Code review
  • Ways to use WAS properties in your Java applications
  • Specifying properties within code
  • Keystore configurations
  • Passing Properties as JVM Arguments
  • Important notes from IBM regarding Application Clients
  • Extra Thin client information
  • Getting server objects and resources
  • Local Help

Duration: 1 Days Self Study
Audience:

  • Experienced JEE Developers and Administrators having good experience with WebSphere Application Servers.
  • People looking to upgrade their skills to use the WebSphere Application Server Application client, and understand how to connect to a secure WAS environment via code.

Requirements:
Basic knowledge of Linux/Windows commands is expected. Prior experience in administering WebSphere Application Server version 6.1-8.x servers is expected, as is basic Java programming in Eclipse.

WAS 8.5.5.x Application Client Cookbook
WAS 8.5.5.x Application Client Cookbook
The example in this document is focused around how to enable an Application Client to connect to a WebSphere Application Server when Global Security being turned on
Price: $49.95
Price: $29.95

Note: Once you have paid and registered, you will gain instant access to download your course materials.

facebooktwittergoogle_plusredditpinterestlinkedinmail

serverType: The value for this parameter must be within this set of values [ADMIN_AGENT]

$
0
0

Error when running a create profile action using managed profiles (as called in my automation course)

[12/09/15 01:08:48] INFO Executing CMD: /var/apps/was855/bin/manageprofiles.sh -create -profileName DV_dmgrProf -profilePath /var/apps/was855/profiles/DV_dmgrProf -templatePath /var/apps/was855/profileTemplates/management -serverType DEPLOYMENT_MANAGER -cellName DVCell -hostName localhost -nodeName DV_dmgrNode -startingPort 10000 -isDefault -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin
The following validation errors were present with the command line arguments:
serverType: The value for this parameter must be within this set of values [ADMIN_AGENT]
[12/09/15 01:08:52] ERROR Error occurred during creation of the [DV_dmgrProf] profile!

The issue was the WAS 8.5.5.x instance was installed using WAS DEV (which is WAS BASE) and so it does not have the ability to create a Deployment Manager profile, I should be using a different package ID for example: com.ibm.websphere.ND.v85_8.5.5000.20130514_1044,core.feature,com.ibm.sdk.6_64bit, which installs a WAS ND instance.

 

facebooktwittergoogle_plusredditpinterestlinkedinmail
Viewing all 70 articles
Browse latest View live