배포 KB: VxVM(Veritas Volume Manager)을 사용하여 Linux 호스트 기반 마이그레이션을 수행하는 방법

Summary: 이 문서에서는 Vxassist 명령을 사용하여 VxVM(veritas Volume Manager)을 사용하여 독립 실행형 RedHat Linux 서버에서 스토리지를 마이그레이션하는 방법에 대해 설명합니다.

Acest articol se aplică pentru Acest articol nu se aplică pentru Acest articol nu este legat de un produs specific. Acest articol nu acoperă toate versiunile de produs existente.

Instructions

이 문서에서는 VNX 스토리지에서 PowerMax 스토리지 어레이로 Linux 서버를 마이그레이션하는 방법을 설명합니다.

스위치 측에서 다음
을 수행합니다.- 스토리지 측에서 호스트와 타겟 어레이의 포트(PG(Port Group)에 사용되는 프런트엔드 포트)

사이의 조닝을 설정합니다.
- 타겟 Powermax 스토리지에 프로비저닝 설정
- 소스 어레이와 크기가 동일한 LUN을 생성하고 스토리지 그룹에
추가합니다. 호스트
의 이니시에이터가 있는 이니시에이터 그룹 생성 - 조닝
에 사용되는 프런트엔드 포트가 있는 포트 그룹 생성 - 마스킹 뷰 생성 및 스토리지 그룹, 포트 그룹 및 이니시에이터 그룹에 추가

서버 측에서 다음
을 수행합니다.1 - 서버에서 사전 검사:
a- 서버의 모든 디스크 표시
# vxdisk -o alldgs list
Example:
[root@hostname ~]# vxdisk -o alldgs list
DEVICE                     TYPE            DISK                       GROUP        STATUS
emc_clariion0_139 auto:cdsdisk    emc_clariion0_139  DG_name online thinrclm
b- 서버에서 실행 중인 모든 디스크 그룹을 표시합니다.
# vxdg list

c- 서버의 볼륨을 표시합니다.
 # vxprint -hrt
Example:
[root@hostname ~]#  vxprint -hrt
Disk group: DG_name
v  name_vol    -            ENABLED  ACTIVE   586647552 SELECT   -        fsgen
pl name_vol-01 name_vol    ENABLED  ACTIVE   586647552 CONCAT   -        RW
sd emc_clariion0_139-01 name_vol-01 emc_clariion0_139 0 73331168 0 emc_clariion0_139 ENA

 
 
2 - 다음 명령을 사용하여 서버를 재검사하여 새 타겟 디바이스를 검색합니다.
# vxdisk scandisks
# /usr/bin/rescan-scsi-bus.sh

 서버의 디바이스를 나열하여 새 디바이스가 검색되었는지 확인합니다.
# vxdisk -o alldgs list
Example:
[root@hostname ~]#  vxdisk -o alldgs list
DEVICE                       TYPE                 DISK                           GROUP        STATUS
emc_clariion0_139 auto:cdsdisk    emc_clariion0_139  DG_name online thinrclm
emc0_04aa               auto:none        -                                     -               online invalid thinrclm
3 - 새 디스크 포맷:
# vxdisksetup -i  format=cdsdisk 
Example:
[root@hostname ~]# vxdisksetup -i emc0_04aa format=cdsdisk 
디스크가 포맷되었는지 확인합니다.
예:
[root@hostname ~]# vxdisk -o alldgs list
DEVICE                  TYPE                DISK                      GROUP        STATUS
emc_clariion0_139 auto:cdsdisk    emc_clariion0_139  DG_name online thinrclm
emc0_04aa            auto:cdsdisk      -                                  -            online thinrclm

4 - 디스크 그룹에 새 디스크를 추가합니다.
# vxdg -g  adddisk 

Example:
[root@hostname ~]# vxdg -g DG_name adddisk emc0_04aa
확인하려면 다음을 수행합니다.
[root@hostname ~]# vxdisk -o alldgs list
DEVICE                  TYPE                DISK                      GROUP        STATUS
emc_clariion0_139 auto:cdsdisk    emc_clariion0_139  DG_name online thinrclm
emc0_04aa            auto:cdsdisk    emc0_04aa              DG_name online thinrclm

