• Aucun résultat trouvé

Post-installation tasks

Dans le document Oracle Business Intelligence: (Page 54-60)

Once you have downloaded and installed the Oracle Business Intelligence and Oracle Business Intelligence Tools packages, make sure that you have the database engine they need up and running.

Of course, the list of post-installation tasks to perform may vary depending on the tasks you're planning to solve with the Business Intelligence solution just installed. Whatever tasks you're planning, though, your Business Intelligence solution most likely will sit on top of a database. So, your first step, as mentioned previously, is to make sure that there is a database server in your system working properly. The examples throughout this book assume that you have an Oracle database 10g or later installed on your system.

Looking at the post-installation tasks from a practical point of view, let's try to figure out what you need to do in order to quickly get started with the software

[ 44 ]

Suppose you want to do some work in Discoverer Plus, analyzing relational data stored in the underlying database. Before you can do that, though, you must have access to an EUL (End User Layer), which contains metadata to access the database data, and is intended to isolate you from database complexity. One way to define an EUL is through the Discoverer Administrator tool, which is part of the Oracle Business Intelligence Tools suite.

If you're not a Windows user, Discoverer Administrator is not among your options—as well as all the other tools from the Oracle Business Intelligence Tools package. In this case, you might create an EUL with the Discoverer EUL Command Line for Java instead. This tool is part of the Oracle Business Intelligence suite.

To be able to connect to Discoverer Administrator, make sure you have a net service name for the underlying database defined in the tnsnames.ora file, which should be located in the BITools_Home/network/admin directory.

While this task can be performed manually by editing the tnsnames.ora file with a text editor, the following steps describe how you might solve it with the Net Configuration Assistant visual tool instead:

1. Launch Net Configuration Assistant by clicking Start | Programs | Oracle-BIToolsHome1 | Configuration and Migration Tools | Net Configuration Assistant.

Be careful with what tnsnames.ora file you're editing.

Note that clicking the previous path link will invoke Net Configuration Assistant associated with the tnsnames.

ora file located in the BI_Home/network/admin directory, which is not what you need here.

This should start the Net Configuration Assistant wizard, opening its first screen as shown next:

www.it-ebooks.info

2. On the Welcome screen of the assistant, choose Local Net Service Name configuration, and click Next.

3. The next screen you should see is called Net Service Name Configuration, in which you should select Add, and click Next.

4. On the Net Service Name Configuration, the Service Name screen appears next, where you'll be prompted to enter the service name of your Oracle database. If you have, for example Oracle Database XE, this could be XE. 5. On the next screen, called Net Service Name Configuration, Select

Protocols, choose a protocol to communicate with the database across the network and click Next.

6. On the Net Service Name Configuration, TCP/IP Protocol screen, specify the host name of the computer where the database is installed, as well as the port number, and click Next.

7. On the Net Service Name Configuration, Test screen, you can select Yes, perform a test to test that a connection can be made, or No, do not test and click Next to skip to the next screen.

8. On the Net Service Name Configuration, Net Service Name screen, provide the Net Service Name, say, XE, and then click Next.

[ 46 ]

9. On the Net Service Name Configuration, Another Net Service screen, select No and click Next.

10. On the Net Service Name Configuration Done screen, click Next. This will bring back the Welcome screen of the wizard.

11. On the Welcome screen, click Finish to complete the configuration steps.

As a result of the above steps, the tnsnames.ora file should appear in the BITools_Home/network/admin directory. If you open this file with a text editor, you should see the entry looking like this:

# tnsnames.ora Network Configuration File: C:\oracle\BIToolsHome_1\

network\admin\tnsnames.ora

# Generated by Oracle configuration tools.

XE =

Now that you have defined a net service name for the underlying database in the BITool's tnsnames.ora file, you can move on and create an EUL with Discoverer Administrator. Here are the steps:

1. Launch Discoverer Administrator by clicking Start | Programs | Oracle Business Intelligence Tools-BIToolsHome1 | Oracle Discoverer

Administrator.

2. In the modal dialog Connect to Oracle Business Intelligence Discoverer Administrator, you'll be prompted to enter a username/password pair to connect to the database, as well as the database service name you specified when creating net service name configuration, as described in the preceding steps.

3. Once you have specified the information required to connect to the database and clicked Connect, Discoverer Administrator will ask you to create an EUL, because you do not have access to one. Click Yes to create one.

4. As a result, the EUL Manager dialog should appear:

www.it-ebooks.info

5. In the EUL Manager dialog, click the Create an EUL … button to proceed to creating a new EUL. This will launch the Create EUL Wizard.

6. On the first step of the Create EUL Wizard, you can select a user from the list of database users. This can be done in the Select User dialog, which you can open by clicking the Select … button on the wizard screen.

7. In the Select User dialog, click Go to see a list of all the users available.

Choose one by double-clicking it. For example, you might choose the HR user as it represents a demonstration schema installed with an Oracle database by default.

8. After a user has been selected, the Finish button in the Create EUL Wizard should become available. Click it to make Discoverer Administrator create the EUL. This process will go on behind the scenes and should take less than a minute. Once it's completed, you should see a message informing you about it.

9. Close the EUL Manager dialog by clicking Close.

You just created an EUL, but that's not it. Before you can connect to Discoverer Plus, you may need to create an entry for the underlying database in the tnsnames.ora file, located in the BI_Home/network/admin directory. The steps are similar to those you performed to define a net service name for this same database in the BITool's tnsnames.ora file, as discussed earlier in this section.

The only difference is that you have to launch the BIHome's Net Configuration

[ 48 ]

Finally, you can connect to Discoverer Plus. To launch Discoverer, point your browser to the following URL: http://yourhostname:7777/discoverer/plus. This should output the login page:

The User Name and Password fields in the above login form assume you provide a database username and its password, respectively. For example, you might use the hr/hr pair to connect to a standard demonstration schema installed by default with an Oracle Database installation. In the Database field, you have to specify the service name for the database, as defined in the tnsnames.ora file. And in the End User Layer field, you can specify the name of the EUL you created earlier. For more detail, you can refer to the Connect to OracleBI Discoverer page help topic, which you can invoke by clicking the help link on the login page.

Summary

In this chapter, you learned how to install and configure an Oracle Business Intelligence solution. In particular, you walked through the steps of installing the Oracle Business Intelligence suite and Oracle Business Intelligence Tools suite, including configuration steps discussed in the "Post-installation tasks" section.

You should now have Oracle Business Intelligence components installed and ready to work on your computer. In the next chapter, we'll step aside and take a look at the Oracle Database Business Intelligence features. Then, in Chapter 4, we'll come back to the Business Intelligence components discussed in this chapter.

www.it-ebooks.info

Dans le document Oracle Business Intelligence: (Page 54-60)