trove/integration/scripts/files/deprecated-elements/ubuntu-db2
Lingxian Kong 602c4d42de Improve the function tests
- Execute test groups in serial to make sure no more than 2 database
  instance are created at the same time.
- Remove some unneccesary tests
- Remove unneeded datastore, e.g. 'Test_Datastore_1'
- Remove unsupported trovestack subcommands
- Move unsupported DIB elements to the 'deprecated-elements' folder
- Decrease default value of 'agent_call_high_timeout' to 5min
- Add initial_deplay for pooling task
- Use socket file to connect with database instead of using localhost
  IP

Change-Id: Ie5030a671fbeb453eafa6cbe04e08da7b52e33c9
2020-01-28 14:27:52 +13:00
..
extra-data.d Improve the function tests 2020-01-28 14:27:52 +13:00
install.d Improve the function tests 2020-01-28 14:27:52 +13:00
README.md Improve the function tests 2020-01-28 14:27:52 +13:00

Creates an image for DB2 Express-C v11.1

The packages for DB2 Express-C can be downloaded from: https://www.ibm.com/developerworks/downloads/im/db2express/ and click on the link "Download" button and then click on "DB2 Express-C for Linux 64-bit". New users can either get an IBM ID or click on the "Proceed without an IBM ID". User is provided with a registration form which needs to be completed in order to proceed further to download the DB2 Express-C packages. After accepting the license agreement, user can download the DB2 Express-C package (.tar.gz file).

There are 2 options for making the DB2 Express-C package accessible to the Trove disk-image building process:

  • place the package in a private repository and set the environment variable DATASTORE_PKG_LOCATION with the url to this private repository. e.g. export DATASTORE_PKG_LOCATION="http://www.foo.com/db2/v11.1_linuxx64_expc.tar.gz"

  • download the package and place it in any directory on the local filesystem that the trovestack script can access. Set the environment variable DATASTORE_PKG_LOCATION with the full path to the downloaded package. e.g. export DATASTORE_PKG_LOCATION="/home/stack/db2/v11.1_linuxx64_expc.tar.gz"

The environment variables used are as follows:

DATASTORE_PKG_LOCATION - is the place where user stores the DB2 Express-C package after registration. This can either be a url to a private repository or the full path to the downloaded package on a local filesystem. DATASTORE_DOWNLOAD_OPTS - defines any wget options user wants to specify like user,password, etc. This is an optional variable and is needed only if specifying a private repository to download the packages from. e.g. export DATASTORE_DOWNLOAD_OPTS="--user=foo --password='secret'"