Big Data Hype and Reality

Big Data Hype and Reality

I can not put a name to a customer but they spent millions to port their data warehouse to Hadoop and 1 year later rolled everything back to the Db2 again since their results were not matching and the data was getting lost. This is a classic example of misuse of the...
Db2 pureScale netname does not exist

Db2 pureScale netname does not exist

ERROR: DBI20122E The instance was not created or updated because the following netname does not exist: "node01.zinox.com". The above error might come from different reasons but our case was due to misplaced entries in the /etc/hosts file. The natural convention for...
IBM Claims Big Breakthrough in Deep Learning

IBM Claims Big Breakthrough in Deep Learning

A Fortune article by Barb Darrow. Few interesting highlights: IBM used 64 of its own Power 8 servers—each of which links both general-purpose Intel microprocessors with Nvidia graphical processors with a fast NVLink interconnection to facilitate fast data flow between...
DB2 Backup Tuning

DB2 Backup Tuning

One of my colleague Mukesh V Desai did backup tuning for a pureScale customer and just by making the following change, reduced the backup time from from 4.5 hours to 30 minutes. Original config: Number of buffers = 8, Parallelism = 4 and Compress = YES New Config:...
DB2 pureScale Utility Scripts

DB2 pureScale Utility Scripts

Most of the utility scripts here are given for Linux using bash shell. You can use them after making syntax changes from bash to ksh. Most of the script require that you create a node information file in /root/bin/backup/ip.txt. A sample /root/bin/backup/ip.txt is...
DB2 11.1 BLU with DPF Monitoring scripts

DB2 11.1 BLU with DPF Monitoring scripts

I just wrapped a very large PoC for BLU with DPF with very high ingestion rate (110K messages per second) and as well as very high volume point queries (1500 queries per second) and I used the following queries to measure the various parameters and optimum tuning. The...
db2haicu disable / enable and scripting

db2haicu disable / enable and scripting

It is recommended that you always update RSCT / TSA from db2 software media and not from IBM Fix Central. The reason – DB2 is tested and certified with the version that ships with the DB2 software. If you go to server_t/db2/linuxamd64/tsamp and run db2cktsa...
DB2 pureScale –  No Product License found

DB2 pureScale – No Product License found

In db2diag, you may see this message – No product license found. Sample output:  2017-05-19-13.00.58.511626-240 E2575E1007 LEVEL: Severe PID : 35363 TID : 70366589481392 PROC : db2start INSTANCE: purf01 NODE : 000 HOSTNAME: va33dlvudb001 FUNCTION: DB2 UDB, high...
DB2 pureScale instance creation hangs after GPFS

DB2 pureScale instance creation hangs after GPFS

Hang Issue due to SMAP While creating DB2 pureScale instance, it appears that the node becomes unresponsive under RHEL 7.2. If you reboot the node and look at the /var/log/messages, you may notice these several messages: kernel:BUG: soft lockup - CPU#1 stuck for 23s!...
DB2 pureScale Health Check

DB2 pureScale Health Check

More and more customers are now asking for some way to check the health of the DB2 pureScale system. Let’s just focus on few early diagnostics before we jump to the deep exploration at the SQL statement level. This is just akin going to primary health care...
How to detect log full condition

How to detect log full condition

I have seen working with hundreds of customers a chronic LOG FULL condition and the shortcut people use is to increase the LOGPRIMARY and LOGSECOND. This solution works well for a single unit of work that can not fit into the total log space available. So, first...
Kernel upgrade and impact on pureScale

Kernel upgrade and impact on pureScale

In Linux environment, it is a common practice to upgrade the kernel for security patches, vulnerability fixes etc. And if you are running a DB2 pureScale environment, it is likely that you are going to break the GPFS GPL as soon as you upgrade the kernel and this will...
GPFS Disk Cleanup

GPFS Disk Cleanup

During pureScale instance creation, you might run into instance creation failed condition. Under some circumstances, it is possible that db2icrt does not perform a proper clean-up for GPFS and it may fail next time complaining that the disk is already a GPFS disk....

SQL fishing using WLM

The SQLs while DB2 is up and running can be captured in different ways such as: Query column STMT_TEXT from table functions such as MON_GET_ACTIVITY or WLM_GET_WORKLOAD_OCCURRENCE_ACTIVITIES, and MON_GET_ACTIVITY_DETAILS –> SQLs that have been submitted but...

Automatic Client Reroute – Templates

Here are two templates that one can use to make Automatic Client Reroute to work properly in a HADR environment. Please note that these instructions are only valid for HADR pair in which the second machine is ready to takeover. I will publish / update this article...

Rebuild TSA Resources in HADR Environment

This is about how to rebuild TSA resources in HADR environment if you have used db2haicu in past but added resources such as tie-breaker disks that are not supported by the db2haicu tool. So, in case of a difficulty – how do you get back soon. You can always...

DB2 11.1 Rebuild TSA Resources

When you get errors like this: "SQL1517N db2start failed because the cluster manager resource states are inconsistent." or something like "Cluster manager resource states for the DB2 instance are inconsistent. Refer to the db2diag.log for more information on...

DB2 pureScale Install Problem Determination

RSCT License Issue $ db2start 128 SQL1677N  DB2START or DB2STOP processing failed due to a DB2 cluster services error DATA #9 : SQLHA Remote Command Output, PD_TYPE_SQLHA_COMMAND_RESPONSE, 3508 bytes commandResponse->callRC: 0x00000000 commandResponse->output:...