Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Deploy IBM BOB On-Premises & Connect to Git

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide walks you through deploying IBM Business Automation Workflow (often abbreviated as IBM BOB, though the official product is IBM Business Automation Workflow) on your own infrastructure and connecting it to a Git repository for version control of your process applications and toolkits. By the end, you'll have a running on-premises environment where your development team can push and pull changes using standard Git workflows.

What You'll Need

  • IBM Business Automation Workflow installation media (download from IBM Passport Advantage) and valid licenses.
  • A supported operating system (e.g., Red Hat Enterprise Linux, Windows Server) and hardware meeting IBM's minimum requirements.
  • Database server (e.g., IBM Db2, Oracle, or SQL Server) with credentials for creating the BAW databases.
  • A Git server (e.g., GitHub Enterprise, GitLab, Bitbucket, or a plain Git repository on a shared drive) accessible from the BAW server.
  • Administrative access to the server (root or Administrator) and knowledge of your network's DNS and firewall settings.
  • Git client installed on the BAW server for command-line operations.

Step-by-Step

  1. Prepare the environment – Ensure your server meets the prerequisites: supported OS version, sufficient RAM/CPU, and disk space. Install all required OS patches and set the hostname and time synchronization (NTP).
  2. Install the database – Install and configure your chosen database. Create the required database users and tablespaces as per IBM documentation. For Db2, run the createDatabase scripts provided in the BAW installation package.
  3. Run the IBM Installation Manager – Launch the Installation Manager and install IBM Business Automation Workflow. Choose the “Workflow Center” or “Workflow Server” deployment type. Workflow Center is needed for development and Git integration; Workflow Server is for runtime only.
  4. Configure the deployment – After installation, run the Configuration Tool (or use the command-line config tool). Provide the database connection details, choose the deployment environment (e.g., “Single Cluster” for a simple setup), and set the administrative credentials.
  5. Start the environment – Start the deployment manager and node agents. Use the startManager and startNode commands, then start the cluster or server. Verify that all applications start without errors in the logs.
  6. Access Workflow Center – Open a browser and go to https://:/WorkflowCenter. Log in with the admin credentials you set. This is where you'll manage process applications and connect to Git.
  7. Install Git client on server – If not already present, install Git on the BAW server (e.g., yum install git on RHEL). Ensure the git command is available in the PATH for the user running the BAW processes.
  8. Create a Git repository – On your Git server, create an empty repository (e.g., my-baw-repo.git). For GitHub/GitLab, create a new project with no README. Note the clone URL (HTTPS or SSH).
  9. Generate SSH keys (if using SSH) – If you plan to use SSH, generate a key pair on the BAW server (ssh-keygen -t rsa) and add the public key to your Git server account or deploy keys.
  10. Connect BAW to Git – In Workflow Center, go to Admin > Git Integration. Click “Add Git Repository” and provide the repository URL, authentication (username/password or SSH key), and the branch you want to use (e.g., main). Test the connection.
  11. Enable Git for a process application – Open a process application in Workflow Center. In the app settings, enable “Git Integration” and select the repository you added. This will create a Git remote for that app.
  12. Commit and push – Make a change in your process app (e.g., edit a BPD). Use the “Commit to Git” action in Workflow Center to commit the changes. Then “Push” to the remote repository.
  13. Pull and collaborate – On another developer's machine, they can clone the repository and use the same process app in their own Workflow Center. They can pull changes, work locally, and push back.

Common Mistakes

  • Using Workflow Server instead of Workflow Center – Git integration is only available in Workflow Center. If you installed Workflow Server, you cannot connect to Git.
  • Incorrect database schema permissions – The BAW user needs full DDL privileges on the schema. If not, configuration fails with obscure errors.
  • Firewall blocking Git ports – Ensure the BAW server can reach the Git server on the required port (22 for SSH, 443/80 for HTTPS).
  • Not setting the Git user email/name – Git commits require a user name and email. Configure them globally on the BAW server or in the Workflow Center Git settings.
  • Mixing branches – If you use multiple branches, ensure each process app is mapped to the correct branch. Confusion here can lead to overwriting changes.

Tips

  • Use SSH keys for authentication – They are more secure and avoid password prompts in automated scripts.
  • Back up the BAW databases – Before major Git operations, take a database backup to avoid losing work if something goes wrong.
  • Use a dedicated Git user – Create a service account for BAW to access Git, rather than a personal account.
  • Set up branch protection – On your Git server, protect the main branch to require pull request reviews for changes.
  • Test the connection first – Use the “Test Connection” button in Workflow Center before enabling Git for all apps.

Troubleshooting

  • Git connection fails – Check the Git server URL and credentials. Verify network connectivity with ping and telnet to the Git port. Look at the BAW logs (SystemOut.log) for detailed error messages.
  • Push rejected – This often means remote has changes you don't have. Pull first, resolve any conflicts, then push again.
  • Changes not showing in Git – Ensure you committed and pushed from Workflow Center. Also check that the correct branch is selected.
  • Configuration tool fails – Check database connection settings, ensure the database is running, and that the user has the right privileges. Review the configuration logs in logs/config.
  • Server won't start after install – Verify that the deployment manager and node agents are started in the correct order. Check for port conflicts and ensure all required services (like the database) are up.

Frequently Asked Questions

Do I need Workflow Center or Workflow Server for Git integration?

Workflow Center is required. Git integration is a feature of Workflow Center, not Workflow Server.

Can I use any Git server?

Yes, as long as it supports HTTPS or SSH and is accessible from the BAW server. GitHub, GitLab, Bitbucket, and on-premises Git servers all work.

How do I handle binary files (like .twx files) in Git?

BAW stores process applications as a set of JSON and XML files, which are text-based. However, some artifacts like images may be binary. Git handles them fine, but you won't get meaningful diffs.

Can multiple developers work on the same process app simultaneously?

Yes, but they must use separate Workflow Center instances or separate toolkits. Git helps merge changes, but conflicts can occur. A common practice is to use toolkits for shared code.

What is the difference between committing and pushing?

Committing saves a snapshot of your changes locally in the Git repository on the BAW server. Pushing uploads those commits to the remote Git server, making them visible to others.

How do I revert a bad change?

Use Git's revert or reset commands. In Workflow Center, you can also restore a previous version of the process app from the Git history.