Overview
This document describes the basic setup for a Minimalist Solaris 10 setup using
a ZFS Root disk. It should be noted that using SVM ( Solstice Software RAID ) and UFS root
disks could also be done here. The major change would be in the disk layout. I would use a
10G / 8G SWAP 8G /var and REST in /opt .
1. Lets Begin:
Preform a Solaris install as you normally would. When prompted for the install sets select
Core System and then select Customize Package Selection
2. Here is the list of packages required to make the install work.
SUNWbinutils
SUNWarc
SUNWbash
SUNWbtool
SUNWdoc
SUNWgcc
SUNWgccruntime
SUNWgcmn
SUNWggrp
SUNWgpch
SUNWgzip
SUNWhea
SUNWlibm
SUNWlibmr
SUNWscpr
SUNWscpu
SUNWsprot
SUNWsshcu
SUNWsshdr
SUNWsshdu
SUNWsshr
SUNWsshu
SUNWtoo
SUNWxcu4
SUNWbash
SUNWbashS
SUNWless
SUNWlessS
SUNWwgetu
SUNWwgetr
SUNWwgetS
SUNWperl584core
SUNWperl584man
SUNWperl584usr
SUNWperl-xml-parser
SUNWvolr
SUNWvolu
SUNWuiu8
SUNWpool
SUNWpoolr
SUNWipc
SUNWi1cs
SUNWi15cs
SUNWi1of
SUNWulcf
SUNWmfrun
SUNWxwrtl
SUNWxwice
SUNWxwfnt
SUNWxwplt
SUNWxwplr
SUNWctpls
SUNWj5rt
SUNWj6rt
SUNWj6man
SUNWj6cfg
3. Disk layout
Next I then selected a ZFS Root opting to use all 4 drives in the system in a
mirrored Raid setup. More or less a raid 10 . I used the default disk layout
which gives me a 4G Zvol for SWAP and a 8G zvol for /var the rest is in one large zvol .
4. Extra Packages
Once the install was done i then installed the following packages from SunFreeWare
4.1 Packages from Sun Freeware.com
SMCgrep
SMClgcc346
SMCliconv
SMClintl
SMClpcap
SMCossl
SMCpcre
SMCrcs
SMCsudo
SMCtcpd
SMCtop
SMCzlib
5. Clean-up
Originally I had opted to disable the auto mounter and setup /home as the home directory of choice.
I create the following ZFS file systems
/opt No Quota
/opt/Storage 10G
6. Security
The next goal of the box was to pass a security scan. I decided to
change the /etc/security/policy.conf to use more secure password formats
I edited /etc/security/policy.conf
I changed
CRYPT_ALGORITHMS_ALLOW=1,2a,md5,5,6
to
CRYPT_ALGORITHMS_ALLOW=2a
and
I added
CRYPT_DEFAULT=2a
CRYPT_ALGORITHMS_DEPRECATE=__unix_
After this I changed roots password and added accounts for admin,psoft,tuxedo
6. Tunings
Next I created a project for the psoft user and setup the following options in /etc/project
user.psoft:100::::process.max-sem-ids=(priv,16384,deny);process.max-sem-nsems=(priv,1024,deny);process.max-sem-ops=(priv,1024,deny);project.max-shm-ids=(priv,256,deny);project.max-shm-memory=(priv,8589934592,deny)
Next I added the following options to /etc/system to further tune the system and to make the ZFS Arc Cache play nice with BEAs broken malloc system.
* PeopleTools Parms
set rlim_fd_cur=8192
set rlim_fd_max=65535
set noexec_user_stack=1
set ip:ip_squeue_fanout=1
set ip:ip_soft_rings_cnt=8
* suggested settings for weblogic
set autoup=900
set tune_t_fsflushr=1
set slowscan=900
*Lower the total ARC Cache Size to 5G
set zfs:zfs_arc_max = 5368709120
7. Shell bits
Lastly I setup the following .bash_profile for admin root psoft tuxedo and I copied it to /etc/skell
# Marks Solaris Friendly bash profile
# If not running interactively, don do anything
[ -z "$PS1" ] && return
export HISTCONTROL=ignoreboth
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# A Fancy Bash Prompt
PS1="\u@\h: \w :> "
export PS1
# Setup a Sun Friendly path
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/X11R6/bin:/usr/perl5/5.8.4/bin:$HOME/bin:/usr/local/bin:/usr/local/sbin"
export PATH
export PAGER=less
export EDITOR=vi
export BLOCKSIZE=K
alias ll=ls -alsh
Conclusion
This is the basic install guide. This was based off a email from from Eric Boutilier
Eric.Boutilier@Sun.com to the netbsd pkgsrc-tech mailing describing how to make a
minimalist solaris 10 install that was like a basic netbsd install so that you would
be able to buiuld you userland from netbsds pkgsrc .
Mark
Posted in Solaris.
Tagged with Oracle, People Soft, Solaris 10.
No comments
By admin May 12, 2009
* May 2009
Tags
Oracle People Soft Solaris 10