Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 135

Coarse-grain striping -

Fine-grain striping - CF

srvctl config asm


show parameter spfil

+OCR/rac-clu/ASMPARAMETERFILE/registry.253.1126092359
Password file: +OCR/orapwASM

sqlplus / AS SYSASM
startup
shutdown abort

asmcmd
ASMCMD> startup
ASMCMD> shutdown --abort

srvctl start asm


srvctl stop asm -f
srvctl status asm

12

CREATE DISKGROUP
ALTER DISKGROUP (ADD or DROP)
DROP DISKGROUP

fdisk /dev/sde
fdisk /dev/sdo

oracleasm createdisk D1 /dev/sde1


oracleasm createdisk D2 /dev/sdf1
oracleasm createdisk D3 /dev/sdg1

CREATE DISKGROUP
- GUI (asmca)
- Command line
oracleasm scandisk
oracleasm listdisks

V$ASM_ALIAS V$ASM_ATTRIBUTE V$ASM_CLIENT


V$ASM_DISK V$ASM_DISK_IOSTAT V$ASM_DISK_STAT
V$ASM_DISKGROUP V$ASM_DISKGROUP_STATV$ASM_FILE
V$ASM_OPERATION V$ASM_TEMPLATE

Chnage AU size
Change Redundacny (E to N N to H H to E)

ALTER DATABASE MOVE DATAFILE '+DATA/DEVDB/DATAFILE/system.257.1126168821'


TO '+DGROUPB';

ALTER DATABASE MOVE DATAFILE '+DATA/DEVDB/DATAFILE/system.257.1126168821'


TO '+DGROUPB/DEVDB/DATAFILE/system.dbf';

ALTER DISKGROUP dgroupA DROP DISK A*;


ALTER DISKGROUP dgroupA UNDROP DISKS;

CREATE DISKGROUP dgroupA NORMAL REDUNDANCY


DISK '/dev/oracleasm/disks/D1';

CREATE DISKGROUP dgroupA HIGH REDUNDANCY


DISK '/dev/oracleasm/disks/D1';

CREATE DISKGROUP dgroupA HIGH REDUNDANCY


DISK '/dev/oracleasm/disks/D1';
'/dev/oracleasm/disks/D2';

CREATE DISKGROUP dgroupA NORMAL REDUNDANCY


DISK '/dev/oracleasm/disks/D1',
'/dev/oracleasm/disks/D2';

CREATE DISKGROUP dgroupA NORMAL REDUNDANCY


FAILGROUP mallik1 DISK
'/dev/oracleasm/disks/D1'
FAILGROUP mallik2 DISK
'/dev/oracleasm/disks/D2';

CREATE DISKGROUP dgroupA NORMAL REDUNDANCY


FAILGROUP FG1 DISK
'/dev/oracleasm/disks/D1' NAME ASM_1G_D1
FAILGROUP FG2 DISK
'/dev/oracleasm/disks/D2' NAME ASM_1G_D2;

CREATE DISKGROUP dgroupA NORMAL REDUNDANCY


FAILGROUP controller1 DISK
'/dev/oracleasm/disks/D1' NAME DISK1
'/dev/oracleasm/disks/D2' NAME DISK2
'/dev/oracleasm/disks/D3' NAME DISK3
'/dev/oracleasm/disks/D4' NAME DISK4
FAILGROUP controller2 DISK
'/dev/oracleasm/disks/D5' NAME DISK5
'/dev/oracleasm/disks/D6' NAME DISK6
'/dev/oracleasm/disks/D7' NAME DISK7
'/dev/oracleasm/disks/D8' NAME DISK8;

>>>>>>>>>>>> 1GB

ALTER DISKGROUP dgroupA ADD DISK


'/dev/oracleasm/disks/D7',
'/dev/oracleasm/disks/D8';

ALTER DISKGROUP dgroupA ADD DISK


'/dev/oracleasm/disks/D3';

ALTER DISKGROUP dgroupA ADD DISK


'/dev/oracleasm/disks/D4';

CREATE DISKGROUP dgroupB HIGH REDUNDANCY


FAILGROUP controller1 DISK
'/dev/oracleasm/disks/D3' NAME DISK3
FAILGROUP controller2 DISK
'/dev/oracleasm/disks/D4' NAME DISK4
FAILGROUP controller3 DISK
'/dev/oracleasm/disks/D5' NAME DISK5;
ALTER DISKGROUP dgroupB ADD DISK
'/dev/oracleasm/disks/D10';

ALTER DISKGROUP dgroupB


DROP DISK DGROUPB_0001;

>>>>>>>>>>>>> 1GB

ALTER DISKGROUP dgroupB ADD DISK


'/dev/oracleasm/disks/EXTDISK1,
'/dev/oracleasm/disks/EXTDISK2,
'/dev/oracleasm/disks/EXTDISK3;

ALTER DISKGROUP dgroupA ADD DISK


'/dev/oracleasm/disks/EXTDISK1;

CREATE DISKGROUP dgroupC EXTERNAL REDUNDANCY


DISK '/dev/oracleasm/disks/D6';

CREATE DISKGROUP dgroupC EXTERNAL REDUNDANCY


DISK '/dev/oracleasm/disks/D6',
'/dev/oracleasm/disks/D7';

>>>>>>>>>>>>> 2GB

EXTDISK1
EXTDISK2
EXTDISK3
EXTDISK4

ALTER DISKGROUP dgroupC ADD DISK '/dev/oracleasm/disks/EXTDISK*;

ALTER DISKGROUP dgroupC ADD DISK


'/dev/oracleasm/disks/EXTDISK1,
'/dev/oracleasm/disks/EXTDISK2,
'/dev/oracleasm/disks/EXTDISK3,
'/dev/oracleasm/disks/EXTDISK4;

ALTER DISKGROUP dgroupC DROP DISK '/dev/oracleasm/disks/EXTDISK1';


ALTER DISKGROUP dgroupC
DROP DISK 'DGROUPC_0001'
ADD DISK '/dev/oracleasm/disks/D11';

ALTER DISKGROUP dgroupC


DROP DISK '/dev/oracleasm/disks/EXTDISK2';

ALTER DISKGROUP dgroupC


ADD DISK '/dev/oracleasm/disks/EXTDISK5;

ALTER DISKGROUP dgroupA


DROP DISK '/dev/oracleasm/disks/D3';

ALTER DISKGROUP dgroupA


DROP DISK DGROUPA_0002;

DROP DISKGROUP dgroupA INCLUDING CONTENTS;


DROP DISKGROUP dgroupB INCLUDING CONTENTS;
DROP DISKGROUP dgroupC INCLUDING CONTENTS;

ALTER DISKGROUP DiskGroup_1 ADD FILEGROUP FileGroup_PDB1


DATABASE PDB1
SET 'quota_group' = 'QuotaGroup_QGRP1';

ALTER DISKGROUP DiskGroup_1 ADD FILEGROUP FileGroup_PDB2


DATABASE PDB2
SET 'quota_group' = 'QuotaGroup_QGRP2';

ALTER DISKGROUP DiskGroup_1 MODIFY FILEGROUP FileGroup_PDB1


SET 'datafile.redundancy' = 'HIGH';

ALTER DISKGROUP DiskGroup_1 MODIFY FILEGROUP FileGroup_PDB1


SET 'datafile.redundancy' = 'NORMAL';
ALTER DISKGROUP dgroupB DROP DISK '/dev/oracleasm/disks/D3';
ALTER DISKGROUP dgroupB DROP DISK /dev/oracleasm/disks/D3;
ALTER DISKGROUP dgroupB DROP DISK DISK3;

ALTER DISKGROUP dgroupA DROP DISK '/dev/oracleasm/disks/D1';


ALTER DISKGROUP dgroupA DROP DISK /dev/oracleasm/disks/D1;
ALTER DISKGROUP dgroupA DROP DISK ASM_1G_D1;

CREATE DISKGROUP dgroupD NORMAL REDUNDANCY


DISK '/dev/oracleasm/disks/D10',
'/dev/oracleasm/disks/D11';

CREATE DISKGROUP dgroupA NORMAL REDUNDANCY


DISK '/dev/oracleasm/disks/D1',
'/dev/oracleasm/disks/D2';

login as: root


[email protected]'s password:

┌───────────────────────────────────────────────────────────
───────────┐
│ • MobaXterm Personal Edition v21.2 • │
│ (SSH client, X server and network tools) │
│ │
│ ➤ SSH session to [email protected]
│ • Direct SSH : ✔ │
│ • SSH compression : ✔ │
│ • SSH-browser : ✔ │
│ • X11-forwarding : ✔ (remote display is forwarded through SSH) │
│ │
│ ➤ For more info, ctrl+click on help or visit our website. │

