이 페이지의 이전 버전을 보고 있습니다. 현재 버전 보기.

현재와 비교 페이지 이력 보기

« 이전 버전 3 다음 »

grid 유저로 수행
mkdir -p $GRID_HOME
cd <설치 파일 다운로드 위치>
unzip LINUX.X64_180000_grid_home.zip -d $GRID_HOME

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

 

root 유저로 수행
### 경로 설정
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

 

root 유저로 수행
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%]

 

grid 유저로 수행
cd $GRID_HOME
./gridSetup.sh 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

grid 유저로 실행
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
--------------------------------------------------------------------------------

 

  • 레이블 없음