Reboot or Shutdown a Solaris System

The best and safest command to do a clean shutdown or a reboot of a Solaris server is the 2 commands below. There are many commands with which you can achieve this. But if you have many scripts in init.d for application like Oracle DBand Oracle RAC. Then shutdown command is the way to go, … Continue reading Reboot or Shutdown a Solaris System

Create Virtual Interface Solaris 10

Ocassionally you need to create a quick one node RAC setup for testing and one of the requirements is a private virtual interface. Virtual interfaces allow a single ethernet interface to listen on additional IP addresses. You can quickly do it in Solaris 10 so that the grid infrastructure setup can see the private virtual … Continue reading Create Virtual Interface Solaris 10

Monitor User Processes and Send Email Shell Script Solaris10

Sometimes on a system it is important to know the maximum user processes does not increase so much that it consumes all shared memory. Recently we had an incident in our ORganization where a rogue application bug caused user processes to spike upto 20,000 and it consumed all memory and swap and the entire server … Continue reading Monitor User Processes and Send Email Shell Script Solaris10

Failover Solaris Zone Cluster

root@swxapp1 # clrg status === Cluster Resource Groups === Group Name     Node Name           Suspended    Status ----------     ---------           ---------    ------ swxapp-rg      swxnode1:swxapp1    No           Online swxnode2:swxapp2    No           Offline root@swxapp1 # clrg switch -n swxnode2:swxapp2 swxapp-rg

Configuring DNS on Solaris 10 (Joining Solaris10 server to Domain)

################ Configure Solaris 10 machine to be on DNS############## 1. Check for file resolv.conf in /etc directory, if it doenst exist create it 2. add below information to the resolv.conf file domain mydomain.com nameserver 172.20.4.10 nameserver 172.20.4.166 search mydomain.com 3. Check for file nsswitch.conf in /etc directory hosts:      files ipnodes:    files ## edit the above … Continue reading Configuring DNS on Solaris 10 (Joining Solaris10 server to Domain)

Avoid out of memory error on Solaris 10 for Oracle Database

Out of Memory Problems on Oracle 10 / Solaris 10 Many kernel parameters have been replaced by so called resource controls in Solaris 10. It is possible to change resource controls using the prctl command. All shared memory and semaphore settings are now handled via resource controls, so any entries regarding shared memory or semaphores … Continue reading Avoid out of memory error on Solaris 10 for Oracle Database

Oracle Database 11g installation on Solaris 10

I had installed Oracle Database 11g on Solaris 10 few days back. I thought of documenting the steps for easy reference. Please find below steps for the same Installation Pre-Requisite Refer to Oracle Database Installation Guide 11g Release 1 (11.1) for Solaris Operating System for checking Hardware and Software Requirements. User Creation and Environment Settings … Continue reading Oracle Database 11g installation on Solaris 10

Install Oracle10gR2 on Solaris 10 in few easy steps.

Directions :: First do gunzip then cpio of the file you downloaded from oracle.com 1. Run "gunzip <filename>" on all the files.   Eg.: gunzip solarisx86_DB_10_1_0_3_Disk1.cpio.gz 2. Extract the cpio archives with the command "cpio -idcmv < filename>" Eg.: cpio -idcmv <solarisx86_DB_10_1_0_3_Disk1.cpio A. Create Oracle Group and User: —————- A. create group name “dba”, oracle inventory … Continue reading Install Oracle10gR2 on Solaris 10 in few easy steps.

Add disk Solaris

How to configure just newly added disks in Solaris 10? It's really simple. 1. first show all attached targets bash-3.00# cfgadm -al Ap_Id                          Type         Receptacle   Occupant     Condition c0                             scsi-bus     connected    configured   unknown c0::dsk/c0t0d0                 disk         connected    configured   unknown c0::dsk/c0t1d0                 disk         connected    configured   unknown c0::dsk/c0t6d0                 CD-ROM       connected    configured   unknown c1                             fc-fabric    connected    configured   unknown c1::200500a0b8169d18           disk         connected    … Continue reading Add disk Solaris