└───────────────────────────────────────────────────────────
───────────┘
Last login: Sun Jan 15 11:08:05 2023 from 192.168.1.6
[root@oraclelab1 ~]# ps -ef|grep smon
root 3577 1 0 07:32 ? 00:00:07 /u01/app/19.0.0.0/grid/bin/osysmond.bin
oracle 4040 1 0 07:33 ? 00:00:00 asm_smon_+ASM1
oracle 6203 1 0 07:33 ? 00:00:00 ora_smon_DEVDB1
root 20776 20616 0 07:44 pts/0 00:00:00 grep --color=auto smon
[root@oraclelab1 ~]# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ol-root 34G 23G 12G 66% /
[root@oraclelab1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.7G 0 3.7G 0% /dev
tmpfs 3.7G 893M 2.8G 24% /dev/shm
tmpfs 3.7G 9.4M 3.7G 1% /run
tmpfs 3.7G 0 3.7G 0% /sys/fs/cgroup
/dev/mapper/ol-root 34G 23G 12G 67% /
/dev/sda1 1014M 231M 784M 23% /boot
Software 282G 264G 18G 94% /media/sf_Software
tmpfs 749M 12K 749M 1% /run/user/42
tmpfs 749M 0 749M 0% /run/user/54321
tmpfs 749M 0 749M 0% /run/user/0
[root@oraclelab1 ~]# ps -ef|grep DEVDB1
oracle 1273 1 0 08:15 ? 00:00:02 ora_m004_DEVDB1
oracle 6052 1 0 07:33 ? 00:00:00 ora_pmon_DEVDB1
oracle 6059 1 0 07:33 ? 00:00:00 ora_clmn_DEVDB1
oracle 6066 1 0 07:33 ? 00:00:00 ora_psp0_DEVDB1
oracle 6125 1 0 07:33 ? 00:00:07 ora_ipc0_DEVDB1
oracle 6127 1 0 07:33 ? 00:00:23 ora_vktm_DEVDB1
oracle 6133 1 0 07:33 ? 00:00:00 ora_gen0_DEVDB1
oracle 6135 1 0 07:33 ? 00:00:00 ora_mman_DEVDB1
oracle 6140 1 0 07:33 ? 00:00:00 ora_gen1_DEVDB1
oracle 6145 1 0 07:33 ? 00:00:02 ora_diag_DEVDB1
oracle 6148 1 0 07:33 ? 00:00:00 ora_ofsd_DEVDB1
oracle 6154 1 0 07:33 ? 00:00:01 ora_dbrm_DEVDB1
oracle 6157 1 0 07:33 ? 00:00:08 ora_vkrm_DEVDB1
oracle 6159 1 0 07:33 ? 00:00:00 ora_ping_DEVDB1
oracle 6163 1 0 07:33 ? 00:00:00 ora_svcb_DEVDB1
oracle 6168 1 0 07:33 ? 00:00:00 ora_acms_DEVDB1
oracle 6170 1 0 07:33 ? 00:00:00 ora_pman_DEVDB1
oracle 6172 1 0 07:33 ? 00:00:08 ora_dia0_DEVDB1
oracle 6174 1 0 07:33 ? 00:00:04 ora_lmon_DEVDB1
oracle 6178 1 0 07:33 ? 00:00:16 ora_lmd0_DEVDB1
oracle 6180 1 0 07:33 ? 00:00:16 ora_lms0_DEVDB1
oracle 6183 1 0 07:33 ? 00:00:00 ora_rms0_DEVDB1
oracle 6188 1 0 07:33 ? 00:00:04 ora_lmhb_DEVDB1
oracle 6191 1 0 07:33 ? 00:00:01 ora_lck1_DEVDB1
oracle 6194 1 0 07:33 ? 00:00:00 ora_dbw0_DEVDB1
oracle 6196 1 0 07:33 ? 00:00:00 ora_lgwr_DEVDB1
oracle 6198 1 0 07:33 ? 00:00:01 ora_ckpt_DEVDB1
oracle 6201 1 0 07:33 ? 00:00:01 ora_lg00_DEVDB1
oracle 6203 1 0 07:33 ? 00:00:00 ora_smon_DEVDB1
oracle 6205 1 0 07:33 ? 00:00:00 ora_lg01_DEVDB1
oracle 6208 1 0 07:33 ? 00:00:00 ora_smco_DEVDB1
oracle 6210 1 0 07:33 ? 00:00:00 ora_reco_DEVDB1
oracle 6213 1 0 07:33 ? 00:00:00 ora_w000_DEVDB1
oracle 6215 1 0 07:33 ? 00:00:00 ora_lreg_DEVDB1
oracle 6217 1 0 07:33 ? 00:00:00 ora_w001_DEVDB1
oracle 6219 1 0 07:33 ? 00:00:00 ora_pxmn_DEVDB1
oracle 6221 1 0 07:33 ? 00:00:00 ora_rbal_DEVDB1
oracle 6223 1 0 07:33 ? 00:00:00 ora_asmb_DEVDB1
oracle 6225 1 0 07:33 ? 00:00:03 ora_fenc_DEVDB1
oracle 6227 1 0 07:33 ? 00:00:03 ora_mmon_DEVDB1
oracle 6231 1 0 07:33 ? 00:00:01 ora_mmnl_DEVDB1
oracle 6241 1 0 07:33 ? 00:00:00 ora_d000_DEVDB1
oracle 6247 1 0 07:33 ? 00:00:00 ora_s000_DEVDB1
oracle 6259 1 0 07:33 ? 00:00:04 ora_imr0_DEVDB1
oracle 6287 1 0 07:33 ? 00:00:01 ora_scm0_DEVDB1
oracle 6291 1 0 07:33 ? 00:00:01 ora_lck0_DEVDB1
oracle 6293 1 0 07:33 ? 00:00:00 ora_rsmn_DEVDB1
oracle 6295 1 0 07:33 ? 00:00:00 ora_tmon_DEVDB1
oracle 6304 1 0 07:33 ? 00:00:18 ora_gcr0_DEVDB1
oracle 6363 1 0 07:34 ? 00:00:00 ora_mark_DEVDB1
oracle 6974 1 0 07:34 ? 00:00:00 ora_p000_DEVDB1
oracle 6976 1 0 07:34 ? 00:00:00 ora_p001_DEVDB1
oracle 7010 1 0 07:34 ? 00:00:00 ora_arc0_DEVDB1
oracle 7012 1 0 07:34 ? 00:00:00 ora_tt00_DEVDB1
oracle 7015 1 0 07:34 ? 00:00:00 ora_tt01_DEVDB1
oracle 7026 1 0 07:34 ? 00:00:00 ora_arc1_DEVDB1
oracle 7028 1 0 07:34 ? 00:00:00 ora_arc2_DEVDB1
oracle 7030 1 0 07:34 ? 00:00:00 ora_arc3_DEVDB1
oracle 7033 1 0 07:34 ? 00:00:00 ora_tt02_DEVDB1
oracle 7141 1 0 07:34 ? 00:00:00 ora_gtx0_DEVDB1
oracle 7149 1 0 07:34 ? 00:00:00 ora_rcbg_DEVDB1
oracle 7192 1 0 07:34 ? 00:00:00 ora_aqpc_DEVDB1
oracle 7222 1 0 07:34 ? 00:00:00 ora_w002_DEVDB1
oracle 7266 1 0 07:34 ? 00:00:00 ora_p002_DEVDB1
oracle 7271 1 0 07:34 ? 00:00:00 ora_p003_DEVDB1
oracle 7273 1 0 07:34 ? 00:00:04 ora_cjq0_DEVDB1
oracle 7358 1 0 07:34 ? 00:00:00 oracleDEVDB1 (DESCRIPTION=(LOCAL=YES)
(ADDRESS=(PROTOCOL=beq)))
oracle 7367 1 0 07:34 ? 00:00:00 oracleDEVDB1 (DESCRIPTION=(LOCAL=YES)
(ADDRESS=(PROTOCOL=beq)))
oracle 7452 1 0 07:34 ? 00:00:00 oracleDEVDB1 (DESCRIPTION=(LOCAL=YES)
(ADDRESS=(PROTOCOL=beq)))
oracle 7459 1 0 07:34 ? 00:00:00 ora_w003_DEVDB1
oracle 7760 1 0 07:34 ? 00:00:00 ora_w004_DEVDB1
oracle 7916 1 0 07:34 ? 00:00:05 ora_m001_DEVDB1
oracle 7918 1 0 07:34 ? 00:00:07 ora_m002_DEVDB1
oracle 7921 1 0 07:34 ? 00:00:04 ora_m003_DEVDB1
oracle 8044 1 0 07:34 ? 00:00:00 ora_qm02_DEVDB1
oracle 8048 1 0 07:34 ? 00:00:00 ora_q001_DEVDB1
oracle 8056 1 0 07:34 ? 00:00:02 ora_qm05_DEVDB1
oracle 8175 1 0 07:34 ? 00:00:00 ora_q00b_DEVDB1
oracle 8826 1 0 07:34 ? 00:00:00 ora_w005_DEVDB1
oracle 8962 1 0 07:34 ? 00:00:00 ora_w006_DEVDB1
oracle 9333 1 0 07:34 ? 00:00:00 ora_w007_DEVDB1
oracle 26722 1 0 09:12 ? 00:00:00 ora_ppa7_DEVDB1
root 29006 20616 0 09:17 pts/0 00:00:00 grep --color=auto DEVDB1
[root@oraclelab1 ~]# ps -ef|grep +ASM1
oracle 3993 1 0 07:33 ? 00:00:00 asm_pmon_+ASM1
oracle 3995 1 0 07:33 ? 00:00:00 asm_clmn_+ASM1
oracle 3997 1 0 07:33 ? 00:00:00 asm_psp0_+ASM1
oracle 4000 1 0 07:33 ? 00:00:23 asm_vktm_+ASM1
oracle 4004 1 0 07:33 ? 00:00:00 asm_gen0_+ASM1
oracle 4006 1 0 07:33 ? 00:00:00 asm_mman_+ASM1
oracle 4010 1 0 07:33 ? 00:00:00 asm_gen1_+ASM1
oracle 4013 1 0 07:33 ? 00:00:02 asm_diag_+ASM1
oracle 4015 1 0 07:33 ? 00:00:00 asm_ping_+ASM1
oracle 4017 1 0 07:33 ? 00:00:00 asm_pman_+ASM1
oracle 4019 1 0 07:33 ? 00:00:11 asm_dia0_+ASM1
oracle 4021 1 0 07:33 ? 00:00:04 asm_lmon_+ASM1
oracle 4023 1 0 07:33 ? 00:00:07 asm_lmd0_+ASM1
oracle 4025 1 0 07:33 ? 00:00:12 asm_lms0_+ASM1
oracle 4027 1 0 07:33 ? 00:00:04 asm_lmhb_+ASM1
oracle 4032 1 0 07:33 ? 00:00:00 asm_lck1_+ASM1
oracle 4034 1 0 07:33 ? 00:00:00 asm_dbw0_+ASM1
oracle 4036 1 0 07:33 ? 00:00:00 asm_lgwr_+ASM1
oracle 4038 1 0 07:33 ? 00:00:00 asm_ckpt_+ASM1
oracle 4040 1 0 07:33 ? 00:00:00 asm_smon_+ASM1
oracle 4042 1 0 07:33 ? 00:00:00 asm_lreg_+ASM1
oracle 4044 1 0 07:33 ? 00:00:00 asm_pxmn_+ASM1
oracle 4046 1 0 07:33 ? 00:00:01 asm_rbal_+ASM1
oracle 4048 1 0 07:33 ? 00:00:01 asm_gmon_+ASM1
oracle 4050 1 0 07:33 ? 00:00:00 asm_mmon_+ASM1
oracle 4052 1 0 07:33 ? 00:00:01 asm_mmnl_+ASM1
oracle 4054 1 0 07:33 ? 00:00:07 asm_imr0_+ASM1
oracle 4056 1 0 07:33 ? 00:00:01 asm_scm0_+ASM1
oracle 4059 1 0 07:33 ? 00:00:01 asm_lck0_+ASM1
oracle 4066 1 0 07:33 ? 00:00:19 asm_gcr0_+ASM1
oracle 4268 1 0 07:33 ? 00:00:00 asm_asmb_+ASM1
oracle 4270 1 0 07:33 ? 00:00:00 oracle+ASM1_asmb_+asm1
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 4295 1 0 07:33 ? 00:00:00 oracle+ASM1_ocr (DESCRIPTION=(LOCAL=YES)
(ADDRESS=(PROTOCOL=beq)))
oracle 4530 1 0 07:33 ? 00:00:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)
(ADDRESS=(PROTOCOL=beq)))
oracle 4548 1 0 07:33 ? 00:00:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)
(ADDRESS=(PROTOCOL=beq)))
oracle 6237 1 0 07:33 ? 00:00:00 oracle+ASM1_asmb_devdb1
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 12017 1 0 07:35 ? 00:00:06 asm_ppa7_+ASM1
root 29192 20616 0 09:17 pts/0 00:00:00 grep --color=auto +ASM1
[root@oraclelab1 ~]# su - oracle
Last login: Sun Jan 22 09:20:01 IST 2023
[oracle@oraclelab1 ~]$ . oraenv
ORACLE_SID = [oracle] ? +ASM1
The Oracle base has been set to /u01/app/oracle
[oracle@oraclelab1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 09:22:02 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> show parameter power

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
asm_power_limit integer 1
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
^[[A[oracle@oraclelab1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 09:25:19 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> desc v$instance;


Name Null? Type
----------------------------------------- -------- ----------------------------
INSTANCE_NUMBER NUMBER
INSTANCE_NAME VARCHAR2(16)
HOST_NAME VARCHAR2(64)
VERSION VARCHAR2(17)
VERSION_LEGACY VARCHAR2(17)
VERSION_FULL VARCHAR2(17)
STARTUP_TIME DATE
STATUS VARCHAR2(12)
PARALLEL VARCHAR2(3)
THREAD# NUMBER
ARCHIVER VARCHAR2(7)
LOG_SWITCH_WAIT VARCHAR2(15)
LOGINS VARCHAR2(10)
SHUTDOWN_PENDING VARCHAR2(3)
DATABASE_STATUS VARCHAR2(17)
INSTANCE_ROLE VARCHAR2(18)
ACTIVE_STATE VARCHAR2(9)
BLOCKED VARCHAR2(3)
CON_ID NUMBER
INSTANCE_MODE VARCHAR2(11)
EDITION VARCHAR2(7)
FAMILY VARCHAR2(80)
DATABASE_TYPE VARCHAR2(15)

SQL> select INSTANCE_NUMBER,INSTANCE_NAME,HOST_NAME from gv$instance;

INSTANCE_NUMBER INSTANCE_NAME
--------------- ----------------
HOST_NAME
----------------------------------------------------------------
1 +ASM1
oraclelab1.localdomain.com

2 +ASM2
oraclelab2.localdomain.com

SQL> set pages 1000 lines 1000


SQL> select INSTANCE_NUMBER,INSTANCE_NAME,HOST_NAME from gv$instance;

INSTANCE_NUMBER INSTANCE_NAME HOST_NAME


--------------- ---------------- ----------------------------------------------------------------
1 +ASM1 oraclelab1.localdomain.com
2 +ASM2 oraclelab2.localdomain.com

SQL> show parameter spfil

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
spfile string +OCR/rac-clu/ASMPARAMETERFILE/
registry.253.1126092359
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab1 ~]$ srvctl config asm
ASM home: <CRS home>
Password file: +OCR/orapwASM
Backup of Password file: +OCR/orapwASM_backup
ASM listener: LISTENER
ASM instance count: 3
Cluster ASM listener: ASMNET1LSNR_ASM
[oracle@oraclelab1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 09:30:38 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL> create pfile='/tmp/init.ora' frpm spfile;
create pfile='/tmp/init.ora' frpm spfile
*
ERROR at line 1:
ORA-00923: FROM keyword not found where expected

SQL> create pfile='/tmp/init.ora' from spfile;

File created.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab1 ~]$ cat /tmp/init.ora
+ASM1.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from in memory value
+ASM2.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from in memory value
*.asm_diskgroups='DATA','RECO'#Manual Mount
*.asm_diskstring='/dev/oracleasm/disks/*'
*.asm_power_limit=1
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'
[oracle@oraclelab1 ~]$ ps -ef|grep smon
root 3577 1 0 07:32 ? 00:01:12 /u01/app/19.0.0.0/grid/bin/osysmond.bin
oracle 4040 1 0 07:33 ? 00:00:00 asm_smon_+ASM1
oracle 5283 30606 0 09:36 pts/0 00:00:00 grep --color=auto smon
oracle 6203 1 0 07:33 ? 00:00:00 ora_smon_DEVDB1
[oracle@oraclelab1 ~]$ srvctl status asm
ASM is running on oraclelab2,oraclelab1
[oracle@oraclelab1 ~]$ srvctl stop asm -f
PRCR-1214 : failed to stop resource group ora.asmgroup
CRS-2670: Unable to start/relocate 'ora.asm_listener.type' because 'ora.asm' has a stop-time
'hard' dependency on it
CRS-5027: The ASM instance on node "oraclelab1" cannot be stopped because it is currently
being used by Cluster Ready Services.
CRS-0222: Resource 'RGI: ora.asmgroup 1 1' has dependency error.
[oracle@oraclelab1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 09:38:10 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> shutdown abort


ORA-01031: insufficient privileges
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
^[[A[oracle@oraclelab1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 09:38:21 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL>
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
^[[A[oracle@oraclelab1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 09:38:25 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> shutdown abort


ASM instance shutdown
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
^[[A^[[A[oracle@oraclelab1 ~]$ srvctl status asm
PRCR-1070 : Failed to check if resource ora.asm is registered
CRS-0184 : Cannot communicate with the CRS daemon.
[oracle@oraclelab1 ~]$ ps -ef|grep smon
root 3577 1 0 07:32 ? 00:01:14 /u01/app/19.0.0.0/grid/bin/osysmond.bin
oracle 6203 1 0 07:33 ? 00:00:00 ora_smon_DEVDB1
oracle 6864 30606 0 09:38 pts/0 00:00:00 grep --color=auto smon
[oracle@oraclelab1 ~]$ ps -ef|grep smon
root 3577 1 0 07:32 ? 00:01:14 /u01/app/19.0.0.0/grid/bin/osysmond.bin
oracle 6203 1 0 07:33 ? 00:00:00 ora_smon_DEVDB1
oracle 7500 1 0 09:39 ? 00:00:00 asm_smon_+ASM1
oracle 7522 30606 0 09:39 pts/0 00:00:00 grep --color=auto smon
[oracle@oraclelab1 ~]$ ps -ef|grep tns
root 23 2 0 07:32 ? 00:00:00 [netns]
oracle 4557 1 0 07:33 ? 00:00:01 /u01/app/19.0.0.0/grid/bin/tnslsnr
ASMNET1LSNR_ASM -no_crs_notify -inherit
oracle 4768 1 0 07:33 ? 00:00:00 /u01/app/19.0.0.0/grid/bin/tnslsnr LISTENER -
no_crs_notify -inherit
oracle 4811 1 0 07:33 ? 00:00:00 /u01/app/19.0.0.0/grid/bin/tnslsnr
LISTENER_SCAN2 -no_crs_notify -inherit
oracle 4822 1 0 07:33 ? 00:00:00 /u01/app/19.0.0.0/grid/bin/tnslsnr
LISTENER_SCAN3 -no_crs_notify -inherit
oracle 8959 30606 0 09:42 pts/0 00:00:00 grep --color=auto tns
[oracle@oraclelab1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 09:43:19 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> alter diskgroup all dismount;


alter diskgroup all dismount
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15027: active use of diskgroup "RECO" precludes its dismount
ORA-15027: active use of diskgroup "OCR" precludes its dismount
ORA-15027: active use of diskgroup "DATA" precludes its dismount
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab1 ~]$ ps -ef|grep smon
root 3577 1 0 07:32 ? 00:01:20 /u01/app/19.0.0.0/grid/bin/osysmond.bin
oracle 7500 1 0 09:39 ? 00:00:00 asm_smon_+ASM1
oracle 9703 1 0 09:42 ? 00:00:00 ora_smon_DEVDB1
oracle 21492 30606 0 09:48 pts/0 00:00:00 grep --color=auto smon
[oracle@oraclelab1 ~]$ asmcmd -p
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 17520 0
17520 0 N DATA/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8877 0
8877 0 N RECO/
ASMCMD [+] > cd DATA/
ASMCMD [+DATA] > ls -l
Type Redund Striped Time Sys Name
N DEVDB/
ASMCMD [+DATA] > cd +RECO
ASMCMD [+RECO] > ls -l
Type Redund Striped Time Sys Name
Y DEVDB/
ASMCMD [+RECO] >
Network error: Software caused connection abort

────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────
──────────────────────────────────────────────

Session stopped
- Press <return> to exit tab
- Press R to restart session
- Press S to save terminal output to file
login as: root
[email protected]'s password:

┌───────────────────────────────────────────────────────────
───────────┐
│ • MobaXterm Personal Edition v21.2 • │
│ (SSH client, X server and network tools) │
│ │
│ ➤ SSH session to [email protected]
│ • Direct SSH : ✔ │
│ • SSH compression : ✔ │
│ • SSH-browser : ✔ │
│ • X11-forwarding : ✔ (remote display is forwarded through SSH) │
│ │
│ ➤ For more info, ctrl+click on help or visit our website. │

└───────────────────────────────────────────────────────────
───────────┘

Last login: Sun Jan 22 09:48:49 2023


[root@oraclelab1 ~]# cd /dev/
[root@oraclelab1 dev]# ll sd*
brw-rw---- 1 root disk 8, 0 Jan 22 10:01 sda
brw-rw---- 1 root disk 8, 1 Jan 22 10:01 sda1
brw-rw---- 1 root disk 8, 2 Jan 22 10:01 sda2
brw-rw---- 1 root disk 8, 16 Jan 22 10:01 sdb
brw-rw---- 1 root disk 8, 17 Jan 22 10:01 sdb1
brw-rw---- 1 root disk 8, 32 Jan 22 10:01 sdc
brw-rw---- 1 root disk 8, 33 Jan 22 10:01 sdc1
brw-rw---- 1 root disk 8, 48 Jan 22 10:01 sdd
brw-rw---- 1 root disk 8, 49 Jan 22 10:01 sdd1
brw-rw---- 1 root disk 8, 64 Jan 22 10:01 sde
brw-rw---- 1 root disk 8, 80 Jan 22 10:01 sdf
brw-rw---- 1 root disk 8, 96 Jan 22 10:01 sdg
brw-rw---- 1 root disk 8, 112 Jan 22 10:01 sdh
brw-rw---- 1 root disk 8, 128 Jan 22 10:01 sdi
brw-rw---- 1 root disk 8, 144 Jan 22 10:01 sdj
brw-rw---- 1 root disk 8, 160 Jan 22 10:01 sdk
brw-rw---- 1 root disk 8, 176 Jan 22 10:01 sdl
brw-rw---- 1 root disk 8, 192 Jan 22 10:01 sdm
brw-rw---- 1 root disk 8, 208 Jan 22 10:01 sdn
brw-rw---- 1 root disk 8, 224 Jan 22 10:01 sdo
[root@oraclelab1 dev]# fdik /dev/sdo
bash: fdik: command not found...
[root@oraclelab1 dev]# fdisk -l /dev/sdo

Disk /dev/sdo: 2147 MB, 2147483648 bytes, 4194304 sectors


Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@oraclelab1 dev]# fdisk -l /dev/sde

Disk /dev/sde: 1073 MB, 1073741824 bytes, 2097152 sectors


Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@oraclelab1 dev]# fdisk /dev/sde


Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table


Building a new DOS disklabel with disk identifier 0xea5cb7d7.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-2097151, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):
Using default value 2097151
Partition 1 of type Linux and of size 1023 MiB is set

Command (m for help): w


The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# ll sd*
brw-rw---- 1 root disk 8, 0 Jan 22 10:01 sda
brw-rw---- 1 root disk 8, 1 Jan 22 10:01 sda1
brw-rw---- 1 root disk 8, 2 Jan 22 10:01 sda2
brw-rw---- 1 root disk 8, 16 Jan 22 10:01 sdb
brw-rw---- 1 root disk 8, 17 Jan 22 10:01 sdb1
brw-rw---- 1 root disk 8, 32 Jan 22 10:01 sdc
brw-rw---- 1 root disk 8, 33 Jan 22 10:01 sdc1
brw-rw---- 1 root disk 8, 48 Jan 22 10:01 sdd
brw-rw---- 1 root disk 8, 49 Jan 22 10:01 sdd1
brw-rw---- 1 root disk 8, 64 Jan 22 10:23 sde
brw-rw---- 1 root disk 8, 65 Jan 22 10:23 sde1
brw-rw---- 1 root disk 8, 80 Jan 22 10:01 sdf
brw-rw---- 1 root disk 8, 96 Jan 22 10:01 sdg
brw-rw---- 1 root disk 8, 112 Jan 22 10:01 sdh
brw-rw---- 1 root disk 8, 128 Jan 22 10:01 sdi
brw-rw---- 1 root disk 8, 144 Jan 22 10:01 sdj
brw-rw---- 1 root disk 8, 160 Jan 22 10:01 sdk
brw-rw---- 1 root disk 8, 176 Jan 22 10:01 sdl
brw-rw---- 1 root disk 8, 192 Jan 22 10:01 sdm
brw-rw---- 1 root disk 8, 208 Jan 22 10:01 sdn
brw-rw---- 1 root disk 8, 224 Jan 22 10:01 sdo
[root@oraclelab1 dev]# fdisk /dev/sdf
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table


Building a new DOS disklabel with disk identifier 0x27efb3aa.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-2097151, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):
Using default value 2097151
Partition 1 of type Linux and of size 1023 MiB is set

Command (m for help): w


The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# fdisk /dev/sdg
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0x3ba4bbe8.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-2097151, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):
Using default value 2097151
Partition 1 of type Linux and of size 1023 MiB is set

Command (m for help): w


The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# fdisk /dev/sdh
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table


Building a new DOS disklabel with disk identifier 0x15876bac.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-2097151, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):
Using default value 2097151
Partition 1 of type Linux and of size 1023 MiB is set
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# fdisk /dev/sdi
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table


Building a new DOS disklabel with disk identifier 0xa393e808.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-2097151, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):
Using default value 2097151
Partition 1 of type Linux and of size 1023 MiB is set

Command (m for help): w


The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# fdisk /dev/sdj
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table


Building a new DOS disklabel with disk identifier 0xadcf483b.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-2097151, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):
Using default value 2097151
Partition 1 of type Linux and of size 1023 MiB is set

Command (m for help): w


The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# ll sd*
brw-rw---- 1 root disk 8, 0 Jan 22 10:01 sda
brw-rw---- 1 root disk 8, 1 Jan 22 10:01 sda1
brw-rw---- 1 root disk 8, 2 Jan 22 10:01 sda2
brw-rw---- 1 root disk 8, 16 Jan 22 10:01 sdb
brw-rw---- 1 root disk 8, 17 Jan 22 10:01 sdb1
brw-rw---- 1 root disk 8, 32 Jan 22 10:01 sdc
brw-rw---- 1 root disk 8, 33 Jan 22 10:01 sdc1
brw-rw---- 1 root disk 8, 48 Jan 22 10:01 sdd
brw-rw---- 1 root disk 8, 49 Jan 22 10:01 sdd1
brw-rw---- 1 root disk 8, 64 Jan 22 10:23 sde
brw-rw---- 1 root disk 8, 65 Jan 22 10:23 sde1
brw-rw---- 1 root disk 8, 80 Jan 22 10:24 sdf
brw-rw---- 1 root disk 8, 81 Jan 22 10:24 sdf1
brw-rw---- 1 root disk 8, 96 Jan 22 10:24 sdg
brw-rw---- 1 root disk 8, 97 Jan 22 10:24 sdg1
brw-rw---- 1 root disk 8, 112 Jan 22 10:24 sdh
brw-rw---- 1 root disk 8, 113 Jan 22 10:24 sdh1
brw-rw---- 1 root disk 8, 128 Jan 22 10:24 sdi
brw-rw---- 1 root disk 8, 129 Jan 22 10:24 sdi1
brw-rw---- 1 root disk 8, 144 Jan 22 10:24 sdj
brw-rw---- 1 root disk 8, 145 Jan 22 10:24 sdj1
brw-rw---- 1 root disk 8, 160 Jan 22 10:01 sdk
brw-rw---- 1 root disk 8, 176 Jan 22 10:01 sdl
brw-rw---- 1 root disk 8, 192 Jan 22 10:01 sdm
brw-rw---- 1 root disk 8, 208 Jan 22 10:01 sdn
brw-rw---- 1 root disk 8, 224 Jan 22 10:01 sdo
[root@oraclelab1 dev]# fdisk /dev/sdk
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table


Building a new DOS disklabel with disk identifier 0x14069dea.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-2097151, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):
Using default value 2097151
Partition 1 of type Linux and of size 1023 MiB is set

Command (m for help): w


The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# fdisk /dev/sdl
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table


Building a new DOS disklabel with disk identifier 0x5d980014.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-2097151, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):
Using default value 2097151
Partition 1 of type Linux and of size 1023 MiB is set

Command (m for help):


Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# fdisk /dev/sdm
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table


Building a new DOS disklabel with disk identifier 0x8c6836c0.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-2097151, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):
Using default value 2097151
Partition 1 of type Linux and of size 1023 MiB is set

Command (m for help):


Command (m for help):
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# fdisk /dev/sdn
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0x6243ce85.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-2097151, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):
Using default value 2097151
Partition 1 of type Linux and of size 1023 MiB is set

Command (m for help): w


The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# fdisk /dev/sdo
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table


Building a new DOS disklabel with disk identifier 0xde8bffd8.

Command (m for help): n


Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-4194303, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-4194303, default 4194303):
Using default value 4194303
Partition 1 of type Linux and of size 2 GiB is set

Command (m for help):


Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.


Syncing disks.
[root@oraclelab1 dev]# fdisk /dev/sdp
fdisk: cannot open /dev/sdp: No such file or directory
[root@oraclelab1 dev]#
[root@oraclelab1 dev]#
[root@oraclelab1 dev]#
[root@oraclelab1 dev]# ll sd*
brw-rw---- 1 root disk 8, 0 Jan 22 10:01 sda
brw-rw---- 1 root disk 8, 1 Jan 22 10:01 sda1
brw-rw---- 1 root disk 8, 2 Jan 22 10:01 sda2
brw-rw---- 1 root disk 8, 16 Jan 22 10:01 sdb
brw-rw---- 1 root disk 8, 17 Jan 22 10:01 sdb1
brw-rw---- 1 root disk 8, 32 Jan 22 10:01 sdc
brw-rw---- 1 root disk 8, 33 Jan 22 10:01 sdc1
brw-rw---- 1 root disk 8, 48 Jan 22 10:01 sdd
brw-rw---- 1 root disk 8, 49 Jan 22 10:01 sdd1
brw-rw---- 1 root disk 8, 64 Jan 22 10:23 sde
brw-rw---- 1 root disk 8, 65 Jan 22 10:23 sde1
brw-rw---- 1 root disk 8, 80 Jan 22 10:24 sdf
brw-rw---- 1 root disk 8, 81 Jan 22 10:24 sdf1
brw-rw---- 1 root disk 8, 96 Jan 22 10:24 sdg
brw-rw---- 1 root disk 8, 97 Jan 22 10:24 sdg1
brw-rw---- 1 root disk 8, 112 Jan 22 10:24 sdh
brw-rw---- 1 root disk 8, 113 Jan 22 10:24 sdh1
brw-rw---- 1 root disk 8, 128 Jan 22 10:24 sdi
brw-rw---- 1 root disk 8, 129 Jan 22 10:24 sdi1
brw-rw---- 1 root disk 8, 144 Jan 22 10:24 sdj
brw-rw---- 1 root disk 8, 145 Jan 22 10:24 sdj1
brw-rw---- 1 root disk 8, 160 Jan 22 10:24 sdk
brw-rw---- 1 root disk 8, 161 Jan 22 10:24 sdk1
brw-rw---- 1 root disk 8, 176 Jan 22 10:24 sdl
brw-rw---- 1 root disk 8, 177 Jan 22 10:24 sdl1
brw-rw---- 1 root disk 8, 192 Jan 22 10:24 sdm
brw-rw---- 1 root disk 8, 193 Jan 22 10:24 sdm1
brw-rw---- 1 root disk 8, 208 Jan 22 10:25 sdn
brw-rw---- 1 root disk 8, 209 Jan 22 10:25 sdn1
brw-rw---- 1 root disk 8, 224 Jan 22 10:25 sdo
brw-rw---- 1 root disk 8, 225 Jan 22 10:25 sdo1
[root@oraclelab1 dev]# cd /dev/oracleasm/disks/
[root@oraclelab1 disks]# ll
total 0
brw-rw---- 1 oracle oinstall 8, 17 Jan 22 10:25 ASMDISK1
brw-rw---- 1 oracle oinstall 8, 33 Jan 22 10:25 ASMDISK2
brw-rw---- 1 oracle oinstall 8, 49 Jan 22 10:25 ASMDISK3
[root@oraclelab1 disks]# oracleasm createdisk D1 /dev/sde1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# ll
total 0
brw-rw---- 1 oracle oinstall 8, 17 Jan 22 10:25 ASMDISK1
brw-rw---- 1 oracle oinstall 8, 33 Jan 22 10:25 ASMDISK2
brw-rw---- 1 oracle oinstall 8, 49 Jan 22 10:25 ASMDISK3
brw-rw---- 1 oracle oinstall 8, 65 Jan 22 10:25 D1
[root@oraclelab1 disks]# oracleasm listdisks
ASMDISK1
ASMDISK2
ASMDISK3
D1
[root@oraclelab1 disks]# oracleasm createdisk D2 /dev/sdf1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# oracleasm createdisk D3 /dev/sdg1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# oracleasm createdisk D4 /dev/sdh1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# oracleasm createdisk D5 /dev/sdi1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# oracleasm createdisk D6 /dev/sdj1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# oracleasm createdisk D7 /dev/sdk1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# oracleasm createdisk D8 /dev/sdl1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# oracleasm createdisk D9 /dev/sdm1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# oracleasm createdisk D10 /dev/sdn1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# oracleasm createdisk D11 /dev/sdo1
Writing disk header: done
Instantiating disk: done
[root@oraclelab1 disks]# ll
total 0
brw-rw---- 1 oracle oinstall 8, 17 Jan 22 10:27 ASMDISK1
brw-rw---- 1 oracle oinstall 8, 33 Jan 22 10:27 ASMDISK2
brw-rw---- 1 oracle oinstall 8, 49 Jan 22 10:27 ASMDISK3
brw-rw---- 1 oracle oinstall 8, 65 Jan 22 10:25 D1
brw-rw---- 1 oracle oinstall 8, 209 Jan 22 10:27 D10
brw-rw---- 1 oracle oinstall 8, 225 Jan 22 10:27 D11
brw-rw---- 1 oracle oinstall 8, 81 Jan 22 10:26 D2
brw-rw---- 1 oracle oinstall 8, 97 Jan 22 10:26 D3
brw-rw---- 1 oracle oinstall 8, 113 Jan 22 10:26 D4
brw-rw---- 1 oracle oinstall 8, 129 Jan 22 10:26 D5
brw-rw---- 1 oracle oinstall 8, 145 Jan 22 10:27 D6
brw-rw---- 1 oracle oinstall 8, 161 Jan 22 10:27 D7
brw-rw---- 1 oracle oinstall 8, 177 Jan 22 10:27 D8
brw-rw---- 1 oracle oinstall 8, 193 Jan 22 10:27 D9
[root@oraclelab1 disks]# oracleasm listdisks
ASMDISK1
ASMDISK2
ASMDISK3
D1
D10
D11
D2
D3
D4
D5
D6
D7
D8
D9
[root@oraclelab1 disks]# oracleasm listdisks
ASMDISK1
ASMDISK2
ASMDISK3
D1
D10
D11
D2
D3
D4
D5
D6
D7
D8
D9
[root@oraclelab1 disks]# su - oracle
Last login: Sun Jan 22 10:18:36 IST 2023
[oracle@oraclelab1 ~]$ . orenv
-bash: orenv: No such file or directory
[oracle@oraclelab1 ~]$ . oraenv
ORACLE_SID = [oracle] ? +ASM1
The Oracle base has been set to /u01/app/oracle
[oracle@oraclelab1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 10:31:34 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> CREATE DISKGROUP dgroupA NORMAL REDUNDANCY


DISK '/dev/oracleasm/disks/D1'; 2
CREATE DISKGROUP dgroupA NORMAL REDUNDANCY
*
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15167: command requires at least 2 failure groups; found only 1

SQL> CREATE DISKGROUP dgroupA HIGH REDUNDANCY


DISK '/dev/oracleasm/disks/D1'; 2
CREATE DISKGROUP dgroupA HIGH REDUNDANCY
*
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15167: command requires at least 3 failure groups; found only 1

SQL> CREATE DISKGROUP dgroupA HIGH REDUNDANCY


DISK '/dev/oracleasm/disks/D1';
'/dev/oracleasm/disks/D2'; 2 CREATE DISKGROUP dgroupA HIGH REDUNDANCY
*
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15167: command requires at least 3 failure groups; found only 1

SQL> CREATE DISKGROUP dgroupA NORMAL REDUNDANCY


SP2-0734: FAILGROUP FG1 DISK
'/dev/oracleasm/disks/D2' NAME ASM_1G_D1;
FAILGROUP FG2 DISK
'/dev/oracleasm/disks/D2' NAME ASM_1G_D2;unknown command beginning "'/dev/orac..." -
rest of line ignored.
SQL> SP2-0734: unknown command beginning "FAILGROUP ..." - rest of line ignored.
SQL> SP2-0734: unknown command beginning "'/dev/orac..." - rest of line ignored.
SQL> SP2-0734: unknown command beginning "FAILGROUP ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SQL>
SP2-0734: unknown command beginning "'/dev/orac..." - rest of line ignored.
SQL>
SQL>
SQL>
SQL>
SQL> CREATE DISKGROUP dgroupA NORMAL REDUNDANCY
FAILGROUP FG1 DISK
'/dev/oracleasm/disks/D1' NAME ASM_1G_D1
FAILGROUP FG2 DISK
'/dev/oracleasm/disks/D2' NAME ASM_1G_D2; 2 3 4 5

Diskgroup created.

SQL> desc V$ASM_DISKGROUP;


Name Null? Type
----------------------------------------- -------- ----------------------------
GROUP_NUMBER NUMBER
NAME VARCHAR2(30)
SECTOR_SIZE NUMBER
LOGICAL_SECTOR_SIZE NUMBER
BLOCK_SIZE NUMBER
ALLOCATION_UNIT_SIZE NUMBER
STATE VARCHAR2(11)
TYPE VARCHAR2(6)
TOTAL_MB NUMBER
FREE_MB NUMBER
HOT_USED_MB NUMBER
COLD_USED_MB NUMBER
REQUIRED_MIRROR_FREE_MB NUMBER
USABLE_FILE_MB NUMBER
OFFLINE_DISKS NUMBER
COMPATIBILITY VARCHAR2(60)
DATABASE_COMPATIBILITY VARCHAR2(60)
VOTING_FILES VARCHAR2(1)
CON_ID NUMBER

SQL> select GROUP_NUMBER,NAME from V$ASM_DISKGROUP;

GROUP_NUMBER NAME
------------ ------------------------------
1 DATA
2 OCR
3 RECO
4 DGROUPA

SQL> desc V$ASM_DISK;


Name Null? Type
----------------------------------------- -------- ----------------------------
GROUP_NUMBER NUMBER
DISK_NUMBER NUMBER
COMPOUND_INDEX NUMBER
INCARNATION NUMBER
MOUNT_STATUS VARCHAR2(7)
HEADER_STATUS VARCHAR2(12)
MODE_STATUS VARCHAR2(7)
STATE VARCHAR2(8)
REDUNDANCY VARCHAR2(7)
LIBRARY VARCHAR2(64)
OS_MB NUMBER
TOTAL_MB NUMBER
FREE_MB NUMBER
HOT_USED_MB NUMBER
COLD_USED_MB NUMBER
NAME VARCHAR2(30)
FAILGROUP VARCHAR2(30)
LABEL VARCHAR2(31)
PATH VARCHAR2(256)
UDID VARCHAR2(64)
PRODUCT VARCHAR2(32)
CREATE_DATE DATE
MOUNT_DATE DATE
REPAIR_TIMER NUMBER
READS NUMBER
WRITES NUMBER
READ_ERRS NUMBER
WRITE_ERRS NUMBER
READ_TIMEOUT NUMBER
WRITE_TIMEOUT NUMBER
READ_TIME NUMBER
WRITE_TIME NUMBER
BYTES_READ NUMBER
BYTES_WRITTEN NUMBER
PREFERRED_READ VARCHAR2(1)
HASH_VALUE NUMBER
HOT_READS NUMBER
HOT_WRITES NUMBER
HOT_BYTES_READ NUMBER
HOT_BYTES_WRITTEN NUMBER
COLD_READS NUMBER
COLD_WRITES NUMBER
COLD_BYTES_READ NUMBER
COLD_BYTES_WRITTEN NUMBER
VOTING_FILE VARCHAR2(1)
SECTOR_SIZE NUMBER
LOGICAL_SECTOR_SIZE NUMBER
FAILGROUP_TYPE VARCHAR2(7)
CON_ID NUMBER
THIN_PROVISION_CAPABLE VARCHAR2(1)
DATA_INTEGRITY_CAPABLE VARCHAR2(1)
SITE_NAME VARCHAR2(30)
SITE_GUID VARCHAR2(33)
FAILGROUP_LABEL VARCHAR2(30)
SITE_LABEL VARCHAR2(30)
SITE_STATUS VARCHAR2(11)

SQL> select GROUP_NUMBER,NAME,FAILGROUP,LABEL,PATH from V$ASM_DISK;

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
0

/dev/oracleasm/disks/D7

/dev/oracleasm/disks/D9

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------

/dev/oracleasm/disks/D8

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
/dev/oracleasm/disks/D4

/dev/oracleasm/disks/D10

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
/dev/oracleasm/disks/D3

/dev/oracleasm/disks/D11

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
0

/dev/oracleasm/disks/D5

/dev/oracleasm/disks/D6

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------

1 DATA_0000 DATA_0000
ASMDISK2
/dev/oracleasm/disks/ASMDISK2

3 RECO_0000 RECO_0000
ASMDISK3

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
/dev/oracleasm/disks/ASMDISK3

2 OCR_0000 OCR_0000
ASMDISK1
/dev/oracleasm/disks/ASMDISK1

4 ASM_1G_D2 FG2

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
D2
/dev/oracleasm/disks/D2

4 ASM_1G_D1 FG1
D1
/dev/oracleasm/disks/D1

14 rows selected.

SQL> set pages 1000 lines 1000


SQL> select GROUP_NUMBER,NAME,FAILGROUP,LABEL,PATH from V$ASM_DISK;

GROUP_NUMBER NAME FAILGROUP LABEL


PATH
------------ ------------------------------ ------------------------------ -------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
--
0 /dev/oracleasm/disks/D7
0 /dev/oracleasm/disks/D9
0 /dev/oracleasm/disks/D8
0 /dev/oracleasm/disks/D4
0 /dev/oracleasm/disks/D10
0 /dev/oracleasm/disks/D3
0 /dev/oracleasm/disks/D11
0 /dev/oracleasm/disks/D5
0 /dev/oracleasm/disks/D6
1 DATA_0000 DATA_0000 ASMDISK2
/dev/oracleasm/disks/ASMDISK2
3 RECO_0000 RECO_0000 ASMDISK3
/dev/oracleasm/disks/ASMDISK3
2 OCR_0000 OCR_0000 ASMDISK1
/dev/oracleasm/disks/ASMDISK1
4 ASM_1G_D2 FG2 D2
/dev/oracleasm/disks/D2
4 ASM_1G_D1 FG1 D1
/dev/oracleasm/disks/D1

14 rows selected.

SQL> select GROUP_NUMBER,NAME from V$ASM_DISKGROUP;

GROUP_NUMBER NAME
------------ ------------------------------
1 DATA
2 OCR
3 RECO
4 DGROUPA

SQL> CREATE DISKGROUP dgroupB HIGH REDUNDANCY


FAILGROUP controller1 DISK
'/dev/oracleasm/disks/D3' NAME DISK3
FAILGROUP controller2 DISK
'/dev/oracleasm/disks/D4' NAME DISK4
FAILGROUP controller3 DISK
'/dev/oracleasm/disks/D5' NAME DISK5; 2 3 4 5 6 7

Diskgroup created.

SQL> CREATE DISKGROUP dgroupC EXTERNAL REDUNDANCY


DISK '/dev/oracleasm/disks/D6'; 2

Diskgroup created.

SQL> select GROUP_NUMBER,NAME,FAILGROUP,LABEL,PATH from V$ASM_DISK;

GROUP_NUMBER NAME FAILGROUP LABEL


PATH
------------ ------------------------------ ------------------------------ -------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
--
0 /dev/oracleasm/disks/D7
0 /dev/oracleasm/disks/D9
0 /dev/oracleasm/disks/D8
0 /dev/oracleasm/disks/D10
0 /dev/oracleasm/disks/D11
1 DATA_0000 DATA_0000 ASMDISK2
/dev/oracleasm/disks/ASMDISK2
3 RECO_0000 RECO_0000 ASMDISK3
/dev/oracleasm/disks/ASMDISK3
2 OCR_0000 OCR_0000 ASMDISK1
/dev/oracleasm/disks/ASMDISK1
6 DGROUPC_0000 DGROUPC_0000 D6
/dev/oracleasm/disks/D6
5 DISK5 CONTROLLER3 D5
/dev/oracleasm/disks/D5
5 DISK4 CONTROLLER2 D4
/dev/oracleasm/disks/D4
5 DISK3 CONTROLLER1 D3
/dev/oracleasm/disks/D3
4 ASM_1G_D2 FG2 D2
/dev/oracleasm/disks/D2
4 ASM_1G_D1 FG1 D1
/dev/oracleasm/disks/D1

14 rows selected.

SQL> ALTER DISKGROUP dgroupA ADD DISK


'/dev/oracleasm/disks/D7',
'/dev/oracleasm/disks/D8'; 2 3

Diskgroup altered.

SQL> select GROUP_NUMBER,NAME,FAILGROUP,LABEL,PATH from V$ASM_DISK;

GROUP_NUMBER NAME FAILGROUP LABEL


PATH
------------ ------------------------------ ------------------------------ -------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
--
0 /dev/oracleasm/disks/D9
0 /dev/oracleasm/disks/D10
0 /dev/oracleasm/disks/D11
1 DATA_0000 DATA_0000 ASMDISK2
/dev/oracleasm/disks/ASMDISK2
3 RECO_0000 RECO_0000 ASMDISK3
/dev/oracleasm/disks/ASMDISK3
2 OCR_0000 OCR_0000 ASMDISK1
/dev/oracleasm/disks/ASMDISK1
4 DGROUPA_0003 DGROUPA_0003 D8
/dev/oracleasm/disks/D8
4 DGROUPA_0002 DGROUPA_0002 D7
/dev/oracleasm/disks/D7
6 DGROUPC_0000 DGROUPC_0000 D6
/dev/oracleasm/disks/D6
5 DISK5 CONTROLLER3 D5
/dev/oracleasm/disks/D5
5 DISK4 CONTROLLER2 D4
/dev/oracleasm/disks/D4
5 DISK3 CONTROLLER1 D3
/dev/oracleasm/disks/D3
4 ASM_1G_D2 FG2 D2
/dev/oracleasm/disks/D2
4 ASM_1G_D1 FG1 D1
/dev/oracleasm/disks/D1

14 rows selected.

SQL> select GROUP_NUMBER,NAME,FAILGROUP,LABEL,PATH from V$ASM_DISK order


by GROUP_NUMBER desc;

GROUP_NUMBER NAME FAILGROUP LABEL


PATH
------------ ------------------------------ ------------------------------ -------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
--
6 DGROUPC_0000 DGROUPC_0000 D6
/dev/oracleasm/disks/D6
5 DISK3 CONTROLLER1 D3
/dev/oracleasm/disks/D3
5 DISK4 CONTROLLER2 D4
/dev/oracleasm/disks/D4
5 DISK5 CONTROLLER3 D5
/dev/oracleasm/disks/D5
4 DGROUPA_0003 DGROUPA_0003 D8
/dev/oracleasm/disks/D8
4 ASM_1G_D2 FG2 D2
/dev/oracleasm/disks/D2
4 DGROUPA_0002 DGROUPA_0002 D7
/dev/oracleasm/disks/D7
4 ASM_1G_D1 FG1 D1
/dev/oracleasm/disks/D1
3 RECO_0000 RECO_0000 ASMDISK3
/dev/oracleasm/disks/ASMDISK3
2 OCR_0000 OCR_0000 ASMDISK1
/dev/oracleasm/disks/ASMDISK1
1 DATA_0000 DATA_0000 ASMDISK2
/dev/oracleasm/disks/ASMDISK2
0 /dev/oracleasm/disks/D11
0 /dev/oracleasm/disks/D9
0 /dev/oracleasm/disks/D10

14 rows selected.

SQL> select GROUP_NUMBER,NAME from V$ASM_DISKGROUP;

GROUP_NUMBER NAME
------------ ------------------------------
1 DATA
2 OCR
3 RECO
4 DGROUPA
5 DGROUPB
6 DGROUPC

6 rows selected.

SQL> ALTER DISKGROUP dgroupC DROP DISK '/dev/oracleasm/disks/D3';


ALTER DISKGROUP dgroupC DROP DISK '/dev/oracleasm/disks/D3'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15054: disk "/DEV/ORACLEASM/DISKS/D3" does not exist in diskgroup "DGROUPC"

SQL> ALTER DISKGROUP dgroupC DROP DISK /dev/oracleasm/disks/D3;


ALTER DISKGROUP dgroupC DROP DISK /dev/oracleasm/disks/D3
*
ERROR at line 1:
ORA-00905: missing keyword

SQL> ALTER DISKGROUP dgroupC DROP DISK DISK3;^C

SQL>
SQL>
SQL> ALTER DISKGROUP dgroupB DROP DISK '/dev/oracleasm/disks/D3';
ALTER DISKGROUP dgroupB DROP DISK '/dev/oracleasm/disks/D3'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15054: disk "/DEV/ORACLEASM/DISKS/D3" does not exist in diskgroup "DGROUPB"

SQL> ALTER DISKGROUP dgroupB DROP DISK /dev/oracleasm/disks/D3;


ALTER DISKGROUP dgroupB DROP DISK /dev/oracleasm/disks/D3
*
ERROR at line 1:
ORA-00905: missing keyword

SQL> ALTER DISKGROUP dgroupB DROP DISK DISK3;


ALTER DISKGROUP dgroupB DROP DISK DISK3
*
ERROR at line 1:
ORA-15067: command or option incompatible with diskgroup redundancy

SQL> select GROUP_NUMBER,NAME,FAILGROUP,LABEL,PATH from V$ASM_DISK order


by GROUP_NUMBER desc;

GROUP_NUMBER NAME FAILGROUP LABEL


PATH
------------ ------------------------------ ------------------------------ -------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
--
6 DGROUPC_0000 DGROUPC_0000 D6
/dev/oracleasm/disks/D6
5 DISK3 CONTROLLER1 D3
/dev/oracleasm/disks/D3
5 DISK4 CONTROLLER2 D4
/dev/oracleasm/disks/D4
5 DISK5 CONTROLLER3 D5
/dev/oracleasm/disks/D5
4 DGROUPA_0003 DGROUPA_0003 D8
/dev/oracleasm/disks/D8
4 ASM_1G_D2 FG2 D2
/dev/oracleasm/disks/D2
4 DGROUPA_0002 DGROUPA_0002 D7
/dev/oracleasm/disks/D7
4 ASM_1G_D1 FG1 D1
/dev/oracleasm/disks/D1
3 RECO_0000 RECO_0000 ASMDISK3
/dev/oracleasm/disks/ASMDISK3
2 OCR_0000 OCR_0000 ASMDISK1
/dev/oracleasm/disks/ASMDISK1
1 DATA_0000 DATA_0000 ASMDISK2
/dev/oracleasm/disks/ASMDISK2
0 /dev/oracleasm/disks/D11
0 /dev/oracleasm/disks/D9
0 /dev/oracleasm/disks/D10

14 rows selected.

SQL> ALTER DISKGROUP dgroupA DROP DISK '/dev/oracleasm/disks/D1';


ALTER DISKGROUP dgroupA DROP DISK '/dev/oracleasm/disks/D1'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15054: disk "/DEV/ORACLEASM/DISKS/D1" does not exist in diskgroup "DGROUPA"

SQL> ALTER DISKGROUP dgroupA DROP DISK /dev/oracleasm/disks/D1;


ALTER DISKGROUP dgroupA DROP DISK /dev/oracleasm/disks/D1
*
ERROR at line 1:
ORA-00905: missing keyword

SQL> ALTER DISKGROUP dgroupA DROP DISK ASM_1G_D1;

Diskgroup altered.

SQL> select GROUP_NUMBER,NAME,FAILGROUP,LABEL,PATH from V$ASM_DISK order


by GROUP_NUMBER desc;

GROUP_NUMBER NAME FAILGROUP LABEL


PATH
------------ ------------------------------ ------------------------------ -------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
--
6 DGROUPC_0000 DGROUPC_0000 D6
/dev/oracleasm/disks/D6
5 DISK3 CONTROLLER1 D3
/dev/oracleasm/disks/D3
5 DISK4 CONTROLLER2 D4
/dev/oracleasm/disks/D4
5 DISK5 CONTROLLER3 D5
/dev/oracleasm/disks/D5
4 DGROUPA_0002 DGROUPA_0002 D7
/dev/oracleasm/disks/D7
4 ASM_1G_D2 FG2 D2
/dev/oracleasm/disks/D2
4 DGROUPA_0003 DGROUPA_0003 D8
/dev/oracleasm/disks/D8
3 RECO_0000 RECO_0000 ASMDISK3
/dev/oracleasm/disks/ASMDISK3
2 OCR_0000 OCR_0000 ASMDISK1
/dev/oracleasm/disks/ASMDISK1
1 DATA_0000 DATA_0000 ASMDISK2
/dev/oracleasm/disks/ASMDISK2
0 /dev/oracleasm/disks/D11
0 /dev/oracleasm/disks/D1
0 /dev/oracleasm/disks/D10
0 /dev/oracleasm/disks/D9

14 rows selected.

SQL> desc V$ASM_OPERATION;


Name
Null? Type

-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------- --------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
---------------
GROUP_NUMBER
NUMBER
OPERATION
CHAR(5)
PASS
VARCHAR2(9)
STATE
VARCHAR2(4)
POWER
NUMBER
ACTUAL
NUMBER
SOFAR
NUMBER
EST_WORK
NUMBER
EST_RATE
NUMBER
EST_MINUTES
NUMBER
ERROR_CODE
VARCHAR2(44)
CON_ID
NUMBER

SQL> select * from V$ASM_OPERATION;

no rows selected

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab1 ~]$ . oraenv
ORACLE_SID = [+ASM1] ? DEVDB1
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@oraclelab1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 11:23:25 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> select name from v$datafile;


NAME
--------------------------------------------------------------------------------
+DATA/DEVDB/DATAFILE/system.257.1126168821
+DATA/DEVDB/DATAFILE/sysaux.258.1126168855
+DATA/DEVDB/DATAFILE/undotbs1.259.1126168871
+DATA/DEVDB/DATAFILE/undotbs2.265.1126169129
+DATA/DEVDB/DATAFILE/users.260.1126168873

SQL> ALTER DATABASE MOVE DATAFILE


'+DATA/DEVDB/DATAFILE/system.257.1126168821' TO '+DGROUPB';

Database altered.

SQL> select name from v$datafile;

NAME
--------------------------------------------------------------------------------
+DGROUPB/DEVDB/DATAFILE/system.256.1126783489
+DATA/DEVDB/DATAFILE/sysaux.258.1126168855
+DATA/DEVDB/DATAFILE/undotbs1.259.1126168871
+DATA/DEVDB/DATAFILE/undotbs2.265.1126169129
+DATA/DEVDB/DATAFILE/users.260.1126168873

SQL> show parameter db_create

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
db_create_file_dest string +DATA
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
db_create_online_log_dest_5 string
SQL> create tablespace TESt1;

Tablespace created.

SQL> select name from v$datafile;

NAME
--------------------------------------------------------------------------------
+DGROUPB/DEVDB/DATAFILE/system.256.1126783489
+DATA/DEVDB/DATAFILE/test1.257.1126783601
+DATA/DEVDB/DATAFILE/sysaux.258.1126168855
+DATA/DEVDB/DATAFILE/undotbs1.259.1126168871
+DATA/DEVDB/DATAFILE/undotbs2.265.1126169129
+DATA/DEVDB/DATAFILE/users.260.1126168873

6 rows selected.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab1 ~]$ . oraenv
ORACLE_SID = [DEVDB1] ? +ASM1
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@oraclelab1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 11:28:18 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> drop diskgroup DGROUPA;


