Total Pageviews

Wednesday 26 October 2016

Standalone Grid Standalone cluster upgrade 11203 to 11204

[grid@node4 grid]$ ./runcluvfy.sh stage -pre hacfg

Performing pre-checks for Oracle Restart configuration
Total memory check passed
Available memory check passed
Swap space check passed
Free disk space check passed for "node4:/data01/app/11.2.0/grid_11203,node4:/tmp"
Check for multiple users with UID value 201 passed
User existence check passed for "grid"
Group existence check passed for "oinstall"
Group existence check passed for "dba"
Membership check for user "grid" in group "oinstall" [as Primary] passed
Membership check for user "grid" in group "dba" passed
Run level check passed
Hard limits check passed for "maximum open file descriptors"
Soft limits check passed for "maximum open file descriptors"
Hard limits check passed for "maximum user processes"
Soft limits check passed for "maximum user processes"
System architecture check passed
Kernel version check passed
Kernel parameter check passed for "semmsl"
Kernel parameter check passed for "semmns"
Kernel parameter check passed for "semopm"
Kernel parameter check passed for "semmni"
Kernel parameter check passed for "shmmax"
Kernel parameter check passed for "shmmni"
Kernel parameter check passed for "shmall"
Kernel parameter check passed for "file-max"
Kernel parameter check passed for "ip_local_port_range"
Kernel parameter check passed for "rmem_default"
Kernel parameter check passed for "rmem_max"
Kernel parameter check passed for "wmem_default"
Kernel parameter check passed for "wmem_max"
Kernel parameter check passed for "aio-max-nr"
Package existence check passed for "binutils"
Package existence check passed for "compat-libcap1"
Package existence check passed for "compat-libstdc++-33(x86_64)"
Package existence check passed for "libgcc(x86_64)"
Package existence check passed for "libstdc++(x86_64)"
Package existence check passed for "libstdc++-devel(x86_64)"
Package existence check passed for "sysstat"
Package existence check passed for "gcc"
Package existence check passed for "gcc-c++"
Package existence check passed for "ksh"
Package existence check passed for "make"
Package existence check passed for "glibc(x86_64)"
Package existence check passed for "glibc-devel(x86_64)"
Package existence check passed for "libaio(x86_64)"
Package existence check passed for "libaio-devel(x86_64)"
Check for multiple users with UID value 0 passed
Current group ID check passed

Starting check for consistency of primary group of root user

Check for consistency of root user's primary group passed

Pre-check for Oracle Restart configuration was successful.


[root@node4 ~]# cat /home/grid/grid_oraclerestart_upgrade.rsp  | grep -i '=' | grep -v '#'
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v11_2_0
ORACLE_HOSTNAME=node4.localdomain
INVENTORY_LOCATION=/data01/app/oraInventory
SELECTED_LANGUAGES=en
oracle.install.option=UPGRADE
ORACLE_BASE=/data01/app/grid
ORACLE_HOME=/data01/app/11.2.0/grid_11204
oracle.install.asm.OSDBA=oinstall
oracle.install.asm.OSOPER=
oracle.install.asm.OSASM=oinstall
oracle.install.crs.config.gpnp.scanName=
oracle.install.crs.config.gpnp.scanPort=
oracle.install.crs.config.clusterName=
oracle.install.crs.config.gpnp.configureGNS=false
oracle.install.crs.config.gpnp.gnsSubDomain=
oracle.install.crs.config.gpnp.gnsVIPAddress=
oracle.install.crs.config.autoConfigureClusterNodeVIP=
oracle.install.crs.config.clusterNodes=
oracle.install.crs.config.networkInterfaceList=
oracle.install.crs.config.storageOption=
oracle.install.crs.config.sharedFileSystemStorage.diskDriveMapping=
oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL
oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL
oracle.install.crs.config.useIPMI=false
oracle.install.crs.config.ipmi.bmcUsername=
oracle.install.crs.config.ipmi.bmcPassword=
oracle.install.asm.SYSASMPassword=
oracle.install.asm.diskGroup.name=
oracle.install.asm.diskGroup.redundancy=
oracle.install.asm.diskGroup.AUSize=1
oracle.install.asm.diskGroup.disks=
oracle.install.asm.diskGroup.diskDiscoveryString=
oracle.install.asm.monitorPassword=
oracle.install.crs.upgrade.clusterNodes=
oracle.install.asm.upgradeASM=true
oracle.installer.autoupdates.option=SKIP_UPDATES
oracle.installer.autoupdates.downloadUpdatesLoc=
AUTOUPDATES_MYORACLESUPPORT_USERNAME=
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
PROXY_HOST=
PROXY_PORT=
PROXY_USER=
PROXY_PWD=

[grid@node4 grid]$ ./runInstaller -silent -showProgress -ignoreSysPrereqs -ignorePrereq -responseFile /home/grid/grid_oraclerestart_upgrade.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 9934 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2260 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-11-01_02-11-10AM.
You can find the log of this install session at:
 /data01/app/oraInventory/logs/installActions2016-11-01_02-11-10AM.log

Prepare in progress.
..................................................   5% Done.

Prepare successful.

Copy files in progress.
..................................................   12% Done.
..................................................   17% Done.
..................................................   23% Done.
..................................................   28% Done.
..................................................   33% Done.
..................................................   38% Done.
..............................
Copy files successful.

Link binaries in progress.
..........
Link binaries successful.
..........
Setup files in progress.
..................................................   43% Done.
..................................................   48% Done.

Setup files successful.
The installation of Oracle Grid Infrastructure 11g was successful.
Please check '/data01/app/oraInventory/logs/silentInstall2016-11-01_02-11-10AM.log' for more details.
..................................................   97% Done.
Execute Root Scripts in progress.

As a root user, execute the following script(s):
1. /data01/app/11.2.0/grid_11204/rootupgrade.sh
..................................................   100% Done.

Execute Root Scripts successful.
As install user, execute the following script to complete the configuration.
1. /data01/app/11.2.0/grid_11204/cfgtoollogs/configToolAllCommands RESPONSE_FILE=<response_file>

  Note:
1. This script must be run on the same host from where installer was run.
2. This script needs a small password properties file for configuration assistants that require passwords (refer to install guide documentation).
Successfully Setup Software.

[root@node4 ~]# sh  /data01/app/11.2.0/grid_11204/rootupgrade.sh

Performing root user operation for Oracle 11g 

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /data01/app/11.2.0/grid_11204
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...

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: /data01/app/11.2.0/grid_11204/crs/install/crsconfig_params
Creating trace directory

ASM Configuration upgraded successfully.

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 node4 successfully pinned.
Replacing Clusterware entries in upstart
Replacing Clusterware entries in upstart

node4     2016/11/01 03:27:18     /data01/app/11.2.0/grid_11204/cdata/node4/backup_20161101_032718.olr
node4     2016/10/31 19:36:39     /data01/app/11.2.0/grid_11203/cdata/node4/backup_20161031_193639.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server

create a response file cfgrsp.properties with below 2 entries :
------------------------------------------------------------------
oracle.assistants.asm|S_ASMPASSWORD=oraadmin
oracle.assistants.asm|S_ASMMONITORPASSWORD=oraadmin


FROM INSTALL USER i.e GRID :

[grid@node4 grid]$ /data01/app/11.2.0/grid_11204/cfgtoollogs/configToolAllCommands RESPONSE_FILE=/home/grid/cfgrsp.properties

Setting the invPtrLoc to /data01/app/11.2.0/grid_11204/oraInst.loc
perform - mode is starting for action: configure
perform - mode finished for action: configure
You can see the log file: /data01/app/11.2.0/grid_11204/cfgtoollogs/oui/configActions2016-11-01_03-32-04-AM.log
[oracle@node4 oui]$ cat configActions2016-11-01_03-32-04-AM.log
###################################################
The action configuration is performing
------------------------------------------------------
The plug-in Update Inventory is running

