Oracle Apps DBA

My photo
More than 5+ Years of IT Experience in administering Enterprise wide Multi Vendor UNIX Servers, Oracle Databases (8i to 11gR2), Middle-tiers, Applications and Clusters. I am a Sun Certified System Administrator (SCSA) for Solaris 10, oracle 10g database certified associate(OCA), Oracle 10g Database certified professional (OCP) and Oracle E-Business suite R12 certified professionl(OCP)

Oracle Database and Applications

Thursday, 12 September 2013

Oracle 12c RAC Installation on oracle solaris 11.1 on Vmware

This is a very detailed post for configuring Oracle 12c RAC  on Solaris 11.1 X86-64bit Operating system. It consists of more than 100 screen shots. There are many bloggers who demonstrated  all new 12c RAC installation  on Linux and windows. This demonstration is on oracle solaris 11.1 (X86-64Bit)

This configuration is deployed on 2 Oracle Solaris 11.1  virtual machines hosting on vmware server 2.0 and I have used windows 2003 as DNS Server for resolving scan-name.

Listed below software's are used for building 12 RAC:

1) VMware Server 2.0 Installed on windows 7
2) Oracle Solaris 11.1 text Installer
3) Oracle Solaris package repository Images
4) Oracle 12c Grid Infrastructure for Solairs-X86-64bit
5) Oracle 12c Database for Solairs-X86-64bit

I will perform this Installation in four parts:

Part1:-    Creation  of virtual machines
Part2:-    Installation of Oracle Solaris 11.1 operating including GI pre-reuisites
Part3:-    Installation of 12c Grid Infrastructure software
Part4:-    Installation and creation of 12c RAC Database


12c RAC Deployment Server  Architecture:







Part1:- Creation  of virtual machines

- Login to vmware server console and create new virtual machine:




















=> Created directory solshare in"Standard" - datastore to create share able disks.








=> Similarly create 3 others disks:

gdisk2          : SCSCI1:1 => 2GB
datadisk1     : SCSCI1:2 => 5GB
datadisk2     : SCSCI1:3 => 5GB

gdiks1, gdisk2 => OCR and Voting disk
datadisk1, datadisk2 => Database





=> Add additional NW adapter for Private Interconnect




- Complete virtual machine configuration. use solaris-11 text media  for OS installation and power on virtual machine.



Part2:-    Installation of Oracle Solaris 11.1 operating including GI pre-reuisites

Please follow the steps as listed to complete OS Installation:










- Select default Install solaris



- Select local disk


- Select all default partition




- Provide host name


- Select manual for configuring network configuration


- configure nte0 (Public NW)


- 192.168.1.91 is the address of DNS Server and default router. If your dont have any DNS Server then you can skip entry for router


- provide Server address for DNS and domain name









- Select Required time zone


- Provide password for root and another user account





- verify the configuration before proceeding with Install option




- reboot it after completion of installation



- Solaris text installer will run in only command line mode. To enable GUI mode we need to Install some additional packages. So listed below steps are for configuring IPS (new feature in solaris 11) for Installation of additional packages. IPS uses same concept of YUM



SOL_11_1_REPO_FULL is the full media of both image files for repository. Here I am using local disk without network for configuring repository.

If required more understanding for IPS please refer my another post:

http://appsdbaworkshop.blogspot.com/2013/03/configuration-of-ips-on-oracle-solaris11.html




- IPS is configured on local disk and we can Install OS packages as required.



- This package will enable GUI


- This package is required to run oracle Installer
- After successful Installation of both of these packages reboot machine and you will find GUI enabled






Now Install vmware tools:




root@solrac1:/media/VMware Tools# df -h /media/VMware\ Tools/
Filesystem             Size   Used  Available Capacity  Mounted on
/dev/dsk/c7t0d0s2      7.7M   7.7M         0K   100%    /media/VMware Tools
root@solrac1:/media/VMware Tools# ls
manifest.txt                 vmware-solaris-tools.tar.gz
root@solrac1:/media/VMware Tools# cp vmware-solaris-tools.tar.gz /tmp
root@solrac1:/media/VMware Tools# cd /tmp
root@solrac1:/tmp# ls -l vmware-solaris-tools.tar.gz
-r--r--r--   1 root     root     7744708 Sep  3 09:44 vmware-solaris-tools.tar.gz
root@solrac1:/tmp# gunzip vmware-solaris-tools.tar.gz
root@solrac1:/tmp# ls -lrt vmware-solaris-tools.tar
-r--r--r--   1 root     root     28149760 Sep  3 09:44 vmware-solaris-tools.tar
root@solrac1:/tmp# tar -xvf vmware-solaris-tools.tar
x vmware-tools-distrib, 0 bytes, 0 tape blocks
x vmware-tools-distrib/bin, 0 bytes, 0 tape blocks
x vmware-tools-distrib/bin/vmware-uninstall-tools.pl, 186329 bytes, 364 tape blocks
x vmware-tools-distrib/bin/vmware-config-tools.pl, 373773 bytes, 731 tape blocks
x vmware-tools-distrib/vmware-install.pl symbolic link to bin/vmware-uninstall-tools.pl
x vmware-tools-distrib/etc, 0 bytes, 0 tape blocks