drop diskgroup DGROUPA
*
ERROR at line 1:
ORA-15039: diskgroup not dropped
ORA-15073: diskgroup DGROUPA is mounted by another ASM instance

SQL> alter diskgroup DGROUPA dismount;

Diskgroup altered.

SQL> drop diskgroup DGROUPA;


drop diskgroup DGROUPA
*
ERROR at line 1:
ORA-15039: diskgroup not dropped
ORA-15001: diskgroup "DGROUPA" does not exist or is not mounted
SQL> drop diskgroup DGROUPA;
drop diskgroup DGROUPA
*
ERROR at line 1:
ORA-15039: diskgroup not dropped
ORA-15001: diskgroup "DGROUPA" does not exist or is not mounted

SQL> ALTER DISKGROUP DGROUPA mount;

Diskgroup altered.

SQL> drop diskgroup DGROUPA;

Diskgroup dropped.

SQL> select GROUP_NUMBER,NAME,FAILGROUP,LABEL,PATH from V$ASM_DISK order


by GROUP_NUMBER desc;

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
6 DGROUPC_0000 DGROUPC_0000
D6
/dev/oracleasm/disks/D6

5 DISK4 CONTROLLER2
D4
/dev/oracleasm/disks/D4

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------

5 DISK5 CONTROLLER3
D5
/dev/oracleasm/disks/D5
5 DISK3 CONTROLLER1
D3

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
/dev/oracleasm/disks/D3

