點(diǎn)擊上方“IT那活兒”,關(guān)注后了解更多內(nèi)容,不管IT什么活兒,干就完了?。?!
1
2
ASMFD基本操作
$su root
#export ORACLE_HOME=/oracle/app/19.0.0/grid/
#export ORACLE_BASE=/tmp
#/oracle/app/19.0.0/grid/bin/asmcmd afd_label DATA01 /dev/sdc --init
#/oracle/app/19.0.0/grid/bin/asmcmd afd_label DATA02 /dev/sdd --init
#/oracle/app/19.0.0/grid/bin/asmcmd afd_label DATA03 /dev/sde --init
#/oracle/app/19.0.0/grid/bin/asmcmd afd_lslbl /dev/sdc
#/oracle/app/19.0.0/grid/bin/asmcmd afd_lslbl /dev/sdd
#/oracle/app/19.0.0/grid/bin/asmcmd afd_lslbl /dev/sde
#ls -ltr /dev/oracleafd/disks
#unset ORACLE_BASE
#su - grid
$asmcmd dsget
$asmcmd dsset /dev/mapper,AFD:*
$asmcmd dsget
$su - grid
$asmcmd afd_state
$su -
#export ORACLE_BASE=/oracle/app/grid
#export ORACLE_HOME=/oracle/app/19.0.0/grid
#/oracle/app/19.0.0/grid/bin/crsctl stop cluster -all
[root@rac19c1 ~]# /oracle/app/19.0.0/grid/bin/crsctl stop crs
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on rac19c1
CRS-2673: Attempting to stop ora.crsd on rac19c1
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server rac19c1
CRS-2673: Attempting to stop ora.qosmserver on rac19c1
CRS-2673: Attempting to stop ora.chad on rac19c1
CRS-2677: Stop of ora.qosmserver on rac19c1 succeeded
CRS-2677: Stop of ora.chad on rac19c1 succeeded
CRS-2673: Attempting to stop ora.rac19c.db on rac19c1
CRS-2677: Stop of ora.rac19c.db on rac19c1 succeeded
CRS-2673: Attempting to stop ora.LISTENER.lsnr on rac19c1
CRS-2673: Attempting to stop ora.LISTENER_DG.lsnr on rac19c1
CRS-2673: Attempting to stop ora.LISTENER_SCAN1.lsnr on rac19c1
CRS-2673: Attempting to stop ora.cvu on rac19c1
CRS-2673: Attempting to stop ora.rac19c1.vip on rac19c1
CRS-2673: Attempting to stop ora.rac19c1_2.vip on rac19c1
CRS-2677: Stop of ora.rac19c1_2.vip on rac19c1 succeeded
CRS-2677: Stop of ora.LISTENER.lsnr on rac19c1 succeeded
CRS-2677: Stop of ora.rac19c1.vip on rac19c1 succeeded
CRS-2673: Attempting to stop ora.rac19c2.vip on rac19c1
CRS-2677: Stop of ora.LISTENER_SCAN1.lsnr on rac19c1 succeeded
CRS-2673: Attempting to stop ora.scan1.vip on rac19c1
… …
CRS-2677: Stop of ora.cssd on rac19c1 succeeded
CRS-2673: Attempting to stop ora.gipcd on rac19c1
CRS-2673: Attempting to stop ora.gpnpd on rac19c1
CRS-2677: Stop of ora.gipcd on rac19c1 succeeded
CRS-2677: Stop of ora.gpnpd on rac19c1 succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on rac19c1 has completed
CRS-4133: Oracle High Availability Services has been stopped.
# /oracle/app/19.0.0/grid/bin/asmcmd afd_configure
#/oracle/app/19.0.0/grid/bin/asmcmd afd_state
#/oracle/app/19.0.0/grid/bin/asmcmd afd_label ocrdata01 /dev/sdf --migrate
#/oracle/app/19.0.0/grid/bin/asmcmd afd_label ocrdata02 /dev/sdg --migrate
#/oracle/app/19.0.0/grid/bin/asmcmd afd_label ocrdata03 /dev/sdh --migrate
#/oracle/app/19.0.0/grid/bin/asmcmd afd_lsdsk
# /oracle/app/19.0.0/grid/bin/asmcmd afd_refresh
# /oracle/app/19.0.0/grid/bin/asmcmd afd_lsdsk
#/oracle/app/19.0.0/grid/bin/crsctl start cluster -all
#su - grid
$asmcmd dsget
$su - grid
$ asmcmd afd_dsset /dev/sd*
$ asmcmd afd_dsget
$asmcmd afd_lsdsk
su -
#/oracle/app/19.0.0/grid/bin/asmcmd afd_label DATA04 /dev/sde
#/oracle/app/19.0.0/grid/bin/asmcmd afd_lsdsk
#/oracle/app/19.0.0/grid/bin/asmcmd afd_unlabel DATA04
#/oracle/app/19.0.0/grid/bin/asmcmd afd_lsdsk
END
文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。
轉(zhuǎn)載請(qǐng)注明本文地址:http://systransis.cn/yun/129529.html
摘要:一簡介是由開發(fā)的一套開源的軟件工具,目標(biāo)是提供一個(gè)通用和穩(wěn)定的軟件庫來高效安全地管理一個(gè)節(jié)點(diǎn)上的虛擬機(jī),并支持遠(yuǎn)程操作。用戶只關(guān)心高層的功能,而的實(shí)現(xiàn)細(xì)節(jié),對(duì)于最終用戶應(yīng)該是透明的。本機(jī)之間的通信在初始化的過程中,所有的驅(qū)動(dòng)被枚舉和注冊。 一、Libvirt簡介 Libvirt是由Redhat開發(fā)的一套開源的軟件工具,目標(biāo)是提供一個(gè)通用和穩(wěn)定的軟件庫來高效、安全地管理一個(gè)節(jié)點(diǎn)上的虛擬機(jī)...
摘要:數(shù)據(jù)庫連接池的基本原理是在內(nèi)部對(duì)象池中維護(hù)一定數(shù)量的數(shù)據(jù)庫連接,并對(duì)外暴露數(shù)據(jù)庫連接獲取和返回方法。統(tǒng)一的連接管理,避免數(shù)據(jù)庫連接泄漏在較為完備的數(shù)據(jù)庫連接池實(shí)現(xiàn)中,可根據(jù)預(yù)先的連接占用超時(shí)設(shè)定,強(qiáng)制收回被占用連接。 一、數(shù)據(jù)庫連接池的原理 基本原理 對(duì)于一個(gè)簡單的數(shù)據(jù)庫應(yīng)用,由于對(duì)于數(shù)據(jù)庫的訪問不是很頻繁。這時(shí)可以簡單地在需要訪問數(shù)據(jù)庫時(shí),就新創(chuàng)建一個(gè)連接,用完后就關(guān)閉它,這樣做也...
摘要:數(shù)據(jù)庫連接池的基本原理是在內(nèi)部對(duì)象池中維護(hù)一定數(shù)量的數(shù)據(jù)庫連接,并對(duì)外暴露數(shù)據(jù)庫連接獲取和返回方法。統(tǒng)一的連接管理,避免數(shù)據(jù)庫連接泄漏在較為完備的數(shù)據(jù)庫連接池實(shí)現(xiàn)中,可根據(jù)預(yù)先的連接占用超時(shí)設(shè)定,強(qiáng)制收回被占用連接。 一、數(shù)據(jù)庫連接池的原理 基本原理 對(duì)于一個(gè)簡單的數(shù)據(jù)庫應(yīng)用,由于對(duì)于數(shù)據(jù)庫的訪問不是很頻繁。這時(shí)可以簡單地在需要訪問數(shù)據(jù)庫時(shí),就新創(chuàng)建一個(gè)連接,用完后就關(guān)閉它,這樣做也...
閱讀 1356·2023-01-11 13:20
閱讀 1707·2023-01-11 13:20
閱讀 1215·2023-01-11 13:20
閱讀 1906·2023-01-11 13:20
閱讀 4165·2023-01-11 13:20
閱讀 2757·2023-01-11 13:20
閱讀 1402·2023-01-11 13:20
閱讀 3671·2023-01-11 13:20