Сервер Novell SUSER Linux Enterprise Server был назван лучшим пакетом сервера для предприятий на конференции-выставке LinuxWorld*. Сервер SUSE Linux Enterprise Server завоевал 53 процента голосов и оставил позади Red Hat* Enterprise Linux (37 процентов) и Mandriva* (8 процентов).
Oracle Products on Linux.
Ссылки на документацию.
Инсталляция.
SUSE Linux Enterprise Server 9 (минимум 1-4 диски)
SUSE LINUX Enterprise Server 9 SP3 for x86 (минимум 1,2 диски)
Oracle9i Database Release 2 Enterprise/Standard Edition for Intel Linux
p4547809_92080_LINUX.zip
(пароль есть в документации)
- orarun
- инструкция по установке
Установку SLES9 начинаем с SUSE LINUX Enterprise Server 9 SP3 CD1 для получения версии с интегрированным SP3
и далее по инструкции но с новым orarun-1.8-109.16.
p4547809_92080_LINUX распаковываем и запускаем Disk1/runInstaller.
Для включения VLM
How to Configure SuSE SLES 9 32-bit for Very Large Memory with ramfs and HugePages
Applies to:
Linux Kernel - Version: 2.6.5 to 2.6.5
Oracle Server - Enterprise Edition - Version: 9.2 to 10.2
Linux x86
Goal
This document aims to guide Linux system administrators on SuSE Linux Enterprise Server (SLES) 9 to configure Very Large Memory andand big SGA for Oracle RDBMS withramfs and hugepages
The configuration provided in this document applies strictly to 32-bit Linux.
For HugePages on 64-bit Linux, see Note 361468.1
Solution
Follow steps below to perform the configuration:
1. Logon root
2. Configure Linux to mount ramfs over /dev/shm at every boot
a. Edit/etc/init.d/boot.localfs and replace
mount -fv -t tmpfs tmpfs/dev/shm
with
mount -t ramfs ramfs/dev/shm
chown oracle:oinstall/dev/shm
where oracle is the Oracle owner and oinstall is the groupfor Oracle owner account.
b. Edit /etc/init.d/boot.shm and replace:
test "$type" ="tmpfs" && HAVE_SHM=1
with
test "$type" ="ramfs" && HAVE_SHM=1
and
mount -n -t tmpfs $SHMFS_OPTIONS tmpfs /dev/shm || ECHO_RETURN=$rc_failed
with
mount -t ramfs ramfs /dev/shm
chown oracle:oinstall /dev/shm
3. Reboot server
4. Logon as root
5. Check whether /dev/shm is mounted with type ramfs
# mount | grep shm
ramfs on /dev/shm type ramfs (rw)
6. Check permissions of /dev/shm
# ls -ld /dev/shm
drwxr-xr-x 3 oracle oinstall 0 Jul 13 12:12 /dev/shm
7. Be sure that SLES9 uses sysctl
# chkconfig boot.sysctl on
8. Logon to oracle
9. Check max locked mem limit:
$ ulimit -l
unlimited
10. Set disable_cap_mlock to 1:
a. Run
# sysctl -w vm.disable_cap_mlock=1
b. Edit /etc/sysctl.con and add vm.disable_cap_mlock=1
11. Configure instance parameters for VLM:
a.ConvertDB_CACHE_SIZE, DB_xK_CACHE_SIZE parameters to DB_BLOCK_BUFFERS
b. Add parameter USE_INDIRECT_DATA_BUFFERS=TRUE
c. Configure SGA size according to the needs
d. Remove SGA_TARGET if set
12. Startup instance
13. Examine the memory allocation:
$ ls -l /dev/shm
$ ipcs -m
14. Configure hugepages
a. Get Hugepagesize from
$ grep Hugepagesize /proc/meminfo
b. Compute hugetlb_pool using Note 401749.1
c. Set kernel parameter:
# sysctl -w vm.nr_hugepages=<value from above>
d. Set parameter for every boot.Edit /etc/sysctl.conf for vm.nr_hugepages=<value from above>
15. Check available hugepages:
$ cat /proc/meminfo | grep Huge
16. Restart instance
17. Check available hugepages (1 or 2 pages free)
$ cat /proc/meminfo | grep Huge
Note: If the setting of nr_hugepages are not effective, you might need to reboot the server.