3 RECO_0000 RECO_0000
ASMDISK3
/dev/oracleasm/disks/ASMDISK3

2 OCR_0000 OCR_0000

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
ASMDISK1
/dev/oracleasm/disks/ASMDISK1

1 DATA_0000 DATA_0000
ASMDISK2
/dev/oracleasm/disks/ASMDISK2

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
0

/dev/oracleasm/disks/D1

0
/dev/oracleasm/disks/D10

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------

/dev/oracleasm/disks/D2

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------
/dev/oracleasm/disks/D8

/dev/oracleasm/disks/D9

GROUP_NUMBER NAME FAILGROUP


------------ ------------------------------ ------------------------------
LABEL
-------------------------------
PATH
--------------------------------------------------------------------------------

/dev/oracleasm/disks/D7

/dev/oracleasm/disks/D11
14 rows selected.

SQL> set pages 1000 lines 1000


SQL> select GROUP_NUMBER,NAME,FAILGROUP,LABEL,PATH from V$ASM_DISK order
by GROUP_NUMBER desc;

GROUP_NUMBER NAME FAILGROUP LABEL


PATH
------------ ------------------------------ ------------------------------ -------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
--
6 DGROUPC_0000 DGROUPC_0000 D6
/dev/oracleasm/disks/D6
5 DISK4 CONTROLLER2 D4
/dev/oracleasm/disks/D4
5 DISK5 CONTROLLER3 D5
/dev/oracleasm/disks/D5
5 DISK3 CONTROLLER1 D3
/dev/oracleasm/disks/D3
3 RECO_0000 RECO_0000 ASMDISK3
/dev/oracleasm/disks/ASMDISK3
2 OCR_0000 OCR_0000 ASMDISK1
/dev/oracleasm/disks/ASMDISK1
1 DATA_0000 DATA_0000 ASMDISK2
/dev/oracleasm/disks/ASMDISK2
0 /dev/oracleasm/disks/D1
0 /dev/oracleasm/disks/D10
0 /dev/oracleasm/disks/D2
0 /dev/oracleasm/disks/D8
0 /dev/oracleasm/disks/D9
0 /dev/oracleasm/disks/D7
0 /dev/oracleasm/disks/D11

14 rows selected.

SQL>
SQL>
SQL> CREATE DISKGROUP dgroupD NORMAL REDUNDANCY
DISK '/dev/oracleasm/disks/D10';
'/dev/oracleasm/disks/D11'; 2 CREATE DISKGROUP dgroupD NORMAL REDUNDANCY
*
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15167: command requires at least 2 failure groups; found only 1

SQL>
SP2-0734: unknown command beginning "'/dev/orac..." - rest of line ignored.
SQL>
SQL> CREATE DISKGROUP dgroupD NORMAL REDUNDANCY
DISK '/dev/oracleasm/disks/D10'
'/dev/oracleasm/disks/D11'; 2 3
'/dev/oracleasm/disks/D11'
*
ERROR at line 3:
ORA-00933: SQL command not properly ended

SQL>
SQL>
SQL>
SQL>
SQL>
SQL>
SQL>
SQL>
SQL>
SQL> CREATE DISKGROUP dgroupD NORMAL REDUNDANCY
DISK '/dev/oracleasm/disks/D10'
'/dev/oracleasm/disks/D11'; 2 3
'/dev/oracleasm/disks/D11'
*
ERROR at line 3:
ORA-00933: SQL command not properly ended

SQL> CREATE DISKGROUP dgroupD NORMAL REDUNDANCY


DISK '/dev/oracleasm/disks/D10',
'/dev/oracleasm/disks/D11'; 2 3
CREATE DISKGROUP dgroupD NORMAL REDUNDANCY
*
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15410: Disks in disk group DGROUPD do not have equal size.

SQL> drop diskgroup DGROUPC including contents;


drop diskgroup DGROUPC including contents
*
ERROR at line 1:
ORA-15039: diskgroup not dropped
ORA-15073: diskgroup DGROUPC is mounted by another ASM instance

SQL> drop diskgroup DGROUPC including contents;

Diskgroup dropped.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab1 ~]$
[oracle@oraclelab1 ~]$
[oracle@oraclelab1 ~]$ exit
logout
[root@oraclelab1 disks]# . oraenv
ORACLE_SID = [root] ? +ASM1
The Oracle base has been set to /u01/app/oracle
[root@oraclelab1 disks]# crsctl stop crs -f
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on
'oraclelab1'
CRS-2673: Attempting to stop 'ora.crsd' on 'oraclelab1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server
'oraclelab1'
CRS-2673: Attempting to stop 'ora.chad' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.qosmserver' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.devdb.db' on 'oraclelab1'
CRS-2677: Stop of 'ora.devdb.db' on 'oraclelab1' succeeded
CRS-33673: Attempting to stop resource group 'ora.asmgroup' on server 'oraclelab1'
CRS-2673: Attempting to stop 'ora.OCR.dg' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.devdb.db' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.cvu' on 'oraclelab1'
CRS-2677: Stop of 'ora.OCR.dg' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'oraclelab1'
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'oraclelab1'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.oraclelab1.vip' on 'oraclelab1'
CRS-2677: Stop of 'ora.scan2.vip' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.cvu' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.scan3.vip' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.oraclelab1.vip' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.qosmserver' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.devdb.db' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.DGROUPB.dg' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.RECO.dg' on 'oraclelab1'
CRS-2677: Stop of 'ora.DATA.dg' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.DGROUPB.dg' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.RECO.dg' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'oraclelab1'
CRS-2677: Stop of 'ora.asm' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'oraclelab1'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.asmnet1.asmnetwork' on 'oraclelab1'
CRS-2677: Stop of 'ora.asmnet1.asmnetwork' on 'oraclelab1' succeeded
CRS-33677: Stop of resource group 'ora.asmgroup' on server 'oraclelab1' succeeded.
CRS-2677: Stop of 'ora.chad' on 'oraclelab1' succeeded
CRS-2672: Attempting to start 'ora.qosmserver' on 'oraclelab2'
CRS-2672: Attempting to start 'ora.scan2.vip' on 'oraclelab2'
CRS-2672: Attempting to start 'ora.scan3.vip' on 'oraclelab2'
CRS-2672: Attempting to start 'ora.cvu' on 'oraclelab2'
CRS-2672: Attempting to start 'ora.oraclelab1.vip' on 'oraclelab2'
CRS-2676: Start of 'ora.cvu' on 'oraclelab2' succeeded
CRS-2676: Start of 'ora.oraclelab1.vip' on 'oraclelab2' succeeded
CRS-2676: Start of 'ora.scan3.vip' on 'oraclelab2' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'oraclelab2'
CRS-2676: Start of 'ora.scan2.vip' on 'oraclelab2' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'oraclelab2'
CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'oraclelab2' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'oraclelab2' succeeded
CRS-2676: Start of 'ora.qosmserver' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'oraclelab1'
CRS-2677: Stop of 'ora.ons' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'oraclelab1'
CRS-2677: Stop of 'ora.net1.network' on 'oraclelab1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'oraclelab1' has
completed
CRS-2677: Stop of 'ora.crsd' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.crf' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'oraclelab1'
CRS-2677: Stop of 'ora.crf' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.asm' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'oraclelab1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.evmd' on 'oraclelab1'
CRS-2677: Stop of 'ora.ctssd' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'oraclelab1'
CRS-2677: Stop of 'ora.cssd' on 'oraclelab1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'oraclelab1'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'oraclelab1'
CRS-2677: Stop of 'ora.gpnpd' on 'oraclelab1' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'oraclelab1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'oraclelab1'
has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@oraclelab1 disks]# cd /u01/app/oraInventory/
[root@oraclelab1 oraInventory]# ll
total 12
drwxrwx--- 4 oracle oinstall 64 Jan 15 08:24 backup
drwxrwx--- 2 oracle oinstall 81 Jan 15 08:24 ContentsXML
drwxrwx--- 4 oracle oinstall 4096 Jan 15 08:23 logs
-rw-rw---- 1 oracle oinstall 56 Jan 14 11:21 oraInst.loc
-rwxrwx--- 1 oracle oinstall 1617 Jan 14 11:21 orainstRoot.sh
[root@oraclelab1 oraInventory]# cd logs/
[root@oraclelab1 logs]# ll
total 108
drwxrwx--- 3 oracle oinstall 4096 Jan 14 11:41 GridSetupActions2023-01-14_11-02-32AM
-rw-r----- 1 oracle oinstall 30162 Jan 14 11:41 installActions2023-01-14_11-02-32AM.log
drwxrwx--- 2 oracle oinstall 4096 Jan 15 08:27 InstallActions2023-01-15_08-18-21AM
-rw-r----- 1 oracle oinstall 17002 Jan 15 08:23 installActions2023-01-15_08-18-21AM.log
-rw-r----- 1 oracle oinstall 0 Jan 14 11:19 oraInstall2023-01-14_11-02-32AM.err
-rw-r----- 1 oracle oinstall 0 Jan 14 11:21 oraInstall2023-01-14_11-02-32AM.err.oraclelab2
-rw-r----- 1 oracle oinstall 0 Jan 14 11:19 oraInstall2023-01-14_11-02-32AM.out
-rw-r----- 1 oracle oinstall 351 Jan 14 11:40 oraInstall2023-01-14_11-02-32AM.out.oraclelab2
-rw-r----- 1 oracle oinstall 0 Jan 15 08:23 oraInstall2023-01-15_08-18-21AM.err
-rw-r----- 1 oracle oinstall 0 Jan 15 08:23 oraInstall2023-01-15_08-18-21AM.out
-rw-r----- 1 oracle oinstall 94 Jan 15 08:23 time2023-01-15_08-18-21AM.log
-rw-r----- 1 oracle oinstall 39535 Jan 14 11:40 UpdateNodeList2023-01-14_11-02-32AM.log
[root@oraclelab1 logs]# ls -ltrh
total 108K
-rw-r----- 1 oracle oinstall 0 Jan 14 11:19 oraInstall2023-01-14_11-02-32AM.out
-rw-r----- 1 oracle oinstall 0 Jan 14 11:19 oraInstall2023-01-14_11-02-32AM.err
-rw-r----- 1 oracle oinstall 0 Jan 14 11:21 oraInstall2023-01-14_11-02-32AM.err.oraclelab2
-rw-r----- 1 oracle oinstall 351 Jan 14 11:40 oraInstall2023-01-14_11-02-32AM.out.oraclelab2
-rw-r----- 1 oracle oinstall 39K Jan 14 11:40 UpdateNodeList2023-01-14_11-02-32AM.log
-rw-r----- 1 oracle oinstall 30K Jan 14 11:41 installActions2023-01-14_11-02-32AM.log
drwxrwx--- 3 oracle oinstall 4.0K Jan 14 11:41 GridSetupActions2023-01-14_11-02-32AM
-rw-r----- 1 oracle oinstall 0 Jan 15 08:23 oraInstall2023-01-15_08-18-21AM.out
-rw-r----- 1 oracle oinstall 0 Jan 15 08:23 oraInstall2023-01-15_08-18-21AM.err
-rw-r----- 1 oracle oinstall 94 Jan 15 08:23 time2023-01-15_08-18-21AM.log
-rw-r----- 1 oracle oinstall 17K Jan 15 08:23 installActions2023-01-15_08-18-21AM.log
drwxrwx--- 2 oracle oinstall 4.0K Jan 15 08:27 InstallActions2023-01-15_08-18-21AM
[root@oraclelab1 logs]# cd GridSetupActions2023-01-14_11-02-32AM
[root@oraclelab1 GridSetupActions2023-01-14_11-02-32AM]# ls -ltr
total 17620
-rw-r----- 1 oracle oinstall 130 Jan 14 11:02 installerPatchActions_2023-01-14_11-02-
32AM.log
-rw-r----- 1 oracle oinstall 0 Jan 14 11:02 gridSetupActions2023-01-14_11-02-32AM.err
drwxrwx--- 4 oracle oinstall 33 Jan 14 11:09 temp_ob
-rw-r----- 1 oracle oinstall 0 Jan 14 11:19 oraInstall2023-01-14_11-02-32AM.err
-rw-r----- 1 oracle oinstall 157 Jan 14 11:19 oraInstall2023-01-14_11-02-32AM.out
-rw-r----- 1 oracle oinstall 9061284 Jan 14 11:19 gridSetupActions2023-01-14_11-02-32AM.out
-rw-r----- 1 oracle oinstall 0 Jan 14 11:21 oraInstall2023-01-14_11-02-32AM.err.oraclelab2
-rw-r----- 1 oracle oinstall 234 Jan 14 11:21 oraInstall2023-01-14_11-02-32AM.out.oraclelab2
-rw-r----- 1 oracle oinstall 46786 Jan 14 11:41 time2023-01-14_11-02-32AM.log
-rw-r----- 1 oracle oinstall 8914653 Jan 14 11:41 gridSetupActions2023-01-14_11-02-32AM.log
[root@oraclelab1 GridSetupActions2023-01-14_11-02-32AM]# vi gridSetupActions2023-01-
14_11-02-32AM.log
[root@oraclelab1 GridSetupActions2023-01-14_11-02-32AM]# cd /u01/app/oracle/cfgtoollogs/
[root@oraclelab1 cfgtoollogs]# ll
total 4
drwxr-x--- 2 oracle oinstall 4096 Jan 15 08:30 asmca
drwxr-x--- 3 oracle oinstall 19 Jan 15 08:39 dbca
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 mgmtca
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 mgmtua
drwxr-x--- 2 oracle oinstall 145 Jan 14 11:40 netca
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 restca
drwxr-x--- 5 oracle oinstall 132 Jan 15 08:46 sqlpatch
[root@oraclelab1 cfgtoollogs]# ls -ltrh
total 4.0K
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 restca
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 mgmtua
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 mgmtca
drwxr-x--- 2 oracle oinstall 145 Jan 14 11:40 netca
drwxr-x--- 2 oracle oinstall 4.0K Jan 15 08:30 asmca
drwxr-x--- 3 oracle oinstall 19 Jan 15 08:39 dbca
drwxr-x--- 5 oracle oinstall 132 Jan 15 08:46 sqlpatch
[root@oraclelab1 cfgtoollogs]# cd asmca/
[root@oraclelab1 asmca]# ls -ltrh
total 308K
-rw-r----- 1 oracle oinstall 0 Jan 14 11:25 asmca-230114AM112502.log.lck
-rw-r----- 1 oracle oinstall 63K Jan 14 11:26 asmca-230114AM112502.log
-rw-r----- 1 oracle oinstall 0 Jan 14 11:40 asmca-230114AM114021.log.lck
-rw-r----- 1 oracle oinstall 59K Jan 14 11:40 asmca-230114AM114021.log
-rw-r----- 1 oracle oinstall 0 Jan 15 08:30 asmca-230115AM083038.log.lck
-rw-r----- 1 oracle oinstall 0 Jan 15 08:30 sysError.log
-rw-r----- 1 oracle oinstall 183K Jan 15 08:32 asmca-230115AM083038.log
[root@oraclelab1 asmca]# vi asmca-23011^C
[root@oraclelab1 asmca]# grep "CREATE DISKGROUP" *
asmca-230114AM112502.log:[main] [ 2023-01-14 11:25:50.882 IST ]
[UsmcaLogger.logInfo:156] CREATE DISKGROUP SQL: CREATE DISKGROUP OCR
EXTERNAL REDUNDANCY DISK '/dev/oracleasm/disks/ASMDISK1' SIZE 3071M
asmca-230115AM083038.log:[Thread-100] [ 2023-01-15 08:31:34.070 IST ]
[UsmcaLogger.logInfo:156] SQL: CREATE DISKGROUP DATA EXTERNAL REDUNDANCY
DISK '/dev/oracleasm/disks/ASMDISK2' SIZE 20479M
asmca-230115AM083038.log:[Thread-106] [ 2023-01-15 08:32:38.470 IST ]
[UsmcaLogger.logInfo:156] SQL: CREATE DISKGROUP RECO EXTERNAL REDUNDANCY
DISK '/dev/oracleasm/disks/ASMDISK3' SIZE 10239M
[root@oraclelab1 asmca]# pwd
/u01/app/oracle/cfgtoollogs/asmca
[root@oraclelab1 asmca]# cd ..
[root@oraclelab1 cfgtoollogs]# ll
total 4
drwxr-x--- 2 oracle oinstall 4096 Jan 15 08:30 asmca
drwxr-x--- 3 oracle oinstall 19 Jan 15 08:39 dbca
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 mgmtca
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 mgmtua
drwxr-x--- 2 oracle oinstall 145 Jan 14 11:40 netca
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 restca
drwxr-x--- 5 oracle oinstall 132 Jan 15 08:46 sqlpatch
[root@oraclelab1 cfgtoollogs]# cd /u01/app/19.0.0.0/grid/log/oraclelab1/
[root@oraclelab1 oraclelab1]# ll
total 4
drwxr-xr-x 6 oracle oinstall 81 Jan 14 11:22 acfs
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 admin
drwxr-xr-x 2 oracle oinstall 6 Jan 14 11:22 afd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 chad
drwxrwxrwt 2 oracle oinstall 4096 Jan 22 10:38 client
drwxr-x--- 2 root oinstall 6 Jan 14 11:22 crsd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 cssd
drwxr-x--- 2 root oinstall 6 Jan 14 11:22 ctssd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 diskmon
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 evmd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 gipcd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 gnsd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 gpnpd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 mdnsd
drwxr-x--- 2 root oinstall 6 Jan 14 11:24 ohasd
drwxrwxr-t 5 oracle oinstall 53 Jan 14 11:22 racg
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 srvm
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 xag
[root@oraclelab1 oraclelab1]# ls -ltrh
total 4.0K
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 mdnsd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 gpnpd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 evmd
drwxr-x--- 2 root oinstall 6 Jan 14 11:22 ctssd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 cssd
drwxr-x--- 2 root oinstall 6 Jan 14 11:22 crsd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 srvm
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 gnsd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 gipcd
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 diskmon
drwxr-xr-x 2 oracle oinstall 6 Jan 14 11:22 afd
drwxrwxr-t 5 oracle oinstall 53 Jan 14 11:22 racg
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 admin
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 xag
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 chad
drwxr-xr-x 6 oracle oinstall 81 Jan 14 11:22 acfs
drwxr-x--- 2 root oinstall 6 Jan 14 11:24 ohasd
drwxrwxrwt 2 oracle oinstall 4.0K Jan 22 10:38 client
[root@oraclelab1 oraclelab1]# cd /u01/app/oracle/crsdata/
[root@oraclelab1 crsdata]# ll
total 4
drwxrwxr-x 2 root oinstall 6 Jan 14 11:22 debug
drwxrwxr-x 3 oracle oinstall 18 Jan 14 11:22 _global
drwxrwxr-x 4 oracle oinstall 63 Jan 14 11:22 @global
drwxrwxr-x 25 oracle oinstall 4096 Jan 14 11:30 oraclelab1
[root@oraclelab1 crsdata]# cd oraclelab1
[root@oraclelab1 oraclelab1]# ll
total 20
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 acfs
drwxrwx--- 2 oracle oinstall 49 Jan 14 11:24 calog
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 cdp
drwxr-xr-x 5 oracle oinstall 48 Jan 14 11:22 chad
drwxrwxrwt 2 oracle oinstall 6 Jan 14 11:22 core
drwxr-xr-x 5 oracle oinstall 45 Jan 14 11:26 crf
drwxrwxr-x 3 oracle oinstall 4096 Jan 14 11:31 crsconfig
drwxrwxr-x 2 oracle oinstall 6 Jan 14 11:22 crsdiag
drwxrwx--- 2 root oinstall 6 Jan 14 11:22 csswd
drwxrwxrwt 6 oracle oinstall 60 Jan 14 11:40 cvu
drwxr-x--T 2 oracle oinstall 99 Jan 22 07:32 evm
drwxr-xr-x 2 oracle oinstall 6 Jan 14 11:22 ocr
drwxr-xr-x 2 oracle oinstall 141 Jan 15 11:57 olr
drwxr-x--- 3 oracle oinstall 36 Jan 14 11:30 onswallet
drwxrwxrwt 2 oracle oinstall 4096 Jan 14 11:31 output
drwxr-xr-x 2 oracle oinstall 6 Jan 14 11:22 ovmmwallets
drwxr-xr-x 7 oracle oinstall 69 Jan 14 11:22 qos
drwxrwxr-x 7 oracle oinstall 69 Jan 14 11:22 rhp
drwxr-x--- 2 oracle oinstall 6 Jan 14 11:22 scanclusters
drwxrwx--- 2 oracle oinstall 6 Jan 14 11:22 scripts
drwxr-x--- 3 oracle oinstall 49 Jan 14 11:26 security
drwxrw---T 2 oracle oinstall 8192 Jan 22 10:02 shm
drwxr-xr-x 5 oracle oinstall 41 Jan 14 11:22 trace
[root@oraclelab1 oraclelab1]# cd crsconfig
[root@oraclelab1 crsconfig]# ll
total 4236
-rw-r--r-- 1 oracle oinstall 1623 Jan 14 11:31 ckptGridHA_oraclelab1.xml
-rw-r----- 1 oracle oinstall 170363 Jan 14 11:31 cluutil0.log
-rw-r----- 1 oracle oinstall 217991 Jan 14 11:31 cluutil10.log
-rw-r----- 1 oracle oinstall 234970 Jan 14 11:31 cluutil1.log
-rw-r----- 1 oracle oinstall 120704 Jan 14 11:30 cluutil2.log
-rw-r----- 1 oracle oinstall 140063 Jan 14 11:30 cluutil3.log
-rw-r----- 1 oracle oinstall 286301 Jan 14 11:30 cluutil4.log
-rw-r----- 1 oracle oinstall 164683 Jan 14 11:30 cluutil5.log
-rw-r----- 1 oracle oinstall 169720 Jan 14 11:30 cluutil6.log
-rw-r----- 1 oracle oinstall 169851 Jan 14 11:31 cluutil7.log
-rw-r----- 1 oracle oinstall 139266 Jan 14 11:31 cluutil8.log
-rw-r----- 1 oracle oinstall 223748 Jan 14 11:31 cluutil9.log
-rw-r--r-- 1 oracle oinstall 442 Jan 14 11:31 index.xml
drwxr-x--- 2 oracle oinstall 27 Jan 14 11:30 oracle
-rw-r----- 1 oracle oinstall 830317 Jan 14 11:31 rootcrs_oraclelab1_2023-01-14_11-22-49AM.log
-rw-r----- 1 oracle oinstall 69937 Jan 14 11:29 srvmcfg10.log
-rw-r----- 1 oracle oinstall 22104 Jan 14 11:30 srvmcfg11.log
-rw-r----- 1 oracle oinstall 20478 Jan 14 11:30 srvmcfg12.log
-rw-r----- 1 oracle oinstall 28158 Jan 14 11:30 srvmcfg13.log
-rw-r----- 1 oracle oinstall 14781 Jan 14 11:30 srvmcfg14.log
-rw-r----- 1 oracle oinstall 16714 Jan 14 11:30 srvmcfg15.log
-rw-r----- 1 oracle oinstall 9587 Jan 14 11:30 srvmcfg16.log
-rw-r----- 1 oracle oinstall 9985 Jan 14 11:30 srvmcfg17.log
-rw-r----- 1 oracle oinstall 10577 Jan 14 11:30 srvmcfg18.log
-rw-r----- 1 oracle oinstall 26986 Jan 14 11:30 srvmcfg19.log
-rw-r----- 1 oracle oinstall 533443 Jan 14 11:29 srvmcfg1.log
-rw-r----- 1 oracle oinstall 56090 Jan 14 11:30 srvmcfg20.log
-rw-r----- 1 oracle oinstall 10270 Jan 14 11:31 srvmcfg23.log
-rw-r----- 1 oracle oinstall 13877 Jan 14 11:29 srvmcfg2.log
-rw-r----- 1 oracle oinstall 140836 Jan 14 11:29 srvmcfg3.log
-rw-r----- 1 oracle oinstall 95110 Jan 14 11:29 srvmcfg4.log
-rw-r----- 1 oracle oinstall 76480 Jan 14 11:29 srvmcfg5.log
-rw-r----- 1 oracle oinstall 33984 Jan 14 11:29 srvmcfg6.log
-rw-r----- 1 oracle oinstall 36183 Jan 14 11:29 srvmcfg7.log
-rw-r----- 1 oracle oinstall 77525 Jan 14 11:29 srvmcfg8.log
-rw-r----- 1 oracle oinstall 35461 Jan 14 11:29 srvmcfg9.log
-rw-r--r-- 1 oracle oinstall 52663 Jan 14 11:26 srvm_crskeytoolctl.log
[root@oraclelab1 crsconfig]# grep "CREATE DISKGROUP" *
grep: oracle: Is a directory
[root@oraclelab1 crsconfig]# pwd
/u01/app/oracle/crsdata/oraclelab1/crsconfig
[root@oraclelab1 crsconfig]# su - oracle
Last login: Sun Jan 22 11:48:56 IST 2023
[oracle@oraclelab1 ~]$ cd /u01/app/oracle/crsdata/oraclelab1/crsconfig
[oracle@oraclelab1 crsconfig]$ sqlplus / as sysasm^C
[oracle@oraclelab1 crsconfig]$ grep "CREATE DISKGROUP" *
grep: oracle: Is a directory
[oracle@oraclelab1 crsconfig]$ vi rootcrs_oraclelab1_2023-01-14_11-22-49AM.log
[oracle@oraclelab1 crsconfig]$ grep -i "CREATE DISKGROUP" rootcrs_oraclelab1_2023-01-
14_11-22-49AM.log
2023-01-14 11:30:02: Running as user oracle: /u01/app/19.0.0.0/grid/bin/crsctl create diskgroup
OCR
2023-01-14 11:30:03: create diskgroup OCR ... success
[oracle@oraclelab1 crsconfig]$ vi rootcrs_oraclelab1_2023-01-14_11-22-49AM.log
[oracle@oraclelab1 crsconfig]$ vi rootcrs_oraclelab1_2023-01-14_11-22-49AM.log
[oracle@oraclelab1 crsconfig]$ cd /tmp/
[oracle@oraclelab1 tmp]$ ls -ltr
total 940
drwx------. 2 root root 6 Dec 22 2021 tracker-extract-files.0
drwx------ 2 root root 24 Jan 14 08:47 ssh-ETvmSOqOa5dD
-rw------- 1 root root 235930 Jan 14 08:49 yum_save_tx.2023-01-14.08-49.5HDISB.yumtx
-rw------- 1 root root 11035 Jan 14 09:35 yum_save_tx.2023-01-14.09-35.8YZaMK.yumtx
drwx------ 2 root root 24 Jan 14 10:35 ssh-Twmf1p8judJF
drwx------ 2 oracle oinstall 25 Jan 14 11:01 ssh-kQIXwL7TCuNm
-rw-r--r-- 1 root root 23 Jan 14 11:23 tfa_install_26707_2023_01_14-11_22_58.log
drwxr-xr-x 2 oracle oinstall 78 Jan 14 11:40 cvutrace_oracle
-rw------- 1 root root 340759 Jan 15 07:59 yum_save_tx.2023-01-15.07-59.82i8Tr.yumtx
drwx------ 2 oracle oinstall 25 Jan 15 08:18 ssh-K3LMNRCayEW6
-rw------- 1 root root 340759 Jan 15 08:19 yum_save_tx.2023-01-15.08-19.7av00x.yumtx
drwx------ 2 oracle oinstall 6 Jan 15 08:39 tracker-extract-files.54321
-rw-r--r-- 1 oracle oinstall 1838 Jan 15 09:08 initDEVDB1.ora
drwxr-xr-x 3 oracle oinstall 4096 Jan 15 11:24 CVU_19.0.0.0.0_oracle
drwx------ 2 oracle oinstall 25 Jan 15 14:05 ssh-CP215OkD9ZoU
-rw-r--r-- 1 oracle oinstall 318 Jan 22 09:31 init.ora
drwx------ 3 root root 17 Jan 22 10:01 systemd-private-
11fd63bc2f8a4a84ad40e92d8e621169-rtkit-daemon.service-QpHj2v
drwx------ 3 root root 17 Jan 22 10:01 systemd-private-
11fd63bc2f8a4a84ad40e92d8e621169-cups.service-P9rIZO
drwx------ 3 root root 17 Jan 22 10:01 systemd-private-
11fd63bc2f8a4a84ad40e92d8e621169-bolt.service-p3iW9R
drwx------ 3 root root 17 Jan 22 10:01 systemd-private-
11fd63bc2f8a4a84ad40e92d8e621169-colord.service-YwfNlz
drwxr-xr-x 3 oracle oinstall 4096 Jan 22 12:01 CVU_19.0.0.0.0_resource
drwxr-xr-x 2 oracle oinstall 6 Jan 22 12:01 hsperfdata_oracle
drwxr-xr-x 2 root root 18 Jan 22 14:36 hsperfdata_root
-rw-r--r-- 1 oracle oinstall 142 Jan 22 14:37 osw.hb
[oracle@oraclelab1 tmp]$

