버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.
코드 블럭
languagebash
titlegrid 유저로 수행
linenumberstrue
mkdir -p $GRID_HOME
cd <설치 파일 다운로드 위치>
unzip LINUX.X64_180000_grid_home.zip -d $GRID_HOME
펼치기

실행 예제는 첨부 파일 참조 : unzip_grid.txt

 

코드 블럭
languagebash
titleroot 유저로 수행
linenumberstrue
### 경로 설정
export ORACLE_HOME=/u01/app/oracle/18.3.0/grid
export ORACLE_BASE=/tmp
### 디스크 라벨 등록
$ORACLE_HOME/bin/asmcmd afd_label DATA1 /dev/sdb --init
$ORACLE_HOME/bin/asmcmd afd_label DATA2 /dev/sdc --init
$ORACLE_HOME/bin/asmcmd afd_label DATA3 /dev/sdd --init
$ORACLE_HOME/bin/asmcmd afd_label DATA4 /dev/sde --init
$ORACLE_HOME/bin/asmcmd afd_label FRA1 /dev/sdf --init
$ORACLE_HOME/bin/asmcmd afd_label FRA2 /dev/sdg --init 
### 등록 결과 확인
$ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sdb
$ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sdc
$ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sdd
$ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sde
$ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sdf
$ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sdg
펼치기
서식 미적용
[root@oel7 ~]# export ORACLE_HOME=/u01/app/oracle/18.3.0/grid
[root@oel7 ~]# export ORACLE_BASE=/tmp
 
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_label DATA1 /dev/sdb --init
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_label DATA2 /dev/sdc --init
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_label DATA3 /dev/sdd --init
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_label DATA4 /dev/sde --init
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_label FRA1 /dev/sdf --init
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_label FRA2 /dev/sdg --init

 
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sdb
--------------------------------------------------------------------------------
Label                     Duplicate  Path
================================================================================
DATA1                                 /dev/sdb
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sdc
--------------------------------------------------------------------------------
Label                     Duplicate  Path
================================================================================
DATA2                                 /dev/sdc
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sdd
--------------------------------------------------------------------------------
Label                     Duplicate  Path
================================================================================
DATA3                                 /dev/sdd
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sde
--------------------------------------------------------------------------------
Label                     Duplicate  Path
================================================================================
DATA4                                 /dev/sde
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sdf
--------------------------------------------------------------------------------
Label                     Duplicate  Path
================================================================================
FRA1                                  /dev/sdf
[root@oel7 ~]# $ORACLE_HOME/bin/asmcmd afd_lslbl /dev/sdg
--------------------------------------------------------------------------------
Label                     Duplicate  Path
================================================================================
FRA2                                  /dev/sdg

 

코드 블럭
languagebash
titleroot 유저로 수행
linenumberstrue
cd $ORACLE_HOME/cv/rpm
rpm -ivh cvuqdisk-1.0.10-1.rpm
펼치기
서식 미적용
[root@oel7 ~]# cd $ORACLE_HOME/cv/rpm
[root@oel7 rpm]# rpm -ivh cvuqdisk-1.0.10-1.rpm
준비 중...                         ################################# [100%]
Using default group oinstall to install package
Updating / installing...
   1:cvuqdisk-1.0.10-1                ################################# [100%]

 

코드 블럭
languagebash
titlegrid 유저로 수행
linenumberstrue
cd $GRID_HOME
./gridSetup.sh 

 

Image Added

 

Image Added

 

Image Added

 

Image Added

 

Image Added

 

Image Added

 

Image Added

 

Image Added

 

Image Added

펼치기

Image Added

 

Image Added

 

Image Added

 

Image Added

 

Image Added

 

Image Added

 

코드 블럭
languagebash
titlegrid 유저로 실행
crsctl stat res -t 
펼치기
서식 미적용
[grid@+ASM ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       oel7                     STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       oel7                     STABLE
ora.asm
               ONLINE  ONLINE       oel7                     Started,STABLE
ora.ons
               OFFLINE OFFLINE      oel7                     STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1        ONLINE  ONLINE       oel7                     STABLE
ora.diskmon
      1        OFFLINE OFFLINE                               STABLE
ora.driver.afd
      1        ONLINE  ONLINE       oel7                     STABLE
ora.evmd
      1        ONLINE  ONLINE       oel7                     STABLE
--------------------------------------------------------------------------------

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed

 

Image Removed