• No results found

Oracle Grid Infrastructure Install

Basic Grid Infrastructure Install (without GNS and IPMI)

As the grid user (Grid Infrastructure software owner) start the installer by running "runInstaller" from the staged installation media.

NOTE: Be sure the installer is run as the intended software owner, the only supported method to change the software owner is to reinstall.

#xhost +

#su - grid

cd into the folder where you staged the Grid Infrastructure software ./runInstaller

Action:

Select radio button 'Install and Configure Grid Infrastructure for a Cluster' and click ' Next> '

23 Action:

Select radio button 'Advanced Installation' and click ' Next> '

24 Action:

Accept 'English' as language' and click ' Next> '

25 Action:

Specify your cluster name and the SCAN name you want to use and click ' Next> ' Note:

Make sure 'Configure GNS' is NOT selected.

26 Action:

Use the Edit and Add buttons to specify the node names and virtual IP addresses you configured previously in your /etc/hosts file. Use the 'SSH Connectivity' button to configure/test the passwordless SSH connectivity between your nodes.

ACTION:

Type in the OS password for the user 'grid' and press 'Setup'

27 After click ' OK '

Action:

Click on 'Interface Type' next to the Interfaces you want to use for your cluster and select the correct values for 'Public' and 'Private' and '. When finished click ' Next> '

28 Action:

Select radio button 'Automatic Storage Management (ASM) and click ' Next> '

29 Action:

Select the 'DiskGroup Name' specify the 'Redundancy' and tick the disks you want to use, when done click ' Next> '

NOTE: The number of voting disks that will be created depend on the redundancy level you specify:

EXTERNAL will create 1 voting disk, NORMAL will create 3 voting disks, HIGH will create 5 voting disks.

NOTE: If you see an empty screen for your candidate disks it is likely that ASMLib has not been properly configured. If you are sure that ASMLib has been properly configured click on 'Change Discovery Path' and provide the correct destination.

30 Action:

Specify and conform the password you want to use and click ' Next> '

31 Action:

Select NOT to use IPMI and click ' Next> '

32 Action:

Select if you wish to Register with EM Cloud control and click ' Next> '

33 Action:

Assign the correct OS groups for OS authentication and click ' Next> '

34 Action:

Specify the locations for your ORACLE_BASE and for the Software location and click ' Next> '

35 Action:

Specify the locations for your Inventory directory and click ' Next> '

36 Action:

Specify the required credential if you wish to automatically run configuration scripts and click 'Next> '

37 Action:

Check that status of all checks is Succeeded and click ' Next> ' Note:

If you have failed checks marked as 'Fixable' click 'Fix & Check again'. This will bring up the window Action:

Execute the runfixup.sh script as described on the screen as root user

38 Action:

Wait for the OUI to complete its tasks, After it completes the copying of binaries to all the nodes of the cluster, it will bring up a pop up window.

At this point you may need to run oraInstRoot.sh on all cluster nodes (if this is the first installation of an Oracle product on this system).

[root@cehaovmsp145 ~]# /u01/app/oraInventory/orainstRoot.sh

root.sh script output on Node 1

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

[root@cehaovmsp145 ~]# /u01/app/12.1.0/grid/root.sh Performing root user operation.

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/app/12.1.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The contents of "dbhome" have not changed. No need to overwrite.

The contents of "oraenv" have not changed. No need to overwrite.

The contents of "coraenv" have not changed. No need to overwrite.

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

39

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: /u01/app/12.1.0/grid/crs/install/crsconfig_params 2015/09/12 20:44:44 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.

2015/09/12 20:45:19 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.

2015/09/12 20:45:21 CLSRSC-363: User ignored prerequisites during installation

OLR initialization - successful root wallet

root wallet cert root cert export peer wallet

profile reader wallet pa wallet

2015/09/12 20:46: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-2672: Attempting to start 'ora.evmd' on 'cehaovmsp145' CRS-2672: Attempting to start 'ora.mdnsd' on 'cehaovmsp145' CRS-2676: Start of 'ora.mdnsd' on 'cehaovmsp145' succeeded CRS-2676: Start of 'ora.evmd' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'cehaovmsp145' CRS-2676: Start of 'ora.gpnpd' on 'cehaovmsp145' succeeded

CRS-2672: Attempting to start 'ora.cssdmonitor' on 'cehaovmsp145' CRS-2672: Attempting to start 'ora.gipcd' on 'cehaovmsp145' CRS-2676: Start of 'ora.cssdmonitor' on 'cehaovmsp145' succeeded CRS-2676: Start of 'ora.gipcd' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'cehaovmsp145' CRS-2672: Attempting to start 'ora.diskmon' on 'cehaovmsp145' CRS-2676: Start of 'ora.diskmon' on 'cehaovmsp145' succeeded CRS-2676: Start of 'ora.cssd' on 'cehaovmsp145' succeeded ASM created and started successfully.

