Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV https://infosec.exchange/@davehay
Tuesday, 29 December 2015
Monday, 21 December 2015
Learn Linux, 101: Customize and use the shell environment
In this tutorial, learn to customize your Linux bash shell environment to meet user needs. Learn to:
Thursday, 17 December 2015
Using watch to loop in Bash
…
tcp 0 0 *:ibm-db2 *:* LISTEN
tcp 0 0 bpm856.uk.ibm.com:39889 db2two.uk.ibm.com:60007 ESTABLISHED
tcp 0 0 bpm856.uk.ibm.com:39888 db2two.uk.ibm.com:60007 ESTABLISHED
tcp 0 0 bpm856.uk.ibm.com:39890 db2two.uk.ibm.com:60007 ESTABLISHED
udp 0 0 *:ibm-db2 *:*
which is nice :-)
Tuesday, 15 December 2015
Reminder - DB2 HADR and SQL1768N rc7
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.153.100 bpm856.uk.ibm.com bpm856
192.168.153.110 db2one.uk.ibm.com db2one
192.168.153.120 db2two.uk.ibm.com db2two
Monday, 7 December 2015
How to tune a guitar and a Business Process Manager (BPM) topology at the same time
As such, here's a quick checklist of tuning tips that cover all areas of your IBM Business Process Manager (BPM) environment:
- Use a 64-bit JVM for all servers.
- Disable tracing, logging, and monitoring when possible.
- Ensure all of your databases are well-tuned.
- If security is required, use Application security, not Java2 security.
- Use an appropriate hardware configuration for performance measurement (not notebooks or desktops).
- If hardware virtualization is used, ensure that adequate processor, memory, and I/O resources are allocated to each virtual machine.
- Minimize network latency and ensure sufficient network bandwidth between all systems in the configuration.
- Do not run production servers in development mode or with a development profile.
- Tune external service providers and external interfaces to ensure that they do not cause a system bottleneck.
- Configure:
- Message-driven bean (MDB) activation specifications.
- Thread pool sizes.
- Settings of data sources for connection pool size and prepared statement cache size.
- Increase the maximum number of connections in the data pool to greater than or equal to the sum of all maximum thread pool sizes.
This list represents just the fundamental requirements for optimal performance. See IBM Business Process Manager V8.0 Performance Tuning and Best Practices, REDP-4935-00 for a complete list of tuning recommendations for all areas of your IBM Business Process Manager topology.
</snip>
Sunday, 6 December 2015
More textile manipulation with sed and bash
Jumped over the lazy dog
In the pouring rainfall
cp foobar.bak foobar.txt
file="foobar.txt"
replace="fall"
insert="That is all"
sed -i'' "$ s/$replace//g" $file
sed -i'' "$ a\ \t \t$insert" $file
In essence, I'm copying the foobar.bak file to foobar.txt each time I run the script, meaning that I preserve the original file :-)
Jumped over the lazy dog
In the pouring rain
That is all
cp foobar.bak foobar.txt
file="foobar.txt"
replace="fall"
insert="That is all"
sed -i'' "$ s/$replace/\n\t\t$insert/g" $file
Thursday, 3 December 2015
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...

-
Error "ldap_sasl_interactive_bind_s: Unknown authentication method (-6)" on a LDAPSearch command ...Whilst building my mega Connections / Domino / Portal / Quickr / Sametime / WCM environment recently, I was using the LDAPSearch command tha...
-
Another long story cut short, but I saw this: - curl: (58) unable to set private key file: 'dave.pem' type PEM from my Ansible...
-
Why oh why do I forget this ? Running this command : - ldapsearch -h ad2012.uk.ibm.com -p 389 -D CN=bpmbind,CN=Users,DC=uk,DC=ibm,DC=com -w...