Advertisement

Friday, September 7, 2018

Oracle Database 18c: Oracle Restart Installation Part 2/2 - Install

This blog is in continuation with my previous blog of Pre-req completion for Restart Installation on OEL 7.3

In this blog we do the installation. 


unzip -qq LINUX.X64_180000_grid_home.zip 

Run pre-req check

cd /u01/app/180/grid

[grid@asm18cbox grid]$ ./runcluvfy.sh stage -pre crsinst -n asm18cbox

Verifying Physical Memory ...PASSED
Verifying Available Physical Memory ...PASSED
Verifying Swap Size ...PASSED
Verifying Free Space: asm18cbox:/usr,asm18cbox:/var,asm18cbox:/etc,asm18cbox:/sbin,asm18cbox:/tmp ...PASSED
Verifying User Existence: grid ...
Verifying Users With Same UID: 54232 ...PASSED
Verifying User Existence: grid ...PASSED
Verifying Group Existence: asmadmin ...PASSED
Verifying Group Existence: asmdba ...FAILED (PRVG-10461)
Verifying Group Existence: oinstall ...PASSED
Verifying Group Membership: asmdba ...FAILED (PRVG-10460)
Verifying Group Membership: asmadmin ...PASSED
Verifying Group Membership: oinstall(Primary) ...PASSED
Verifying Run Level ...PASSED
Verifying Architecture ...PASSED
Verifying OS Kernel Version ...PASSED
Verifying OS Kernel Parameter: semmsl ...PASSED
Verifying OS Kernel Parameter: semmns ...PASSED
Verifying OS Kernel Parameter: semopm ...PASSED
Verifying OS Kernel Parameter: semmni ...PASSED
Verifying OS Kernel Parameter: shmmax ...PASSED
Verifying OS Kernel Parameter: shmmni ...PASSED
Verifying OS Kernel Parameter: shmall ...PASSED
Verifying OS Kernel Parameter: file-max ...PASSED
Verifying OS Kernel Parameter: ip_local_port_range ...PASSED
Verifying OS Kernel Parameter: rmem_default ...PASSED
Verifying OS Kernel Parameter: rmem_max ...PASSED
Verifying OS Kernel Parameter: wmem_default ...PASSED
Verifying OS Kernel Parameter: wmem_max ...PASSED
Verifying OS Kernel Parameter: aio-max-nr ...PASSED
Verifying OS Kernel Parameter: panic_on_oops ...PASSED
Verifying Package: binutils-2.23.52.0.1 ...PASSED
Verifying Package: compat-libcap1-1.10 ...PASSED
Verifying Package: libgcc-4.8.2 (x86_64) ...PASSED
Verifying Package: libstdc++-4.8.2 (x86_64) ...PASSED
Verifying Package: libstdc++-devel-4.8.2 (x86_64) ...PASSED
Verifying Package: sysstat-10.1.5 ...PASSED
Verifying Package: ksh ...PASSED
Verifying Package: make-3.82 ...PASSED
Verifying Package: glibc-2.17 (x86_64) ...PASSED
Verifying Package: glibc-devel-2.17 (x86_64) ...PASSED
Verifying Package: libaio-0.3.109 (x86_64) ...PASSED
Verifying Package: libaio-devel-0.3.109 (x86_64) ...PASSED
Verifying Package: nfs-utils-1.2.3-15 ...PASSED
Verifying Package: smartmontools-6.2-4 ...PASSED
Verifying Package: net-tools-2.0-0.17 ...PASSED
Verifying Port Availability for component "Oracle Notification Service (ONS)" ...PASSED
Verifying Port Availability for component "Oracle Cluster Synchronization Services (CSSD)" ...PASSED
Verifying Users With Same UID: 0 ...PASSED
Verifying Current Group ID ...PASSED
Verifying Root user consistency ...PASSED
Verifying Host name ...PASSED
Verifying Node Connectivity ...
Verifying Hosts File ...PASSED
Verifying Check that maximum (MTU) size packet goes through subnet ...PASSED
Verifying Node Connectivity ...PASSED
Verifying Multicast or broadcast check ...PASSED
Verifying ASMLib installation and configuration verification. ...
Verifying '/etc/init.d/oracleasm' ...PASSED
Verifying '/dev/oracleasm' ...PASSED
Verifying '/etc/sysconfig/oracleasm' ...PASSED
Verifying ASMLib installation and configuration verification. ...PASSED
Verifying Network Time Protocol (NTP) ...
Verifying '/etc/chrony.conf' ...PASSED
Verifying '/var/run/chronyd.pid' ...PASSED
Verifying Daemon 'chronyd' ...PASSED
Verifying NTP daemon or service using UDP port 123 ...PASSED
Verifying chrony daemon is synchronized with at least one external time source ...PASSED
Verifying Network Time Protocol (NTP) ...PASSED
Verifying Same core file name pattern ...PASSED
Verifying User Mask ...PASSED
Verifying User Not In Group "root": grid ...PASSED
Verifying Time zone consistency ...PASSED
Verifying resolv.conf Integrity ...PASSED
Verifying DNS/NIS name service ...PASSED
Verifying Domain Sockets ...PASSED
Verifying /boot mount ...PASSED
Verifying Daemon "avahi-daemon" not configured and running ...PASSED
Verifying Daemon "proxyt" not configured and running ...PASSED
Verifying User Equivalence ...PASSED
Verifying /dev/shm mounted as temporary file system ...PASSED
Verifying File system mount options for path /var ...PASSED
Verifying zeroconf check ...PASSED
Verifying ASM Filter Driver configuration ...PASSED

