Minimal Checks For Install Database 12.1 On Solaris 11

Today I’ll like show the minimal checks for solaris operating system, these are the minimum requisites to install the database software.

These are the shell commands that we must to execute;

#
# Swap
#
# Between 1 GB and 2 GB	1.5 times the size of RAM
# Between 2 GB and 16 GB	Equal to the size of RAM
# More than 16 GB	16 GB
#
/usr/sbin/swap -l

#
# Tmp directory, >= 1 Giga
#
df -h /tmp

#
# Version
#
cat /etc/release

#
# Package dtrace
#
pkg info -r SUNWdtrc

#
# Specific packages
#
pkg info consolidation/osnet/osnet-incorporation  /x11/diagnostic/x11-info-clients /developer/build/make system/xopen/xcu4 | egrep -i 'Name|installed'

#
# Limits
#
ulimit -s
ulimit -n

#
# Default mask has to be 022
#
umask

#
# Hostname, must be qualified
#
hostaname

#
# check os Release
#
cat /etc/realease

#
# Range ports for TPC and UDP protocol
#
# Check the range ports for tcp protocol     RECOMENDATION 9000 - 655000
# Check the range ports for tcp protocol     RECOMENDATION 9000 - 655000
#
/usr/sbin/ndd /dev/tcp tcp_smallest_anon_port tcp_largest_anon_port

/usr/sbin/ndd /dev/udp udp_smallest_anon_port udp_largest_anon_port

Here you can see the output;

lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Swap
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Between 1 GB and 2 GB 1.5 times the size of RAM
lion-1@:/oracle/app/orap12> # Between 2 GB and 16 GB        Equal to the size of RAM
lion-1@:/oracle/app/orap12> # More than 16 GB       16 GB
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> /usr/sbin/swap -l
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 303,1        16 134217712 134217712
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Tmp directory, >= 1 Giga
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> df -h /tmp
Filesystem             Size   Used  Available Capacity  Mounted on
swap                    77G    12M        77G     1%    /tmp
lion-1@:/oracle/app/orap12>
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Version
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> cat /etc/release
                            Oracle Solaris 11.3 SPARC
  Copyright (c) 1983, 2016, Oracle and/or its affiliates.  All rights reserved.
                            Assembled 03 August 2016
lion-1@:/oracle/app/orap12>
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Package dtrace
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> pkg info -r SUNWdtrc
             Name: SUNWdtrc
          Summary:
            State: Not installed (Renamed)
       Renamed to: consolidation/osnet/osnet-incorporation
                   developer/dtrace@0.5.11-0.133
        Publisher: solaris
          Version: 0.5.11
    Build Release: 5.11
           Branch: 0.133
   Packaging Date: October 27, 2010 06:37:09 PM
             Size: 0.00 B
             FMRI: pkg://solaris/SUNWdtrc@0.5.11,5.11-0.133:20101027T183709Z
lion-1@:/oracle/app/orap12>
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Specific packages
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> pkg info consolidation/osnet/osnet-incorporation  /x11/diagnostic/x11-info-clients /developer/build/make system/xopen/xcu4 | egrep -i 'Name|installed'
             Name: consolidation/osnet/osnet-incorporation
            State: Installed
             Name: developer/build/make
            State: Installed
             Name: system/xopen/xcu4
            State: Installed
             Name: x11/diagnostic/x11-info-clients
            State: Installed
lion-1@:/oracle/app/orap12>
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Limits
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> ulimit -s
32768
lion-1@:/oracle/app/orap12 ulimit -n
4096
lion-1@:/oracle/app/orap12>
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Default mask has to be 022
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> umask
0022
lion-1@:/oracle/app/orap12>
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Hostname, must be qualified
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> hostaname
lion-1
lion-1@:/oracle/app/orap12>
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Range ports for TPC and UDP protocol
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> # Check the range ports for tcp protocol     RECOMENDATION 9000 - 655000
lion-1@:/oracle/app/orap12> # Check the range ports for tcp protocol     RECOMENDATION 9000 - 655000
lion-1@:/oracle/app/orap12> #
lion-1@:/oracle/app/orap12> /usr/sbin/ndd /dev/tcp tcp_smallest_anon_port tcp_largest_anon_port
9000

65500
lion-1@:/oracle/app/orap12>
lion-1@:/oracle/app/orap12> /usr/sbin/ndd /dev/udp udp_smallest_anon_port udp_largest_anon_port
9000

65500
lion-1@:/oracle/app/orap12>

HTH – Antonio NAVARRO

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s