Unmirror rootvg (Root Volume Group) in AIX Unmirror rootvg (Root Tập đoàn) trong AIX
Root Volume Group (rootvg) is a volume group containing the Base Operating System (BOS). Root Volume Group (rootvg) là một nhóm khối chứa Base Operating System (BOS). Logical volume (lv) in rootvg may be doubled or more in copies with 2 or more physical volume (hard disk) for availability and reliability of the AIX system. Hợp lý khối lượng (lv) trong rootvg có thể tăng gấp đôi hoặc hơn trong các bản sao với 2 hay nhiều khối tin vật lý (đĩa cứng) để sẵn sàng và độ tin cậy của hệ thống AIX. The following steps are to unmirror a rootvg, if for whatever reason the rootvg needs to run on single logical volume (lv) on single physical volume (pv) only. Các bước sau đây để unmirror một rootvg, nếu vì bất kỳ lý do rootvg nhu cầu để chạy trên khối lượng hợp lý duy nhất (lv) về khối lượng vật lý đơn (pv) chỉ.
Check and Determine if rootvg is Mirrored Kiểm tra và Xác định nếu rootvg là Mirrored
In mirror mode, each logical volume in rootvg such as filesystems “/”, “/usr”, “/var”, “/tmp”, “/home”, “/opt” and default boot, paging and jfslog LVs should be mirrored. Trong chế độ nhân bản, mỗi khối tin hợp lý trong rootvg như hệ thống tập tin "/", "/ usr", "/ var", "/ tmp", "/ home", "/ chọn" và khởi động phân trang mặc định, và LVS jfslog nên được được nhân đôi. In AIX, mirrorvg will create additional copy of image for all logical volumes in the volume group. Trong AIX, mirrorvg sẽ tạo bản sao thêm hình ảnh cho tất cả các khối tin hợp lý trong các nhóm khối.
Use the following command to check if a rootvg is mirrored: Sử dụng các lệnh sau để kiểm tra xem một rootvg là nhân đôi:
# lsvg -l rootvg # Lsvg-l rootvg
If the output shows that for each LP there are 2 PPs then its mirrored. Nếu đầu ra cho thấy rằng cho mỗi LP có 2 pps sau đó được nhân của nó.
Check and Determine Which Disks the Mirrored rootvg is Located Xác định và kiểm tra xem đĩa nào các rootvg Mirrored là Nằm
For each logical volume (LV) name listed in output of “lsvg -l rootvg” command, run the following command: Đối với mỗi khối tin hợp lý (LV) tên liệt kê trong kết xuất của "lsvg-rootvg l" lệnh, chạy lệnh sau đây:
lslv -m lslv-m
The output date will tell you on which disk each copy of each logical partitions for each LV. Ngày đầu ra sẽ cho bạn biết mà mỗi đĩa bản sao của mỗi phân vùng hợp lý cho từng LV.
Unmirror rootvg Unmirror rootvg
Important: The following instructions have the risk of making your AIX system unbootable or corrupting the data. Quan trọng: Các hướng dẫn sau đây có nguy cơ làm cho hệ thống AIX unbootable hoặc corrupting dữ liệu. So make you have advanced system administration experience before running the process of unmirroring. Vì vậy, làm cho bạn có kinh nghiệm nâng cao quản trị hệ thống trước khi chạy quá trình unmirroring.
To unmirror the root volume group (rootvg), follow the steps below (scenario: rootvg is contained on hdisk01 and mirrored onto hdisk11, and the steps will remove the mirror on hdisk11 (regardless of the disk from which you previously booted)): Để unmirror nhóm khối gốc (rootvg), theo các bước dưới đây (kịch bản: rootvg được chứa trên hdisk01 và được nhân lên hdisk11, và các bước sẽ loại bỏ các gương trên hdisk11 (bất kể đĩa mà từ đó bạn khởi động trước đó)):
- To unmirror the rootvg from hdisk11, enter the following command: Để unmirror các rootvg từ hdisk11, nhập vào lệnh sau đây:
unmirrorvg rootvg hdisk11 unmirrorvg rootvg hdisk11
This command turns quorum back on for rootvg. Lệnh này quay trở lại cho các đại biểu rootvg. When unmirrorvg is executed, the default COPIES value for each logical volume becomes 1. Khi unmirrorvg được thực thi, giá trị mặc định COPIES cho mỗi khối tin hợp lý sẽ trở thành 1.
- To update the booted disk link, enter the following command: Để cập nhật các liên kết đĩa khởi động, nhập vào lệnh sau đây:
ln -f /dev/rhdisk01 /dev/ipldevice ln-e dev/rhdisk01 / dev / ipldevice
- To reduce the disk out of rootvg, type the following command: Để giảm bớt đĩa trên rootvg, gõ lệnh sau:
reducevg rootvg hdisk11 reducevg rootvg hdisk11
- To initilize the boot record of the remaining disk again, enter the following command: Để initilize bản ghi khởi động của các đĩa còn lại một lần nữa, nhập vào lệnh sau đây:
bosboot -a -d /dev/hdisk01 bosboot-a-d dev/hdisk01
bosboot command is a must to initialize the boot record on the remaining disk hdisk01 again. bosboot lệnh là phải để khởi tạo các ghi khởi động vào đĩa còn lại hdisk01 một lần nữa.
- To modify the boot list to remove the unmirrored disk, type the following command: Để sửa đổi danh sách khởi động để loại bỏ các đĩa unmirrored, gõ lệnh sau:
bootlist -m normal hdisk01 bootlist-m bình thường hdisk01
bootlist command is a must so that the system only boots to the disk remaining (hdisk01) in rootvg. bootlist lệnh là phải để cho hệ thống chỉ khởi động vào đĩa còn lại (hdisk01) trong rootvg.
- Restart AIX machine, as unmirroring turns quorum back on for rootvg, a reboot is required for this to take effect. AIX khởi động lại máy, như unmirroring quay trở lại cho các đại biểu rootvg, khởi động lại một là cần thiết cho điều này có hiệu lực.
Note: The reducevg command in step 3 will fail if there are non-mirrored logical volumes such as raw logical volumes and system dump devices on the disk. Lưu ý: Lệnh reducevg trong bước 3 sẽ thất bại nếu có không được nhân đôi khối tin hợp lý như khối lượng nguyên hợp lý và hệ thống bãi chứa thiết bị trên đĩa.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix (Nâng cao) đồng thời Có khả năng và Big vg Nhóm Volume Format trong AIX Unix
- Display and Show foobar2000 Volume Bar and Volume Control Hiển thị và Show foobar2000 Volume Bar và Volume Control
- Combine and Merge Photos to Create Group Composite Image with MSR Group Shot Free Download Kết hợp và Kết hợp các hình ảnh để Tạo Nhóm Composite Hình với MSR Group Shot Miễn phí Tải
- Reset the Root Password of MySQL Server Đặt lại mật khẩu chủ của MySQL Server
- Disable Direct Root Login and User Access via SSH to Server Vô hiệu hoá gốc trực tiếp Đăng nhập và sử dụng để truy cập thông qua SSH Server
- Change and Reset MySQL root Password Thay đổi và Thiết lập lại mật khẩu root MySQL
- Change Hard Disk Partition or Volume Label Name in DOS Command Prompt Thay đổi trên đĩa cứng của phân vùng hoặc volume Label Tên trong DOS Command Prompt
- Change Group Ownership of Symbolic Links in Unix or Linux Thay đổi sở hữu của tập đoàn kết tượng trưng trong Unix hoặc Linux
- Group Policy Login or Logon Scripts Not Running, Not Working or Not Executing Group Policy Đăng nhập hoặc Đăng nhập Script Chạy Không, không làm việc hoặc không thực hiện
- How To Mount and Access New Partition, Volume or Drive As Folder Path In Windows Làm thế nào để núi và cận mới phân vùng, Volume hoặc Drive Như Folder Path Trong Windows










































August 5th, 2009 01:59 05 tháng 8 năm 2009 01:59
Thank yoy very much. YoY Cảm ơn rất nhiều. Was very helpfull. Rất hữu ích.