Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

db2 (2) Versions 0.1.2

Installs/Configures IBM DB2 Enterprise Server version 10.1.1

Berkshelf/Librarian
Policyfile
Knife
cookbook 'db2', '~> 0.1.2'
cookbook 'db2', '~> 0.1.2', :supermarket
knife cookbook site install db2
knife cookbook site download db2
README
Dependencies
Changelog
Quality 33%

db2 Cookbook

This cookbook installs IBM DB2 Enterprise Server version 10.1.1 at /opt/IBM/InstallationManager path. This cookbook creates a DB2 instance with three databases in it. The names of the databases are specific to the WebSphere BPM requirements.

This cookbook can be used with my FTPlogin cookbook to scp binaries required to copy. I am not including the binaries in this cookbook.

The code also verifies the checksum of the files after copying to the node. The install will fail if the checksum fails.

Requirements

Platforms: Ubuntu 15.04

Attributes

default['db2']['package-name-1'] = 'DB2_ESE_10_Linux_x86-64.tar.gz'

default['db2']['binaryhost'] = 'Server where binaries are hosted'

default['db2']['ftploginuser'] = 'User to login to the binary host'

default['db2']['ftppath'] = 'Path where binaries are stored'

default['db2']['package1-sha256sum'] = 'b7b0e3902ffcfa4851e542e7ddb345623f2391635f212cc62113dee48e6b64f3'

default['db2']['db2-responsefile'] = 'db2_Response_File_Install.rsp'

default['db2']['db2inst1-INS'] = 'db2inst1.rsp'

default['db2']['db2_install_dir'] = '/opt/ibm/db2/10.1'

default['db2']['install_type'] = 'CUSTOM'

default['db2']['db2inst1-user'] = 'db2inst1'

default['db2']['db2fence1-user'] = 'db2fenc1'

default['db2']['db2inst1-group'] = 'db2iadm1'

default['db2']['db2fence1-group'] = 'db2fadm1'

default['db2']['db2_password'] = 'W1zplay11'

default['db2']['db2inst1-home'] = '/home/db2inst1'

default['db2']['db2fence1-home'] = '/home/db2fenc1'

default['db2']['db2user1-home'] = '/home/bpmuser'

default['db2']['db2user1-user'] = 'bpmuser'

default['db2']['db2user1-group'] = 'bpmuser'

default['db2']['packagefp1-name-1'] = 'v10.1fp1_linuxx64_server.tar.gz'

default['db2']['packagefp1-sha256sum'] = 'cc3d67599f19a3d9b6bcbd2cead27404564fc05ba8909da49891939ad7e0beff'

Usage

Add to the node's run list

knife node run_list remove BPMNode 'recipe[db2::default]'

knife node run_list remove BPMNode 'recipe[db2::installfp]'

knife node run_list remove BPMNode 'recipe[db2::instance]'

knife node run_list remove BPMNode 'recipe[db2::createdb]'

recipe::default installs Db2 10.1

recipe::installfp installs Db2 10.1.1 fixpack

recipe::instance creates Db2 database instance

recipe::createdb creates three Db2 databases required for WebSphere BPM

License and Authors

Rohit Gabriel, Auckland, New Zealand.

Profile: https://nz.linkedin.com/in/rohit-gabriel-22a76320

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

db2 CHANGELOG

This file is used to list changes made in each version of the db2 cookbook.

0.1.0

  • [your_name] - Initial release of db2

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

0.1.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.2 failed this metric

FC064: Ensure issues_url is set in metadata: db2/metadata.rb:1
FC065: Ensure source_url is set in metadata: db2/metadata.rb:1
FC066: Ensure chef_version is set in metadata: db2/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: db2/metadata.rb:1
FC069: Ensure standardized license defined in metadata: db2/metadata.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.2 passed this metric

No Binaries Metric
            

0.1.2 passed this metric

Publish Metric
            

0.1.2 passed this metric

Supported Platforms Metric
            

0.1.2 failed this metric

db2 should declare what platform(s) it supports.

Testing File Metric
            

0.1.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number