Oracle Database 19c RAC Komutları Part4

Oracle Database RAC Komutları Part 4

ASM Disk İşlemleri

[root@orarac1 ~]# oracleasm scandisks

Reloading disk partitions: done

Cleaning any stale ASM disks…

Scanning system for ASM disks…

[root@orarac1 ~]# oracleasm listdisks

DATA

[root@orarac1 ~]# oracleasm status

Checking if ASM is loaded: yes

Checking if /dev/oracleasm is mounted: yes

ASM Instance İşlemleri

[root@orarac1 bin]# ./crsctl check crs

CRS-4638: Oracle High Availability Services is online

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

root@orarac1 bin]# ./crsctl stop crs

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ‘orarac1’ has completed

CRS-4133: Oracle High Availability Services has been stopped.

[root@orarac1 bin]# ./crsctl start crs

CRS-4123: Oracle High Availability Services has been started.

[root@orarac1 bin]# ps -ef | grep pmon | grep -v grep

grid 22645 1 0 14:05 ? 00:00:00 asm_pmon_+ASM1

Oracle Database İşlemleri İki Node

[root@orarac1 bin]# ./srvctl stop database -d ORARAC

Veri Tabanı Kapatma

[root@orarac1 bin]# ./srvctl status database -d ORARAC

Instance orarac1 is not running on node orarac1

Instance orarac2 is not running on node orarac2

Veri Tabanı Status Not Open

[root@orarac1 bin]# ./srvctl start database -d ORARAC

Veri Tabanı Açma

[root@orarac1 bin]# ./srvctl status database -d ORARAC

Instance orarac1 is running on node orarac1

Instance orarac2 is running on node orarac2

Veri Tabanı Status Open

Oracle Instance İşlemleri (orarac1 node)

[root@orarac1 bin]# ./srvctl stop instance -d ORARAC -i orarac1

orarac1 kapatma

[root@orarac1 bin]# ./srvctl status instance -d ORARAC -i orarac1

Instance orarac1 is not running on node orarac1

orarac1 status

[root@orarac1 bin]# ./srvctl start instance -d ORARAC -i orarac1

orarac1 açma

[root@orarac1 bin]# ./srvctl status instance -d ORARAC -i orarac1

Instance orarac1 is running on node orarac1

orarac1 status

Oracle Listener İşlemleri

[root@orarac1 bin]# srvctl status listener

Listener LISTENER is enabled

Listener LISTENER is running on node(s): orarac1,orarac2

[root@orarac1 bin]# srvctl stop listener

[root@orarac1 bin]# srvctl status listener

Listener LISTENER is enabled

Listener LISTENER is not running

[root@orarac1 bin]# srvctl status listener

Listener LISTENER is enabled

Listener LISTENER is running on node(s): orarac1,orarac2

[root@orarac1 bin]# srvctl stop listener -n orarac1

[root@orarac1 bin]# srvctl status listener

Listener LISTENER is enabled

Listener LISTENER is running on node(s): orarac2

[root@orarac1 bin]# srvctl start listener -n orarac1

[root@orarac1 bin]# srvctl status listener

Listener LISTENER is enabled

Listener LISTENER is running on node(s): orarac1,orarac2

Oracle Startup Adımları

srvctl start database -d ORARAC -o nomount

srvctl start database -d ORARAC -o mount

srvctl start database -d ORARAC -o open

Oracle Shutdown Adımları

srvctl stop database -d ORARAC -o normal

srvctl stop database -d ORARAC -o immediate

srvctl stop database -d ORARAC -o transactional

srvctl stop database -d ORARAC -o abort

Bir cevap yazın

E-posta hesabınız yayımlanmayacak.