I had a very short time to play with my Oracle Linux SPARC box before I handed it to my customers, so I only had a very quick attempt to install the Oracle RDBMS and start a database. I did only a very basic install using database storage on filesystem, and allowed the installer to create the DB. So these notes are even more scrappy than usual.
While not yet a certified platform, you can download the Oracle Database 22.214.171.124 for Oracle Linux 6.7 SPARC images on e-delivery. There is not a publicly available install document, so I’m going to follow the install guide for Linux
Preparing for the Install
I couldn’t find the pre-installation rpm for Linux-SPARC on ULN. So I am going to have to follow the documentation and hope I have all the packages.
Verify openssh is installed
[root@host-8-161 yum.repos.d]# rpm -qa |grep ssh openssh-clients-5.3p1-117.el6.sparc64 openssh-5.3p1-117.el6.sparc64 openssh-server-5.3p1-117.el6.sparc64 libssh2-1.4.2-2.el6_7.1.sparc64
Check that the required packages are installed.
I added the following packages..
On the installation media the is an additional rpm to install cvuqdisk-1.0.9-1.rpm – but this requires an oracle user….
So.. lets create my user and groups for now
[root@host-8-161 rpm]# groupadd -g 1001 oinstall [root@host-8-161 rpm]# groupadd -g 1002 dba [root@host-8-161 rpm]# useradd -g dba -G oinstall -s /bin/bash -d /home/oracle/ oracle [root@host-8-161 rpm]# passwd oracle
Now retry installing the package
[root@host-8-161 rpm]# rpm -i cvuqdisk-1.0.9-1.rpm Using default group oinstall to install package
[root@host-8-161 rpm]# mkdir /u01 [root@host-8-161 rpm]# mkdir -p /u01/app/oracle [root@host-8-161 rpm]# chown -R oracle:dba /u01
Set the Oracle user resource limits
[root@host-8-161 rpm]# cat /etc/security/limits.conf # End of file oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 10240 oracle soft memlock 3145728 oracle hard memlock 3145728
- Set the display and try running runinstaller
- .. fails with PRVF-0002 Unable to retrieve local node name
- Added the hostname and IP to the local /etc/hosts and the install continued.
- Pre-installation checks give warning about kernel parameters and swap size… but it does offer me a fixit script for the kernel parameters. Need to ensure that these changes to parameters are added to /etc/sysctl.conf
- Ran the fixit, and still some parameters giving a warning – semms etc – I guess these would need a reboot. So the kernel parameters will need reviewing
Things I might want to consider adding to the /etc/sysctl.conf (stolen from another system)
kernel.msgmni = 2878 kernel.msgmax = 8192 kernel.msgmnb = 65536 kernel.shmmni = 4096 kernel.shmmax = 229916494233 kernel.shmall = 28065978
After the install completed, the database started ok.