Oracle 10g on Solaris 10 SPARC installation notes

groupadd -g 100 dba
groupadd -g 101 oinstall
useradd -u 101 -d /export/home/oracle -g oinstall -G dba -m -s /usr/bin/bash oracle
passwd oracle
cp /etc/system /etc/system.orig

Add the following parameters in /etc/system

set noexec_user_stack=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10

/usr/sbin/reboot
su – oracle
mkdir oradata

Add the following parameters in .bash_profile

umask 022
export ORACLE_SID=[sid]
export ORACLE_HOME=[path]

export PATH=$ORACLE_HOME/bin:$PATH

. ./.bash_profile

Upload Oracle 10g binary (i.e. cpio or cpio.gz files) to a directory on the target machine. An example could be /download go to the directory where the Oracle binary are located gunzip each file by running gunzip [gz file]

su –

go to the directory where the Oracle binary are located
Create a working directory for each cpio file.

cpio -idmv < [cpio file]
cd /var/opt
mkdir oracle
cd oracle

Create a text file called oraInst.loc with the following content

inventory_loc=[ORACLE_HOME]/oraInventory
inst_group=

Then, set the file properties:
chown oracle:oinstall oraInst.loc
chmod 644 oraInst.loc

Edit the Oracle response file

cd into [cpio extracted directory]/Disk1/response/ directory
cp enterprise.rsp ../response_file.rsp

edit response_file.rsp

Define the following parameters:
ORACLE_HOME=”[oracle_home_value]” ORACLE_HOME_NAME=”[oracle_home_name_value]”
s_nameForDBAGrp=”dba”
s_nameForOPERGrp=”dba”
SHOW_DATABASE_CONFIGURATION_PAGE=false SHOW_DATABASE_OPTIONS_PAGE=false
s_globalDBName
s_dbSid SHOW_DATABASE_MANAGEMENT_PAGE=false SHOW_DATABASE_FILE_STORAGE_OPTION_PAGE=false

s_mountPoint=[data file location, ex: ORACLE_HOME/oradata] SHOW_BACKUP_RECOVERY_OPTION_PAGE=false SHOW_SCHEMA_PASSWORDS_PAGE=false
s_superAdminSamePasswd=[passord value] s_superAdminSamePasswordAgain=[passowrd value]
sl_superAdminPassowrds=[password value]
sl_superAdminPasswordsAgain=[password value]

comment out rest of parameters that has “Value Unspecified”, which are listed below: CLUSTER_NODES
s_dlgEMSMTPServer
s_dlgEMEmailAddress
s_dlgEMCentralAgentSelected
s_rawDeviceMapFileLocation
s_dlgRBORecoveryLocation
s_dlgRBOUsername
s_dlgRBOPassword

You should make sure that the following two parameters are defined:
ORACLE_HOME = “[home value]”
ORACLE_HOME_NAME=”[name value]”

su – oracle

cd to the directory where the installer is located, i.e. [directory where you ran cpio command]/Disk1

runInstaller -ignoreSysPrereqs -silent -responseFile [full path]/response_file.rsp

Note: -ignoreSysPrereqs is only required on Solaris 10. After the installation completed, run the root.sh script in [ORACLE_HOME]/root.sh.

26 thoughts on “Oracle 10g on Solaris 10 SPARC installation notes

  1. Simple and easy.

    You’d only make it better with some notes about projects 😉

    I managed to install Oracle 10g on a Solaris 10 x86 yesterday, and had some trouble with the group.dba project and its parameters. I’m trying to recall what I did, but I’m still confused. I couldn’t set the right project for user oracle (it’s still the default project).

    But thanx again

  2. For technical point of view, it should work. At least I would expect it should work. Considering that Oracle went though the extra hoops to support containsers, supporting LDOM should not be that big of a step.

  3. on my sun E450 Solaris8 , oracle 8.0.5 database is installed but now we want to migrate from existing server to new sun fire v490 solaris 10 and install the same oracle8.0.5 ver because for oracle new ver. Our vendor is charging huge amount for oracle8.0.5 migration to oracle10 g so for that we have decided to install oracle 8.0.5 on new server solaris 10 in order to save amount. Hence, i request u to tell me whether oracle 8.0.5 is compatible to solaris 10 os

  4. During install, if you chose to create a sample database, you don’t have to create another one. If you did not create the sample database, you should consider to run dbca.

  5. Installing it on Solaris 10 SPARC, I got this returned :

    INFO: Setting the ‘OracleHomeName ( ORACLE_HOME_NAME )’ property to ‘OraDbHome’. Received the value from response file.
    SEVERE: OUI-10029:You have specified a non-empty directory to install this product. It is recommended to specify either an empty o
    r a non-existent directory. You may, however, choose to ignore this message if the directory contains Operating System generated f
    iles or subdirectories like lost+found.
    INFO: User Selected: Yes/OK

    Specified ORACLE_HOME=”/opt/Oracle”

    Oracle is owned by the oracle user.

  6. Has any one tried installing Oracle 10g RAC on solaris 10 using VMWARE. I tried installing it but the clusterware keeps on rebooting 1 node.

  7. Dave (or others), does silent install require X window? Do you still need to set DISPLAY to point to an X server?

  8. Gooday,

    pls send me Oracle10g RAC installation doc for solaris 10 operating system.

    Thanks in advance

Leave a reply to Dave Cancel reply