root@solrac1:/tmp# ls
croutAAAb6aWIb            gdm-auth-cookies-MYaigc   pulse-ZmQt5PueVmBw        vmware-solaris-tools.tar
dbus-G34P4xj0zp           hsperfdata_root           ssh-XXXXieaq_v            vmware-tools-distrib
dbus-oGUUVpUWjG           hsperfdata_soladmin       tmpRBnN29
root@solrac1:/tmp# cd vmware-tools-distrib/
root@solrac1:/tmp/vmware-tools-distrib# ls
bin                etc                INSTALL            lib
doc                FILES              installer          vmware-install.pl
root@solrac1:/tmp/vmware-tools-distrib# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 7.7.6 build-203138 for Solaris completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]


Stopping VMware Tools services in the virtual machine:
-n    Guest operating system daemon:
-n                                                                     done



Detected X.org version 7.11.2.



No drivers for X.org version: 7.11.2.



The configuration file /etc/X11/xorg.conf can not be found. Do you want to
create a new one? (yes/no) [yes]


Please choose one of the following display sizes that X will start with (1 -
15):

[1]  "640x480"
[2]  "800x600"
[3]  "1024x768"
[4]  "1152x864"
[5]  "1280x800"
[6]  "1152x900"
[7]  "1400x900"
[8]  "1440x900"
[9]  "1280x1024"
[10]  "1376x1032"
[11]  "1400x1050"
[12]  "1680x1050"
[13]  "1600x1200"
[14]  "1920x1200"
[15]  "2364x1773"
Please enter a number between 1 and 15:

[3] 3

Starting VMware Tools services in the virtual machine:
-n    Switching to guest configuration:
-n                                                                     done

-n    Guest memory manager:
-n                                                                     done

-n    Guest operating system daemon:
-n                                                                     done


The configuration of VMware Tools 7.7.6 build-203138 for Solaris for this
running kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

You will need to either manually start /usr/bin/vmware-user or log out and log
back in to this desktop session to obtain the following features: guest
resolution fit, drag and drop, and file and text copy/paste.  vmware-user is
configured to automatically start at a graphical login, but that won't take
effect until the next login.

The installed vmxnet driver will be used for all vlance and vmxnet network
devices on this system.  Existing vlance devices will transition from the pcn
driver to the vmxnet driver on the next reconfiguration reboot.  You will need
to verify your network settings accordingly.

If you have configured a pcn interface, the corresponding files are now renamed
to use the vmxnet device name to ensure the interface will be brought up
properly upon reboot.  For example, the following commands were performed:
  # mv /etc/hostname.pcn0 /etc/hostname.vmxnet0
  # mv /etc/hostname6.pcn0 /etc/hostname6.vmxnet0
  # mv /etc/dhcp.pcn0 /etc/dhcp.vmxnet0
and will cause the Solaris Service Management Facility to bring up the first
vmxnetX interface using the configuration of your current pcnX interface.

Enjoy,

--the VMware team

root@solrac1:/tmp/vmware-tools-distrib#


- Add additional SWAP memory:


root@solrac1:~# swap -l
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 274,2         8  2097144  2097144
root@solrac1:~# df -h swap
Filesystem             Size   Used  Available Capacity  Mounted on
swap                   2.8G   118M       2.7G     5%    /tmp
root@solrac1:~# swap -d /dev/zvol/dsk/rpool/swap
root@solrac1:~# df -h swap
Filesystem             Size   Used  Available Capacity  Mounted on
swap                   1.8G   118M       1.7G     7%    /tmp
root@solrac1:~# swap -l /dev/zvol/dsk/rpool/swap
No swap devices configured
root@solrac1:~# zfs set volsize=6G rpool/swap
root@solrac1:~# swap -a /dev/zvol/dsk/rpool/swap
root@solrac1:~# swap -l
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 274,2         8 12582904 12582904
root@solrac1:~# df -h swap
Filesystem             Size   Used  Available Capacity  Mounted on
swap                   7.8G   118M       7.7G     2%    /tmp
root@solrac1:~#


