Tuesday, 21 February 2012

SQL1041N The maximum number of concurrent databases have already been started

Saw this referenced in a thread on the IBM Connections Community Chat, moderated by the nice Mr Stuart McIntyre ( SocialStu ), and thought it was worth re-posting.

Problem(Abstract)

This technote explains how to resolve an SQL1041N error that can occur when trying to connect to an IBM® DB2® Test Datastore from IBM Rational® TestManager (TM).

Cause

The default number of databases that can be concurrently active (that is, have applications connected to them) is 8.

Resolving the problem

Change the number of databases that can be concurrently active to the desired number. The valid range is 1 to 256.

To change this number:

• Open the DB2 Control Center
• Expand All Systems -> [server name] -> Instances
• Right-click on the instance that you want to change (DB2 instance) and choose Configure Parameter from the pop-up menu
• Scroll down to NUMDB (under Environment)
• Change the value to the desired number
• Restart the DB2 service (Start -> Run -> services.msc)

As Stuart also pointed out, for those of us who (a) prefer command lines or (b) choose not to use DB2 Control Centre or (c) choose not to run DB2 on Windows, the NUMDB parameter can be set via the DB2 CLI: -

$ db2 update database manager configuration using numdb 15
$ db2stop
$ db2start
$ db2 get database manager configuration

( as the DB2 instance owner of the Connections - or other application - databases )


Saturday, 18 February 2012

More on Lotus Notes 8.5.3 on the Mac - Pruning Preferences to Recover Crashes

Having twice managed to break my Notes installation by "fickering" around with the preferences - now one could say that this shouldn't cause the client to fail to start but …. ;-(

I *think* I created the problem by incorrectly setting the URL for the Activities client to: -


rather than: -


but I may be wrong :-)

Last time around, I managed to recover the client by clearing down the Workspace folder ( /Users/david_hay/Library/Application Support/Lotus Notes Data/Expeditor ), as per this blog post.

This time, I found a more quick and simple solution - I merely cleared down this folder: -

/Users/david_hay/Library/Application Support/Lotus Notes Data/Expeditor/Applications/.metadata/.plugins/org.eclipse.core.runtime/.settings

I'm still not 100% convinced that a configuration change should "break" the client quite so seriously but ….

Thursday, 16 February 2012

WebSphere User Group - London - Wednesday 21 March

I may have mentioned this previously, but it's an event that's worth mentioning over and again.

The WebSphere User Group are having one of their UK meetings at IBM South Bank on Wednesday 21 March.

The full agenda etc. is available on the WUG site here and there's some great content being planned, including a session on the WebSphere Application Server 8.5 "Liberty Profile".

I'll be there, hope to see you there :-)

Tuesday, 14 February 2012

IBM Connections and IBM Tivoli Directory Integrator - @ Symbol Causes Problems in LDAP Distinguished Name

I saw this Technote: -


in my IBM Connections Fixes ATOM feed earlier.

Problem

Attempts to use the ProfileConnector to write custom attributes result in "dn is null" when using 
Tivoli Directory Integrator for IBM Connections.

Symptom

Standard user LDAP attributes are being populated and synchronized by the sync_all_dns.bat/sh Tivoli Directory Integrator (TDI) script. There is also a need to populate additional user information from a separate data source.

The ProfileConnector was used for this task to retrieve, create and update the extension data.
It was found that the synchronization was working correctly for standard and extension fields, with the exception of users whose LDAP distinguished name (DN) contained the ampersand '@' character.
e.g. CN=JoeBloggs@domain,OU=Division,O=IBM

For these users, no population or sychronization of extension data was made and in the TDI log files it was found that the error "dn is null" was written.

Cause

The ProfileConnector code as part of the TDISOL package for IBM Connections was unable to handle these type of distinguished names correctly.

Sadly, the Technote doesn't list specifically what fix one needs. I'll try and find out, and report back …..

Friday, 10 February 2012

Could it be magic ? Making my narrowband more broad ….

So I've been trying to get to the bottom of why my home broadband bandwidth was so poor, both BEFORE and AFTER I moved to BT Broadband, with their Home Hub, BTFON and OpenZone service.

This meant that even basic web activity took time, including podcast downloads ( I need my geeky fix on a regular basis, almost as regular as my caffeine fix ) and streaming TV, including BBC iPlayerITV Player4ODDemand 5 etc.

The Home Hub has a great geeky user interface, and I was able to see, at a glance, how poor the bandwidth WAS: -


Whilst lurking around the BT website, I found mention of this BT Broadband Accelerator - working on the principle that, if it seems too good to be true, it probably is, I kept on browsing, and got lost in the wonderful world of line tests and speed tests.

However, I did go back to the Accelerator ( formerly known as the iPlate - perhaps before our friends in Cupertino copyrighted the letter 'i' !! ).

It's a simple piece of hardware, that clips into the standard BT master telephone socket, and seems to "smooth" out the spikes, noise and crackles caused by extension wiring - of which we have plenty.

It looks something like this: -

Given that BT wanted to charge me the princely sum of £1.30 ( for delivery, as the unit was "free" to existing BT customers ), I thought it was worth a try - after all, for £1.30, I can barely get an espresso in my favourite coffee chain :-)

I ordered it on Wednesday, it arrived on Thursday, and installation took about 2 minutes - I merely had to open up the master socket ( Caveat Emptor ), and plug the Accelerator in to the existing socket.

