02
Sat, Nov
2 New Articles

The Tool That Makes Monitoring and Tuning Your IBM i Web Environment Easy

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

One of the trickiest metrics for any IBM i partition is performance of web workloads. Luckily, there's an app for that.

 

Over the last few years, IBM has been pumping more and more features into IBM Navigator for i, the strategic systems management utility for IBM i. Performance analysis is one area that has been given extensive focus with Performance Data Investigator. You might launch a web service but not know how to analyze performance, let alone know where to tune it. Hidden away in the IBM Web Administration utility since V5R3 is a great little tool called Web Performance Advisor.

 

Web Performance Advisor analyzes the performance of a specific web environment. Based on the performance evaluation, recommendations are made that allow you to tune the performance of this web environment. It's a consolidated interface, so you can view a number of attributes pertaining to the overall partition, web environment, associated Java Virtual Machine (JVM), and database.

 

To access Web Performance Advisor, open up IBM Navigator for i, which is by default running on http://yourserver:2001. I've mentioned it before, and I can't stress it enough: please use a fully qualified address like partition1.yourdomain.com, and make sure the address is in your DNS.

 

Log on using a profile with elevated privileges and then click on Internet Configurations on the bottom left of the navigation pane. Then, click on IBM Web Administration for i. The Web Administration for i utility will open up in a new window.

 

032315PitcherFigure1 

Figure 1: Choose IBM i Management > File Systems > Internet Configurations.

 

032315PitcherFigure2 

Figure 2: Select IBM Web Administration for i.

 

Once you're inside IBM Web Administration for i, click Manage > Application Servers, and select an application server you want to analyze. On the left side is the application server properties pane. Underneath Web Performance, click Web Performance Advisor.

 

032315PitcherFigure3 

Figure 3: Launch the Web Performance Advisor.

 

You'll then get a pop-up window that's a little bit of a disclaimer stating that the program will recommend solutions but may not take into consideration all aspects of a particular environment and that due diligence should be taken to ensure you make the right choices for your systems. This is a complementary tool to IBM Workload Estimator and, in my opinion, to Performance Data Investigator, so don't rely on it as a complete performance adjustment solution.

 

The main interface for Web Performance Advisor (and remember, this is for one particular web application) gives you an overall evaluation at the top and then a section for System Performance Attribute Information and Web Environment.

 

032315PitcherFigure4 

Figure 4: Click the Manage System Attributes button.

 

Click the Manage System Attributes to get an idea of the system-wide analysis and recommendations. The first tab, called System Resources, gives you the model, processor feature code, and system Commercial Processing Workload (CPW) rating. It also shows you the active processor cores, the virtual processors, and the type of processor sharing you have. Processor sharing has three separate settings:

 

  • DedicatedThe physical processors allocated to this partition aren't shared with any other partition.
  • Shared cappedThe partition shares the physical processors with other partitions. Because "Shared capped processor" is specified, this partition cannot exceed the active processors allocated to this partition.
  • Shared uncappedThe partition shares the physical processors with other partitions. Because this partition is running uncapped, this partition can exceed the active processors allocated to this partition and use processing cycles from other shared partitions that don't need their processor cycles.

Also on the System Resources tab is information on the amount of disk drives/arms and the condition of the drives. If the disk units are running in a degraded condition, the performance of this system is impacted. For example, if the write cache battery fails, the condition of the disk unit is degraded. Another example is a RAID-controlled disk unit array with a failed unit. If you have cache batteries and one or more are in an error state, you're probably going to know about it before you're mucking around with web performance. In that scenario, you're going to hear from your users when the entire system is running slowly because there's no write cache.

 

The Performance Settings tab makes recommendations on values for system performance (processor multitasking, parallel processing degree, thread resources adjustment, performance adjustment), thread resources affinity (group and level), maximum activity level threads, and the send/receive TCP/IP buffer sizes.

 

There are also tabs for PTF Groups and Web PTFs, showing the group PTF levels and web-related individual PTFs that are grouped by licensed program. Pretty handy.

 

Back on the main screen, you can click the Manage Attributes button underneath the Web Environment section.

 

On the Manage Web Environment Performance screen you have four tabs:

 

  • JVM Settings – Displays the Java version, which JVM you're using and the bitness, Java compiler (jitc, jitc_de, Interpret), memory pool size, initial and max JVM heap sizes. It will show you if you're in debug mode and garbage collection settings.
  • Resources – Displays the subsystem, memory pool name and size, the maximum active threads, and JVM heap sizes for the Integrated Web Application Server System Resources and the minimum/maximum threads and process priority for the IWAS container settings
  • Database – work with associated database properties, like connection pooling.
  • Additional Settings – You can turn on connection tracing and set the maximum amount of keep-alive session.

032315PitcherFigure5

Figure 5: Check your JVM settings here.

 

Let's go back to the main screen once more.

 

At the bottom of the screen, you have a button to export an XML performance profile, which could be handy if you want to troubleshoot with IBM support or perhaps if you want to have a checkpoint of the performance characteristics in case you made changes; that way, you could compare performance before and after.

 

The other button at the bottom to take note of is for General Settings. First, you should unclick the check box that gives you that pesky disclaimer pop-up message. It would be better if that check box was on the pop-up window itself, but it's not, and that's how you turn it off. Second, there's a section called Specify Risk Model, where you can choose how Web Performance Advisor makes recommendations. The default setting is that the recommendations are relatively conservative. You can tune a little more granular if this setting is set to aggressive recommendations. Please note that the actual recommendation may not change, however. For example, instead of a little yellow warning sign, you will get a little red circle with an "X" stating that a parameter is outside the recommended value.

 

That's it. It's a relatively simple tool.

 

Once you make your changes, simply restart your web application server instance. If it's a system change, then of course you're bound by the activation rules of that system parameter.

 

In writing this article, I took a good look at all my web application servers and found a couple of settings that would be quite useful. For instance, I'm not a database guy, but I should really care about parallel processing (system value QQRYDEGREE). Mine was set to *NONE because the Licensed Program wasn't installed. That's 5770SS1 option 26 - DB2 Symmetric Multiprocessing, by the way. After doing a quick search about this product, I think it's something we should install and set to *OPTIMIZE during off hours (at first) to see if system query performance increases.

 

When you start using new tools, they can help you familiarize yourself with things about the IBM i operating environment you're not always up to speed on. If you use a good deal of web application servers and want to get a handle on performance, give Web Performance Advisor a try.

Steve Pitcher
Steve Pitcher works with iTech Solutions, an IBM Premier Business Partner. He is a specialist in IBM i and IBM Power Systems solutions since 2001. Feel free to contact him directly This email address is being protected from spambots. You need JavaScript enabled to view it..
BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: