Monday, February 22, 2010

solaris 10 resize swap zfs arc cache 1g and oracle parameter setting in /etc/system

login as hank b2..
su to root

create group dba
# groupadd oracle
create user oracle and add it to group dba
# useradd oracle
#usermod -G dba oracle
# groups oracle [see dba listed]
create oracle homedir and assign perms
#mkdir /export/home/oracle
#chown oracle:dba /export/home/oracle
now modify /etc/passwd to give user oracle /export/home/oracle as its home dir, and give oracle /bin/ksh as its defautl shell
I also gave root user /usr/bin/bash as its base shell

zfs create -V 8G -b 8k rpool/swap1
swap -a /dev/zvol/dsk/rpool/swap1
swap -d /dev/zvol/dsk/rpool/swap
vi /etc/vfstab
---------------------------

projadd -U oracle -K "project.max-shm-memory=(priv,8G,deny)" user.oracle

--------------------
solaris 10 /etc/system zfs arc cache 1g and oracle install requirement:

set zfs:zfs_arc_max = 1073741824

set noexec_user_stack=1
set noexec_user_stack_log=1


----------------------
Example 2 Setting the auto-boot? Parameter to true.

The following example demonstrates the method for setting
the auto-boot? parameter to true.

example# eeprom auto-boot?=true

When the eeprom command is executed in user mode, the param-
eters with a trailing question mark (?) need to be enclosed
in double quotation marks (" ") to prevent the shell from
interpreting the question mark. Preceding the question mark
with an escape character (\) will also prevent the shell
from interpreting the question mark.

example% eeprom "auto-boot?"=true

No comments: