Wednesday, April 12, 2017
The following shows the output of a DB2 tool, shipped with your regular DB2 LUW these days:
Password successfully stashed to db2_pkcs11_pwd.sth
xxxxx completed sucessfully.
Have a clue? (The "xxxxx" is replacing the name of the db2 tool). If you know the answer, comment and also paste the link to the page in DB2 Knowledge Center describing that tool. I will publish the comments in the next few days.
Wednesday, April 5, 2017
The Aero Expo, the Global Show for General Aviation, is running in my hometown Friedrichshafen from today until the weekend. One of the expo and conference topics is drones of the future (AERODrones UAS Expo). Drones or UAV (Unmanned Aerial Vehicles) have been and are a hot topic for IBM and its customers. Let me give a brief overview of some interesting work where drones, artificial intelligence, analytics, database systems, Internet of Things (IoT) and the IBM Cloud come together.
Saturday, April 1, 2017
Tuesday, March 28, 2017
|Manage Watson Conversation Workspaces|
Monday, March 20, 2017
|IBM Bluemix in Germany, in German|
Having Bluemix Public in Germany is a big step for the IBM Cloud and customers alike. Being located next to DE-CIX means low network latency for German and European customers. Utilizing Bluemix Public in London ("eu-gb") it is possible to deploy applications with high-availability requirements redundantly within Europe. The database-as-a-service offerings dashDB ("DB2") and Cloudant are already available in the Bluemix catalog. More database and analytics services are to follow. You can check out the list of initial services here in the Bluemix Catalog for Germany.
That's all for today. I am back to MY German Bluemix...
Friday, February 24, 2017
|Security Guides for IBM Cloud|
Thursday, February 23, 2017
|Some data is locked away|
Monday, February 20, 2017
|README for my Plugin|
Friday, February 17, 2017
|Data Privacy and Security|
Friday, February 3, 2017
|Database Security & Compliance|
Tuesday, January 31, 2017
|Secure Your Apps|
Do you use your own domain names with IBM Bluemix? Then you probably know that you can secure access by adding SSL certificates for your domain. During my recent my work with so-called Context Path Routes for Bluemix Cloud Foundry apps I stumbled over a great project, bluemix-letsencrypt.
The project bluemix-letsencrypt (available on GitHub) provides a Python script and Bluemix app that automate generation and upload of SSL certificates. It uses Let's Encrypt as Certificate Authority (CA). The only thing you need to do is to specify your domain name and email address. Thereafter, the script is run. It uses the Bluemix app to generate the SSL certificates. For the details head over to the Bluemix blog and read the entry "Securing Custom Domains with Let’s Encrypt"
Wednesday, January 18, 2017
|Context Paths for Bluemix Apps|
Cloud Foundry introduced Context Path Routing last year. Until then there was the requirement that each app (or service) was served from its own hostname. Now, apps can share a host with each app being served from a specific path on that host. Here are two examples:
- When building a larger website, there could be several so-called microsites embedded. With Context Path Routing it is possible to serve, e.g., example.com from one web app and example.com/user-management or example.com/news from other apps. All these apps could be written in different programming languages such as Node.js, Python, Java and others.
- For a more complex microservice-based app, following the principles of the Twelve Factor App, there could be several (backing) services involved. The app and each would require their own hostname. With Context Path Routing the app could use app.mybluemix.net and services could be served from app.mybluemix.net/service1, app.mybluemix.net/service2, etc.
Tuesday, January 17, 2017
|Two apps from single manifest|
Cloud Foundry allows multiple apps to be described with a single manifest file. That is, properties for several apps (or services) can be put together. For each app its name and the location where its code is found need to be specified. They are shown in blue in my sample manifest file. Each app can be deployed to a specific machine, identified by the host and domain name. For the example I chose a different approach. It is the relatively new "routes" property. It allows to combine those properties and even add paths information. The routing is highlighted in yellow below. All I needed to do is to execute a simple "cf push" command and the entire application with its multiple pieces got deployed.
Here is the sample manifest.yml file:
# This manifest deploys two applications. # # Both use the same host and domain name as defined # by their respective route(s) property. The first app # uses the root path, the second the "sub" and # "lower" paths. applications: # The Python app starts here - name: yourname-myapp memory: 256M command: python myapp.py routes: - route: yourname-myapp.mybluemix.net path: ./top/
# The Node.js app starts here
- name: yourname-myapp-node routes: - route: yourname-myapp.mybluemix.net/lower - route: yourname-myapp.mybluemix.net/sub path: ./lower/
If you wonder how the entire project looks like, visit https://github.com/data-henrik/Bluemix-ContextPathRouting for the source code and a more detailed description. I put this repository together to showcase Context Path Routing on IBM Bluemix which I will discuss in an upcoming blog post.
Tuesday, January 10, 2017
|Did you know...?|
Speaking of learning new stuff. Do you know which DB2 function or procedure produced the following output on my system? As you may notice, I checked some DB2 system processes using SQL. The feature I am using is around since DB2 version 9.7.
If you have a guess, leave a comment or send an email.
MEMBER DB2_PROCESS_NAME DB2_PROCESS_ID CPU_USER CPU_SYSTEM
------ ----------------- -------------------- ------------ ------------
0 db2fmp 15234 6 7
0 db2vend (PD Vendo 15064 5 3
0 db2ckpwd 0 15060 0 0
0 db2ckpwd 0 15061 0 0
0 db2ckpwd 0 15062 0 0
0 db2sysc 0 15054 91 128
8 record(s) selected.