Skip to main content

Oracle 12c Grid Infrastructure Installation on Solaris 11 standalone

In this article i will demonstrate Installation of  Oracle 12c grid Infrastructure software on  oracle Solaris 11 - X86 (64-bit) and creation of 12c Database on ASM Disk group.

Step-By-Step actions:

1) Download software for Solaris X86-64 Bit architecture.
2) Configure OS perquisites.
3) Install Oracle 12c Grid Infrastructure software.
4) Install 12c RDBMS software and create database on ASM Storage.

Configuration of OS Pre-requistes:
  • create OS user and group
  • create directories for software and change permissions accordingly
  • configure kernel parameters
  • set proper display variable
  • start Installation
- create OS user ad group

root@solaris11:~#groupadd dba
root@solaris11:~#useradd -g dba -d /export/home/ora12c -m ora12c
 

- create directory structure

root@solaris11:~#mkdir -p /ora1/grid    [GI Home]
root@solaris11:~#mkdir -p /ora1/ora12c   [RDBMS Home]
root@solaris11:~#chmod -R 775 /ora1/grid
root@solaris11:~#chown -R ora11g:dba /ora1/grid
root@solaris11:~#chmod -R 775 /ora1/ora12c
root@solaris11:~#chown -R ora11g:dba /ora1/ora12c
 

- configure kernel parameters:

root@solaris11:~# projadd ora12c
root@solaris11:~# cat /etc/user_attr
#
# The system provided entries are stored in different files
# under "/etc/user_attr.d".  They should not be copied to this file.
#
# Only local changes should be stored in this file.
# This line should be kept in this file or it will be overwritten.
#
root@solaris11:~# vi /etc/user_attr
root@solaris11:~# cat /etc/user_attr
#
# The system provided entries are stored in different files
# under "/etc/user_attr.d".  They should not be copied to this file.
#
# Only local changes should be stored in this file.
# This line should be kept in this file or it will be overwritten.
#
ora12c::::project=ora12c
root@solaris11:~# 

- Add listed above entry in file /etx/user_attr

 

- login with ora12c user in other terminal and execute the following commands:

root@solaris11:~# prctl -n project.max-shm-memory -v 4gb -r -i project ora12c
root@solaris11:~# projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" ora12c
root@solaris11:~# 


root@solaris11:~# cat /etc/project 
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
ora11g:100::::project.max-shm-memory=(priv,4294967296,deny)
root@solaris11:~# 
 

- Install package pkg://install/library/motif. If you do not Install this package runInstaller will not work

- Configure OS Disks
  
I have added 2 disks for 2 ASM diskgroups (1 - GI and 2 - DATA)

root@solaris11:~# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c7t0d0  (OS Disk)
          /pci@0,0/pci8086,2829@d/disk@0,0
       1. c7t2d0 
          /pci@0,0/pci8086,2829@d/disk@2,0 ( GI Disk)
       2. c7t3d0 
          /pci@0,0/pci8086,2829@d/disk@3,0  ( DATA Disk)
Specify disk (enter its number): 2
selecting c7t3d0
[disk formatted]
No Solaris fdisk partition found.


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        fdisk      - run the fdisk program
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show disk ID
        volname    - set 8-character volume name
        !     - execute , then return
        quit
format> p
WARNING - This disk may be in use by an application that has
   modified the fdisk table. Ensure that this disk is
   not currently in use before proceeding to use fdisk.
