點擊上方“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)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。
轉(zhuǎn)載請注明本文地址:http://m.specialneedsforspecialkids.com/yun/129529.html
摘要:一簡介是由開發(fā)的一套開源的軟件工具,目標是提供一個通用和穩(wěn)定的軟件庫來高效安全地管理一個節(jié)點上的虛擬機,并支持遠程操作。用戶只關(guān)心高層的功能,而的實現(xiàn)細節(jié),對于最終用戶應該是透明的。本機之間的通信在初始化的過程中,所有的驅(qū)動被枚舉和注冊。 一、Libvirt簡介 Libvirt是由Redhat開發(fā)的一套開源的軟件工具,目標是提供一個通用和穩(wěn)定的軟件庫來高效、安全地管理一個節(jié)點上的虛擬機...
摘要:數(shù)據(jù)庫連接池的基本原理是在內(nèi)部對象池中維護一定數(shù)量的數(shù)據(jù)庫連接,并對外暴露數(shù)據(jù)庫連接獲取和返回方法。統(tǒng)一的連接管理,避免數(shù)據(jù)庫連接泄漏在較為完備的數(shù)據(jù)庫連接池實現(xiàn)中,可根據(jù)預先的連接占用超時設定,強制收回被占用連接。 一、數(shù)據(jù)庫連接池的原理 基本原理 對于一個簡單的數(shù)據(jù)庫應用,由于對于數(shù)據(jù)庫的訪問不是很頻繁。這時可以簡單地在需要訪問數(shù)據(jù)庫時,就新創(chuàng)建一個連接,用完后就關(guān)閉它,這樣做也...
摘要:數(shù)據(jù)庫連接池的基本原理是在內(nèi)部對象池中維護一定數(shù)量的數(shù)據(jù)庫連接,并對外暴露數(shù)據(jù)庫連接獲取和返回方法。統(tǒng)一的連接管理,避免數(shù)據(jù)庫連接泄漏在較為完備的數(shù)據(jù)庫連接池實現(xiàn)中,可根據(jù)預先的連接占用超時設定,強制收回被占用連接。 一、數(shù)據(jù)庫連接池的原理 基本原理 對于一個簡單的數(shù)據(jù)庫應用,由于對于數(shù)據(jù)庫的訪問不是很頻繁。這時可以簡單地在需要訪問數(shù)據(jù)庫時,就新創(chuàng)建一個連接,用完后就關(guān)閉它,這樣做也...
閱讀 1353·2023-01-11 13:20
閱讀 1699·2023-01-11 13:20
閱讀 1211·2023-01-11 13:20
閱讀 1904·2023-01-11 13:20
閱讀 4161·2023-01-11 13:20
閱讀 2751·2023-01-11 13:20
閱讀 1397·2023-01-11 13:20
閱讀 3664·2023-01-11 13:20