• No results found

Chapter 6. Setting Up Example 2 on AIX

6.4 Installation, Setup and Configuration of VisualInfo

6.4.1 Installation of VisualInfo

In this section, we cover installation of VisualInfo components on AIX. We recommend that you install VisualInfo from the AIX installation TaskGuide. To use the TaskGuide, you must install JDK 1.1.2, as the TaskGuide uses the Java run-time environment for installation.

6.4.1.1 Pre-Installation Tasks for VisualInfo for AIX

You must carry out the following tasks before you install VisualInfo.

1. DB2 Instance Creation and Environment Setup

The library server and the object server use a DB2 instance. Complete the following steps to create DB2 instance vidb2in.

a. Log in to ROLM3 as a root user.

b. Once the instance is created, system administration authority group db2admin will be defined. Run the following command to create this group on AIX:

# mkgroup db2admin

c. Use SMIT to create user vidb2in, who will be the DB2 instance vidb2in owner, and include this user in the following groups:

db2admin as its primary group

db2admin as its group set

d. Create the DB2 instance vidb2in by running the following command:

# /usr/lpp/db2_02_01/instance/db2icrt vidb2in

Note: If you have DB2 V5 (UDB), use this command:

# /usr/lpp/db2_05_00/instance/db2icrt -u inst1 inst1

e. Make sure symbolic links to the DB2 files exist by running the following command:

# /usr/lpp/db2_02_01/cfg/db2ln

Note: If you have DB2 V5 (UDB), use this command:

# /usr/lpp/db2_05_00/cfg/db2ln

f. Insert the following lines in the vidb2in user profile (file /home/vidb2in/.profile) to set the DB2 operating environment:

export DB2INSTANCE=vidb2in

. /home/vidb2in/sqllib/db2profile

2. Users Creation

One administrative user should be created for each VisualInfo component installed. For our example, we have to create the following users:

For the library server: viadmin

For the object server: viadmin2

For the SMS server: viadmin3

The SMS server is installed when you install the object server.

To create these users and set up their environment variables, follow these steps:

a. Use SMIT to create user viadmin, viadmin2 and viadmin3. Include these users in the following groups:

db2admin as their primary group

db2admin as their group set b. Insert in their profiles

/home/viadmin/.profile for user viadmin

/home/viadmin2/.profile for user viadmin2

/home/viadmin3/.profile for user viadmin3

the following lines to set the DB2 operating environment:

export DB2INSTANCE=vidb2in

. /home/vidb2in/sqllib/db2profile

c. Because the object server user ID viadmin2 communicates with ADSM, its profile should also include the following lines:

export DSMI_CONFIG=/usr/lpp/adsm/bin/dsm.opt

6.4.1.2 Installing VisualInfo Library Server

In this section we cover the installation of the library server for our Example 2, using the AIX installation TaskGuide.

1. Log in your system as the root user.

2. Mount the CD-ROM as you did for DB2/6000.

3. Change to the directory where the CD-ROM is mounted, that is /cdrom.

4. Now change the directory to frnaix under the / c d r o m directory.

5. To begin VisualInfo for AIX installation TaskGuide, run:

$ ./frnxsetup.sh

6. You will see the screen shown in Figure 79 on page 111.

Figure 79. Welcome to the VisualInfo A I X Installation TaskGuide

7. Click on Next to continue.

8. On the Select a VisualInfo installation task screen, shown in Figure 80 on page 112, select the Install option and click on Next.

Figure 80. TaskGuide: Select a VisualInfo Installation Task

9. On the Install VisualInfo Components screen shown in Figure 81 on page 113, select Library Server and click on Next.

You may select all three components to be installed at this time. You are prompted for the appropriate information for each component. They will be installed serially.

Figure 81. VisualInfo TaskGuide: Install VisualInfo Components

10. On the Library Server Components screen, you are prompted to select the database you want to use. Select DB2 or Oracle. We selected DB2 for our installation, as shown in Figure 82 on page 114. Click on Next.

Figure 82. VisualInfo TaskGuide: Library Server Components

