Thursday, May 24, 2007


Running Solaris 10 (11/06) Virtual Machine on CentOS 5.0 (VMWare Server 1.0.3)



CentOS 5.0 and VMWare Server 1.0.3 have been installed on the box been assembled
utilizing following hardware:-
CPU Core2Duo E6600 2.4GHZ, board ASUS P5B Deluxe, 2GB RAM (2xDDR2 1GB PC 5300 Kingston),2x160 GB SATA HDDs Seagate Barracuda 160 GB. Host Controllers Intel ICH8R and Jmicron JMB 363 both running in AHCI mode, what prevents from straightforward installation Solaris 10 on mentioned box.


Solaris 10 (11/06) has been installed as VMWare Server Virtual Machine configured as:-





Solaris 10 Virtual Machine start up:-






Login to Solaris:-






Virtual Network Bridge verification:-







Runtime snapshot:-






Shutdown Solaris properly :-






Now Solaris VM may be powered off:-






Test install Oracle 10g R2 on Solaris 10 VM.



Create user "oracle" :-



# groupadd oinstall
# groupadd dba
# useradd -d /export/home/oracle -g oinstall -G dba -m -s /bin/bash oracle
# passwd -r files oracle
# mkdir -p /export/home/oracle/product/10.2.0/db_1
# chown -R oracle:oinstall /export/home/oracle




Create project "oracle" and tune maximum shared memory size
segment available for oracle session as 4 GB utilizing "prctl" command as required
by Oracle manuals for Solaris 10, i.e. run as root:-



# projadd oracle




and add line to /etc/user_attr:-



oracle::::project=oracle




Having oracle’s session opened , run as root:-



# projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" oracle




Relogin as oracle and make sure oracle's project has been updated:-



$ prctl -n project.max-shm-memory -i project oracle

NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 4.00GB - deny –
system 16.0EB max deny -




In general, following kernel parameters have to be
also tuned for Solaris 10 :-



project.max-sem-ids 100
project.max-sem-nsems 256
project.max-shm-ids 100




Tune ~oracle/.bash_profile as usual:-



umask 022
TMP=/tmp
TMPDIR=$TMP
DISPLAY=:0.0
export TMP TMPDIR DISPLAY
export ORACLE_BASE=/export/home/oracle
export ORACLE_HOME=/export/home/oracle/product/10.2.0/db_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH




and issue :-



# xhost +
# su - oracle
$ cd /install/database
$./runInstaller




Due to known bug , run Installer with option "Install Software only"
When done , run:-



$ dbca




to create database and



$ netca




to configure file $ORACLE_HOME/network/admin/listener.ora and
$ORACLE_HOME/network/admin/tnsnames.ora.











Oracle sample database start/stop benchmarking.


Friday, May 18, 2007


Install Oracle 10.2.0.1 (64 bit) on openSUSE 10.2 x86_64



This posting is supposed to give a detailed explanation of steps suggested
in thread http://www.linuxquestions.org/questions/showthread.php?t=517596
by "mar_456". It is also addressing several issues recently been discussed at http://dizwell.com:-


error on Installing Oracle 10g realease 2 on suse 10.2


All my effort is to make already known issues clear and understandable for
people inexperienced with SUSE Linux system administration.


1. Install openSUSE 10.2 with "32 bit Runtime Environment" and "C/C++ Development" selection.





2. Download orarun-1.9-21.12.x86_64.rpm package from


ftp://ftp.novell.com/partners/oracle/sles-10


and copy it to /tmp/orainst folder as root .Then run:-



# rpm2cpio orarun-1.9-21.12.x86_64.rpm | cpio -i --make-directories




Copy extracted files to required location and create symbolic links
at corresponding locations.Except symlink /usr/bin/sh pointing to /bin/bash.
It stays the same.






3. Create system user "oracle" with home directory /opt/oracle and shell /bin/bash
4. Set updated kernel parameters by executing as root:-



# /etc/init.d/oracle start




5.Edit file database/install/oraparam.ini to add "SuSE-10" .
6. Login as user oracle and run Oracle Universal Installer . You should not
experience any problems during OUI linking phase as far as
"32 bit Runtime Environment" has been installed, otherwise linking phase
will generate three exceptions and OUI will finally crash even you have choosed
"Ignore" for all of exceptions



Installation has been done.




Friday, May 04, 2007

Abit AB9 Pro versus Abit AB9




Sunday, April 29, 2007


Installing Oracle 10.2.0.1 on CentOS 5.0 (x86_64)



During OS install both GNOME and KDE desktops were selected
as well as all components of all available groups except
"Virtualisation","Clustering","Cluster Storage"
KDE Session has been selected for system login.
Firewall and SELINUX have been disabled.


Hard disk partitions layout before installing Oracle.







CentOS 5.0 preinstall configuration.



File /etc/redhat-release has been edited to contain:-
redhat-4
to avoid installer's exit at startup.
Following lines added to the /etc/security/limits.conf file:-



* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536






Following line added to the /etc/pam.d/login file:-



session required /lib/security/pam_limits.so




1. Check for required rpms to be installed.





2. Install rpms , which have not been attached to system during CentOS 5.0 installation, from DVD.





3.Tune /etc/sysctl.conf





Then run:-


# /sbin/sysctl -p





5. Run as root following script:-



groupadd oinstall
groupadd dba
groupadd oper
useradd -g oinstall -G dba oracle
passwd oracle
mkdir -p /u01/app/oracle/product/10.2.0/db_1
chown -R oracle.oinstall /u01
mkdir -p /u02/oradata
chown -R oracle.oinstall /u02




6. Configure oracle's .bash_profile.
Actually, Oracle recommends export only ORACLE_BASE and ORACLE_SID,
what makes installer able to generate ORACLE_HOME by itself
But,anyway you will have modify .bash_profile after installation.
Line: ulimit -u 16384 -n 65536 has not been included into .bash_profile
due to testing environment





7.Copy archive to disk and extract it:-










# xhost +
# su - oracle
#./runInstaller




Installation screenshots:-









































Login to EM console:-









Saturday, April 21, 2007


Marvell Yukon Driver (SK-9E22) for Solaris (x64) 8.19.1.3
installation procedure in Solaris Express (SNV 59)



At mean time many people are experiencing problems with installing Solaris Express
on PC with boards based on Marvell Yukon Gigabit PCI-X Ethernet adapter.
Version for download from :


http://www.syskonnect.de


may be installed but actually doesn’t work. Workaround for this issue follows bellow


Run to find out vendor-id and device-id :



# prtconf –pv
device-id : 4364
vendor-id: 11ab




on your board


Modify script ./SKGEsolx/installation/postinstallation :-
Edit add_drv parameters list and put yours "pci11ab,4364" on the list.
Run:



# pkgadd -d . SKGEsolx




It will exit and report:
that original checksum of postinstallation script is XXXXX and differs from actual YYYYY.
Then edit ./SKGEsolx/pkgmap and put in postinstallation line instead of XXXXX value YYYYY.
Run again:-



# pkgadd -d . SKGEsolx




Script should complete OK and report , that skge0 was plumbed and brought up.





Proceed as was advised by John Brewer :-
Run as root:-



# sys-unconfig




This program will unconfigure your system. It will cause it
to revert to a "blank" system - it will not have a name or know
about other systems or networks.
This program will also halt the system.
Do you want to continue (y/n) ? y
Then the system will shutdown and when you reboot,
it asks all new server questions out of the box:


What your server name is ?
Are you on the network ?
Ask for DHCP or IP ?
What is your netmask ?
Do you have a defaultrouter ?
Root passwd?
Which interface ? ( skge0 will be there, it in the kernel now and have to be selected)


Finally it run the kdmconfig and tries to configure your X-display adapter and monitor size,mouse ps/2 USB or serial


When system reboots interface skge0 will be really up and running
Interface skge0 has been assigned new IP-address: 192.168.0.59


Saturday, April 14, 2007


Snoop -P -d skge0 statistics when pinging SNV 59 (64 bit) from remote Windows box










Would it be enough ?

Monday, March 19, 2007


Multi Booting CentOS 4.4 and several openSUSE 10.2 instances,each one installed on it's own SATA drive attached to Intel's ICH8R on ASUS P5B Deluxe




In this case we do have to perform CentOS install from SATA Optical Drive,
otherwise CentOS won't work properly with several SATA drives.
So,option:-


boot: linux all-generic-ide pci=nommconf




is obviously unacceptable for production environment .


1.Install first instance of openSUSE 10.2 on /dev/sda putting GRUB into MBR (/dev/sda)
2.Install CentOS 4.4 on /dev/sdb putting GRUB into MBR (/dev/sda)
3.Install second instance of openSUSE 10.2 on /dev/sdb putting GRUB in root
partition of current instance.


Load CentOS and modify grub.conf as follows:-





Then run:-


# grub-install /dev/sda




and reboot the box.

Disk layout snapshots in different linux instances:






Sunday, February 25, 2007


Install CentOS 4.4 on ASUS P5B Deluxe utilizing IDE-CDROM
connected to Jmicron JMB363 PATA port



At initial boot prompt specify:


boot: linux all-generic-ide pci=nommconf




This will start graphical install.When you will be brought
to screen that defines "Kernel boot options" type in
corresponding window:


all-generic-ide pci=nommconf




and proceed with installation.
Instance of CentOS 4.4 been created will recognize IDE-CDROM:



File /boot/grub/menu.lst should look like:-



Installing SKGE driver for Marvell Youkon Gigabit Ethernet Adapter may be done as
described in post:


Install CentOS 4.4 on ASUS P5B Deluxe


Note: This way of creating CentOS 4.4 instance on P5B Deluxe has not been tested
in production environment. The way decribed by the link above does work in production.