티스토리 뷰
Dynamic root disk
ex) drd clone -t /dev/disk/diskx (spare) -x overwrite=true
drd clone -t /dev/disk/diskx (spare) -x overwrite=true -x mirror_disk=/dev/disk/diskx
* 디스크 사용여부 확인
# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk2_p2
/dev/drd00
/dev/disk/disk3_p2
root@rx233 [/root]
# lvmadm -l
--- Version 1.0 volume groups ---
VG Name /dev/vg00
PV Name /dev/disk/disk2_p2
VG Name /dev/drd00
PV Name /dev/disk/disk3_p2
# lvlnboot -v --> 루트 디스크 확인하고
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk2_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk2_p2
Root: lvol3 on: /dev/disk/disk2_p2
Swap: lvol2 on: /dev/disk/disk2_p2
Dump: lvol2 on: /dev/disk/disk2_p2, 0
# drd clone -t /dev/disk/disk3 -x overwrite=true --> 남는 디스크에 클론뜬다
======= 06/21/12 16:47:38 KST BEGIN Clone System Image (user=root) (jobid=rx233)
* Reading Current System Information
* Selecting System Image To Clone
* Selecting Target Disk
* The disk "/dev/disk/disk3" contains data which will be overwritten.
* Selecting Volume Manager For New System Image
* Analyzing For System Image Cloning
* Creating New File Systems
* Copying File Systems To New System Image
WARNING: The following files could not be copied to the clone.
WARNING: This may be caused by updating files during the copy.
WARNING: Uncopied file: /var/opt/OV/datafiles/coda00000
* Copying File Systems To New System Image succeeded with 3 warnings.
* Making New System Image Bootable
* Unmounting New System Image Clone
======= 06/21/12 17:20:10 KST END Clone System Image succeeded with 3 warnings. (user=root) (jobid=rx233)
root@rx233 [/root]
# drd sync -p (싱크확인! 확인만! 싱크수행은 없다)
======= 06/21/12 17:20:33 KST BEGIN Synchronizing Images Preview (user=root) (jobid=rx233)
* Locating System Images
* Identifying Inactive System Image for synchronization
* Selected inactive system image "sysimage_001" on disk "/dev/disk/disk3".
* Accessing Inactive System Image for synchronization
* Identifying Files to Be Synchronized
* The list of files that will be copied to the inactive image has been written to the file "/var/opt/drd/sync/files_to_be_copied_by_drd_sync"
* Identifying system image to be unmounted
* Selected system image "sysimage_001" is on disk "/dev/disk/disk3" to unmount.
* Unmounting Inactive System Image
======= 06/21/12 17:22:27 KST END Synchronizing Images Preview succeeded. (user=root) (jobid=rx233)
# drd status
======= 06/21/12 17:23:32 KST BEGIN Displaying DRD Clone Image Information (user=root) (jobid=rx233)
* Clone Disk: /dev/disk/disk3
* Clone EFI Partition: AUTO file present, Boot loader present
* Clone Rehost Status: SYSINFO.TXT not present
* Clone Creation Date: 06/21/12 16:47:46 KST
* Last Sync Date: None
* Clone Mirror Disk: None
* Mirror EFI Partition: None
* Original Disk: /dev/disk/disk2
* Original EFI Partition: AUTO file present, Boot loader present
* Original Rehost Status: SYSINFO.TXT not present
* Booted Disk: Original Disk (/dev/disk/disk2)
* Activated Disk: Original Disk (/dev/disk/disk2)
======= 06/21/12 17:23:47 KST END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=rx233)
root@rx233 [/root]
#
root@rx233 [/root]
# drd activate
======= 06/21/12 17:23:59 KST BEGIN Activate Inactive System Image (user=root) (jobid=rx233)
* Checking for Valid Inactive System Image
* Reading Current System Information
* Locating Inactive System Image
* Determining Bootpath Status
* Primary bootpath : 0/1/1/0.0x0.0x0 before activate.
* Primary bootpath : 0/1/1/0.0x1.0x0 after activate.
* Alternate bootpath : 0/1/1/0.0x1.0x0 before activate.
* Alternate bootpath : 0/1/1/0.0x1.0x0 after activate.
* HA Alternate bootpath : 0/1/1/0.0x1.0x0 before activate.
* HA Alternate bootpath : 0/1/1/0.0x1.0x0 after activate.
* Activating Inactive System Image
======= 06/21/12 17:24:20 KST END Activate Inactive System Image succeeded. (user=root) (jobid=rx233)
root@rx233 [/root]
# drd status
======= 06/21/12 17:24:29 KST BEGIN Displaying DRD Clone Image Information (user=root) (jobid=rx233)
* Clone Disk: /dev/disk/disk3
* Clone EFI Partition: AUTO file present, Boot loader present
* Clone Rehost Status: SYSINFO.TXT not present
* Clone Creation Date: 06/21/12 16:47:46 KST
* Last Sync Date: None
* Clone Mirror Disk: None
* Mirror EFI Partition: None
* Original Disk: /dev/disk/disk2
* Original EFI Partition: AUTO file present, Boot loader present
* Original Rehost Status: SYSINFO.TXT not present
* Booted Disk: Original Disk (/dev/disk/disk2)
* Activated Disk: Clone Disk (/dev/disk/disk3)
======= 06/21/12 17:24:44 KST END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=rx233)
root@rx233 [/root]
# drd deactivate
======= 06/21/12 17:25:04 KST BEGIN Deactivate Inactive System Image (user=root) (jobid=rx233)
* Checking for Valid Inactive System Image
* Reading Current System Information
* Locating Inactive System Image
* Determining Bootpath Status
* Primary bootpath : 0/1/1/0.0x1.0x0 before deactivate.
* Primary bootpath : 0/1/1/0.0x0.0x0 after deactivate.
* Alternate bootpath : 0/1/1/0.0x1.0x0 before deactivate.
* Alternate bootpath : 0/1/1/0.0x1.0x0 after deactivate.
* HA Alternate bootpath : 0/1/1/0.0x1.0x0 before deactivate.
* HA Alternate bootpath : 0/1/1/0.0x1.0x0 after deactivate.
* Deactivating Inactive System Image
======= 06/21/12 17:25:19 KST END Deactivate Inactive System Image succeeded. (user=root) (jobid=rx233)
root@rx233 [/root]
# drd status
======= 06/21/12 17:25:24 KST BEGIN Displaying DRD Clone Image Information (user=root) (jobid=rx233)
* Clone Disk: /dev/disk/disk3
* Clone EFI Partition: AUTO file present, Boot loader present
* Clone Rehost Status: SYSINFO.TXT not present
* Clone Creation Date: 06/21/12 16:47:46 KST
* Last Sync Date: None
* Clone Mirror Disk: None
* Mirror EFI Partition: None
* Original Disk: /dev/disk/disk2
* Original EFI Partition: AUTO file present, Boot loader present
* Original Rehost Status: SYSINFO.TXT not present
* Booted Disk: Original Disk (/dev/disk/disk2)
* Activated Disk: Original Disk (/dev/disk/disk2)
======= 06/21/12 17:25:38 KST END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=rx233)
'IA > System Admin' 카테고리의 다른 글
HP SnA 5일차 오전2 - M11. 부팅디스크 변경후 리부팅시 콘솔 덤프 (0) | 2012.06.22 |
---|---|
HP SnA 5일차 오전 - M11. Preparing for Disasters (0) | 2012.06.22 |
HP SnA 4일차 오후 - M10. Managing Locical Volumes and File Systems (0) | 2012.06.21 |
HP SnA 4일차 오후 - M9. Managing swap space (0) | 2012.06.21 |
HP SnA 4일차 오전2 - M8. 랩 (0) | 2012.06.21 |
- Total
- Today
- Yesterday
- vmware
- powershell
- Join
- oracle
- dp-1
- 스토리지
- 중복제거
- 읽어오기
- LIST
- storage
- exadata
- cloud-init
- virt-sysprep
- 정렬
- 차집합
- 대소문자
- sysprep
- fromkeys
- EXA
- vmware.powercli
- 변수화
- dp-2
- artandculture
- dezoomify
- powercli
- 배열
- insert
- 3par
- 부동없이
- set()
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |