Now a days i'm facing multiple issues on ExaCM boxes for patching on database nodes.
Sharing one scenario, Get request from customer apply APRIL_PSU2021 on ExaCM db boxes
ENV:
DB: 11204 version
GRID have 19c with APRIL2021 PSU.
*: Issue comes while running : exadbcpatchmulti -precheck_async 32537095 , failed with conflicts.
Get details from exadbcpatch log / conflict log to identify more details.
*: How to resolve conflicts ?
Share the all details and conflict with oracle, They provide me the solution below
Edit /var/opt/oracle/exapatch/exadbcpatch.cfg - #For this file mostly root ownership, need to take help from GRID owner team or any other script available to update cfg file.
add the Cloud patch which needs to be rolled back as in below.
rollback_needed_before_apply="32328629::normal"
Refer Doc:
Exadbcpatchmulti patch conflict on cloud MLR "ERROR: precheck failed in conflict check" (Doc ID 2492936.1)
*: Now Pre-checks successfully done without any issue and move forward to apply the patch on next step.
*: Now facing the issue again : Node_1 successfully applied the patch but another issue occur on Node_2 below the details here.
++++++Error getting when apply patch: On Node_1 successfully done but having issue on Node_2
INFO: running on the node Xxx3a02c02vm01-adm
INFO: check for this action apply_async
INFO: check for this action rollback_async
INFO: Successfully released ohome lock. Proceeding to release local provisioning lock
INFO: Successfully released local provisioning lock
ERROR: apply_async blocked on node Xxx3a02c02vm01-adm: as Exadbcpatch operation already running on requested home
ERROR: apply_async blocked on node Xxx3a02c02vm01-adm: as Exadbcpatch operation already running on requested home
++++++Solution
execute on all the nodes then run exadbcpatchmulti again.
mv /var/opt/oracle/cstate.xml /var/opt/oracle/cstate.xml_old
Refer Doc:
Exadbcpatchmulti fails with Apply_async Blocked On Node X As Another Instance Of Exadbcpatch Running (Doc ID 2530468.1)
*: Now run exadbcpatchmulti again and successfully applied the patch on ExaCM dbs.
I serve as a go-to resource for anyone involved in managing and maintaining databases, offering insights and solutions to common challenges, as well as exploring new database technologies and strategies to improve database efficiency and reliability.
Monday, 16 August 2021
exadbcpatchmulti : Conflicts and ERROR: apply_async blocked on node
Monday, 2 November 2020
Exadata : Disk Replacement
Operational Activities:
*.Diagnostics & SR Creation
CellCLI> list celldisk where name='<Cell_Disk>' details
Disk Status -> Online/Offline #Both Cases
Error Count -> more than 0.
SR Creation
1. ASR Configure
2. Manual SR - read Doc ID - 761868.1
Reference :
Sundiag & Other Diagnostics: Oracle Exadata Diagnostic Information required for Disk Failures and some other Hardware issues (Doc ID 761868.1)
*.Drop Faulted Disk
1.Normal -> Confined offline
*.Amber LED
*.Rebalance Initiated
2.Confined offline -> offline
*.Blue LED
*.Ready for Replacement
Reference:
Drop Online Disk: Things to Check in ASM When Replacing an ONLINE disk from Exadata Storage Cell (Doc ID 1326611.1)
*.Disk replacement
FSE visit and Replacement
Reference:
Replace Procedure: How to Replace a Hard Drive in an Exadata Storage Server (Predictive Failure) (Doc ID 1390836.1)
Tuesday, 1 November 2016
ORACLE EXA-DATA SIMULATION SETUP
…
[root@storagecell ]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 storagecell storagecell.localdomain localhost.localdomain localhost
[root@storagecell ~]# mount
OS on /home type vboxsf (gid=160,rw)
[root@storagecell
~]# cd /home/
[root@storagecell ~]# ll total 1506576 -rwxrwx— 1 root vboxsf 1542729472 Oct 10 22:25 V36290-01.zip |
[root@storagecell
]# unzip V36290-01.zip
Archive: V36290-01.zip inflating: README.txt inflating: cellImageMaker_11.2.3.2.1_LINUX.X64_130109-1.x86_64.tar |
[root@storagecell ]# tar pxvf
cellImageMaker_11.2.3.2.1_LINUX.X64_130109-1.x86_64.tar
|
[root@storagecell
cellbits]# ll dl180/boot/cellbits/
total 1446844 -rwxrwx— 1 root vboxsf 729 Jan 9 2013 c7rpms.tbz -rwxrwx— 1 root vboxsf 245231205 Jan 9 2013 cell.bin -rwxrwx— 1 root vboxsf 12705374 Jan 9 2013 cellboot.tbz -rwxrwx— 1 root vboxsf 141444416 Jan 9 2013 cellfw.tbz -rwxrwx— 1 root vboxsf 142434203 Jan 9 2013 cellrpms.tbz -rwxrwx— 1 root vboxsf 208612489 Jan 9 2013 commonos.tbz -rwxrwx— 1 root vboxsf 375683818 Jan 9 2013 debugos.tbz -rwxrwx— 1 root vboxsf 55704927 Jan 9 2013 doclib.zip -rwxrwx— 1 root vboxsf 199485158 Jan 9 2013 exaos.tbz -rwxrwx— 1 root vboxsf 18186084 Jan 9 2013 hputils.tbz -rwxrwx— 1 root vboxsf 53387742 Jan 9 2013 kernel.tbz -rwxrwx— 1 root vboxsf 16165382 Jan 9 2013 ofed.tbz -rwxrwx— 1 root vboxsf 12485584 Jan 9 2013 sunutils.tbz |
[root@storagecell
]# cp dl180/boot/cellbits/cell.bin .
[root@storagecell ]# ll cell.bin total 1746060 -rwxrwx— 1 root vboxsf 245231205 Dec 12 10:43 cell.bin -rwxrwx— 1 root vboxsf 1542729472 Oct 10 22:25 V36290-01.zip |
[root@storagecell
]# unzip cell.bin
Archive: cell.bin warning [cell.bin]: 6408 extra bytes at beginning or within zipfile (attempting to process anyway) inflating: cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64.rpm inflating: jdk-1_5_0_15-linux-amd64.rpm |
[root@storagecell
sf_OS]# rpm -ivh jdk-1_5_0_15-linux-amd64.rpm
Preparing… ########################################### [100%] 1:jdk ########################################### [100%] |
[root@storagecell
]# mkdir /var/log/oracle
[root@storagecell ]# chmod 775 /var/log/oracle |
[root@storagecell
]# rpm -ivh cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64.rpm
Preparing… ########################################### [100%] Pre Installation steps in progress … 1:cell ########################################### [100%] Post Installation steps in progress … Set cellusers group for /opt/oracle/cell11.2.3.2.1_LINUX.X64_130109/cellsrv/deploy/log directory Set 775 permissions for /opt/oracle/cell11.2.3.2.1_LINUX.X64_130109/cellsrv/deploy/log directory / / Installation SUCCESSFUL. Starting RS and MS… as user celladmin Done. Please Login as user celladmin and create cell to startup CELLSRV to complete cell configuration. WARNING: Using the current shell as root to restart cell services. Restart the cell services using a new shell. |
Prepare
some virtual disks
Disk /dev/sda: 26.8 GB, 26843545600 bytes
Disk /dev/sdb: 524 MB, 524288000 bytes
Disk /dev/sdc: 524 MB, 524288000 bytes
Disk /dev/sdd: 524 MB, 524288000 bytes
Disk /dev/sde: 524 MB, 524288000 bytes
Disk /dev/sdf: 524 MB, 524288000 bytes
Disk /dev/sdg: 524 MB, 524288000 bytes
Disk /dev/sdh: 524 MB, 524288000 bytes
Disk /dev/sdi: 524 MB, 524288000 bytes
Disk /dev/sdj: 524 MB, 524288000 bytes
Disk /dev/sdk: 524 MB, 524288000 bytes
Disk /dev/sdl: 524 MB, 524288000 bytes
Disk /dev/sdm: 524 MB, 524288000 bytes
Disk /dev/sdn: 419 MB, 419430400 bytes
Disk /dev/sdo: 419 MB, 419430400 bytes
Disk /dev/sdp: 419 MB, 419430400 bytes
Disk /dev/sdq: 419 MB, 419430400 bytes
Disk /dev/sdr: 419 MB, 419430400 bytes
Disk /dev/sds: 419 MB, 419430400 bytes
[root@storagecell
unix]# echo $T_WORK
/opt/oracle/cell11.2.3.2.1_LINUX.X64_130109/disks |
cd
/opt/oracle/cell11.2.3.2.1_LINUX.X64_130109/disks
mkdir disks
mkdir
disks/raw
cd disks/raw
ln -s /dev/sdb
storagecell_DISK01
ln -s /dev/sdc storagecell_DISK02 ln -s /dev/sdd storagecell_DISK03 ln -s /dev/sde storagecell_DISK04 ln -s /dev/sdf storagecell_DISK05 ln -s /dev/sdg storagecell_DISK06 ln -s /dev/sdh storagecell_DISK07 ln -s /dev/sdi storagecell_DISK08 ln -s /dev/sdj storagecell_DISK09 ln -s /dev/sdk storagecell_DISK10 ln -s /dev/sdl storagecell_DISK11 ln -s /dev/sdm storagecell_DISK12 ln -s /dev/sdn storagecell_FLASH01 ln -s /dev/sdo storagecell_FLASH02 ln -s /dev/sdp storagecell_FLASH03 ln -s /dev/sdq storagecell_FLASH04 ln -s /dev/sdr storagecell_FLASH05 ln -s /dev/sds storagecell_FLASH06 |
* soft nofile
65536
* hard nofile 65536 |
[root@storagecell ~]# modprobe rds_tcp
[root@storagecell ~]# modprobe rds_rdma
[celladmin@storagecell ~]$ cellcli -e alter cell restart services all
Starting the RS, CELLSRV, and MS services…
Getting the state of RS services… running
Starting CELLSRV services…
The STARTUP of CELLSRV services was not successful.
CELL-01547: CELLSRV startup failed due to unknown reasons.
Starting MS services…
The STARTUP of MS services was successful.
Cell stocell1 successfully created
Starting CELLSRV services…
The STARTUP of CELLSRV services was successful.
Flash cell disks, FlashCache, and FlashLog will be created…
CellDisk FD_00_stocell1 successfully created
CellDisk FD_01_stocell1 successfully created
CellDisk FD_02_stocell1 successfully created
CellDisk FD_03_stocell1 successfully created
CellDisk FD_04_stocell1 successfully created
CellDisk FD_05_stocell1 successfully created
Flash log stocell1_FLASHLOG successfully created
Flash cache stocell1_FLASHCACHE successfully created
Configure cell disks
CellDisk CD_DISK01_stocell1 successfully created
CellDisk CD_DISK02_stocell1 successfully created
CellDisk CD_DISK03_stocell1 successfully created
CellDisk CD_DISK04_stocell1 successfully created
CellDisk CD_DISK05_stocell1 successfully created
CellDisk CD_DISK06_stocell1 successfully created
CellDisk CD_DISK07_stocell1 successfully created
CellDisk CD_DISK08_stocell1 successfully created
CellDisk CD_DISK09_stocell1 successfully created
CellDisk CD_DISK10_stocell1 successfully created
CellDisk CD_DISK11_stocell1 successfully created
CellDisk CD_DISK12_stocell1 successfully created
GridDisk DATA_CD_DISK01_stocell1 successfully created
GridDisk DATA_CD_DISK02_stocell1 successfully created
GridDisk DATA_CD_DISK03_stocell1 successfully created
GridDisk DATA_CD_DISK04_stocell1 successfully created
GridDisk DATA_CD_DISK05_stocell1 successfully created
GridDisk DATA_CD_DISK06_stocell1 successfully created
GridDisk DATA_CD_DISK07_stocell1 successfully created
GridDisk DATA_CD_DISK08_stocell1 successfully created
GridDisk DATA_CD_DISK09_stocell1 successfully created
GridDisk DATA_CD_DISK10_stocell1 successfully created
GridDisk DATA_CD_DISK11_stocell1 successfully created
GridDisk DATA_CD_DISK12_stocell1 successfully created
Skant Gupta, Vj sharma for completing this doc.
Wednesday, 28 September 2016
You are trying to install the 64-bit Cell rpm but a 32-bit JDK is installed. You should remove the 32-bit JDK rpm and use the cell binary to install the 64-bit JDK and the 64 bit CELL
Below the error When I'm installing the cell rpm > After extracting cell.bin > install jdk > install cell but getting below error.
***************************************************************************************
[root@storagecell mnt]# rpm -ivh cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64.rpm
Preparing... ########################################### [100%]
You are trying to install the 64-bit Cell rpm but a 32-bit JDK is installed. You should remove the 32-bit JDK rpm and use the cell binary to install the 64-bit JDK and the 64 bit CELL
error: %pre(cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64) scriptlet failed, exit status 4
error: install: %pre scriptlet failed (2), skipping cell-11.2.3.2.1_LINUX.X64_130109-1
***************************************************************************************
[root@storagecell ~]# rpm -qa | grep jdk
jdk-1.5.0_15-fcs.x86_64
java-1.6.0-openjdk-devel-1.6.0.0-1.39.1.9.7.el6
java-1.6.0-openjdk-1.6.0.0-1.39.1.9.7.el6
***************************************************************************************
-----------
Solution:
-----------
RH6 “rpm -q” gives output with a different format from RH5.
That produces an error when pre script checks the installed rpm.
.rpmmacros in your home should fix the problem.
Creat .rpmmacro @ root home and change the query format.
[root@storagecell ~]# vim .rpmmacros
[root@storagecell ~]# rpm -qa | grep jdk
jdk-1.5.0_15-fcs
java-1.6.0-openjdk-devel-1.6.0.0-1.39.1.9.7.el6
java-1.6.0-openjdk-1.6.0.0-1.39.1.9.7.el6
[root@stocell1 ~]# cat .rpmmacros
%_query_all_fmt %%{name}-%%{version}-%%{release}
[root@storagecell mnt]# rpm -ivh cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64.rpm
Preparing... ########################################### [100%]
Pre Installation steps in progress ...
ping: unknown host storagecell.localdomain
Check hostname setting. Cannot install cell
error: %pre(cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64) scriptlet failed, exit status 5
error: install: %pre scriptlet failed (2), skipping cell-11.2.3.2.1_LINUX.X64_130109-1
[root@storagecell mnt]# vim /etc/hosts
[root@storagecell mnt]# cat /etc/hosts
127.0.0.1 storagecell storagecell.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
[root@storagecell mnt]# rpm -ivh cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64.rpm
Preparing... ########################################### [100%]
Pre Installation steps in progress ...
1:cell ########################################### [100%]
Post Installation steps in progress ...
Set cellusers group for /opt/oracle/cell11.2.3.2.1_LINUX.X64_130109/cellsrv/deploy/log directory
Set 775 permissions for /opt/oracle/cell11.2.3.2.1_LINUX.X64_130109/cellsrv/deploy/log directory
/
/
Installation SUCCESSFUL.
Starting RS and MS... as user celladmin
Done. Please Login as user celladmin and create cell to startup CELLSRV to complete cell configuration.
WARNING: Using the current shell as root to restart cell services.
Restart the cell services using a new shell.
[root@storagecell mnt]#
Wednesday, 24 August 2016
Thursday, 21 January 2016
SMART_FLASH_CACHE
V$SQLAREA - OPTIMIZED_PHY_READ_REQUESTS
V$FILESTAT - OPTIMIZED_PHYBLKRD
NAME
----------------------------------------------------------------
physical read requests optimized
physical read total bytes optimized
DB_FLASH_CACHE_FILE='+FLASH_DISK_GROUP/flash_cache_file.dbf'
DB_FLASH_CACHE_SIZE=200m
[root@oel5 /]chown oracle:dba -R /ramdisk
[root@oel5 /]# mount | grep ramdisk
none on /ramdisk type tmpfs (rw,size=256m)
SQL> scope=spfile;
System altered.
SQL> alter system set db_flash_cache_size=200M scope=sp;
System altered.
ORACLE instance started.
Total System Global Area 835104768 bytes
Fixed Size 2232960 bytes
Variable Size 507514240 bytes
Database Buffers 322961408 bytes
Redo Buffers 2396160 bytes
Database mounted.
Database opened.
NAME TYPE VALUE
----------------------- ----------- ------------------------------
db_flash_cache_file string /ramdisk/ram.dbf
db_flash_cache_size big integer 200M
total 8
-rw-r----- 1 oracle asmadmin 209715200 Feb 24 22:54 ram.dbf
group by status;
---------- ----------
xcur 36915
flashcur 25583
cr 13
system FLUSH altered.
---------- ----------
xcur 520
free 36411
ORA-00439: feature not enabled: Server Flash Cache
What am I doing wrong?
My configuration:
Oracle Linux Server release 6.4
2.6.39-400.24.1.el6uek.x86_64
Oracle Database 11g 11.2.0.3.0
Now it works!