format> fdiks
`fdiks' is not expected.
format> fdisk
No fdisk table exists. The default partition for the disk is:

  a 100% "SOLARIS System" partition

Type "y" to accept the default partition,  otherwise type "n" to edit the
 partition table.
y
format> p


PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        ! - execute , then return
        quit
partition> p
Current partition table (default):
Total disk cylinders available: 4344 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       0               0         (0/0/0)           0
  1 unassigned    wm       0               0         (0/0/0)           0
  2     backup    wu       0 - 4343       33.28GB    (4344/0/0) 69786360
  3 unassigned    wm       0               0         (0/0/0)           0
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7 unassigned    wm       0               0         (0/0/0)           0
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 unassigned    wm       0               0         (0/0/0)           0



partition> l

Ready to label disk, continue? Ready to label disk, continue? y

partition> 

partition> p
Current partition table (original):
Total disk cylinders available: 4344 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       0               0         (0/0/0)           0
  1 unassigned    wm       0               0         (0/0/0)           0
  2     backup    wu       0 - 4343       33.28GB    (4344/0/0) 69786360
  3 unassigned    wm       0               0         (0/0/0)           0
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7 unassigned    wm       0               0         (0/0/0)           0
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 unassigned    wm       0               0         (0/0/0)           0

partition> 0
Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       0               0         (0/0/0)           0

Enter partition id tag[unassigned]: 
Enter partition permission flags[wm]: 
Enter new starting cyl[0]: 10
Enter partition size[0b, 0c, 10e, 0.00mb, 0.00gb]: 33gb
partition> l
Ready to label disk, continue? y

partition> 

 



=> Similarly format  another disk
=> change ownership of both the disks

root@solaris11:~#chown ora12c:dba /dev/rdsk/c7t2d0s0
root@solaris11:~#chown ora12c:dba /dev/rdsk/c7t3dos0

Make sure the ora12c is owner for these decives:

root@solaris11:/dev/rdsk# ls -lhL /dev/rdsk/c7t2d0s0
crw-r-----   1 ora12c   dba      206, 128 Aug 14 10:57 /dev/rdsk/c7t2d0s0
root@solaris11:/dev/rdsk# ls -lhL /dev/rdsk/c7t3d0s0
crw-r-----   1 ora12c   dba      206, 192 Aug 25 09:00 /dev/rdsk/c7t3d0s0
root@solaris11:/dev/rdsk#

 

 - Configure the display variable:


- Start Installation of Oracle 12c Grid Infrastructure:

>> Follow the screenshots:

























Installation of GRID Infrastructure completed successfully. Create additional diskgroup DATA for creating database.

Installation of 12c RDBMS Oracle Home and creation of database:

>> RunInstaller























Installation of 12c Grid Infrastructure and 12c RDBMS Installation with creation of database completed.

Thanks for reading.

regards,
X A H E E R

Comments

Anonymous said…
Its really a nice gesture by you in comimng up with such a hands-on article on oracle 12c grid infrastructure installation. Thanks for your efforts.

I would really appreciate if you can let us know more in detail the section where you added ASM disks.

Would you please let us know how, and using what procedure did you added these disks. People like me who would like to do such an installation and do not have access to SAN or NAS storage, so how can this be achieved by using ones local disk partitions...??

Thanks in advance... :-)

Popular posts from this blog

Disable Firewall on Oracle Linux 8

In this blogpost we will see how we can stop/disable the firewall on Oracle Linux 8, the firewall command is same in both linux 7 an linux 8. The below listed is the procedure for stopping and disabling the  firewall on Oracle Linux 8. - Here we can see the firewall deamon in active state - Here when we stop the firewall in previous command, now the firewall daemon is dead - For permanent disabling the firewall on server, we can use "disable" option The following commands will be helpful: #systemctl status firewalld #systemctl stop firewalld #systemctl disable firewalld #systemctl enable firewalld #systemctl start firewalld Hope it helps !! Thanks for reading :) regards, X A H E E R

Enable Desktop on Oracle Solaris 11.4

Oracle Solaris 11 installation has multiple options to choose for installation of an Operating Environment, but mostly Oracle Solaris text install media is used and this installation media doesn't offer the GUI Desktop Environment by default after the installation. This blog post will explain how we can enable the desktop for Oracle Solaris 11.4 operating system, after the completion of installation. We have to install "solaris-desktop" package and reboot the machine and GUI desktop will be enabled for the Operating System. In this blog post my virtual machine is connected to the internet and hence I am able to use available pupblic repository for package installation, if in case internet is not available for the server/machine then we have configure the local/Server  repository for the installation. Follow the below steps for desktop package installation: After installation of dekstop package we are now able to login with GUI desktop environment

Oracle Applications R12.2 Installation on Linux using virtual box

Oracle E-Business suite R12.2 is released a month ago. I received too many requests from my followers to demonstrate this Installation. This is a step by step detailed article for Installing Oracle E-business suite R12,2 on Oracle Enterprise Linux 5.7 (64-bit). I've used oracle virtual box for Installing Linux. Note:  This Installation is demonstrated on virtual machine with 8GB RAM and Installation completed in 7 hours. I am not sure whether this Installation will work with less than this .  My Virtual Machine configuration: CPU    = 1 core RAM   = 8 GB HDD   =  380 GB Software's Required: 1) Oracle Virtual Box 2) Oracle Enterprise Linux 5.7 (64-bit) 3) Oracle E-Business suite R12.2 for LinuxX86-64-bit Installation Steps: Hardware requirements Create virtual machine and Install operating system Operating System pre-requisites Prepare Stage Area Install Oracle EBS R12.2 software Verify Installation 1. Hardware Requirement