DB2 Database Backup Pending State
When database is converted from circular log to archive log, it will force the backup of the database which is a good thing. But, sometime, we do not want to do it. Say, when we are in test environment...
View ArticleDB2 Backup – DB2_BCKP_PAGE_VERIFICATION
When taking a DB2 backup, if you get the following error: $ db2 backup database <dbname> to /backup compress SQL1224N The database manager is not able to accept new requests, has terminated all...
View ArticleSecurity for the Paranoid
In today's world, due to some dishonest populace who are like parasites living on somebody's else blood, implemenation of security comes at a heavy price and it has more problems than solutions. It is...
View Articlecups-1.6.3 RPMs for SLES 11 SP2
Usually enterprise distributions like SLES or Redhat are slow to adopt latest in consumer products such as CUPS used for printing. The version of cups on SLES 11 SP2 is 1.3 when the latest version at...
View ArticleAutomatic Backup when USB disk is plugged in
Management of my shoe-closet computer center requires that I should take some steps to protect the data by taking a backup. In last 10 years, I never took any backup and luckily I was never in the...
View Articledb2dsdriver validation failed
After specifying entries in db2dsdriver.cfg, the db2cli validate -dsn >dbname> does not show that the client actually read db2dsdriver.cfg file. For example: A sample db2dsdriver.cfg file:...
View ArticlePost Login Script in DB2
One of less known but very useful feature of DB2 is the post login script after an application makes a connection. DB2 database has a configuration parameter known as CONNECT_PROC which is name of the...
View ArticleNo Frills – DB2 10.5 WLM
In DB2 10.5 with default WLM configuration, you can achieve something very special that you might not have given a thought. WLM is one of my favorite topic on which I can talk non-stop for few hours....
View ArticleValidation of 10GbE in DB2 pureScale 10.5
Additional Packages After installation of basic Redhat 6.2 OS, the following additional components are required. # yum install perftest # yum install sysfsutils # yum install kernel-devel # yum install...
View ArticleDB2 pureScale GPFS Error
Say for example, you are creating a file system using db2clutser command in DB2 pureScale and it fails with this error: # db2cluster -cfs -create -filesystem db2data1 -disk /dev/dm-2 -mount...
View ArticleTest Automatic Client Reroute
Wouldn’t it be nice to do some Java testing without writing a line of code? For the following to work, it is necessary that db2jcc.jar and db2jcc_license_cu.jar are on the CLASSPATH. If you login as...
View ArticleClient Affinity and Automatic Client Reroute for Java
Let us understand client affinity and automatic client reroute. For example: We have 3 members in a DB2 pureScale cluster and I have one application that connects to one member from any application...
View ArticleGoogle God
I started using Google from very early on (Since Feb 1998) and since then it has remained my home page. Needless to say that I now consider Google as God since it knows everything. In my day-to-day...
View ArticleChange IP address in pureScale cluster
These instructions are for changing the IP address in a pureScale cluster. Please remember that the IP address can be changed easily for DB2 but it is RSCT and GPFS that requires special handling to...
View ArticleHow to find out LOG HOG
If you run into LOG FULL condition in DB2 with SQL error code: SQL0964C, you need to increase the size of either of the following: LOGPRIMARY, LOGSECOND or LOGFILSZ. So, you change that even after that...
View ArticleMonitor Crash Recovery Script
If DB2 was processing a very long running transaction (say updating millions of rows) and for some reason like power failure, server goes down. When you start the server and activate the database, it...
View ArticleChange mount point in pureScale Cluster
When we install DB2 instance as a pureScale, we can specify the name of the mount point by using option instance_shared_mount. If we do not use this option, the mount point name is generated by the...
View ArticleClient Connection Attributes and WLM
Client Connection Attributes When you establish connection to DB2 using Java programs, you need 5 minimum attributes DB2 server name or IP address Port Number (socket connection) Database name User ID...
View ArticleDB2 10.5 pureScale TSA Recovery
A third party single sign-on application was installed on two nodes of db2 cluster having 2 CF and 4 members. The pureScale cluster started showing signs of trouble and naively, we did not think the...
View Article