We downloaded Oracle Database 11g Release 2 from
http://www.oracle.com/technology/software/products/database/index.ht ml. We copied the solaris.x64_11gR2_grid.zip file to the Sun Fire X4800 Server, and unzipped it locally by right-clicking the file and choosing Extract Here.
Allow at least 20 minutes to set up Oracle Grid Infrastructure. 1. In a terminal window, run the command xhost [hostname],
replacing [hostname] with the fully qualified domain name of your server.
2. Use the command su oracle to become the Oracle user. You cannot run the Oracle Universal Installer when logged in as root. 3. From the Oracle user’s home directory, type
. ./.profile to set up your environment. The . ./ (dot-space- dot-slash) is necessary.
4. Change your directory to the top level directory of the Oracle distribution you unzipped.
5. Type ./runInstaller. The name is case sensitive and the leading ./ is required.
6. On the Select Installation Option screen, select Install and Configure Grid Infrastructure for a Standalone Server, and click Next.
7. On the Select Product Languages screen, leave the default of English, and click Next.
8. On the Create ASM Disk Group screen, leave the default name of DATA, select External redundancy, select your configured drives, and click Next.
9. On the Specify ASM Password screen, select Use same passwords for these accounts, put a password in the Specify Password and Confirm Password fields, and click Next.
10. On the Privileged Operating System Groups screen, select the groups for ASM access, and click Next (for simplicity, we changed the groups to dba. Ask your administrator before setting your groups to dba).
11. On the Specify Installation Location screen, leave the defaults, and click Next.
12. On the Create Inventory screen, leave the defaults, and click Next. 13. On the Summary screen, click Finish to start the installation. 14. After the installation is complete, follow the instructions on screen
to run the two install scripts as root.
37
Migrate your legacy IBM database environment to the latest Oracle technologies: Moving to Oracle Solaris with Oracle Database 11g from IBM AIX with DB2 on an IBM Power System
Installing Oracle Database 11g Release 2
We downloaded Oracle Database 11g Release 2 from
http://www.oracle.com/technology/software/products/database/index.ht ml. We copied the solaris.x64_11gR2_database_1of2.zip and
solaris.x64_11gR2_database_2of2.zip files to Sun Fire X4800 Server, and unzipped them locally by right-clicking the files and choosing Extract Here. Allow at least 30 minutes to complete the Oracle Database 11g installation.
1. After the Oracle Grid Infrastructure install, change your directory to the top level directory of the Oracle distribution you unzipped. 2. Type ./runInstaller. The name is case sensitive and the
leading ./ is required.
3. On the Configure Security Updates screen, enter your Email address for You’re my Oracle Support and your password for You’re my Oracle Support password, and click Next.
4. On the Select Installation Method screen, select Install database software only.
5. On the Node Selection screen, select Single instance database installation.
6. On the Select Product Languages screen, click Next. 7. On the Select Database Edition screen, accept the default,
Enterprise Edition, and click Next.
8. On the Specify Installation Location screen, accept the default, and click Next.
9. On the Privileged Operating System Groups screen, accept the defaults, and click Next.
On the Product Prerequisite Checks screen, you might see one warning. Some of the kernel settings we specified earlier were above, rather than at, the values Oracle expected. If you receive this warning, you can ignore it.
10. On the Summary screen, review your settings, and click Finish. The Install screen, which shows a progress bar, appears. (5 minutes) 11. When the progress bar completes, the install asks you to run two
scripts as root. Open a terminal by right-clicking the desktop and selecting Open Terminal. You can cut and paste the paths to the scripts into the command line terminal.
12. The first script is orainstRoot.sh. You only see this script the first time you install Oracle Database 11g Release 2 on a system. Should you need to reinstall the database software, you will not run it again.
13. The second script is root.sh. It asks you to type in the name of the local bin directory, which is /usr/bin. Before this script
completes, it starts the CSS service. Once you see the message
NOTE
38
Migrate your legacy IBM database environment to the latest Oracle technologies: Moving to Oracle Solaris with Oracle Database 11g from IBM AIX with DB2 on an IBM Power System
Oracle CSS service is installed and running under init(1M), you may close the terminal window.
14. In the Execute Configuration scripts dialog, click OK.
15. Next, the Configuration Assistants screen appears. The three assistants should start successfully, and you will automatically advance to the next screen.
16. On the End of Installation screen, click Close.