點擊上方“IT那活兒”,關注后了解更多內容,不管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
文章版權歸作者所有,未經允許請勿轉載,若此文章存在違規行為,您可以聯系管理員刪除。
轉載請注明本文地址:http://specialneedsforspecialkids.com/yun/129529.html
摘要:一簡介是由開發的一套開源的軟件工具,目標是提供一個通用和穩定的軟件庫來高效安全地管理一個節點上的虛擬機,并支持遠程操作。用戶只關心高層的功能,而的實現細節,對于最終用戶應該是透明的。本機之間的通信在初始化的過程中,所有的驅動被枚舉和注冊。 一、Libvirt簡介 Libvirt是由Redhat開發的一套開源的軟件工具,目標是提供一個通用和穩定的軟件庫來高效、安全地管理一個節點上的虛擬機...
閱讀 1347·2023-01-11 13:20
閱讀 1686·2023-01-11 13:20
閱讀 1133·2023-01-11 13:20
閱讀 1860·2023-01-11 13:20
閱讀 4103·2023-01-11 13:20
閱讀 2705·2023-01-11 13:20
閱讀 1386·2023-01-11 13:20
閱讀 3599·2023-01-11 13:20