=> it must be some issue with OS user group
=> getent group oinstall | egrep -i 'oracle|grid'
=> it must be some issue with OS user group
=> getent group oinstall | egrep -i 'oracle|grid'
Draining and Rebalancing Sessions for Planned Maintenance
Transparent Application Failover (TAF)
Application Continuity (AC)
for OCI and ODP.NET based applications
Transparent Application Continuity (TAC) -> 18C onwards
https://www.oracle.com/technetwork/database/options/clustering/applicationcontinuity/applicationcontinuityformaa-6348196.pdf
Dell Data Domain Virtual Edition (DDVE): DB workload
Dell Cloud Snapshot Manager (CSM): App workload
Data Domain Management Center (DDMC): Manage multiple DDVE
Power Protect Management Center (PPDM): data protection, backup scheduling, deduplication, operational agility, self-service, and IT governance.
Logical Volume Management (LVM) creates a layer of abstraction over physical storage, allowing you to create logical storage volumes. With LVM in place, you are not bothered with physical disk sizes because the hardware storage is hidden from the software so it can be resized and moved without stopping applications or unmounting file systems.
Physical Volume (PV): it is a whole disk or a partition of a disk
Volume Group (VG): corresponds to one or more PV
Logical Volume (LV): represents a portion of a VG. A LV can only belong to one VG. It’s on a LV that we can create a file system.
pvs(pvdisplay) pvscan
===
PV VG Fmt Attr PSize PFree
/dev/sda2 osvg lvm2 a-- <59.00g 0
/dev/sdb oracle_application lvm2 a-- <330.00g <25.00g
vgs (vgdisplay) vgscan
===
VG #PV #LV #SN Attr VSize VFree
oracle_application 1 4 0 wz--n- <330.00g <25.00g
osvg 1 5 0 wz--n- <59.00g 0
lvs (lvdisplay) lvscan
====
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
app oracle_application -wi-ao---- 5.00g
gridinfra oracle_application -wi-ao---- 100.00g
oracle oracle_application -wi-ao---- 100.00g
orasoftware oracle_application -wi-ao---- 100.00g
homelv osvg -wi-ao---- 4.00g
rootlv osvg -wi-ao---- 19.00g
swaplv osvg -wi-ao---- <16.00g
tmplv osvg -wi-ao---- 12.00g
varlv osvg -wi-ao---- 8.00g
pvcreate /dev/sdb (pvcreate /dev/sdb /dev/sdc)
vgcreate oracle_application /dev/sdb (vgcreate oracle_application /dev/sdb /dev/sdc)
lvcreate -L 5G -n app oracle_application
EXEC DBMS_STATS.SET_GLOBAL_PREFS('AUTO_TASK_STATUS','ON’); EXEC DBMS_STATS.SET_GLOBAL_PREFS('AUTO_TASK_INTERVAL','300'); Min value allowed is 60 and max is 900 (seconds). SELECT OPID, ORIGIN, STATUS, TO_CHAR(START_TIME, 'DD/MM HH24:MI:SS' ) AS BEGIN_TIME, TO_CHAR(END_TIME, 'DD/MM HH24:MI:SS') AS END_TIME, COMPLETED, FAILED, TIMED_OUT AS TIMEOUT, IN_PROGRESS AS INPROG FROM DBA_AUTO_STAT_EXECUTIONS ORDER BY OPID; |
VALIDATE DATABASE {database-name} SPFILE |
Enable dml redirect on Primary and Standby , run this on both.
alter system set adg_redirect_dml=true scope=both;
SELECT * FROM EXTERNAL ( ( object_id NUMBER, owner VARCHAR2(128), object_name VARCHAR2(128) ) TYPE oracle_loader DEFAULT DIRECTORY MY_DIR ACCESS PARAMETERS ( RECORDS DELIMITED BY NEWLINE BADFILE MY_DIR LOGFILE MY_DIR:'inline_ext_tab_as_%a_%p.log' DISCARDFILE MY_DIR FIELDS CSV WITH EMBEDDED TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' MISSING FIELD VALUES ARE NULL ( object_id, owner, object_name) ) LOCATION ('MY.txt') REJECT LIMIT UNLIMITED ) inline_ext_tab ORDER BY 1; |
Note : This is just an example for one of the disk
1) Present Raw disks
2) How to get scsi id
/lib/udev/scsi_id -g -u -d /dev/sda
3600224800cbc991b76c2a957f833fc66
3) Update /etc/udev/rules.d/99-asm.rules
KERNEL=="sd*",SUBSYSTEM=="block",ENV{DEVTYPE}=="disk",ENV{ID_SERIAL}=="3600224800cbc991b76c2a957f833fc66",SYMLINK+="asmdatadisk1",OWNER="grid",GROUP="asmadmin",MODE="0660"
###Below might not work for cloud DB's
#ACTION=="add|change", ENV{ID_SCSI_SERIAL}=="3600224800cbc991b76c2a957f833fc66", SYMLINK+="asmdatadisk1", OWNER="grid", GROUP="asmadmin", MODE="0660"
4) Reload udev rules without reboot
udevadm control --reload-rules && udevadm trigger
Transportable Backups (18C)
How Hot clones works?
ALTER PLUGGABLE DATABASE
PDB_NAME
CLOSE IMMEDIATE;