login as: root


[email protected]'s password:

┌───────────────────────────────────────────────────────────
───────────┐
│ • MobaXterm Personal Edition v21.2 • │
│ (SSH client, X server and network tools) │
│ │
│ ➤ SSH session to [email protected]
│ • Direct SSH : ✔ │
│ • SSH compression : ✔ │
│ • SSH-browser : ✔ │
│ • X11-forwarding : ✔ (remote display is forwarded through SSH) │
│ │
│ ➤ For more info, ctrl+click on help or visit our website. │

└───────────────────────────────────────────────────────────
───────────┘
Last login: Sun Jan 22 10:37:59 2023 from 192.168.1.5
[root@oraclelab1 ~]# history |grep tail
15 history |grep tail
[root@oraclelab1 ~]# history |grep -i tail
15 history |grep tail
16 history |grep -i tail
[root@oraclelab1 ~]# history
1 ps -ef|grep d.bin
2 ifconfig
3 crsctl stat res -t -init
4 . oraenv
5 crsctl stat res -t -init
6 ps -ef|grep smon
7 ps -ef|grep d.bin
8 cd /etc/init.d/init.ohasd
9 ll /etc/init.d/init.ohasd
10 more /etc/init.d/init.ohasd
11 ps -ef|grep smon
12 ps -ef|grep d.bin
13 ps -ef|grep smon
14 reboot
15 history |grep tail
16 history |grep -i tail
17 history
[root@oraclelab1 ~]# cd /u01/app/oraInventory/logs/GridSetupActions2023-01-14_11-02-32AM/
[root@oraclelab1 GridSetupActions2023-01-14_11-02-32AM]# ls -ltrh
total 18M
-rw-r----- 1 oracle oinstall 130 Jan 14 11:02 installerPatchActions_2023-01-14_11-02-32AM.log
-rw-r----- 1 oracle oinstall 0 Jan 14 11:02 gridSetupActions2023-01-14_11-02-32AM.err
drwxrwx--- 4 oracle oinstall 33 Jan 14 11:09 temp_ob
-rw-r----- 1 oracle oinstall 0 Jan 14 11:19 oraInstall2023-01-14_11-02-32AM.err
-rw-r----- 1 oracle oinstall 157 Jan 14 11:19 oraInstall2023-01-14_11-02-32AM.out
-rw-r----- 1 oracle oinstall 8.7M Jan 14 11:19 gridSetupActions2023-01-14_11-02-32AM.out
-rw-r----- 1 oracle oinstall 0 Jan 14 11:21 oraInstall2023-01-14_11-02-32AM.err.oraclelab2
-rw-r----- 1 oracle oinstall 234 Jan 14 11:21 oraInstall2023-01-14_11-02-32AM.out.oraclelab2
-rw-r----- 1 oracle oinstall 46K Jan 14 11:41 time2023-01-14_11-02-32AM.log
-rw-r----- 1 oracle oinstall 8.6M Jan 14 11:41 gridSetupActions2023-01-14_11-02-32AM.log
[root@oraclelab1 GridSetupActions2023-01-14_11-02-32AM]# vi gridSetupActions2023-01-
14_11-02-32AM.log
[root@oraclelab1 GridSetupActions2023-01-14_11-02-32AM]# cd
/u01/app/oracle/crsdata/oraclelab1/crsconfig/
[root@oraclelab1 crsconfig]# ls -ltrh
total 4.2M
-rw-r--r-- 1 oracle oinstall 52K Jan 14 11:26 srvm_crskeytoolctl.log
-rw-r----- 1 oracle oinstall 521K Jan 14 11:29 srvmcfg1.log
-rw-r----- 1 oracle oinstall 14K Jan 14 11:29 srvmcfg2.log
-rw-r----- 1 oracle oinstall 138K Jan 14 11:29 srvmcfg3.log
-rw-r----- 1 oracle oinstall 93K Jan 14 11:29 srvmcfg4.log
-rw-r----- 1 oracle oinstall 75K Jan 14 11:29 srvmcfg5.log
-rw-r----- 1 oracle oinstall 34K Jan 14 11:29 srvmcfg6.log
-rw-r----- 1 oracle oinstall 36K Jan 14 11:29 srvmcfg7.log
-rw-r----- 1 oracle oinstall 76K Jan 14 11:29 srvmcfg8.log
-rw-r----- 1 oracle oinstall 35K Jan 14 11:29 srvmcfg9.log
-rw-r----- 1 oracle oinstall 69K Jan 14 11:29 srvmcfg10.log
-rw-r----- 1 oracle oinstall 22K Jan 14 11:30 srvmcfg11.log
-rw-r----- 1 oracle oinstall 20K Jan 14 11:30 srvmcfg12.log
-rw-r----- 1 oracle oinstall 28K Jan 14 11:30 srvmcfg13.log
-rw-r----- 1 oracle oinstall 15K Jan 14 11:30 srvmcfg14.log
-rw-r----- 1 oracle oinstall 17K Jan 14 11:30 srvmcfg15.log
-rw-r----- 1 oracle oinstall 9.4K Jan 14 11:30 srvmcfg16.log
-rw-r----- 1 oracle oinstall 9.8K Jan 14 11:30 srvmcfg17.log
-rw-r----- 1 oracle oinstall 11K Jan 14 11:30 srvmcfg18.log
-rw-r----- 1 oracle oinstall 118K Jan 14 11:30 cluutil2.log
-rw-r----- 1 oracle oinstall 137K Jan 14 11:30 cluutil3.log
-rw-r----- 1 oracle oinstall 280K Jan 14 11:30 cluutil4.log
-rw-r----- 1 oracle oinstall 27K Jan 14 11:30 srvmcfg19.log
-rw-r----- 1 oracle oinstall 161K Jan 14 11:30 cluutil5.log
-rw-r----- 1 oracle oinstall 166K Jan 14 11:30 cluutil6.log
-rw-r----- 1 oracle oinstall 55K Jan 14 11:30 srvmcfg20.log
drwxr-x--- 2 oracle oinstall 27 Jan 14 11:30 oracle
-rw-r----- 1 oracle oinstall 11K Jan 14 11:31 srvmcfg23.log
-rw-r----- 1 oracle oinstall 166K Jan 14 11:31 cluutil7.log
-rw-r----- 1 oracle oinstall 137K Jan 14 11:31 cluutil8.log
-rw-r--r-- 1 oracle oinstall 1.6K Jan 14 11:31 ckptGridHA_oraclelab1.xml
-rw-r--r-- 1 oracle oinstall 442 Jan 14 11:31 index.xml
-rw-r----- 1 oracle oinstall 219K Jan 14 11:31 cluutil9.log
-rw-r----- 1 oracle oinstall 213K Jan 14 11:31 cluutil10.log
-rw-r----- 1 oracle oinstall 167K Jan 14 11:31 cluutil0.log
-rw-r----- 1 oracle oinstall 230K Jan 14 11:31 cluutil1.log
-rw-r----- 1 oracle oinstall 811K Jan 14 11:31 rootcrs_oraclelab1_2023-01-14_11-22-49AM.log
[root@oraclelab1 crsconfig]# vi rootcrs_oraclelab1_2023-01-14_11-22-49AM.log
[root@oraclelab1 crsconfig]#

login as: root


[email protected]'s password:
┌───────────────────────────────────────────────────────────
───────────┐
│ • MobaXterm Personal Edition v21.2 • │
│ (SSH client, X server and network tools) │
│ │
│ ➤ SSH session to [email protected]
│ • Direct SSH : ✔ │
│ • SSH compression : ✔ │
│ • SSH-browser : ✔ │
│ • X11-forwarding : ✔ (remote display is forwarded through SSH) │
│ │
│ ➤ For more info, ctrl+click on help or visit our website. │

└───────────────────────────────────────────────────────────
───────────┘

Last login: Sun Jan 22 10:31:43 2023 from 192.168.1.5


[root@oraclelab1 ~]# su - oracle
Last login: Sun Jan 22 10:33:39 IST 2023
[oracle@oraclelab1 ~]$ . oraenv
ORACLE_SID = [oracle] ? +ASM1
The Oracle base has been set to /u01/app/oracle
[oracle@oraclelab1 ~]$ asmcmd -p
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 17520 0
17520 0 N DATA/
MOUNTED NORMAL N 512 512 4096 1048576 2046 1940 0
970 0 N DGROUPA/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8872 0
8872 0 N RECO/
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 17520 0
17520 0 N DATA/
MOUNTED NORMAL N 512 512 4096 1048576 2046 1940 0
970 0 N DGROUPA/
MOUNTED HIGH N 512 512 4096 1048576 3069 2910 0
970 0 N DGROUPB/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8872 0
8872 0 N RECO/
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 17520 0
17520 0 N DATA/
MOUNTED NORMAL N 512 512 4096 1048576 2046 1940 0
970 0 N DGROUPA/
MOUNTED HIGH N 512 512 4096 1048576 3069 2910 0
970 0 N DGROUPB/
MOUNTED EXTERN N 512 512 4096 1048576 1023 971 0
971 0 N DGROUPC/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8872 0
8872 0 N RECO/
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 17520 0
17520 0 N DATA/
MOUNTED NORMAL N 512 512 4096 1048576 4092 3805 1023
1391 0 N DGROUPA/
MOUNTED HIGH N 512 512 4096 1048576 3069 2784 0
928 0 N DGROUPB/
MOUNTED EXTERN N 512 512 4096 1048576 1023 928 0
928 0 N DGROUPC/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8872 0
8872 0 N RECO/
ASMCMD [+] >
ASMCMD [+] >
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 18332 0
18332 0 N DATA/
MOUNTED HIGH N 512 512 4096 1048576 3069 27 0
9 0 N DGROUPB/
MOUNTED EXTERN N 512 512 4096 1048576 1023 928 0
928 0 N DGROUPC/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8872 0
8872 0 N RECO/
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 18320 0
18320 0 N DATA/
MOUNTED HIGH N 512 512 4096 1048576 3069 27 0
9 0 N DGROUPB/
MOUNTED EXTERN N 512 512 4096 1048576 1023 928 0
928 0 N DGROUPC/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8852 0
8852 0 N RECO/
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 18320 0
18320 0 N DATA/
MOUNTED HIGH N 512 512 4096 1048576 3069 27 0
9 0 N DGROUPB/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8852 0
8852 0 N RECO/
ASMCMD [+] > exit
[oracle@oraclelab1 ~]$
[oracle@oraclelab1 ~]$ . oraenv
ORACLE_SID = [+ASM1] ? ps -ef|grep smon
ORACLE_HOME = [/home/oracle] ? ^C
[oracle@oraclelab1 ~]$ ps -ef|grep smon
oracle 17852 21828 0 14:16 pts/2 00:00:00 grep --color=auto smon
[oracle@oraclelab1 ~]$

login as: root


[email protected]'s password:

┌───────────────────────────────────────────────────────────
───────────┐
│ • MobaXterm Personal Edition v21.2 • │
│ (SSH client, X server and network tools) │
│ │
│ ➤ SSH session to [email protected]
│ • Direct SSH : ✔ │
│ • SSH compression : ✔ │
│ • SSH-browser : ✔ │
│ • X11-forwarding : ✔ (remote display is forwarded through SSH) │
│ │
│ ➤ For more info, ctrl+click on help or visit our website. │

└───────────────────────────────────────────────────────────
───────────┘

Last login: Sun Jan 15 09:15:48 2023 from 192.168.1.6


[root@oraclelab2 ~]# ps -ef|grep smon
root 3569 1 1 07:32 ? 00:00:08 /u01/app/19.0.0.0/grid/bin/osysmond.bin
oracle 8337 1 0 07:34 ? 00:00:00 asm_smon_+ASM2
oracle 10675 1 0 07:34 ? 00:00:00 ora_smon_DEVDB2
root 18493 18444 0 07:45 pts/0 00:00:00 grep --color=auto smon
[root@oraclelab2 ~]# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ol-root 34G 20G 15G 59% /
[root@oraclelab2 ~]# ps -ef|grep tns
root 23 2 0 07:32 ? 00:00:00 [netns]
oracle 1317 1 0 09:39 ? 00:00:00 /u01/app/19.0.0.0/grid/bin/tnslsnr
ASMNET1LSNR_ASM -no_crs_notify -inherit
root 4709 18444 0 09:42 pts/0 00:00:00 grep --color=auto tns
oracle 6220 1 0 07:34 ? 00:00:00 /u01/app/19.0.0.0/grid/bin/tnslsnr LISTENER -
no_crs_notify -inherit
oracle 6363 1 0 07:34 ? 00:00:00 /u01/app/19.0.0.0/grid/bin/tnslsnr
LISTENER_SCAN1 -no_crs_notify -inherit
[root@oraclelab2 ~]#
Network error: Software caused connection abort

────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────
──────────────────────────────────────────────

Session stopped
- Press <return> to exit tab
- Press R to restart session
- Press S to save terminal output to file
login as: root
[email protected]'s password:

┌───────────────────────────────────────────────────────────
───────────┐
│ • MobaXterm Personal Edition v21.2 • │
│ (SSH client, X server and network tools) │
│ │
│ ➤ SSH session to [email protected]
│ • Direct SSH : ✔ │
│ • SSH compression : ✔ │
│ • SSH-browser : ✔ │
│ • X11-forwarding : ✔ (remote display is forwarded through SSH) │
│ │
│ ➤ For more info, ctrl+click on help or visit our website. │

└───────────────────────────────────────────────────────────
───────────┘

Last login: Sun Jan 22 09:48:17 2023