/data01/app/11.2.0/grid_11204/oui/bin/runInstaller -nowait -noconsole -waitforcompletion -ignoreSysPrereqs -updateNodeList -silent CRS=false ORACLE_HOME=/data01/app/11.2.0/grid_11203
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB.   Actual 2253 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /data01/app/oraInventory

/data01/app/11.2.0/grid_11204/oui/bin/runInstaller -nowait -noconsole -waitforcompletion -ignoreSysPrereqs -updateNodeList -silent CRS=true "CLUSTER_NODES={}" ORACLE_HOME=/data01/app/11.2.0/grid_11204
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB.   Actual 2253 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /data01/app/oraInventory
The plug-in Update Inventory has successfully been performed
------------------------------------------------------
The plug-in Enterprise Manager Configuration Upgrade Utility is running
STARTED EMCA at Nov 1, 2016 3:33:08 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle.  All rights reserved.
Enterprise Manager configuration completed successfully
FINISHED EMCA at Nov 1, 2016 3:33:30 AM
The plug-in Enterprise Manager Configuration Upgrade Utility has successfully been performed
------------------------------------------------------
The plug-in Oracle Cluster Verification Utility is running
Performing post-checks for Oracle Restart configuration
Checking Oracle Restart integrity...
Oracle Restart integrity check passed
Checking OLR integrity...
Checking OLR config file...
OLR config file check successful
Checking OLR file attributes...
OLR file check successful
WARNING:
This check does not verify the integrity of the OLR contents. Execute 'ocrcheck -local' as a privileged user to verify the contents of OLR.
OLR integrity check passed
Post-check for Oracle Restart configuration was successful.
The plug-in Oracle Cluster Verification Utility has successfully been performed
------------------------------------------------------
The action configuration has successfully completed
###################################################


[grid@node4 bin]$ /data01/app/11.2.0/grid_11204/bin/cluvfy stage -post hacfg

Performing post-checks for Oracle Restart configuration

Checking Oracle Restart integrity...

Oracle Restart integrity check passed

Checking OLR integrity...

Checking OLR config file...

OLR config file check successful


Checking OLR file attributes...

OLR file check successful


WARNING:
This check does not verify the integrity of the OLR contents. Execute 'ocrcheck -local' as a privileged user to verify the contents of OLR.

OLR integrity check passed

Post-check for Oracle Restart configuration was successful.


[root@node4 ~]# /data01/app/11.2.0/grid_11203/bin/ocrcheck -local
Status of Oracle Local Registry is as follows :
 Version                  :          3
 Total space (kbytes)     :     262120
 Used space (kbytes)      :       2416
 Available space (kbytes) :     259704
 ID                       : 1414080117
 Device/File Name         : /data01/app/11.2.0/grid_11203/cdata/localhost/node4.olr
                                    Device/File integrity check succeeded

 Local registry integrity check succeeded
 Logical corruption check succeeded

1 comment:

  1. Jadwal Sabung Ayam Online SV388 11 Februari 2019 - Senin, 11 Februari 2019 – Pada Hari Tersebut Akan Di Laksanakan Berbagai Pertandingan Sabung Ayam Secara Live di Arena Sabung Ayam Thailand.

    Situs Judi Sabung Ayam Online SV388 Merupakan Situs Judi Asal Thailand Yang Sangat Terkenal Dengan Permainan Sabung Ayam Yang Fair dan Menghibur Para Penonton Judi Sabung Ayam.

    Untuk Info Lebih Lanjut Bisa Hub kami Di :
    wechat : bolavita
    line : cs_bolavita
    whatsapp : +628122222995
    BBM: BOLAVITA

    ReplyDelete