Having done this, I plugged the Home Hub back into the faceplate, and waited for 2-3 minutes for it to re-establish the connection.

Almost immediately, the Home Hub started reporting a fairly significant rise in the Downstream connection: -


Almost immediately, my perception was that downstream performance had improved, with a few podcasts coming down nice and quickly, and no obvious stuttering on the BBC iPlayer.

I left it for a while ( BT recommend 48 hours to 14 days to be sure ), and then ran speed tests using ThinkBroadBand: -




So far, so good.

You pays your money, you takes your chance ( or, in my case, your change !! )

Wednesday, 8 February 2012

WebSphere and VMware Together - The Balloon Goes POP!!

I'm working on a couple of projects where our client is running various WebSphere Application Server-based products, including IBM Connections, IBM WebSphere Portal and IBM Web Content Manager, on VMware ESX.

One specific item of interest is the wonderfully named "Memory Ballooning"  …..

Memory Balloon Driver

The balloon driver, also known as the vmmemctl driver, collaborates with the server to reclaim pages that are considered least valuable by the guest operating system. It essentially acts like a native program in the operating system that requires more and more memory. The driver uses a proprietary ballooning technique that provides predictable performance that closely matches the behavior of a native system under similar memory constraints. This technique effectively increases or decreases memory pressure on the guest operating system, causing the guest to invoke its own native memory management algorithms. When memory is tight, the guest operating system decides which particular pages to reclaim and, if necessary, swaps them to its own virtual disk.

You need to be sure your guest operating systems have sufficient swap space. This swap space must be greater than or equal to the difference between the virtual machine's configured memory size and its reservation.



For us, this caused some performance problems, with symptoms such as hung JVMs, hung threads, apparent 100% CPU utilisation etc., both on the VMs running real end-user workload e.g. IBM Connections, which we have clustered across two nodes, each with oodles of memory and oodles of CPU core. We also saw the same symptoms on our Deployment Manager servers, which aren't exactly what I'd call heavyweight workloads.

We've now disabled this behaviour, and things appear to be a little better.

These two VMware-sourced documents were of considerable use: -


the latter of which says: -

It is recommended that you do not overcommit memory because the JVM memory is an active space where objects are constantly being created and garbage collected. Such an active memory space requires its memory to be available all the time. If you overcommit, memory ballooning or swapping may occur and impede performance.

An ESX/ESXi host employs two distinct techniques for dynamically expanding or contracting the amount of memory allocated to virtual machines. The first method is known as memory balloon driver (vmmemctl). This is loaded from the VMware Tools package into the guest operating system running in a virtual machine. The second method involves paging from a virtual machine to a server swap file without any involvement by the guest operating system.

In the page swapping method, when you power on a virtual machine, a corresponding swap file is created and placed in the same location as the virtual machine configuration file (VMX file). The virtual machine can power on only when the swap file is available. ESX/ESXi hosts use swapping to forcibly reclaim memory from a virtual machine when no balloon driver is available. The balloon driver might be unavailable either because VMware Tools is not installed or because the driver is disabled or not running. For optimal performance, ESX/ESXi uses the balloon approach whenever possible.

However, swapping is used when the driver is temporarily unable to reclaim memory quickly enough to satisfy current system demands. Because the memory is being swapped out to disk, there is a significant performance penalty when the swapping technique is used. Therefore, it is recommended that the balloon driver is always enabled, but monitor it to verify that it is not being invoked when that memory is overcommitted.

Both ballooning and swapping should be prevented for Java applications. To prevent ballooning and swapping, refer to BP5 – Set memory reservation for virtual machine needs.

Bottom line, ballooning and WebSphere aren't a good fit ….

IBM Content Template Catalog V3.0 (CTC) and WebSphere Portal 7.0.02

This IBM Technote plopped into my In-Box earlier today, and I immediately shared it via Sametime with a number of my colleagues, most of whom are working with the IBM Content Template Catalog (CTC) right now.

IBM Content Template Catalog V3.0 (CTC) is broken after upgrade to WP/WCM V7.0.0.1 CF009 (or later) or 7.0.0.2 fix pack

Abstract

The IBM Content Template Catalog V3.0 (CTC3) can be installed on IBM Web Content Manager (WCM) V7.0.0.1 or 7.0.0.2. Installing the Combined Cumulative Fix 009 or 010, or upgrading to fix pack level 7.0.0.2 renders CTC3 unusable.

Content

A fix will be made available in the near future and this page will be updated when more information is available.

The IBM Content Template Catalog V3.0 (CTC3) is documented here: -

http://www-10.lotus.com/ldd/portalwiki.nsf/dx/IBM_Content_Templates_Catalog_V3.0

One of the files necessary for its successful operation is overwritten when installing either Combined CF009, CF010, or fix pack 7.0.0.2. The .jar file, "wp.wcm.templating.jar", is installed into the WCM shared apps directory during a CTC3 install.

To correct the issue, copy the original .jar file from CTC3 back into the shared apps directory (replacing the file present) and restart the server. 

The .jar file is located in "/wp.ctc/components/wp.ctc/enablment/" in the CTC PAA. The non-CTC3 file will be 31KB after installing the CF or fix pack but the CTC3 version is 80KB.

After the restart, the templating functions should be working again.


Note to self - Firefox and local connections

 Whilst trying to hit my NAS from Firefox on my Mac, I kept seeing errors such as:- Unable to connect Firefox can’t establish a connection t...