Disk Group OCRVD created successfully.

CRS-2672: Attempting to start 'ora.crf' on 'cehaovmsp145' CRS-2672: Attempting to start 'ora.storage' on 'cehaovmsp145' CRS-2676: Start of 'ora.storage' on 'cehaovmsp145' succeeded CRS-2676: Start of 'ora.crf' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'cehaovmsp145' CRS-2676: Start of 'ora.crsd' on 'cehaovmsp145' succeeded CRS-4256: Updating the profile

Successful addition of voting disk ae201939c23b4f12bf57fceabf2ad60f.

Successfully replaced voting disk group with +OCRVD.

CRS-4256: Updating the profile

CRS-4266: Voting file(s) successfully replaced

## STATE File Universal Id File Name Disk group -- --- --- --- ---

1. ONLINE ae201939c23b4f12bf57fceabf2ad60f (/dev/oracleasm/disks/OCR_VOTE01) [OCRVD]

Located 1 voting disk(s).

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'cehaovmsp145'

CRS-2673: Attempting to stop 'ora.crsd' on 'cehaovmsp145' CRS-2677: Stop of 'ora.crsd' on 'cehaovmsp145' succeeded

40

CRS-2673: Attempting to stop 'ora.ctssd' on 'cehaovmsp145' CRS-2673: Attempting to stop 'ora.evmd' on 'cehaovmsp145' CRS-2673: Attempting to stop 'ora.storage' on 'cehaovmsp145' CRS-2673: Attempting to stop 'ora.mdnsd' on 'cehaovmsp145' CRS-2673: Attempting to stop 'ora.gpnpd' on 'cehaovmsp145'

CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'cehaovmsp145' CRS-2677: Stop of 'ora.storage' on 'cehaovmsp145' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'cehaovmsp145'

CRS-2677: Stop of 'ora.drivers.acfs' on 'cehaovmsp145' succeeded CRS-2677: Stop of 'ora.ctssd' on 'cehaovmsp145' succeeded

CRS-2677: Stop of 'ora.evmd' on 'cehaovmsp145' succeeded CRS-2677: Stop of 'ora.mdnsd' on 'cehaovmsp145' succeeded CRS-2677: Stop of 'ora.gpnpd' on 'cehaovmsp145' succeeded CRS-2677: Stop of 'ora.asm' on 'cehaovmsp145' succeeded

CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'cehaovmsp145' CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'cehaovmsp145' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'cehaovmsp145'

CRS-2677: Stop of 'ora.cssd' on 'cehaovmsp145' succeeded CRS-2673: Attempting to stop 'ora.crf' on 'cehaovmsp145' CRS-2677: Stop of 'ora.crf' on 'cehaovmsp145' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'cehaovmsp145' CRS-2677: Stop of 'ora.gipcd' on 'cehaovmsp145' succeeded

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'cehaovmsp145' 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 'cehaovmsp145'

CRS-2672: Attempting to start 'ora.evmd' on 'cehaovmsp145' CRS-2676: Start of 'ora.mdnsd' on 'cehaovmsp145' succeeded CRS-2676: Start of 'ora.evmd' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'cehaovmsp145' CRS-2676: Start of 'ora.gpnpd' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.gipcd' on 'cehaovmsp145' CRS-2676: Start of 'ora.gipcd' on 'cehaovmsp145' succeeded

CRS-2672: Attempting to start 'ora.cssdmonitor' on 'cehaovmsp145' CRS-2676: Start of 'ora.cssdmonitor' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'cehaovmsp145' CRS-2672: Attempting to start 'ora.diskmon' on 'cehaovmsp145' CRS-2676: Start of 'ora.diskmon' on 'cehaovmsp145' succeeded CRS-2676: Start of 'ora.cssd' on 'cehaovmsp145' succeeded

CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'cehaovmsp145' CRS-2672: Attempting to start 'ora.ctssd' on 'cehaovmsp145'

CRS-2676: Start of 'ora.ctssd' on 'cehaovmsp145' succeeded

CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.asm' on 'cehaovmsp145'

CRS-2676: Start of 'ora.asm' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.storage' on 'cehaovmsp145' CRS-2676: Start of 'ora.storage' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.crf' on 'cehaovmsp145' CRS-2676: Start of 'ora.crf' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'cehaovmsp145' CRS-2676: Start of 'ora.crsd' on 'cehaovmsp145' succeeded

CRS-6023: Starting Oracle Cluster Ready Services-managed resources CRS-6017: Processing resource auto-start for servers: cehaovmsp145 CRS-6016: Resource auto-start has completed for server cehaovmsp145

CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources CRS-4123: Oracle High Availability Services has been started.

2015/09/12 20:51:49 CLSRSC-343: Successfully started Oracle Clusterware stack