- Configure additional created disks 
- Label all cylinders starting from cylinder 1. If you use default value 0 then asm will not detect.


Formatting of disks:
=====================
DISK1 (gdisk1):
root@solrac1:~# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c8t0d0 
          /pci@0,0/pci15ad,1976@10/sd@0,0
       1. c9t0d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@0,0
       2. c9t1d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@1,0
       3. c9t2d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@2,0
       4. c9t3d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@3,0
Specify disk (enter its number): 1
selecting c9t0d0
[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> 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: 1021 + 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 - 1020        1.99GB    (1021/0/0) 4182016
  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        2.00MB    (1/0/0)       4096
  9 unassigned    wm       0               0         (0/0/0)          0

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

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

partition> p
Current partition table (unnamed):
Total disk cylinders available: 1021 + 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 - 1020        1.99GB    (1021/0/0) 4182016
  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       1 - 1020        1.99GB    (1020/0/0) 4177920
  7 unassigned    wm       0               0         (0/0/0)          0
  8       boot    wu       0 -    0        2.00MB    (1/0/0)       4096
  9 unassigned    wm       0               0         (0/0/0)          0

partition>



----------------------------------------------------

Disk2 (gdiks2):

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> disk


AVAILABLE DISK SELECTIONS:
       0. c8t0d0 
          /pci@0,0/pci15ad,1976@10/sd@0,0
       1. c9t0d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@0,0
       2. c9t1d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@1,0
       3. c9t2d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@2,0
       4. c9t3d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@3,0
Specify disk (enter its number)[1]: 2
selecting c9t1d0
[disk formatted]
No Solaris fdisk partition found.
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: 1021 + 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 - 1020        1.99GB    (1021/0/0) 4182016
  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        2.00MB    (1/0/0)       4096
  9 unassigned    wm       0               0         (0/0/0)          0

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

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

partition> p
Current partition table (unnamed):
Total disk cylinders available: 1021 + 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 - 1020        1.99GB    (1021/0/0) 4182016
  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       1 - 1020        1.99GB    (1020/0/0) 4177920
  7 unassigned    wm       0               0         (0/0/0)          0
  8       boot    wu       0 -    0        2.00MB    (1/0/0)       4096
  9 unassigned    wm       0               0         (0/0/0)          0

partition>

-------------------------------------------

Disk3(datadisk1):

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> disk


AVAILABLE DISK SELECTIONS:
       0. c8t0d0 
          /pci@0,0/pci15ad,1976@10/sd@0,0
       1. c9t0d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@0,0
       2. c9t1d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@1,0
       3. c9t2d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@2,0
       4. c9t3d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@3,0
Specify disk (enter its number)[2]: 3
selecting c9t2d0
[disk formatted]
No Solaris fdisk partition found.
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: 2557 + 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 - 2556        4.99GB    (2557/0/0) 10473472
  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        2.00MB    (1/0/0)        4096
  9 unassigned    wm       0               0         (0/0/0)           0

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

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

partition> p
Current partition table (unnamed):
Total disk cylinders available: 2557 + 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 - 2556        4.99GB    (2557/0/0) 10473472
  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       1 - 2556        4.99GB    (2556/0/0) 10469376
  7 unassigned    wm       0               0         (0/0/0)           0
  8       boot    wu       0 -    0        2.00MB    (1/0/0)        4096
  9 unassigned    wm       0               0         (0/0/0)           0

partition>


------------------------------------------

Disk 4 (datadiks2)


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> disk


AVAILABLE DISK SELECTIONS:
       0. c8t0d0 
          /pci@0,0/pci15ad,1976@10/sd@0,0
       1. c9t0d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@0,0
       2. c9t1d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@1,0
       3. c9t2d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@2,0
       4. c9t3d0 
          /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@3,0
Specify disk (enter its number)[3]: 4
selecting c9t3d0
[disk formatted]
No Solaris fdisk partition found.
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: 2557 + 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 - 2556        4.99GB    (2557/0/0) 10473472
  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        2.00MB    (1/0/0)        4096
  9 unassigned    wm       0               0         (0/0/0)           0

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

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

partition> p
Current partition table (unnamed):
Total disk cylinders available: 2557 + 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 - 2556        4.99GB    (2557/0/0) 10473472
  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       1 - 2556        4.99GB    (2556/0/0) 10469376
  7 unassigned    wm       0               0         (0/0/0)           0
  8       boot    wu       0 -    0        2.00MB    (1/0/0)        4096
  9 unassigned    wm       0               0         (0/0/0)           0

partition> q


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> q
root@solrac1:~#





- Create group and users:



root@solrac1:~# groupadd dba
root@solrac1:~# useradd -g dba -d /export/home/oracle -m oracle
80 blocks
root@solrac1:~# useradd -g dba -d /export/home/grid -m grid
80 blocks
root@solrac1:~# passwd oracle
New Password:
Re-enter new Password:
passwd: password successfully changed for oracle
root@solrac1:~# passwd grid
New Password:
Re-enter new Password:
passwd: password successfully changed for grid
root@solrac1:~#

- Changing device permissions:


root@solrac1:~# ls -lrt /dev/rdsk/c9t*d0s6
lrwxrwxrwx   1 root     root          64 Sep  2 11:56 /dev/rdsk/c9t0d0s6 -> ../../devices/pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@0,0:g,raw
lrwxrwxrwx   1 root     root          64 Sep  2 11:56 /dev/rdsk/c9t2d0s6 -> ../../devices/pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@2,0:g,raw
lrwxrwxrwx   1 root     root          64 Sep  2 11:56 /dev/rdsk/c9t1d0s6 -> ../../devices/pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@1,0:g,raw
lrwxrwxrwx   1 root     root          64 Sep  2 11:56 /dev/rdsk/c9t3d0s6 -> ../../devices/pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@3,0:g,raw
root@solrac1:~#


root@solrac1:~# ls -lLh /dev/rdsk/c9t*d0s6
crw-r-----   1 root     sys      206, 134 Sep  3 07:04 /dev/rdsk/c9t0d0s6
crw-r-----   1 root     sys      206, 198 Sep  3 07:05 /dev/rdsk/c9t1d0s6
crw-r-----   1 root     sys      206, 262 Sep  3 07:05 /dev/rdsk/c9t2d0s6
crw-r-----   1 root     sys      206, 326 Sep  3 07:05 /dev/rdsk/c9t3d0s6
root@solrac1:~#
root@solrac1:~# chmod 660 /dev/rdsk/c9t*d0s6
root@solrac1:~# ls -lLh /dev/rdsk/c9t*d0s6
crw-rw----   1 root     sys      206, 134 Sep  3 07:19 /dev/rdsk/c9t0d0s6
crw-rw----   1 root     sys      206, 198 Sep  3 07:19 /dev/rdsk/c9t1d0s6
crw-rw----   1 root     sys      206, 262 Sep  3 07:19 /dev/rdsk/c9t2d0s6
crw-rw----   1 root     sys      206, 326 Sep  3 07:19 /dev/rdsk/c9t3d0s6


root@solrac1:~# chown -R grid:dba /dev/rdsk/c9t*d0s6
root@solrac1:~# ls -lLh /dev/rdsk/c9t*d0s6
crw-rw----   1 grid     dba      206, 134 Sep  3 07:19 /dev/rdsk/c9t0d0s6
crw-rw----   1 grid     dba      206, 198 Sep  3 07:19 /dev/rdsk/c9t1d0s6
crw-rw----   1 grid     dba      206, 262 Sep  3 07:19 /dev/rdsk/c9t2d0s6
crw-rw----   1 grid     dba      206, 326 Sep  3 07:19 /dev/rdsk/c9t3d0s6
root@solrac1:~#



- Configure Kernel parameters:

root@solrac1:~#projadd -U grid -K "project.max-shm-memory=(priv,6g,deny)" user.grid
root@solrac1:~#projmod -sK "project.max-sem-nsems=(priv,512,deny)" user.grid
root@solrac1:~#projmod -sK "project.max-sem-ids=(priv,128,deny)" user.grid
root@solrac1:~#projmod -sK "project.max-shm-ids=(priv,128,deny)" user.grid
root@solrac1:~#projmod -sK "project.max-shm-memory=(priv,6g,deny)" user.grid
root@solrac1:~#projadd -U oracle -K "project.max-shm-memory=(priv,6g,deny)" user.oracle
root@solrac1:~#projmod -sK "project.max-sem-nsems=(priv,512,deny)" user.oracle
root@solrac1:~#projmod -sK "project.max-sem-ids=(priv,128,deny)" user.oracle
root@solrac1:~#projmod -sK "project.max-shm-ids=(priv,128,deny)" user.oracle
root@solrac1:~#projmod -sK "project.max-shm-memory=(priv,6g,deny)" user.oracle
root@solrac1:~#/usr/sbin/projmod -sK "process.max-file-descriptor=(priv,65536,deny)" user.oracle
root@solrac1:~#/usr/sbin/projmod -sK "process.max-file-descriptor=(priv,65536,deny)" user.grid

create file system for GI, RDBMS Home and change permissions:

root@solrac1:/rpool/solrepo# zfs create -o mountpoint=/grid rpool/grid
root@solrac1:/rpool/solrepo# zfs create -o mountpoint=/oracle rpool/oracle
root@solrac1:/rpool/solrepo# chmod -R 775 /grid
root@solrac1:/rpool/solrepo# chmod -R 775 /oracle
root@solrac1:/rpool/solrepo# chown -R grid:dba /grid
root@solrac1:/rpool/solrepo# chown -R oracle:dba /oracle
root@solrac1:/rpool/solrepo#

- configuring IP address for Private interconnect:

root@solrac1:~# dladm show-phys
LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
net1              Ethernet             up         1000   full      e1000g1
net0              Ethernet             up         1000   full      e1000g0
root@solrac1:~# ipadm create-ip net1
root@solrac1:~# ipadm create-addr -T static -a local=10.10.1.11/8 net1/addr
root@solrac1:~# dladm show-phys
LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
net1              Ethernet             up         1000   full      e1000g1
net0              Ethernet             up         1000   full      e1000g0
root@solrac1:~#

- Configure /etc/hosts file:


root@solrac1:~# cat /etc/hosts
#
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# Internet host table
#
#::1            localhost
127.0.0.1       localhost loghost
192.168.1.161   solrac1.orasol.com       solrac1 loghost
192.168.1.162   solrac2.orasol.com      solrac2
#Private
10.10.1.11      solrac1-priv.orasol.com  solrac1-priv
10.10.1.12      solrac2-priv.orasol.com  solrac2-priv
#VIP
192.168.1.166   solrac1-vip.orasol.com  solrac1-vip
192.168.1.167   solrac2-vip.orasol.com  solrac2-vip

root@solrac1:~#


- Edit the virtual machine configuration file to make additional disks share able:



- Edit parameters in file listed only in blue colour:

.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "7"
floppy0.present = "FALSE"
mks.enable3d = "TRUE"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
nvram = "solrac1.nvram"
virtualHW.productCompatibility = "hosted"
ft.secondary0.enabled = "TRUE"
tools.upgrade.policy = "useGlobal"
powerType.powerOff = "soft"
powerType.powerOn = "hard"
powerType.suspend = "hard"
powerType.reset = "soft"

displayName = "solrac1"
extendedConfigFile = "solrac1.vmxf"

scsi0.present = "TRUE"
scsi0.sharedBus = "none"
scsi0.virtualDev = "lsilogic"
memsize = "6144"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "solrac1.vmdk"
scsi0:0.writeThrough = "TRUE"
ide1:0.present = "TRUE"
ide1:0.fileName = "C:\Virtual Machines\SolX64_DB12c.iso"
ide1:0.deviceType = "cdrom-image"
ide1:0.allowGuestConnectionControl = "FALSE"
ethernet0.present = "TRUE"
ethernet0.allowGuestConnectionControl = "FALSE"
ethernet0.virtualDev = "e1000"
ethernet0.features = "1"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.networkName = "Bridged"
ethernet0.addressType = "generated"
usb.present = "TRUE"
ehci.present = "TRUE"
guestOS = "solaris10-64"
uuid.location = "56 4d 1e a2 3b cf c4 7c-15 23 76 a1 e9 b5 3a 38"
uuid.bios = "56 4d 1e a2 3b cf c4 7c-15 23 76 a1 e9 b5 3a 38"
vc.uuid = "52 13 67 f3 ac 07 7d a5-d0 a3 0c 5d 36 14 43 63"

disk.locking = "FALSE"
disKLib.datacacheMaxsize= "0"
disKLib.datacacheMaxReadAheadsize= "0"
disKLib.datacacheMinReadAheadsize= "0"
disKLib.datacachepagesize= "4096"
disKLib.maxUnsynceWrites = "0"

scsi1.present = "TRUE"
scsi1.sharedBus = "none"
scsi1.virtualDev = "lsilogic"
scsi1:0.present = "TRUE"

scsi1:0.fileName = "C:\Virtual Machines\sharesol\gdisk1.vmdk"
scsi1:0.writeThrough = "TRUE"
scsi1:0.mode = "independent-persistent"
scsi1:0.deviceType = "disk"

scsi1:1.present = "TRUE"
scsi1:1.fileName = "C:\Virtual Machines\sharesol\gdisk2.vmdk"
scsi1:1.writeThrough = "TRUE"
scsi1:1.mode = "independent-persistent"
scsi1:1.deviceType = "disk"


scsi1:2.present = "TRUE"
scsi1:2.fileName = "C:\Virtual Machines\sharesol\datadisk1.vmdk"
scsi1:2.writeThrough = "TRUE"
scsi1:2.mode = "independent-persistent"
scsi1:2.deviceType = "disk"


scsi1:3.present = "TRUE"
scsi1:3.fileName = "C:\Virtual Machines\sharesol\datadisk2.vmdk"
scsi1:3.writeThrough = "TRUE"
scsi1:3.mode = "independent-persistent"
scsi1:3.deviceType = "disk"


ethernet1.present = "TRUE"
ethernet1.allowGuestConnectionControl = "FALSE"
ethernet1.virtualDev = "e1000"
ethernet1.features = "1"
ethernet1.wakeOnPcktRcv = "FALSE"
ethernet1.networkName = "Bridged"
ethernet1.addressType = "generated"

ethernet0.generatedAddress = "00:0c:29:b5:3a:38"
ethernet1.generatedAddress = "00:0c:29:b5:3a:42"
tools.syncTime = "FALSE"
scsi0:0.redo = ""
scsi1:0.redo = ""
scsi1:1.redo = ""
scsi1:2.redo = ""
scsi1:3.redo = ""
vmotion.checkpointFBSize = "134217728"
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
scsi1.pciSlotNumber = "32"
usb.pciSlotNumber = "33"
ethernet0.pciSlotNumber = "34"
ethernet1.pciSlotNumber = "35"
ehci.pciSlotNumber = "36"
vmci0.pciSlotNumber = "37"
ethernet0.generatedAddressOffset = "0"
ethernet1.generatedAddressOffset = "10"
vmci0.id = "-373999047"
tools.remindInstall = "FALSE"

ide1:0.startConnected = "FALSE"



- Clone virtual machine for RAC 

  • create folder solrac2
  • copy all files of solrac1 to folder solrac2
  • rename file solrac1.vmx to solrac2.vmx
  • chnage displayName to solrac2
- Add virtual machine to Inventory:



-  Power ON virtual machine





- Change Hostname and IP addresses:



- Changed hotsname from solrac1 to solarc2




- Changed IP address of both interfaces for solrac2


 - Verify /etc/hosts file




- Make sure shared devices are visible with proper privileges



- Make sure that Public and private networks are repsonding to each other and they are able to resolve scan name. "scan-solrac" has been configured on windows DNS Server.

- If you don't have DNS Server then you can keep one single entry in /etc/hosts file. configuring scan in hosts file is not recommended by oracle.



- Entries added in Windows DNS Server:



- Make sure that Display variable is working properly




Part3:-    Installation of 12c Grid Infrastructure software

Insert iso image of 12c Grid Infrastructure software for solarisX86-64Bit

Start Installer











- Add entry for second node which is going to be a part of cluster
- Provide scan-name as "scan-solrac"



- Provide "grid" user password and run setup SSH




- Setup of ssh completed successfully.



- Provide location of ORACLE_BASE
- Select Cluster Registry Storage  Type - Oracle Automatic Storage management





- Provide Disk Group Name as GIRD  for OCR and Voting Disk.
- select first 2 disks (2GB) with external redundancy




It seems to be a bug. Though provided password was correct Installer was not accepting it. This is the new option introduced in 12c. It will be really helpful if it could run scripts on its own.


- deselect that option




- Click on Fix & check Again option, it will prompt you to run fixup script


- Error details


- Run fixup script



- again running pre-requisite checks




- Reboot node2 (solrac2) and check again, it should be successfull









- Running orainstRoot.sh and root.sh scripts on  both nodes as mentioned




root@solrac1:~# /grid/12.1.0/grid_1/root.sh
Performing root user operation for Oracle 12c

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /grid/12.1.0/grid_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Creating /usr/local/bin directory...
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /var/opt/oracle/oratab file...
Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /grid/12.1.0/grid_1/crs/install/crsconfig_params
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
2013/09/04 09:03:13 CLSRSC-330: Adding Clusterware entries to file '/etc/inittab'

CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'solrac1'
CRS-2677: Stop of 'ora.drivers.acfs' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'solrac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'solrac1'
CRS-2676: Start of 'ora.mdnsd' on 'solrac1' succeeded
CRS-2676: Start of 'ora.evmd' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'solrac1'
CRS-2676: Start of 'ora.gpnpd' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'solrac1'
CRS-2672: Attempting to start 'ora.gipcd' on 'solrac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'solrac1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'solrac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'solrac1'
CRS-2676: Start of 'ora.diskmon' on 'solrac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'solrac1' succeeded

ASM created and started successfully.

Disk Group GRID created successfully.

CRS-2672: Attempting to start 'ora.storage' on 'solrac1'
CRS-2676: Start of 'ora.storage' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'solrac1'
CRS-2676: Start of 'ora.crsd' on 'solrac1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk d7270a67c8cf4f2fbf11498bcb897712.
Successfully replaced voting disk group with +GRID.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   d7270a67c8cf4f2fbf11498bcb897712 (/dev/rdsk/c9t0d0s6) [GRID]
Located 1 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'solrac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'solrac1'
CRS-2677: Stop of 'ora.crsd' on 'solrac1' succeeded
CRS-2673: Attempting to stop 'ora.storage' on 'solrac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'solrac1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'solrac1'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'solrac1'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'solrac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'solrac1'
CRS-2677: Stop of 'ora.drivers.acfs' on 'solrac1' succeeded
CRS-2677: Stop of 'ora.storage' on 'solrac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'solrac1'
CRS-2677: Stop of 'ora.gpnpd' on 'solrac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'solrac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'solrac1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'solrac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'solrac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'solrac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'solrac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'solrac1'
CRS-2677: Stop of 'ora.cssd' on 'solrac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'solrac1'
CRS-2677: Stop of 'ora.gipcd' on 'solrac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'solrac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.mdnsd' on 'solrac1'
CRS-2672: Attempting to start 'ora.evmd' on 'solrac1'
CRS-2676: Start of 'ora.mdnsd' on 'solrac1' succeeded
CRS-2676: Start of 'ora.evmd' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'solrac1'
CRS-2676: Start of 'ora.gpnpd' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'solrac1'
CRS-2676: Start of 'ora.gipcd' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'solrac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'solrac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'solrac1'
CRS-2676: Start of 'ora.diskmon' on 'solrac1' succeeded
CRS-2789: Cannot stop resource 'ora.diskmon' as it is not running on server 'solrac1'
CRS-2676: Start of 'ora.cssd' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'solrac1'
CRS-2672: Attempting to start 'ora.ctssd' on 'solrac1'
CRS-2676: Start of 'ora.ctssd' on 'solrac1' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'solrac1'
CRS-2676: Start of 'ora.asm' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'solrac1'
CRS-2676: Start of 'ora.storage' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'solrac1'
CRS-2676: Start of 'ora.crsd' on 'solrac1' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: solrac1
CRS-6016: Resource auto-start has completed for server solrac1
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2013/09/04 09:09:56 CLSRSC-343: Successfully started Oracle clusterware stack

CRS-2672: Attempting to start 'ora.asm' on 'solrac1'
CRS-2676: Start of 'ora.asm' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.GRID.dg' on 'solrac1'
CRS-2676: Start of 'ora.GRID.dg' on 'solrac1' succeeded
2013/09/04 09:14:18 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded



root@solrac2:~# /grid/12.1.0/grid_1/root.sh
Performing root user operation for Oracle 12c

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /grid/12.1.0/grid_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Creating /usr/local/bin directory...
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /var/opt/oracle/oratab file...
Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /grid/12.1.0/grid_1/crs/install/crsconfig_pa                       rams
OLR initialization - successful
2013/09/04 09:22:14 CLSRSC-330: Adding Clusterware entries to file '/etc/inittab'

CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'solrac2'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'solrac2'
CRS-2677: Stop of 'ora.drivers.acfs' on 'solrac2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'solrac2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.evmd' on 'solrac2'
CRS-2672: Attempting to start 'ora.mdnsd' on 'solrac2'
CRS-2676: Start of 'ora.mdnsd' on 'solrac2' succeeded
CRS-2676: Start of 'ora.evmd' on 'solrac2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'solrac2'
CRS-2676: Start of 'ora.gpnpd' on 'solrac2' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'solrac2'
CRS-2676: Start of 'ora.gipcd' on 'solrac2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'solrac2'
CRS-2676: Start of 'ora.cssdmonitor' on 'solrac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'solrac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'solrac2'
CRS-2676: Start of 'ora.diskmon' on 'solrac2' succeeded
CRS-2789: Cannot stop resource 'ora.diskmon' as it is not running on server 'solrac2'
CRS-2676: Start of 'ora.cssd' on 'solrac2' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'solrac2'
CRS-2672: Attempting to start 'ora.ctssd' on 'solrac2'
CRS-2676: Start of 'ora.ctssd' on 'solrac2' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'solrac2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'solrac2'
CRS-2676: Start of 'ora.asm' on 'solrac2' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'solrac2'
CRS-2676: Start of 'ora.storage' on 'solrac2' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'solrac2'
CRS-2676: Start of 'ora.crsd' on 'solrac2' succeeded
CRS-6017: Processing resource auto-start for servers: solrac2
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'solrac1'
CRS-2672: Attempting to start 'ora.ons' on 'solrac2'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'solrac1' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'solrac1'
CRS-2677: Stop of 'ora.scan1.vip' on 'solrac1' succeeded
CRS-2672: Attempting to start 'ora.scan1.vip' on 'solrac2'
CRS-2676: Start of 'ora.scan1.vip' on 'solrac2' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'solrac2'
CRS-2676: Start of 'ora.ons' on 'solrac2' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'solrac2' succeeded
CRS-6016: Resource auto-start has completed for server solrac2
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2013/09/04 09:26:41 CLSRSC-343: Successfully started Oracle clusterware stack

2013/09/04 09:27:11 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

root@solrac2:~#

- All scripts completed successfully on both nodes







- Make sure all Grid Infrastructure Services are now up and running on both nodes

- Create Disk Group Data for Oracle Database:

- Login as grid user
- Source environment variable
- Make sure display is working properly
- Run asmca










Part4:- Installation and creation of 12c RAC Database

- Login with Oracle user
- Make sure that Display variable is working 
- Start Installer








- Select "Install Database software only"





- ssh was not setup for user oracle
- provide password for oracle user and run "setup ssh"

















- root.sh  completed successfully on both nodes
- close Installation screen

Installation of Oracle Database software completed successfully.

Creation of  12c RAC database using DBCA:

 - set RDBMS oracle environment
 - Make sure DISPLAY is working 
 - execute "dbca" for creation of database


- Provide database name - DBPROD
- Provide disk group "+DATA" for storing datafiles
- Provide Name for Pluggable database - PDB1




- Ignore this error as this is for just swap and already we have sufficient swap configured








- Database creation completed successfully.
- Source the environment variables and connect to database to verify Instances:


I believe this post will  be helpful for every individual who want to Install and configure Oracle 12c RAC database on a Solaris platform.

thanks,
X A H E E R

9 comments:

Anonymous said...

You made some reаlly good points therе. I looked on the net for more info about thе iѕsue and found most indivіduals will go аlong with your vіews on this sitе.


My wеbρage ... early education

Wes Gibbs said...

Hello, great job putting this together.

I'm working through the same installation and have an issue and was hoping you might be able to point me in the right direction. My problem is with the "Changing device permissions" section. When I run the "ls -lrt" commands, the disks that were created (2/2/5/5GBs) are not displaying. Not sure where I went wrong. When I created the 4 disks with VMware it went smooth. I run the "sudo format" and see the 4 new disks too. But they do not show up when I run the "ls -lrt" command.

Wes Gibbs said...

I found my issue with the post I made earlier, I was not running the label command at the end of the format process, as a result my setting were not be persisted.

I'm dealing with a different issue now that I've been stuck on. The section in your post labeled: "Edit parameters in file listed only in blue colour". My vmx file doesn't have the parameters that you put in blue font. I'm thinking it's due to me having the most current version of VMware Workstation 10, and maybe they've changed something. I have a 2 node RAC, both nodes have the two shared 5GB drives configured to for their use. My problem, is when I start the 2nd Node of the RAC, it says that the two 5GB drives are locked, cause the first rac node already has a lock on it. Any ideas on how\why I can get these shared?

Wes Gibbs said...

Okay, last post for me, I didn't realize that the parameters in blue font were new params, I added the new params on both VMs, and then was able to start both Solaris VMs within my 2 node RAC while each were using the same 5GB data disks. Thank you for your work on this post once again.

Syed Zaheer said...

Hi Gibbs,

Thanks for reading my post.

Its good to know that my post helped you for configuring 12c RAC on solaris.

regards,
Zaheer

Arun Kumar said...

I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Oracle Solaris, kindly contact us http://www.maxmunus.com/contact
MaxMunus Offer World Class Virtual Instructor led training on Oracle Solaris. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
For Demo Contact us:
Name : Arunkumar U
Email : arun@maxmunus.com
Skype id: training_maxmunus
Contact No.-+91-9738507310
Company Website –http://www.maxmunus.com


Sagar R said...

I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Oracle Pre _RAC Installation, kindly contact us http://www.maxmunus.com/contact
MaxMunus Offer World Class Virtual Instructor led training on Oracle Pre _RAC Installation. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
For Demo Contact us:
Name : Arunkumar U
Email : arun@maxmunus.com
Skype id: training_maxmunus
Contact No.-+91-9738507310
Company Website –http://www.maxmunus.com



Blogger said...

Searching for the Ultimate Dating Website? Join to find your perfect date.

Blogger said...

BlueHost is definitely the best hosting provider for any hosting services you require.