11. On the Library Server: Enter Setup Information screen, Figure 83 on page 115, supply the following:

Library server database name: LSR3

Library server user ID: viadmin Then click on Next.

Figure 83. VisualInfo TaskGuide Library Server: Enter Setup Information

12. Figure 84 on page 116 is displayed. Confirm the accuracy of the setup information supplied by clicking on Next.

Figure 84. VisualInfo TaskGuide Library Server: C o n f i r m Setup Information

13. On the Library Server: Select Installation Options screen shown in Figure 85 on page 117, we selected Create Library server Database. If you have gathered the network information for VisualInfo, you can generate a custom network table now. We recommend generating the custom network table after installation. Click on Next.

Figure 85. VisualInfo TaskGuide Library Server: Select Installation Options

14. On the Library Server: Enter Setup Information screen shown in Figure 86 on page 118, supply the setup information for LSR3, as follows:

DB2 Instance: vidb2in

Initial object server: OSR3

Then click on Next. (We kept the default field lengths.)

Figure 86. VisualInfo TaskGuide Library Server: Enter Setup Information

15. You can confirm the information you have supplied or click on Back to review the LSR3 database setup (see Figure 87 on page 119). Click on Next to continue.

Figure 87. TaskGuide Library Server: C o n f i r m LSR3 Database Information

16. The installation is successful if the Installation Status screen (Figure 88 on page 120) shows “Finished” under current status.

If the installation was not successful, exit TaskGuide and check the /tmp/frn/frnxinst.log file to see the possible reasons for the failure.

Figure 88. VisualInfo TaskGuide Library Server: Installation Status

6.4.1.3 Installing VisualInfo Object Server for AIX

You can install the object server after you have finished installing the library server. From this Installation Status window, click on Next. On the Select a VisualInfo installation task screen shown in Figure 89 on page 121, select Install and click on Next.

If you have selected multiple components, the next component is installed now.

Figure 89. VisualInfo TaskGuide: Select a VisualInfo Installation Task

1. On the Install VisualInfo Components screen, Figure 90 on page 122, select the Object Server component. This also installs the SMS server. Click on Next.

Figure 90. VisualInfo TaskGuide: Select VisualInfo Components

2. On the Object server Components screen in Figure 91 on page 123, you are prompted to select the database you want to use. Select DB2 and click on Next.

Figure 91. VisualInfo TaskGuide Object Server: Object Server Components

3. On the next screen, enter the setup information as shown in Figure 92 on page 124. Supply the following:

The object server database name: OSR3

The object server user ID: viadmin2 Then click on Next.

Figure 92. VisualInfo TaskGuide Object Server: Enter Setup Information

4. On the Object server Confirm Setup Information screen, Figure 93 on page 125, verify the accuracy of the setup information you have supplied.

Click on Next to accept the settings.

Figure 93. VisualInfo TaskGuide Object Server: C o n f i r m Setup Information

5. On the Object Server: Select Installation Options screen, Figure 94 on page 126, we selected Create Object Server Database only. If you have gathered the network information for VisualInfo, you can generate a custom network table at this time with TaskGuide. We recommend generating the network table after installation. Click on Next.

Figure 94. Object Server: Select Installation Options

6. On the Object Server: Enter Setup Information screen, Figure 95 on page 127, supply the setup information for OSR3:

DB2 instance: vidb2in

Associated library server: LSR3 Then click on Next.

Figure 95. TaskGuide Object Server: Enter Setup Information

7. You can confirm the information you have supplied or click on Back to review the OSR3 database information on the Object Server Confirm OSR3 Database Information screen, Figure 96 on page 128. Click on Next to continue.

Figure 96. TaskGuide Object Server: C o n f i r m OSR3 Database Information

8. The installation is successful if the Installation Status screen, Figure 97 on page 129, shows “Finished” under current status. If not successful, exit the TaskGuide and check the /tmp/frn/frnxinst.log file to see possible reasons for the failure.

Figure 97. VisualInfo TaskGuide Object Server: Installation Status

9. Click on Exit to finish the installation.