Pre-check for cluster services setup was unsuccessful on all the nodes.


Failures were encountered during execution of CVU verification request "stage -pre crsinst".

Verifying Group Existence: asmdba ...FAILED
asm18cbox: PRVG-10461 : Group "asmdba" selected for privileges "OSDBA" does not
exist on node "asm18cbox".

Verifying Group Membership: asmdba ...FAILED
asm18cbox: PRVG-10460 : User "grid" does not belong to group "asmdba" selected
for privileges "OSDBA" on node "asm18cbox".


CVU operation performed: stage -pre crsinst
Date: Sep 7, 2018 8:41:00 AM
CVU home: /u01/app/180/grid/
User: grid

I generally ignore the osdba and asmdba, as the installation will go fine even without that.

Connect as grid user and run the installer 

[grid@asm18cbox ~]$ cd /u01/app/180/grid/

[grid@asm18cbox grid]$ ./gridSetup.sh

Step 1 - Select to install Standalone Server (Oracle Restart)

Step 2 - Select the disks, change the path to "/dev/oracleasm/disks/*" to search for previously created disks.



Step 3 - Set password for ASM users

Step 4 - Select management option if required.

Step 5 - Select OS Groups as given - 



Step 6 - Select Oracle base as "/u01/app/grid"



Step 7 - Select oraInventory location - default is fine - /u01/app/oraInventory 



Step 8 - Uncheck root script execution 



Step 9 - If all prechecks are fine then you will move automatically step 10 



Step 10 - Installation will continue 

Step 11.2 - Run root scripts as when prompted 



Run the oraInst script /u01/app/oraInventory/orainstRoot.sh
[root@asm18cbox ~]# /u01/app/oraInventory/orainstRoot.sh
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.

Now Run the root script /u01/app/180/grid/root.sh
[root@asm18cbox ~]# /u01/app/180/grid/root.sh
Performing root user operation.

The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/180/grid

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


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/180/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/asm18cbox/crsconfig/roothas_2018-09-07_08-55-09AM.log
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node asm18cbox successfully pinned.
2018/09/07 08:55:20 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'asm18cbox'
CRS-2673: Attempting to stop 'ora.evmd' on 'asm18cbox'
CRS-2677: Stop of 'ora.evmd' on 'asm18cbox' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'asm18cbox' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.

asm18cbox 2018/09/07 08:56:31 /u01/app/180/grid/cdata/asm18cbox/backup_20180907_085631.olr 70732493
2018/09/07 08:56:32 CLSRSC-327: Successfully configured Oracle Restart for a standalone server

Step 11.3 - Press Okay after root script execution and the installation continues

This completes the installation of Oracle Restart. 


No comments:
Write comments