[root@oraclelab2 ~]# su - oracle
Last login: Sun Jan 22 10:18:41 IST 2023
[oracle@oraclelab2 ~]$ . oraenv
ORACLE_SID = [oracle] ? +ASM2
The Oracle base has been set to /u01/app/oracle
[oracle@oraclelab2 ~]$ exit
logout
[root@oraclelab2 ~]# oracleasm listdisks
ASMDISK1
ASMDISK2
ASMDISK3
[root@oraclelab2 ~]# cd /dev/oracleasm/disks
[root@oraclelab2 disks]# ll
total 0
brw-rw----. 1 oracle oinstall 8, 17 Jan 22 10:31 ASMDISK1
brw-rw----. 1 oracle oinstall 8, 33 Jan 22 10:31 ASMDISK2
brw-rw----. 1 oracle oinstall 8, 49 Jan 22 10:31 ASMDISK3
[root@oraclelab2 disks]# su - oracle
Last login: Sun Jan 22 10:33:44 IST 2023
[oracle@oraclelab2 ~]$ . oraenv
ORACLE_SID = [oracle] ? +ASM2
The Oracle base has been set to /u01/app/oracle
[oracle@oraclelab2 ~]$ asmcmd -p
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 17520 0
17520 0 N DATA/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8872 0
8872 0 N RECO/
ASMCMD [+] > exit
^[[A[oracle@oraclelab2 ~]$ exit^C
[oracle@oraclelab2 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 10:48:01 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> alter diskgroup DGROUPA mount;


alter diskgroup DGROUPA mount
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 ~]$ cd /dev/oracleasm/disks/
[oracle@oraclelab2 disks]$ ll
total 0
brw-rw----. 1 oracle oinstall 8, 17 Jan 22 10:48 ASMDISK1
brw-rw----. 1 oracle oinstall 8, 33 Jan 22 10:48 ASMDISK2
brw-rw----. 1 oracle oinstall 8, 49 Jan 22 10:48 ASMDISK3
[oracle@oraclelab2 disks]$ oracleasm listdisks
ASMDISK1
ASMDISK2
ASMDISK3
[oracle@oraclelab2 disks]$ oracleasm scandisk
oracleasm: 'scandisk' is not an oracleasm command
Usage: oracleasm [--exec-path=<exec_path>] <command> [ <args> ]
oracleasm --exec-path
oracleasm -h
oracleasm -V

The basic oracleasm commands are:


configure Configure the Oracle Linux ASMLib driver
init Load and initialize the ASMLib driver
exit Stop the ASMLib driver
scandisks Scan the system for Oracle ASMLib disks
status Display the status of the Oracle ASMLib driver
listdisks List known Oracle ASMLib disks
listiids List the iid files
deleteiids Delete the unused iid files
querydisk Determine if a disk belongs to Oracle ASMlib
createdisk Allocate a device for Oracle ASMLib use
deletedisk Return a device to the operating system
renamedisk Change the label of an Oracle ASMlib disk
update-driver Download the latest ASMLib driver
[oracle@oraclelab2 disks]$ oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
/usr/lib/oracleasm/oracleasm-Xshlib: line 182: /var/log/oracleasm: Permission denied
[oracle@oraclelab2 disks]$ exit
logout
[root@oraclelab2 disks]# cd /dev/oracleasm/disks^C
[root@oraclelab2 disks]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "D8"
Instantiating disk "D2"
Instantiating disk "D5"
Instantiating disk "D4"
Instantiating disk "D3"
Instantiating disk "D1"
Instantiating disk "D6"
Instantiating disk "D11"
Instantiating disk "D10"
Instantiating disk "D9"
Instantiating disk "D7"
[root@oraclelab2 disks]# cd /dev/oracleasm/disks/
[root@oraclelab2 disks]# ll
total 0
brw-rw----. 1 oracle oinstall 8, 17 Jan 22 10:49 ASMDISK1
brw-rw----. 1 oracle oinstall 8, 33 Jan 22 10:49 ASMDISK2
brw-rw----. 1 oracle oinstall 8, 49 Jan 22 10:49 ASMDISK3
brw-rw----. 1 oracle oinstall 8, 65 Jan 22 10:49 D1
brw-rw----. 1 oracle oinstall 8, 209 Jan 22 10:49 D10
brw-rw----. 1 oracle oinstall 8, 225 Jan 22 10:49 D11
brw-rw----. 1 oracle oinstall 8, 81 Jan 22 10:49 D2
brw-rw----. 1 oracle oinstall 8, 97 Jan 22 10:49 D3
brw-rw----. 1 oracle oinstall 8, 113 Jan 22 10:49 D4
brw-rw----. 1 oracle oinstall 8, 129 Jan 22 10:49 D5
brw-rw----. 1 oracle oinstall 8, 145 Jan 22 10:49 D6
brw-rw----. 1 oracle oinstall 8, 161 Jan 22 10:49 D7
brw-rw----. 1 oracle oinstall 8, 177 Jan 22 10:49 D8
brw-rw----. 1 oracle oinstall 8, 193 Jan 22 10:49 D9
[root@oraclelab2 disks]# cd /dev/oracleasm/disks/
[root@oraclelab2 disks]# ll
total 0
brw-rw----. 1 oracle oinstall 8, 17 Jan 22 10:50 ASMDISK1
brw-rw----. 1 oracle oinstall 8, 33 Jan 22 10:50 ASMDISK2
brw-rw----. 1 oracle oinstall 8, 49 Jan 22 10:50 ASMDISK3
brw-rw----. 1 oracle oinstall 8, 65 Jan 22 10:49 D1
brw-rw----. 1 oracle oinstall 8, 209 Jan 22 10:49 D10
brw-rw----. 1 oracle oinstall 8, 225 Jan 22 10:49 D11
brw-rw----. 1 oracle oinstall 8, 81 Jan 22 10:49 D2
brw-rw----. 1 oracle oinstall 8, 97 Jan 22 10:49 D3
brw-rw----. 1 oracle oinstall 8, 113 Jan 22 10:49 D4
brw-rw----. 1 oracle oinstall 8, 129 Jan 22 10:49 D5
brw-rw----. 1 oracle oinstall 8, 145 Jan 22 10:49 D6
brw-rw----. 1 oracle oinstall 8, 161 Jan 22 10:49 D7
brw-rw----. 1 oracle oinstall 8, 177 Jan 22 10:49 D8
brw-rw----. 1 oracle oinstall 8, 193 Jan 22 10:49 D9
[root@oraclelab2 disks]# oracleasm listdisks
ASMDISK1
ASMDISK2
ASMDISK3
D1
D10
D11
D2
D3
D4
D5
D6
D7
D8
D9
[root@oraclelab2 disks]# su - oracle'
> ^C
[root@oraclelab2 disks]# su - oracle
Last login: Sun Jan 22 10:48:47 IST 2023
[oracle@oraclelab2 ~]$ . oraenv
ORACLE_SID = [oracle] ? +ASM2
The Oracle base has been set to /u01/app/oracle
[oracle@oraclelab2 ~]$ asmcmd -p
lASMCMD [+] > sdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 17520 0
17520 0 N DATA/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8872 0
8872 0 N RECO/
ASMCMD [+] > exit
^[[A[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 10:50:55 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> alter diskgroup DGROUPA mount;

Diskgroup altered.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
^[[A^[[A[oracle@oraclelab2 ~]$ asmcmd -p
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 17520 0
17520 0 N DATA/
MOUNTED NORMAL N 512 512 4096 1048576 2046 1856 0
928 0 N DGROUPA/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8872 0
8872 0 N RECO/
ASMCMD [+] > exit
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 10:52:05 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> alter diskgroup all mount;


alter diskgroup all mount
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15017: diskgroup "DGROUPA" cannot be mounted
ORA-15013: diskgroup "DGROUPA" is already mounted
ORA-15017: diskgroup "RECO" cannot be mounted
ORA-15013: diskgroup "RECO" is already mounted
ORA-15017: diskgroup "OCR" cannot be mounted
ORA-15013: diskgroup "OCR" is already mounted
ORA-15017: diskgroup "DATA" cannot be mounted
ORA-15013: diskgroup "DATA" is already mounted

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
^[[A[oracle@oraclelab2 ~]$ asmcmd -p
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 17520 0
17520 0 N DATA/
MOUNTED NORMAL N 512 512 4096 1048576 2046 1856 0
928 0 N DGROUPA/
MOUNTED HIGH N 512 512 4096 1048576 3069 2784 0
928 0 N DGROUPB/
MOUNTED EXTERN N 512 512 4096 1048576 1023 928 0
928 0 N DGROUPC/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8872 0
8872 0 N RECO/
ASMCMD [+] > exit
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 11:31:01 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> alter diskgroup DGROUPA dismount;

Diskgroup altered.

SQL> alter diskgroup DGROUPC dismount;

Diskgroup altered.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 11:42:47 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> show parameter asm

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
asm_diskgroups string DATA, RECO, DGROUPB
asm_diskstring string /dev/oracleasm/disks/*
asm_power_limit integer 1
asm_preferred_read_failure_groups string
SQL> alter system set asm_diskstring='/dev/sd*','/dev/oracleasm/disks/ASMDISK1' scope=both;
alter system set asm_diskstring='/dev/sd*','/dev/oracleasm/disks/ASMDISK1' scope=both
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-15014: path '/dev/oracleasm/disks/ASMDISK3' is not in the discovery set

SQL> alter system set asm_diskstring='/dev/oracleasm/disks/ASMDISK1' scope=both;


alter system set asm_diskstring='/dev/oracleasm/disks/ASMDISK1' scope=both
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-15014: path '/dev/oracleasm/disks/ASMDISK3' is not in the discovery set

SQL>
SQL>
SQL>
SQL>
SQL>
SQL> alter system set asm_diskstring='/dev/oracleasm/disks/ASMDISK1*' scope=both;
alter system set asm_diskstring='/dev/oracleasm/disks/ASMDISK1*' scope=both
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-15014: path '/dev/oracleasm/disks/ASMDISK3' is not in the discovery set
SQL>
SQL> alter system set asm_diskstring='/dev/sd*' scope=both;
alter system set asm_diskstring='/dev/sd*' scope=both
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-15014: path '/dev/oracleasm/disks/ASMDISK1' is not in the discovery set

SQL>
SQL> Alter system set asm_diskstring='/dev/rhdisk*', '/dev/rASM*' scope=Both;
Alter system set asm_diskstring='/dev/rhdisk*', '/dev/rASM*' scope=Both
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-15014: path '/dev/oracleasm/disks/ASMDISK1' is not in the discovery set

SQL>
SQL> create pfile='init+ASM2.ora' from spfile;

File created.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 ~]$ cat init+ASM2.ora
cat: init+ASM2.ora: No such file or directory
[oracle@oraclelab2 ~]$ ll
total 0
[oracle@oraclelab2 ~]$ ll
total 0
[oracle@oraclelab2 ~]$ ls -ltrh
total 0
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 11:48:32 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> create pfile='/tmp/init.ora' from spfile;

File created.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 ~]$ cat /tmp/init.ora
+ASM1.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from in memory value
+ASM2.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from in memory value
*.asm_diskgroups='DATA','RECO','DGROUPB'#Manual Dismount
*.asm_diskstring='/dev/oracleasm/disks/*'
*.asm_power_limit=1
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'
[oracle@oraclelab2 ~]$ vi /tmp/init.ora
[oracle@oraclelab2 ~]$ cp /tmp/init.ora /tmp/init.ora_backup
[oracle@oraclelab2 ~]$ vi /tmp/init.ora
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 11:50:04 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> show parameter spfile;

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
spfile string +OCR/rac-clu/ASMPARAMETERFILE/
registry.253.1126092359
SQL> create spfile from pfile='/tmp/init.ora';
create spfile from pfile='/tmp/init.ora'
*
ERROR at line 1:
ORA-32002: cannot create SPFILE already being used by the instance

SQL> shut abort ^C^C

SQL>
SQL> shut abort;
ASM instance shutdown
SQL> startup pfle='/tmp/init.ora';
SP2-0714: invalid combination of STARTUP options
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 11:50:57 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup pfile='/tmp/init.ora';


ASM instance started

Total System Global Area 1137173320 bytes


Fixed Size 8905544 bytes
Variable Size 1103101952 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
SQL> show parameter string

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
asm_diskstring string /dev/sd*, /dev/oracleasm/disks
/ASMDISK1
SQL> show parameter spfile;

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
spfile string
SQL>
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$ asmcmd -p
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 18320 0
18320 0 N DATA/
MOUNTED HIGH N 512 512 4096 1048576 3069 27 0
9 0 N DGROUPB/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8852 0
8852 0 N RECO/
ASMCMD [+] >
ASMCMD [+] >
ASMCMD [+] > exit
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$ ps -ef|grep smon
root 3708 1 1 10:01 ? 00:01:26 /u01/app/19.0.0.0/grid/bin/osysmond.bin
oracle 5749 1 0 10:03 ? 00:00:00 ora_smon_DEVDB2
oracle 19243 1 0 11:51 ? 00:00:00 asm_smon_+ASM2
oracle 19942 25689 0 11:51 pts/0 00:00:00 grep --color=auto smon
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$ create
spfile='+OCR/rac-clu/ASMPARAMETERFILE/registry.253.1126092359' from
pfile='/tmp/init.ora';^C
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 11:52:54 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> create spfile='+OCR/rac-clu/ASMPARAMETERFILE/registry.253.1126092359' from


pfile='/tmp/init.ora';
create spfile='+OCR/rac-clu/ASMPARAMETERFILE/registry.253.1126092359' from
pfile='/tmp/init.ora'
*
ERROR at line 1:
ORA-17502: ksfdcre:4 Failed to create file
+OCR/rac-clu/ASMPARAMETERFILE/registry.253.1126092359
ORA-15177: cannot operate on system aliases

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 ~]$ asmcdm -p
bash: asmcdm: command not found...
[oracle@oraclelab2 ~]$ asmcmd
ASMCMD> ls -l +OCR/rac-clu/ASMPARAMETERFILE/registry.253.1126092359
ASMCMD-8002: entry 'ASMPARAMETERFILE' does not exist in directory '+OCR/rac-clu/'
ASMCMD> cd +OCR/rac-clu/ASMPARAMETERFILE/
ASMCMD-8002: entry 'ASMPARAMETERFILE' does not exist in directory '+OCR/rac-clu/'
ASMCMD> lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 18320 0
18320 0 N DATA/
MOUNTED HIGH N 512 512 4096 1048576 3069 27 0
9 0 N DGROUPB/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2724 0
2724 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8852 0
8852 0 N RECO/
ASMCMD>
ASMCMD>
ASMCMD> exit
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$ asmcmd
cd ASMCMD> DATA
ASMCMD> ls -l
Type Redund Striped Time Sys Name
N DEVDB/
ASMCMD> cd +OCR
ASMCMD> ls -l
Type Redund Striped Time Sys Name
Y ASM/
PASSWORD UNPROT COARSE JAN 14 11:00:00 N orapwasm =>
+OCR/ASM/PASSWORD/pwdasm.256.1126092363
PASSWORD UNPROT COARSE JAN 14 11:00:00 N orapwasm_backup =>
+OCR/ASM/PASSWORD/pwdasm.257.1126092645
Y rac-clu/
ASMCMD> pwd
+OCR
ASMCMD> cd rac-clu/
ASMCMD> ls -l
Type Redund Striped Time Sys Name
Y OCRBACKUP/
Y OCRFILE/
ASMCMD> cd ..
ASMCMD> ls -l
Type Redund Striped Time Sys Name
Y ASM/
PASSWORD UNPROT COARSE JAN 14 11:00:00 N orapwasm =>
+OCR/ASM/PASSWORD/pwdasm.256.1126092363
PASSWORD UNPROT COARSE JAN 14 11:00:00 N orapwasm_backup =>
+OCR/ASM/PASSWORD/pwdasm.257.1126092645
Y rac-clu/
ASMCMD> cd rac-clu/
ASMCMD> ls -l
Type Redund Striped Time Sys Name
Y OCRBACKUP/
Y OCRFILE/
ASMCMD>
ASMCMD>
ASMCMD> create spfile='+OCR' from pfile='/tmp/init.ora'
ASMCMD-8022: unknown command 'create' specified
ASMCMD> ^C
ASMCMD> exit
^[[A^[[A^[[A[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 11:55:20 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL> create spfile='+OCR' from pfile='/tmp/init.ora'
2 ;

File created.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
^[[A^[[A[oracle@oraclelab2 ~]$ asmcmd -p
ASMCMD [+] > cd +OCR
ASMCMD [+OCR] > ls -l
Type Redund Striped Time Sys Name
Y ASM/
PASSWORD UNPROT COARSE JAN 14 11:00:00 N orapwasm =>
+OCR/ASM/PASSWORD/pwdasm.256.1126092363
PASSWORD UNPROT COARSE JAN 14 11:00:00 N orapwasm_backup =>
+OCR/ASM/PASSWORD/pwdasm.257.1126092645
Y rac-clu/
ASMCMD [+OCR] > cd ASM/
ASMCMD [+OCR/ASM] > ls -
usage: ls [-lshdtLg] [--time_style <style>] [--absolutepath] [--suppressheader] [--reverse] [--
permission] [<pattern>]
help: help ls
ASMCMD [+OCR/ASM] > lks -l
ASMCMD-8022: unknown command 'lks' specified
ASMCMD [+OCR/ASM] > ls -l
Type Redund Striped Time Sys Name
Y PASSWORD/
ASMCMD [+OCR/ASM] > cd PASSWORD/
ASMCMD [+OCR/ASM/PASSWORD] > ls -l
Type Redund Striped Time Sys Name
PASSWORD UNPROT COARSE JAN 14 11:00:00 Y pwdasm.256.1126092363
PASSWORD UNPROT COARSE JAN 14 11:00:00 Y pwdasm.257.1126092645
ASMCMD [+OCR/ASM/PASSWORD] > cd ..
ASMCMD [+OCR/ASM] > ls -lt
Type Redund Striped Time Sys Name
Y PASSWORD/
ASMCMD [+OCR/ASM] > cd ..
ASMCMD [+OCR] > sl -ltr
ASMCMD-8022: unknown command 'sl' specified
ASMCMD [+OCR] > ls -l
Type Redund Striped Time Sys Name
Y ASM/
PASSWORD UNPROT COARSE JAN 14 11:00:00 N orapwasm =>
+OCR/ASM/PASSWORD/pwdasm.256.1126092363
PASSWORD UNPROT COARSE JAN 14 11:00:00 N orapwasm_backup =>
+OCR/ASM/PASSWORD/pwdasm.257.1126092645
Y rac-clu/
ASMCMD [+OCR] > cd rac-clu/
ASMCMD [+OCR/rac-clu] > ls -l
Type Redund Striped Time Sys Name
Y ASMPARAMETERFILE/
Y OCRBACKUP/
Y OCRFILE/
ASMCMD [+OCR/rac-clu] > cd ASMPARAMETERFILE/
ASMCMD [+OCR/rac-clu/ASMPARAMETERFILE] > ls -l
Type Redund Striped Time Sys Name
ASMPARAMETERFILE UNPROT COARSE JAN 22 11:00:00 Y
REGISTRY.253.1126785325
ASMCMD [+OCR/rac-clu/ASMPARAMETERFILE] > cd ^C
ASMCMD [+OCR/rac-clu/ASMPARAMETERFILE] >
ASMCMD [+OCR/rac-clu/ASMPARAMETERFILE] >
ASMCMD [+OCR/rac-clu/ASMPARAMETERFILE] >
ASMCMD [+OCR/rac-clu/ASMPARAMETERFILE] > pwd
+OCR/rac-clu/ASMPARAMETERFILE
ASMCMD [+OCR/rac-clu/ASMPARAMETERFILE] > exit
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 11:56:19 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> create pfile='/tmp/init_new.ora' from


spfile='+OCR/rac-clu/ASMPARAMETERFILE/REGISTRY.253.1126785325';

File created.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 ~]$ cat /tmp/init_new.ora
+ASM1.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from in memory value
+ASM2.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from in memory value
*.asm_diskgroups='DATA','RECO','DGROUPB'#Manual Dismount
*.asm_diskstring='/dev/sd*','/dev/oracleasm/disks/ASMDISK1'
*.asm_power_limit=1
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'
[oracle@oraclelab2 ~]$ srvctl config asm
ASM home: <CRS home>
Password file: +OCR/orapwASM
Backup of Password file: +OCR/orapwASM_backup
ASM listener: LISTENER
ASM instance count: 3
Cluster ASM listener: ASMNET1LSNR_ASM
[oracle@oraclelab2 ~]$ exit
logout
[root@oraclelab2 disks]# crstl stop crs -f
bash: crstl: command not found...
[root@oraclelab2 disks]# . oraenv
ORACLE_SID = [root] ? +ASm1
ORACLE_HOME = [/home/oracle] ? ^C
[root@oraclelab2 disks]# . oraenv
ORACLE_SID = [+ASm1] ? +ASM2
The Oracle base has been set to /u01/app/oracle
[root@oraclelab2 disks]# crsctl stop crs
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on
'oraclelab2'
CRS-2673: Attempting to stop 'ora.crsd' on 'oraclelab2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server
'oraclelab2'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.oraclelab2.vip' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.cvu' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.qosmserver' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.asmnet1.asmnetwork' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.chad' on 'oraclelab2'
CRS-2677: Stop of 'ora.asmnet1.asmnetwork' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.oraclelab2.vip' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'oraclelab2'
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'oraclelab2'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.oraclelab1.vip' on 'oraclelab2'
CRS-2677: Stop of 'ora.cvu' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.scan3.vip' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.oraclelab1.vip' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.scan2.vip' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.scan1.vip' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.qosmserver' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.chad' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'oraclelab2'
CRS-2677: Stop of 'ora.ons' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'oraclelab2'
CRS-2677: Stop of 'ora.net1.network' on 'oraclelab2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'oraclelab2' has
completed
CRS-2677: Stop of 'ora.crsd' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.storage' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.crf' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'oraclelab2'
CRS-2677: Stop of 'ora.crf' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.storage' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'oraclelab2'
CRS-2677: Stop of 'ora.mdnsd' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.asm' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'oraclelab2'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.evmd' on 'oraclelab2'
CRS-2677: Stop of 'ora.ctssd' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.evmd' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'oraclelab2'
CRS-2677: Stop of 'ora.cssd' on 'oraclelab2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'oraclelab2'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'oraclelab2'
CRS-2677: Stop of 'ora.gpnpd' on 'oraclelab2' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'oraclelab2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'oraclelab2'
has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@oraclelab2 disks]# crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
[root@oraclelab2 disks]# crstl stat res -t -init
bash: crstl: command not found...
[root@oraclelab2 disks]# crsctl stat res -t -init
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
1 ONLINE OFFLINE oraclelab2 STARTING
ora.cluster_interconnect.haip
1 ONLINE ONLINE oraclelab2 STABLE
ora.crf
1 ONLINE ONLINE oraclelab2 STABLE
ora.crsd
1 ONLINE OFFLINE STABLE
ora.cssd
1 ONLINE ONLINE oraclelab2 STABLE
ora.cssdmonitor
1 ONLINE ONLINE oraclelab2 STABLE
ora.ctssd
1 ONLINE ONLINE oraclelab2 OBSERVER,STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE oraclelab2 STABLE
ora.gipcd
1 ONLINE ONLINE oraclelab2 STABLE
ora.gpnpd
1 ONLINE ONLINE oraclelab2 STABLE
ora.mdnsd
1 ONLINE ONLINE oraclelab2 STABLE
ora.storage
1 ONLINE OFFLINE STABLE
--------------------------------------------------------------------------------
[root@oraclelab2 disks]#
[root@oraclelab2 disks]# crsctl stat res -t -init
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
1 ONLINE OFFLINE oraclelab2 STARTING
ora.cluster_interconnect.haip
1 ONLINE ONLINE oraclelab2 STABLE
ora.crf
1 ONLINE ONLINE oraclelab2 STABLE
ora.crsd
1 ONLINE OFFLINE STABLE
ora.cssd
1 ONLINE ONLINE oraclelab2 STABLE
ora.cssdmonitor
1 ONLINE ONLINE oraclelab2 STABLE
ora.ctssd
1 ONLINE ONLINE oraclelab2 OBSERVER,STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE oraclelab2 STABLE
ora.gipcd
1 ONLINE ONLINE oraclelab2 STABLE
ora.gpnpd
1 ONLINE ONLINE oraclelab2 STABLE
ora.mdnsd
1 ONLINE ONLINE oraclelab2 STABLE
ora.storage
1 ONLINE OFFLINE STABLE
--------------------------------------------------------------------------------
[root@oraclelab2 disks]# crsctl stat res -t -init
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
1 ONLINE OFFLINE oraclelab2 STARTING
ora.cluster_interconnect.haip
1 ONLINE ONLINE oraclelab2 STABLE
ora.crf
1 ONLINE ONLINE oraclelab2 STABLE
ora.crsd
1 ONLINE OFFLINE STABLE
ora.cssd
1 ONLINE ONLINE oraclelab2 STABLE
ora.cssdmonitor
1 ONLINE ONLINE oraclelab2 STABLE
ora.ctssd
1 ONLINE ONLINE oraclelab2 OBSERVER,STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE oraclelab2 STABLE
ora.gipcd
1 ONLINE ONLINE oraclelab2 STABLE
ora.gpnpd
1 ONLINE ONLINE oraclelab2 STABLE
ora.mdnsd
1 ONLINE ONLINE oraclelab2 STABLE
ora.storage
1 ONLINE OFFLINE STABLE
--------------------------------------------------------------------------------
[root@oraclelab2 disks]# crsctl stat res -t -init
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
1 ONLINE ONLINE oraclelab2 Started,STABLE
ora.cluster_interconnect.haip
1 ONLINE ONLINE oraclelab2 STABLE
ora.crf
1 ONLINE ONLINE oraclelab2 STABLE
ora.crsd
1 ONLINE ONLINE oraclelab2 STABLE
ora.cssd
1 ONLINE ONLINE oraclelab2 STABLE
ora.cssdmonitor
1 ONLINE ONLINE oraclelab2 STABLE
ora.ctssd
1 ONLINE ONLINE oraclelab2 OBSERVER,STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE oraclelab2 STABLE
ora.gipcd
1 ONLINE ONLINE oraclelab2 STABLE
ora.gpnpd
1 ONLINE ONLINE oraclelab2 STABLE
ora.mdnsd
1 ONLINE ONLINE oraclelab2 STABLE
ora.storage
1 ONLINE ONLINE oraclelab2 STABLE
--------------------------------------------------------------------------------
[root@oraclelab2 disks]#
[root@oraclelab2 disks]# ps -ef|grep smon
root 5112 16437 0 12:00 pts/0 00:00:00 grep --color=auto smon
root 31261 1 1 11:58 ? 00:00:02 /u01/app/19.0.0.0/grid/bin/osysmond.bin
oracle 31827 1 0 11:59 ? 00:00:00 asm_smon_+ASM2
[root@oraclelab2 disks]# su - oracle
Last login: Sun Jan 22 12:00:46 IST 2023
[oracle@oraclelab2 ~]$ . oraenv
ORACLE_SID = [oracle] ? +ASM2
The Oracle base has been set to /u01/app/oracle
[oracle@oraclelab2 ~]$ asmcmd -p
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
ASMCMD [+] > exit
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 12:02:06 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> ALTER DISKGROUP ALL MOUNT;


ALTER DISKGROUP ALL MOUNT
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECO" cannot be mounted
ORA-15040: diskgroup is incomplete
ORA-15017: diskgroup "DGROUPB" cannot be mounted
ORA-15040: diskgroup is incomplete
ORA-15017: diskgroup "DATA" cannot be mounted
ORA-15040: diskgroup is incomplete
ORA-15017: diskgroup "OCR" cannot be mounted
ORA-15013: diskgroup "OCR" is already mounted

SQL> show parameter string

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
asm_diskstring string /dev/sd*, /dev/oracleasm/disks
/ASMDISK1
SQL> alter system set asm_diskstring='/dev/oracleasm/disks/*' scope=spfile;

System altered.

SQL> shut abort;


ASM instance shutdown
SQL> startup;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 12:03:15 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected.
SQL> exit
Disconnected
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 12:03:20 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> show parameter string


NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskstring string /dev/oracleasm/disks/*
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 ~]$ asmcmd -p
ASMCMD [+] > lsdg
State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 512 4096 4194304 20476 18320 0
18320 0 N DATA/
MOUNTED HIGH N 512 512 4096 1048576 3069 27 0
9 0 N DGROUPB/
MOUNTED EXTERN N 512 512 4096 4194304 3068 2720 0
2720 0 Y OCR/
MOUNTED EXTERN N 512 512 4096 1048576 10239 8852 0
8852 0 N RECO/
ASMCMD [+] > exit

[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$ . oarenv
-bash: oarenv: No such file or directory
[oracle@oraclelab2 ~]$ . oraenv
ORACLE_SID = [+ASM2] ? DEVDB2
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@oraclelab2 ~]$
[oracle@oraclelab2 ~]$ srvctl config database -d DEVDB
Database unique name: DEVDB
Database name: DEVDB
Oracle home: /u01/app/oracle/product/19.0.0.0/dbhome_1
Oracle user: oracle
Spfile: +DATA/DEVDB/PARAMETERFILE/spfile.268.1126169283
Password file: +DATA/DEVDB/PASSWORD/pwddevdb.256.1126168797
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools:
Disk Groups: RECO,DATA,DGROUPB
Mount point paths:
Services:
Type: RAC
Start concurrency:
Stop concurrency:
OSDBA group: oinstall
OSOPER group: oinstall
Database instances: DEVDB1,DEVDB2
Configured nodes: oraclelab1,oraclelab2
CSS critical: no
CPU count: 0
Memory target: 0
Maximum memory: 0
Default network number for database services:
Database is administrator managed
[oracle@oraclelab2 ~]$ cd /u01/app/oracle/product/19.0.0.0/dbhome_1/dbs/
[oracle@oraclelab2 dbs]$ ls -ltrh
total 2.1M
-rw-r--r--. 1 oracle oinstall 3.1K Jan 15 08:25 init.ora
-rw-rw----. 1 oracle oinstall 1.6K Jan 22 12:03 hc_DEVDB2.dat
-rw-r-----. 1 oracle oinstall 2.0M Jan 22 12:05 id_DEVDB2.dat
[oracle@oraclelab2 dbs]$ . orenv
-bash: orenv: No such file or directory
[oracle@oraclelab2 dbs]$ . oraenv
ORACLE_SID = [DEVDB2] ?
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@oraclelab2 dbs]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 12:07:06 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> dedc v$parameter;


SP2-0734: unknown command beginning "dedc v$par..." - rest of line ignored.
SQL> desc v$parameter;
Name Null? Type
----------------------------------------- -------- ----------------------------
NUM NUMBER
NAME VARCHAR2(80)
TYPE NUMBER
VALUE VARCHAR2(4000)
DISPLAY_VALUE VARCHAR2(4000)
DEFAULT_VALUE VARCHAR2(255)
ISDEFAULT VARCHAR2(9)
ISSES_MODIFIABLE VARCHAR2(5)
ISSYS_MODIFIABLE VARCHAR2(9)
ISPDB_MODIFIABLE VARCHAR2(5)
ISINSTANCE_MODIFIABLE VARCHAR2(5)
ISMODIFIED VARCHAR2(10)
ISADJUSTED VARCHAR2(5)
ISDEPRECATED VARCHAR2(5)
ISBASIC VARCHAR2(5)
DESCRIPTION VARCHAR2(255)
UPDATE_COMMENT VARCHAR2(255)
HASH NUMBER
CON_ID NUMBER

SQL> set pages 1000 lines 1000


SQL> select NAME,VALUE from v$parameter;

NAME
--------------------------------------------------------------------------------
VALUE
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------
lock_name_space

processes
300

sessions
472

timed_statistics
TRUE
timed_os_statistics
0

resource_limit
TRUE

license_max_sessions
0

license_sessions_warning
0

long_module_action
TRUE

standby_db_preserve_states
NONE

instance_abort_delay_time
0

cpu_count
2

cpu_min_count
2

instance_groups

event

sga_max_size
2365587456

use_large_pages
TRUE

pre_page_sga
TRUE

shared_memory_address
0

hi_shared_memory_address
0

lock_sga
FALSE

processor_group_name

allow_group_access_to_sga
FALSE

sga_min_size
0

shared_pool_size
0

large_pool_size
0

java_pool_size
0

streams_pool_size
0

shared_pool_reserved_size
28521267

java_soft_sessionspace_limit
0

java_max_sessionspace_size
0

pga_aggregate_limit
2147483648

spfile
+DATA/DEVDB/PARAMETERFILE/spfile.268.1126169283
instance_type
RDBMS

uniform_log_timestamp_format
TRUE

nls_language
AMERICAN

nls_territory
AMERICA

nls_sort

nls_date_language

nls_date_format

nls_currency

nls_numeric_characters

nls_iso_currency

nls_calendar

nls_time_format

nls_timestamp_format

nls_time_tz_format

nls_timestamp_tz_format
nls_dual_currency

nls_comp
BINARY

nls_length_semantics
BYTE

nls_nchar_conv_excp
FALSE

disk_asynch_io
TRUE

tape_asynch_io
TRUE

dbwr_io_slaves
0

backup_tape_io_slaves
FALSE

fileio_network_adapters

filesystemio_options
none

dnfs_batch_size
4096

clonedb
FALSE

instant_restore
FALSE

http_proxy

ssl_wallet
ofs_threads
4

resource_manager_cpu_allocation
2

resource_manager_plan
SCHEDULER[0x4D58]:DEFAULT_MAINTENANCE_PLAN

db_performance_profile

max_iops
0

max_mbps
0

max_idle_time
0

max_idle_blocker_time
0

cluster_interconnects

file_mapping
FALSE

max_datapump_jobs_per_pdb
100

max_datapump_parallel_per_job
50

service_names
DEVDB

threaded_execution
FALSE
clonedb_dir

enable_dnfs_dispatcher
FALSE

gcs_server_processes
1

active_instance_count

instance_mode
READ-WRITE

_ipddb_enable
TRUE

sga_target
2365587456

memory_target
0

memory_max_target
0

control_files
+DATA/DEVDB/CONTROLFILE/current.261.1126168941,
+RECO/DEVDB/CONTROLFILE/current.256.1126168941

db_file_name_convert

log_file_name_convert

control_file_record_keep_time
7

db_block_buffers
0

db_block_checksum
TYPICAL

db_ultra_safe
OFF

db_block_size
8192

db_cache_size
0

db_2k_cache_size
0

db_4k_cache_size
0

db_8k_cache_size
0

db_16k_cache_size
0

db_32k_cache_size
0

db_keep_cache_size
0

db_recycle_cache_size
0

memoptimize_pool_size
0

db_big_table_cache_percent_target
0

encrypt_new_tablespaces
CLOUD_ONLY

db_writer_processes
1
buffer_pool_keep

buffer_pool_recycle

db_flash_cache_file

db_flash_cache_size
0

db_cache_advice
ON

compatible
19.0.0

log_archive_dest_1

log_archive_dest_2

log_archive_dest_3

log_archive_dest_4

log_archive_dest_5

log_archive_dest_6

log_archive_dest_7

log_archive_dest_8

log_archive_dest_9
log_archive_dest_10

log_archive_dest_11

log_archive_dest_12

log_archive_dest_13

log_archive_dest_14

log_archive_dest_15

log_archive_dest_16

log_archive_dest_17

log_archive_dest_18

log_archive_dest_19

log_archive_dest_20

log_archive_dest_21

log_archive_dest_22

log_archive_dest_23

log_archive_dest_24
log_archive_dest_25

log_archive_dest_26

log_archive_dest_27

log_archive_dest_28

log_archive_dest_29

log_archive_dest_30

log_archive_dest_31

log_archive_dest_state_1
enable

log_archive_dest_state_2
enable

log_archive_dest_state_3
enable

log_archive_dest_state_4
enable

log_archive_dest_state_5
enable

log_archive_dest_state_6
enable

log_archive_dest_state_7
enable
log_archive_dest_state_8
enable

log_archive_dest_state_9
enable

log_archive_dest_state_10
enable

log_archive_dest_state_11
enable

log_archive_dest_state_12
enable

log_archive_dest_state_13
enable

log_archive_dest_state_14
enable

log_archive_dest_state_15
enable

log_archive_dest_state_16
enable

log_archive_dest_state_17
enable

log_archive_dest_state_18
enable

log_archive_dest_state_19
enable

log_archive_dest_state_20
enable

log_archive_dest_state_21
enable

log_archive_dest_state_22
enable
log_archive_dest_state_23
enable

log_archive_dest_state_24
enable

log_archive_dest_state_25
enable

log_archive_dest_state_26
enable

log_archive_dest_state_27
enable

log_archive_dest_state_28
enable

log_archive_dest_state_29
enable

log_archive_dest_state_30
enable

log_archive_dest_state_31
enable

log_archive_start
FALSE

log_archive_dest

log_archive_duplex_dest

log_archive_min_succeed_dest
1

fal_client

fal_server
log_archive_trace
0

data_guard_sync_latency
0

log_archive_config

log_archive_format
%t_%s_%r.dbf

data_guard_max_io_time
240

data_guard_max_longio_time
240

redo_transport_user

log_archive_max_processes
4

log_buffer
7536640

log_checkpoint_interval
0

log_checkpoint_timeout
1800

archive_lag_target
0

db_files
200

db_file_multiblock_read_count
128
read_only_open_delayed
FALSE

cluster_database
TRUE

cluster_database_instances
2

db_create_file_dest
+DATA

db_create_online_log_dest_1

db_create_online_log_dest_2

db_create_online_log_dest_3

db_create_online_log_dest_4

db_create_online_log_dest_5

db_recovery_file_dest
+RECO

db_recovery_file_dest_size
9364832256

standby_file_management
MANUAL

db_unrecoverable_scn_tracking
TRUE

thread
2

enabled_PDBs_on_standby
*
fast_start_io_target
0

fast_start_mttr_target
0

log_checkpoints_to_alert
FALSE

db_lost_write_protect
NONE

recovery_parallelism
0

enable_goldengate_replication
FALSE

inmemory_adg_enabled
TRUE

db_flashback_retention_target
1440

data_transfer_cache_size
0

enable_imc_with_mira
FALSE

adg_account_info_tracking
LOCAL

adg_redirect_dml
FALSE

dml_locks
2076

replication_dependency_tracking
TRUE

transactions
519

transactions_per_rollback_segment
5

temp_undo_enabled
FALSE

rollback_segments

undo_management
AUTO

undo_tablespace
UNDOTBS2

undo_retention
900

fast_start_parallel_rollback
LOW

resumable_timeout
0

instance_number
2

heat_map
OFF

inmemory_size
0

inmemory_xmem_size
0

inmemory_prefer_xmem_memcompress

inmemory_prefer_xmem_priority
allow_rowid_column_type
FALSE

db_block_checking
FALSE

recyclebin
on

db_index_compression_inheritance
NONE

db_securefile
PREFERRED

inmemory_clause_default

inmemory_force
DEFAULT

inmemory_query
ENABLE

inmemory_expressions_usage
ENABLE

inmemory_virtual_columns
MANUAL

inmemory_max_populate_servers
0

inmemory_trickle_repopulate_servers_percent
1

inmemory_optimized_arithmetic
DISABLE

inmemory_automatic_level
OFF

create_stored_outlines
serial_reuse
disable

ldap_directory_access
NONE

ldap_directory_sysauth
no

os_roles
FALSE

rdbms_server_dn

remote_os_authent
FALSE

remote_os_roles
FALSE

sec_case_sensitive_logon
TRUE

remote_login_passwordfile
EXCLUSIVE

license_max_users
0

audit_sys_operations
TRUE

DBFIPS_140
FALSE

one_step_plugin_for_pdb_with_tde
FALSE

external_keystore_credential_location

unified_audit_sga_queue_size
1048576

wallet_root

tde_configuration

db_domain

global_names
FALSE

distributed_lock_timeout
60

commit_point_strength
1

global_txn_processes
1

instance_name
DEVDB2

dispatchers
(PROTOCOL=TCP) (SERVICE=DEVDBXDB)

shared_servers
1

max_shared_servers

max_dispatchers

circuits

shared_server_sessions
use_dedicated_broker
FALSE

connection_brokers
((TYPE=DEDICATED)(BROKERS=1)), ((TYPE=EMON)(BROKERS=1))

local_listener
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.104)(PORT=1521))

forward_listener

remote_listener
scan.localdomain.com:1521

listener_networks

cursor_space_for_time
FALSE

session_cached_cursors
50

remote_dependencies_mode
TIMESTAMP

smtp_out_server

plsql_v2_compatibility
FALSE

plsql_warnings
DISABLE:ALL

plsql_code_type
INTERPRETED

plsql_debug
FALSE

plsql_optimize_level
2
plsql_ccflags

plscope_settings
IDENTIFIERS:NONE

permit_92_wrap_format
TRUE

java_jit_enabled
TRUE

java_restrict
none

job_queue_processes
40

scheduler_follow_pdbtz
FALSE

parallel_min_percent
0

create_bitmap_area_size
8388608

bitmap_merge_area_size
1048576

cursor_sharing
EXACT

result_cache_mode
MANUAL

parallel_min_servers
4

parallel_max_servers
40

parallel_instance_group
parallel_execution_message_size
16384

hash_area_size
131072

private_temp_table_prefix
ORA$PTT_

result_cache_max_size
11829248

result_cache_max_result
5

result_cache_remote_expiration
0

shadow_core_dump
partial

background_core_dump
partial

background_dump_dest
/u01/app/oracle/product/19.0.0.0/dbhome_1/rdbms/log

user_dump_dest
/u01/app/oracle/product/19.0.0.0/dbhome_1/rdbms/log

core_dump_dest
/u01/app/oracle/diag/rdbms/devdb/DEVDB2/cdump

audit_file_dest
/u01/app/oracle/admin/DEVDB/adump

audit_syslog_level

unified_audit_systemlog
unified_audit_common_systemlog

resource_manage_goldengate
FALSE

object_cache_optimal_size
10240000

object_cache_max_size_percent
10

lob_signature_enable
FALSE

session_max_open_files
10

NAME
--------------------------------------------------------------------------------
VALUE
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------

open_links
4

open_links_per_instance
4

commit_write

commit_wait

commit_logging
optimizer_features_enable
19.1.0

fixed_date

audit_trail
DB

sort_area_size
65536

sort_area_retained_size
0

cell_offload_processing
TRUE

cell_offload_decryption
TRUE

cell_offload_parameters

cell_offload_compaction
ADAPTIVE

cell_offload_plan_display
AUTO

db_name
DEVDB

db_unique_name
DEVDB

open_cursors
300

ifile

sql_trace
FALSE

os_authent_prefix
ops$

optimizer_mode
ALL_ROWS

sql92_security
TRUE

blank_trimming
FALSE

star_transformation_enabled
FALSE

parallel_degree_policy
MANUAL

parallel_adaptive_multi_user
FALSE

parallel_threads_per_cpu
1

optimizer_index_cost_adj
100

optimizer_index_caching
0

query_rewrite_enabled
TRUE

query_rewrite_integrity
enforced

pga_aggregate_target
784334848

workarea_size_policy
AUTO
optimizer_dynamic_sampling
2

statistics_level
TYPICAL

cursor_bind_capture_destination
memory+disk

skip_unusable_indexes
TRUE

optimizer_ignore_hints
FALSE

optimizer_secure_view_merging
TRUE

ddl_lock_timeout
0

deferred_segment_creation
TRUE

optimizer_use_pending_statistics
FALSE

optimizer_capture_sql_plan_baselines
FALSE

optimizer_use_sql_plan_baselines
TRUE

parallel_min_time_threshold
AUTO

parallel_degree_limit
CPU

parallel_force_local
FALSE

optimizer_use_invisible_indexes
FALSE
dst_upgrade_insert_conv
TRUE

parallel_servers_target
16

max_string_size
STANDARD

optimizer_adaptive_reporting_only
FALSE

optimizer_adaptive_plans
TRUE

optimizer_inmemory_aware
TRUE

cursor_invalidation
IMMEDIATE

approx_for_aggregation
FALSE

approx_for_count_distinct
FALSE

approx_for_percentile
none

optimizer_adaptive_statistics
FALSE

optimizer_ignore_parallel_hints
FALSE

parallel_min_degree
1

sec_protocol_error_trace_action
TRACE

sec_protocol_error_further_action
(DROP,3)

sec_max_failed_login_attempts
3

sec_return_server_release_banner
FALSE

enable_ddl_logging
FALSE

client_result_cache_size
0

client_result_cache_lag
3000

outbound_dblink_protocols
ALL

allow_global_dblinks
FALSE

client_statistics_level
TYPICAL

aq_tm_processes
1

hs_autoregister
TRUE

xml_db_events
enable

dg_broker_start
FALSE

dg_broker_config_file1
/u01/app/oracle/product/19.0.0.0/dbhome_1/dbs/dr1DEVDB.dat

dg_broker_config_file2
/u01/app/oracle/product/19.0.0.0/dbhome_1/dbs/dr2DEVDB.dat
olap_page_pool_size
0

asm_diskstring

asm_preferred_read_failure_groups

control_management_pack_access
DIAGNOSTIC+TUNING

awr_pdb_autoflush_enabled
FALSE

awr_pdb_max_parallel_slaves
10

awr_snapshot_time_offset
0

sqltune_category
DEFAULT

autotask_max_active_pdbs
2

enable_automatic_maintenance_pdb
TRUE

spatial_vector_acceleration
FALSE

diagnostic_dest
/u01/app/oracle

tracefile_identifier

max_dump_file_size
unlimited

trace_enabled
TRUE
cell_offloadgroup_name

enable_pluggable_database
FALSE

pdb_os_credential

pdb_file_name_convert

noncdb_compatible
FALSE

common_user_prefix
C##

target_pdbs
0

max_pdbs
254

cdb_cluster
FALSE

cdb_cluster_name

standby_pdb_source_file_directory

standby_pdb_source_file_dblink

remote_recovery_file_dest

disable_pdb_feature
0

containers_parallel_degree
65535

default_sharing
metadata

pdb_lockdown

pdb_template

shrd_dupl_table_refresh_rate
60

multishard_query_data_consistency
strong

multishard_query_partial_results
not allowed

446 rows selected.

SQL> creape pfile='/tmp/init^[[D^[[D^C

SQL>
SQL> create pfile='/tmp/dev.ora' from spfile;

File created.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 dbs]$ cat /tmp/dev.ora
DEVDB1.__data_transfer_cache_size=0
DEVDB2.__data_transfer_cache_size=0
DEVDB1.__db_cache_size=1627389952
DEVDB2.__db_cache_size=1644167168
DEVDB1.__inmemory_ext_roarea=0
DEVDB2.__inmemory_ext_roarea=0
DEVDB1.__inmemory_ext_rwarea=0
DEVDB2.__inmemory_ext_rwarea=0
DEVDB1.__java_pool_size=0
DEVDB2.__java_pool_size=0
DEVDB1.__large_pool_size=16777216
DEVDB2.__large_pool_size=16777216
DEVDB1.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
DEVDB2.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
DEVDB1.__pga_aggregate_target=788529152
DEVDB2.__pga_aggregate_target=788529152
DEVDB1.__sga_target=2365587456
DEVDB2.__sga_target=2365587456
DEVDB1.__shared_io_pool_size=117440512
DEVDB2.__shared_io_pool_size=117440512
DEVDB1.__shared_pool_size=587202560
DEVDB2.__shared_pool_size=570425344
DEVDB1.__streams_pool_size=0
DEVDB2.__streams_pool_size=0
DEVDB1.__unified_pga_pool_size=0
DEVDB2.__unified_pga_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/DEVDB/adump'
*.audit_trail='db'
*.cluster_database=true
*.compatible='19.0.0'
*.control_files='+DATA/DEVDB/CONTROLFILE/current.261.1126168941','+RECO/DEVDB/
CONTROLFILE/current.256.1126168941'
*.db_block_size=8192
*.db_create_file_dest='+DATA'
*.db_name='DEVDB'
*.db_recovery_file_dest='+RECO'
*.db_recovery_file_dest_size=8931m
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=DEVDBXDB)'
family:dw_helper.instance_mode='read-only'
DEVDB1.instance_number=1
DEVDB2.instance_number=2
*.local_listener='-oraagent-dummy-'
*.log_archive_format='%t_%s_%r.dbf'
*.nls_language='AMERICAN'
*.nls_territory='AMERICA'
*.open_cursors=300
*.pga_aggregate_target=748m
*.processes=300
*.remote_login_passwordfile='exclusive'
*.sga_target=2244m
DEVDB2.thread=2
DEVDB1.thread=1
DEVDB1.undo_tablespace='UNDOTBS1'
DEVDB2.undo_tablespace='UNDOTBS2'
[oracle@oraclelab2 dbs]$
[oracle@oraclelab2 dbs]$
[oracle@oraclelab2 dbs]$ exit
logout
[root@oraclelab2 disks]# su
[root@oraclelab2 disks]#
[root@oraclelab2 disks]# su - oracle
Last login: Sun Jan 22 14:16:15 IST 2023
[oracle@oraclelab2 ~]$ . oraenv
ORACLE_SID = [oracle] ? DEVDB2
The Oracle base has been set to /u01/app/oracle
[oracle@oraclelab2 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 14:17:17 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> select name from v$datafile;

NAME
--------------------------------------------------------------------------------
+DGROUPB/DEVDB/DATAFILE/system.256.1126783489
+DATA/DEVDB/DATAFILE/test1.257.1126783601
+DATA/DEVDB/DATAFILE/sysaux.258.1126168855
+DATA/DEVDB/DATAFILE/undotbs1.259.1126168871
+DATA/DEVDB/DATAFILE/undotbs2.265.1126169129
+DATA/DEVDB/DATAFILE/users.260.1126168873

6 rows selected.

SQL> ALTER DATABASE MOVE DATAFILE


'+DGROUPB/DEVDB/DATAFILE/system.256.1126783489' TO '+DATA';

Database altered.

SQL> select name from v$datafile;


NAME
--------------------------------------------------------------------------------
+DATA/DEVDB/DATAFILE/system.269.1126793871
+DATA/DEVDB/DATAFILE/test1.257.1126783601
+DATA/DEVDB/DATAFILE/sysaux.258.1126168855
+DATA/DEVDB/DATAFILE/undotbs1.259.1126168871
+DATA/DEVDB/DATAFILE/undotbs2.265.1126169129
+DATA/DEVDB/DATAFILE/users.260.1126168873

6 rows selected.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraclelab2 ~]$ . oraenv
ORACLE_SID = [DEVDB2] ? +ASM2
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@oraclelab2 ~]$ sqlplus / as syasm

SQL*Plus: Release 19.0.0.0.0 - Production


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.

Usage 1: sqlplus -H | -V

-H Displays the SQL*Plus version and the


usage help.
-V Displays the SQL*Plus version.

Usage 2: sqlplus [ [<option>] [{logon | /nolog}] [<start>] ]

<option> is: [-AC] [-C <version>] [-F] [-L] [-M "<options>"] [-NOLOGINTIME]
[-R <level>] [-S]

-AC Enable Application Continuity.


-C <version> Sets the compatibility of affected commands to the
version specified by <version>. The version has
the form "x.y[.z]". For example, -C 10.2.0
-F This option improves performance in general. It changes
the default values settings.
See SQL*Plus User's Guide for the detailed settings.
-L Attempts to log on just once, instead of
reprompting on error.
-M "<options>" Sets automatic HTML or CSV markup of output. The options
have the form:
{HTML html_options|CSV csv_options}
See SQL*Plus User's Guide for detailed HTML and CSV options.
-NOLOGINTIME Don't display Last Successful Login Time.
-R <level> Sets restricted mode to disable SQL*Plus commands
that interact with the file system. The level can
be 1, 2 or 3. The most restrictive is -R 3 which
disables all user commands interacting with the
file system.
-S Sets silent mode which suppresses the display of
the SQL*Plus banner, prompts, and echoing of
commands.

<logon> is: {<username>[/<password>][@<connect_identifier>] | / }


[AS {SYSDBA | SYSOPER | SYSASM | SYSBACKUP | SYSDG
| SYSKM | SYSRAC}] [EDITION=value]

Specifies the database account username, password and connect


identifier for the database connection. Without a connect
identifier, SQL*Plus connects to the default database.

The AS SYSDBA, AS SYSOPER, AS SYSASM, AS SYSBACKUP, AS SYSDG,


AS SYSKM and AS SYSRAC options are database administration privileges.

<connect_identifier> can be in the form of Net Service Name


or Easy Connect.

@[<net_service_name> | [[//]Host[:Port]/<service_name>] |
[[[protocol:]//]host1{,host12}[:port1]{,host2:port2}[/service_name]
[:server][/instance_name][?[parameter_name=value]
{&parameter_name=value}]]]

<net_service_name> is a simple name for a service that resolves


to a connect descriptor.

Example: Connect to database using Net Service Name and the


database net service name is ORCL.

sqlplus myusername/mypassword@ORCL

Host specifies the host name or IP address of the database


server computer.

Port specifies the listening port on the database server.

<service_name> specifies the service name of the database you


want to access.

Example: Connect to database using Easy Connect and the


Service name is ORCL.

sqlplus myusername/mypassword@Host/ORCL

The /NOLOG option starts SQL*Plus without connecting to a


database.

The EDITION specifies the value for Session Edition.

<start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]

Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.

When SQL*Plus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQL*Plus commands.

Refer to the SQL*Plus User's Guide and Reference for more information.
[oracle@oraclelab2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 22 14:18:14 2023


Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> DROP DISKGROUP DGROUPB including contents;


Diskgroup dropped.

SQL>

login as: root


[email protected]'s password:

┌───────────────────────────────────────────────────────────
───────────┐
│ • MobaXterm Personal Edition v21.2 • │
│ (SSH client, X server and network tools) │
│ │
│ ➤ SSH session to [email protected]
│ • Direct SSH : ✔ │
│ • SSH compression : ✔ │
│ • SSH-browser : ✔ │
│ • X11-forwarding : ✔ (remote display is forwarded through SSH) │
│ │
│ ➤ For more info, ctrl+click on help or visit our website. │

└───────────────────────────────────────────────────────────
───────────┘

Last login: Sun Jan 22 10:30:04 2023 from 192.168.1.5


[root@oraclelab2 ~]# cd /u01/app/oracle/diag/asm/+asm/+ASM2/trace/
[root@oraclelab2 trace]# tail -f alert_+ASM2.log
2023-01-22T11:59:49.370126+05:30
NOTE: cache dismounting (clean) group 1/0x117AD513 (RECO)
NOTE: messaging CKPT to quiesce pins Unix process pid: 32365, image:
[email protected] (TNS V1-V3)
NOTE: dbwr not being msg'd to dismount
NOTE: LGWR not being messaged to dismount
NOTE: cache dismounted group 1/0x117AD513 (RECO)
NOTE: cache ending mount (fail) of group RECO number=1 incarn=0x117ad513
NOTE: cache deleting context for group RECO 1/0x117ad513
2023-01-22T11:59:49.468044+05:30
GMON dismounting group 1 at 13 for pid 42, osid 32365
2023-01-22T11:59:49.471259+05:30
ERROR: diskgroup RECO was not mounted
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECO" cannot be mounted
ORA-15040: diskgroup is incomplete
2023-01-22T11:59:49.504915+05:30
ERROR: ALTER DISKGROUP RECO MOUNT /* asm agent *//* {2:62953:2} */
2023-01-22T11:59:53.896968+05:30
SQL> ALTER DISKGROUP DGROUPB MOUNT /* asm agent *//* {2:62953:2} */
2023-01-22T11:59:53.900111+05:30
SQL> ALTER DISKGROUP DATA MOUNT /* asm agent *//* {2:62953:2} */
2023-01-22T11:59:53.911074+05:30
NOTE: cache registered group DGROUPB 1/0x301AD516
NOTE: cache began mount (first) of group DGROUPB 1/0x301AD516
2023-01-22T11:59:54.100932+05:30
ERROR: no read quorum in group: required 2, found 0 disks
2023-01-22T11:59:54.101391+05:30
NOTE: cache dismounting (clean) group 1/0x301AD516 (DGROUPB)
NOTE: messaging CKPT to quiesce pins Unix process pid: 32316, image:
[email protected] (TNS V1-V3)
NOTE: dbwr not being msg'd to dismount
NOTE: LGWR not being messaged to dismount
NOTE: cache dismounted group 1/0x301AD516 (DGROUPB)
NOTE: cache ending mount (fail) of group DGROUPB number=1 incarn=0x301ad516
NOTE: cache deleting context for group DGROUPB 1/0x301ad516
2023-01-22T11:59:54.166317+05:30
GMON dismounting group 1 at 15 for pid 41, osid 32316
2023-01-22T11:59:54.169867+05:30
ERROR: diskgroup DGROUPB was not mounted
ORA-15032: not all alterations performed
ORA-15017: diskgroup "DGROUPB" cannot be mounted
ORA-15040: diskgroup is incomplete

2023-01-22T11:59:54.193164+05:30
ERROR: ALTER DISKGROUP DGROUPB MOUNT /* asm agent *//* {2:62953:2} */
2023-01-22T11:59:54.206945+05:30
NOTE: cache registered group DATA 1/0x31EAD519
NOTE: cache began mount (first) of group DATA 1/0x31EAD519
2023-01-22T11:59:54.327629+05:30
ERROR: no read quorum in group: required 2, found 0 disks
2023-01-22T11:59:54.327953+05:30
NOTE: cache dismounting (clean) group 1/0x31EAD519 (DATA)
NOTE: messaging CKPT to quiesce pins Unix process pid: 32365, image:
[email protected] (TNS V1-V3)
NOTE: dbwr not being msg'd to dismount
NOTE: LGWR not being messaged to dismount
NOTE: cache dismounted group 1/0x31EAD519 (DATA)
NOTE: cache ending mount (fail) of group DATA number=1 incarn=0x31ead519
NOTE: cache deleting context for group DATA 1/0x31ead519
2023-01-22T11:59:54.328812+05:30
GMON dismounting group 1 at 17 for pid 42, osid 32365
2023-01-22T11:59:54.332272+05:30
ERROR: diskgroup DATA was not mounted
ORA-15032: not all alterations performed
ORA-15017: diskgroup "DATA" cannot be mounted
ORA-15040: diskgroup is incomplete

2023-01-22T11:59:54.350324+05:30
ERROR: ALTER DISKGROUP DATA MOUNT /* asm agent *//* {2:62953:2} */
^C
[root@oraclelab2 trace]# tail -f alert_+ASM2.log
ORA-15040: diskgroup is incomplete
ORA-15017: diskgroup "DGROUPB" cannot be mounted
ORA-15040: diskgroup is incomplete
ORA-15017: diskgroup "DATA" cannot be mounted
ORA-15040: diskgroup is incomplete
ORA-15017: diskgroup "OCR" cannot be mounted
ORA-15013: diskgroup "OCR" is already mounted

2023-01-22T12:02:12.867584+05:30
ERROR: ALTER DISKGROUP ALL MOUNT
2023-01-22T12:02:50.117809+05:30
NOTE: updated gpnp profile ASM diskstring: /dev/oracleasm/disks/*
2023-01-22T12:02:50.132692+05:30
ALTER SYSTEM SET asm_diskstring='/dev/oracleasm/disks/*' SCOPE=SPFILE;
2023-01-22T12:03:07.068724+05:30
Shutting down ORACLE instance (abort) (OS id: 10367)
License high water mark = 9
2023-01-22T12:03:07.075916+05:30
USER (ospid: 10367): terminating the instance
2023-01-22T12:03:08.198292+05:30
Instance terminated by USER, pid = 10367
2023-01-22T12:03:08.304231+05:30
Instance shutdown complete (OS id: 10367)
2023-01-22T12:03:11.834209+05:30
MEMORY_TARGET defaulting to 1128267776.
* instance_number obtained from CSS = 2, checking for the existence of node 0...
* node 0 does not exist. instance_number = 2
Starting ORACLE instance (normal) (OS id: 10739)
2023-01-22T12:03:12.101240+05:30
****************************************************
/dev/shm will be used for creating SGA
Large pages will not be used. Only standard 4K pages will be used
****************************************************
2023-01-22T12:03:12.107515+05:30
**********************************************************************
2023-01-22T12:03:12.107562+05:30
Dump of system resources acquired for SHARED GLOBAL AREA (SGA)

2023-01-22T12:03:12.107707+05:30
Domain name: user.slice
2023-01-22T12:03:12.107879+05:30
Per process system memlock (soft) limit = UNLIMITED
2023-01-22T12:03:12.107945+05:30
Expected per process system memlock (soft) limit to lock
instance MAX SHARED GLOBAL AREA (SGA) into memory: 1085M
2023-01-22T12:03:12.108031+05:30
Available system pagesizes:
4K, 2048K
2023-01-22T12:03:12.108214+05:30
Supported system pagesize(s):
2023-01-22T12:03:12.108264+05:30
PAGESIZE AVAILABLE_PAGES EXPECTED_PAGES ALLOCATED_PAGES ERROR(s)
2023-01-22T12:03:12.108309+05:30
4K Configured 277638 277638 NONE
2023-01-22T12:03:12.108484+05:30
Reason for not supporting certain system pagesizes:
2023-01-22T12:03:12.108543+05:30
2048K - Dynamic allocate and free memory regions
2023-01-22T12:03:12.108588+05:30
**********************************************************************
2023-01-22T12:03:15.499669+05:30
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
2023-01-22T12:03:15.644597+05:30
Initial number of CPU is 2
Number of processor cores in the system is 2
Number of processor sockets in the system is 1
KSXRTEST ISGA: RM Channel count = 1
KSXRTEST ISGA: rcnt= 70 rmrcnt = 1
Capability Type : Network
capabilities requested : 7 detected : 0 Simulated : 0
Capability Type : Runtime Environment
capabilities requested : 400000FF detected : 40000000 Simulated : 0
Capability Type : Engineered Systems
capabilities requested : 7 detected : 0 Simulated : 0
Capability Type : Database Test
capabilities requested : 3 detected : 0 Simulated : 0
kjidomenacan initialized to 0
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/19.0.0.0/grid/dbs/arch
Autotune of undo retention is turned on.
LICENSE_MAX_USERS = 0
SYS auditing is enabled
NOTE: remote asm mode is remote (mode 0x202; from cluster type)
NOTE: Cluster configuration type = CLUSTER [4]
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0.
ORACLE_HOME: /u01/app/19.0.0.0/grid
System name: Linux
Node name: oraclelab2.localdomain.com
Release: 5.4.17-2102.201.3.el7uek.x86_64
Version: #2 SMP Fri Apr 23 09:05:55 PDT 2021
Machine: x86_64
Using parameter settings in server-side spfile
+OCR/rac-clu/ASMPARAMETERFILE/registry.253.1126785325
System parameters with non-default values:
large_pool_size = 12M
remote_login_passwordfile= "EXCLUSIVE"
asm_diskstring = "/dev/oracleasm/disks/*"
asm_diskgroups = "DATA"
asm_diskgroups = "RECO"
asm_diskgroups = "DGROUPB"
asm_power_limit =1
NOTE: remote asm mode is remote (mode 0x202; from cluster type)
2023-01-22T12:03:16.477364+05:30
Cluster Communication is configured to use IPs from: GPnP
IP: 169.254.27.56 Subnet: 169.254.0.0
KSIPC Loopback IP addresses(OSD):
127.0.0.1
KSIPC Available Transports: UDP:TCP:RDSTCP
KSIPC: Client: KCL Transport: NONE
KSIPC: Client: DLM Transport: NONE
KSIPC CAPABILITIES :MGA:SKGXP:GRPCLSS:TOPO:DLL:STATSFW
KSXP: ksxpsg_ipclwtrans: 0 NONE
cluster interconnect IPC version: Oracle UDP/IP (generic)
IPC Vendor 1 proto 2
Oracle instance running with ODM: Oracle Direct NFS ODM Library Version 6.0
============================================================
NOTE: PatchLevel of this instance 724960844
============================================================
Dumping list of patches:
============================================================
29401763,29517242,29517247,29585399
============================================================
2023-01-22T12:03:17.595276+05:30
Starting background process PMON
2023-01-22T12:03:17.609665+05:30
PMON started with pid=2, OS id=10786
Starting background process CLMN
2023-01-22T12:03:17.627722+05:30
CLMN started with pid=3, OS id=10788
Starting background process PSP0
2023-01-22T12:03:17.640299+05:30
PSP0 started with pid=4, OS id=10790
Starting background process VKTM
2023-01-22T12:03:18.674854+05:30
VKTM started with pid=5, OS id=10793 at elevated (RT) priority
2023-01-22T12:03:18.674912+05:30
Starting background process GEN0
2023-01-22T12:03:18.676087+05:30
VKTM running at (1)millisec precision with DBRM quantum (100)ms
2023-01-22T12:03:18.711609+05:30
GEN0 started with pid=6, OS id=10797
Starting background process MMAN
2023-01-22T12:03:18.720959+05:30
MMAN started with pid=7, OS id=10799
Starting background process GEN1
2023-01-22T12:03:18.752527+05:30
GEN1 started with pid=9, OS id=10803_10804
Starting background process DIAG
2023-01-22T12:03:18.766567+05:30
DIAG started with pid=11, OS id=10806
Starting background process PING
2023-01-22T12:03:18.782059+05:30
PING started with pid=12, OS id=10808
Starting background process PMAN
2023-01-22T12:03:18.804992+05:30
PMAN started with pid=8, OS id=10810
Starting background process DIA0
2023-01-22T12:03:18.815392+05:30
DIA0 started with pid=13, OS id=10812
Starting background process LMON
2023-01-22T12:03:18.827081+05:30
LMON started with pid=14, OS id=10814
Starting background process LMD0
2023-01-22T12:03:18.847435+05:30
LMD0 started with pid=15, OS id=10816
2023-01-22T12:03:18.848408+05:30
* Load Monitor used for high load check
* New Low - High Load Threshold Range = [1920 - 2560]
Starting background process LMHB
2023-01-22T12:03:18.860379+05:30
LMHB started with pid=18, OS id=10820
Starting background process LCK1
2023-01-22T12:03:18.868011+05:30
LMS0 started with pid=16, OS id=10818_10821 at elevated (RT) priority
2023-01-22T12:03:18.881981+05:30
LCK1 started with pid=19, OS id=10825
Starting background process DBW0
2023-01-22T12:03:18.897923+05:30
DBW0 started with pid=20, OS id=10827
Starting background process LGWR
2023-01-22T12:03:18.911880+05:30
LGWR started with pid=21, OS id=10829
Starting background process CKPT
2023-01-22T12:03:18.923016+05:30
CKPT started with pid=22, OS id=10831
Starting background process SMON
2023-01-22T12:03:18.938853+05:30
SMON started with pid=23, OS id=10833
Starting background process LREG
2023-01-22T12:03:18.951675+05:30
LREG started with pid=24, OS id=10835
Starting background process PXMN
2023-01-22T12:03:18.964630+05:30
PXMN started with pid=25, OS id=10837
Starting background process RBAL
2023-01-22T12:03:18.975757+05:30
RBAL started with pid=26, OS id=10839
Starting background process GMON
2023-01-22T12:03:18.988472+05:30
GMON started with pid=27, OS id=10841
Starting background process MMON
2023-01-22T12:03:19.000768+05:30
MMON started with pid=28, OS id=10843
Starting background process MMNL
2023-01-22T12:03:19.011603+05:30
MMNL started with pid=29, OS id=10845
2023-01-22T12:03:19.160243+05:30
My CSS node number is 2
My CSS hostname is oraclelab2
lmon registered with NM - instance number 2 (internal mem no 1)
* allocate domain 0, valid ? 1
* Setting GES domain 0

You might also like