Blog

  • Raspberry Pi – Initial Thoughts

    Thanks To Ada Fruit  I picked up a first version Raspberry Pi B+.   The experience brings me back to building my first computer and modifying it.

    I picked up an B+ Kit from Ada Fruit (based on the fact they have awesome tutorials).  I also picked up a Motor Controller, a Bread Board to hook up peripherals, and a Touch Screen Display.  The touch screen display wasn’t actually compatible with the kit I purchased.  Lesson learned – check the Male and Female connectors for the Displays and PIN (IN/OUT) counts.

    I laid out all the components on the bubble wrap, and I started assembling the components into one computer. The experience was rather like assembling a jigsaw puzzle.

    Easy As Pi
    Easy As Pi

    I used the 4G microSD card that came with the B+ kit.  I used it to immediately configure Debian and setup SSH. I got it on the wireless using the USB dongle for wireless, and I ran the updates for aptitude update and aptitude full-upgrade.  It’s nice that it persists all these changes.

    Now, that I am on the wireless, I can unplug the Raspberry Pi from the monitor, and connect to it via SSH.  It’s fantastic stuff. I am now going to work on my motor controller.

    Running Debian
    Running Debian
  • Setting up Db2 JDBC Access

    I have been working IBM Integration Broker 10.0.0.4. I found it hard to find concise documentation on setting up/creating a new provider

    mqsicreateconfigurableservice TESTNODE_cheetah -c JDBCProviders \
    -o DB2Two -n connectionUrlFormat -v \
    "jdbc:db2://[serverName]:[portNumber]/[databaseName]:user=[user];password=[password];"
    
    mqsisetdbparms TESTNODE_cheetah -n jdbc::employeeIdentity -u db2admin -p passw0rd1940!
    
    mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n securityIdentity -v employeeIdentity
     mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n portNumber -v 50000
     mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n serverName -v 9.32.18.166
     mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n databaseType -v DB2
     mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n databaseName -v SAMPLE
     mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n jarsURL -v c:\db2jars
    
    mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n type4DatasourceClassName -v com.ibm.db2.jcc.DB2XADataSource
     mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n type4DriverClassName -v com.ibm.db2.jcc.DB2Driver
    
    mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n databaseVersion -v 10.1
     mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n environmentParms -v ""
    
    mqsichangeproperties TESTNODE_cheetah -c JDBCProviders -o DB2Two -n jdbcProviderXASupport -v true
    

    Restart the Integration Server

    Links