5 - vxassist 명령을 사용하여 볼륨의 데이터를 마이그레이션합니다.
vxassist는 새 어레이의 볼륨에서 plex에 대한 미러를 생성합니다. 
# vxassist -b -g  mirror   enclr: name logtype=none
Example:
[root@hostname ~]# vxassist -b -g DG_name mirror name_vol enclr:emc0 logtype=none
참고: 이 명령은 새 스토리지의 볼륨 내부에 새 plex를 생성합니다. plex 상태는 모든 데이터가 복사될 때까지만 쓰게 되고 RW 상태가 됩니다.
예제:
[root@hostname ~]#  vxprint -hrt
v  name_vol    -            ENABLED  ACTIVE   586647552 SELECT   -        fsgen
pl name_vol-01 name_vol    ENABLED  ACTIVE   586647552 CONCAT   -        RW
sd emc_clariion0_139-01 name_vol-01 emc_clariion0_139 0 73331168 0 emc_clariion0_139 ENA
pl name_vol-02 name_vol ENABLED TEMPRMSD 586647552 CONCAT - WO
sd emc0_04aa-01 name_vol-02 emc0_04aa 0 73333440 0     emc0_04aa EN

6 - 다음 명령을 사용하여 데이터 복제를 모니터링합니다.
# vxtask list

7- 데이터 복제가 완료되면 볼륨에 2개의 Plex가 동기화되고 새 Plex 상태가 RW
예가 됩니다.
[root@hostname ~]#  vxprint -hrt
v  name_vol    -            ENABLED  ACTIVE   586647552 SELECT   -        fsgen
pl name_vol-01 name_vol    ENABLED  ACTIVE   586647552 CONCAT   -        RW
sd emc_clariion0_139-01 name_vol-01 emc_clariion0_139 0 73331168 0 emc_clariion0_139 ENA
pl name_vol-02 name_vol    ENABLED  ACTIVE   586647552 CONCAT   -        RW
sd emc0_04aa-01 name_vol-02 emc0_04aa 0 73333440 0     emc0_04aa ENA

8 - 이전 plex를 제거하여 볼륨을 정리합니다.
# vxplex -g  -o rm dis 
Example:
[root@hostname ~]# vxplex -g DG_name -o rm dis name_vol-01

Plex가 제거되었는지 확인합니다.
[root@hostname ~]#  vxprint -hrt
v  name_vol    -            ENABLED  ACTIVE   586647552 SELECT   -        fsgen
pl name_vol-02 name_vol    ENABLED  ACTIVE   586647552 CONCAT   -        RW
sd emc0_04aa-01 name_vol-02 emc0_04aa 0 73333440 0     emc0_04aa ENA

9- 이전 디스크 재확보:
# vxdisk reclaim 
Example:
[root@hostname ~]#  vxdisk reclaim emc_clariion0_139
10 - 디스크 그룹에서 이전 디스크를 제거합니다.
# vxdg -g  rmdisk 
Example:
[root@hostname ~]#  vxdg -g  DG_name rmdisk emc_clariion0_139

확인하려면
[root@hostname ~]# vxdisk -o alldgs list
DEVICE                         TYPE            DISK         GROUP        STATUS
emc_clariion0_139 auto:cdsdisk    -            -            online thinrclm

11 - 디스크 초기화:
# vxdiskunsetup -C 
Example:
[root@hostname ~]#  vxdiskunsetup -C emc_clariion0_139

확인:
[root@hostname ~]#   vxdisk -o alldgs list
DEVICE                         TYPE            DISK         GROUP        STATUS
emc_clariion0_139 auto:none       -            -            online invalid thinrclm

스위치 측에서 다음
을 수행합니다.- 이전 소스 어레이와 서버 사이의 영역을 제거합니다.

Produse afectate

PowerMax, Red Hat Enterprise Linux Version 5, Red Hat Enterprise Linux Version 6, Red Hat Enterprise Linux Version 7, Red Hat Enterprise Linux Version 8
Proprietăți articol
Article Number: 000203683
Article Type: How To
Ultima modificare: 20 oct. 2025
Version:  3
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.