Configuring Blox Sampler for the Alphablox Cube Server

For use with DB2 Alphablox Cube Server (ACS), the Blox Sampler example set for the Alphablox Cube Server requires the following:

To use the files in Blox Sampler, you need to make sure that the following steps have been performed:

1. Install the QCC data on the DB2 server

The QCC sample data is available on the DB2 Alphablox installation CD under the sampledata/qcc/acs directory. For installation instructions, see the associated readme.txt file. You need to follow the procedures for creating the relational database (qcc) and the DB2 Alphablox cube (qcc_2003).

2. Define the qcc2003-rdb data source on DB2 Alphablox

Once the sample data is installed, it needs to be defined to DB2 Alphablox through the Admin Pages. Instructions for defining data sources are available on-line on the Admin Pages as well as in the Administrator's Guide. The following example show the configuration values to use for a DB2 database:

2. Define the ACS data source on DB2 Alphablox

Once the sample data is installed, it needs to be defined to DB2 Alphablox through the Admin Pages. Instructions for defining data sources are available on-line on the Admin Pages as well as in the Administrator's Guide. The following are the configuration values to use:

Leave the other values set to their default settings and save your data source definition.

Configuring Comments Repository

To run the examples in the Highlighting and Commenting on Data section, perform the following steps:

1. Create a Comments database repository

In order to use examples in the Commenting on Data section, you first need to configure a Comments database repository to store and use comments. This requires that you create a database using any of the DB2 Alphablox-supported relational databases. DB2 Alphablox will generate any tables. After creating this database, you need to define a DB2 Alphablox data source.

2. Create a DB2 Alphablox data source for the comments repository

For DB2 Alphablox to use the comments database you have created, you have to define a data source on DB2 Alphablox through the Admin Pages. Instructions for defining data sources are available online on the Admin Pages as well as in the Administrator's Guide. After you select the appropriate adapter, fill in the required fields and make sure to define a default username and password. For the data source name, use CommentsCollectionACS.

3. Creating a Comments Collection

After you have created a database for your comments repository, follow these steps to create a comments collection (within your comments repository) for storing comments:

  1. Go to the DB2 Alphablox Admin Pages, click on the Administration tab, then click on the General tab.
  2. Under Runtime Management, click the Comments link to open the Comments Management window.
  3. Select CommentsCollectionACS as your data source, enter your username and password, then press the Connect button. The Collection area (below Datasource) should become available.
  4. To create a new collection, press the Create button. On the right side of the window, three new sections (Name, Fields, and Dimensions) should appear.
  5. In the Name section, enter CommentsCollectionACS as the collection name.
  6. In the Fields section, three required default fields are included: the Author, Timestamp, and CommentText fields. You can add additional fields, defining their names, and optionally, descriptions for each field you define. For Blox Sampler, you can use the default fields.
  7. In the Dimensions section, select ACS from the list of defined data sources. A list of available dimensions should appear.
  8. For the Blox Sampler examples, select all of the available dimensions for the qcc_2003 cube (each dimension is displayed as [qcc_2003].[dimensionName]) by Shift-clicking or Control-clicking on the dimensions in the list. Make certain that only the dimensions for the qcc_2003 cube are selected.
  9. Press the Save button. At this point, the name of the newly defined collection should appear in the Collection listing.

You have created a comments collection for use with Blox Sampler.