CRS-2672: Attempting to start 'ora.asm' on 'cehaovmsp145' CRS-2676: Start of 'ora.asm' on 'cehaovmsp145' succeeded CRS-2672: Attempting to start 'ora.OCRVD.dg' on 'cehaovmsp145' CRS-2676: Start of 'ora.OCRVD.dg' on 'cehaovmsp145' succeeded

2015/09/12 20:53:00 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

[root@cehaovmsp146 ~]# /u01/app/oraInventory/orainstRoot.sh

root.sh script output on Node 2

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

41

[root@cehaovmsp146 ~]# /u01/app/12.1.0/grid/root.sh Performing root user operation.

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/app/12.1.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The contents of "dbhome" have not changed. No need to overwrite.

The contents of "oraenv" have not changed. No need to overwrite.

The contents of "coraenv" have not changed. No need to overwrite.

Creating /etc/oratab file...

Entries will be added to the /etc/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: /u01/app/12.1.0/grid/crs/install/crsconfig_params 2015/09/12 21:02:53 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.

2015/09/12 21:03:23 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.

2015/09/12 21:03:25 CLSRSC-363: User ignored prerequisites during installation

OLR initialization - successful

2015/09/12 21:05:12 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 'cehaovmsp146'

CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'cehaovmsp146' CRS-2677: Stop of 'ora.drivers.acfs' on 'cehaovmsp146' succeeded

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'cehaovmsp146' 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 'cehaovmsp146'

CRS-2672: Attempting to start 'ora.evmd' on 'cehaovmsp146' CRS-2676: Start of 'ora.mdnsd' on 'cehaovmsp146' succeeded CRS-2676: Start of 'ora.evmd' on 'cehaovmsp146' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'cehaovmsp146' CRS-2676: Start of 'ora.gpnpd' on 'cehaovmsp146' succeeded CRS-2672: Attempting to start 'ora.gipcd' on 'cehaovmsp146' CRS-2676: Start of 'ora.gipcd' on 'cehaovmsp146' succeeded

CRS-2672: Attempting to start 'ora.cssdmonitor' on 'cehaovmsp146' CRS-2676: Start of 'ora.cssdmonitor' on 'cehaovmsp146' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'cehaovmsp146' CRS-2672: Attempting to start 'ora.diskmon' on 'cehaovmsp146' CRS-2676: Start of 'ora.diskmon' on 'cehaovmsp146' succeeded CRS-2676: Start of 'ora.cssd' on 'cehaovmsp146' succeeded

CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'cehaovmsp146' CRS-2672: Attempting to start 'ora.ctssd' on 'cehaovmsp146'

CRS-2676: Start of 'ora.ctssd' on 'cehaovmsp146' succeeded

CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'cehaovmsp146' succeeded CRS-2672: Attempting to start 'ora.asm' on 'cehaovmsp146'

CRS-2676: Start of 'ora.asm' on 'cehaovmsp146' succeeded CRS-2672: Attempting to start 'ora.storage' on 'cehaovmsp146' CRS-2676: Start of 'ora.storage' on 'cehaovmsp146' succeeded CRS-2672: Attempting to start 'ora.crf' on 'cehaovmsp146' CRS-2676: Start of 'ora.crf' on 'cehaovmsp146' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'cehaovmsp146' CRS-2676: Start of 'ora.crsd' on 'cehaovmsp146' succeeded

CRS-6017: Processing resource auto-start for servers: cehaovmsp146 CRS-2672: Attempting to start 'ora.net1.network' on 'cehaovmsp146' CRS-2676: Start of 'ora.net1.network' on 'cehaovmsp146' succeeded CRS-2672: Attempting to start 'ora.ons' on 'cehaovmsp146'

CRS-2676: Start of 'ora.ons' on 'cehaovmsp146' succeeded

CRS-6016: Resource auto-start has completed for server cehaovmsp146

CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources CRS-4123: Oracle High Availability Services has been started.

2015/09/12 21:08:43 CLSRSC-343: Successfully started Oracle Clusterware stack

2015/09/12 21:09:00 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ...

succeeded

42 Action:

Wait for the OUI to finish the cluster configuration.

43 Action:

You should see the confirmation that installation of the Grid Infrastructure was successful. Click 'Close' to finish the install.

[root@cehaovmsp145 ~]# crsctl stat res -t

---

44

Status of Oracle Cluster Registry is as follows : Version : 4

[root@cehaovmsp145 ~]# crsctl query css votedisk

## STATE File Universal Id File Name Disk group -- --- --- --- ---

1. ONLINE ae201939c23b4f12bf57fceabf2ad60f (/dev/oracleasm/disks/OCR_VOTE01) [OCRVD]

Located 1 voting disk(s).

[root@cehaovmsp145 ~]# crsctl check cluster -all

**************************************************************

cehaovmsp145:

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online

**************************************************************

cehaovmsp146:

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online

**************************************************************

45

Related documents