How does AIX implement system LVM images with two hard disks for mutual Mirroring, protects the operating system www.2cto.com 1, # zookeeper rootvg activehdisk1 1_none 2, and adds hdisk1 to rootvg www.2cto.com # smitty extendvg Add a Physical Volume to a Volume GroupType or select values in entry fields. press Enter AFTER making all desired changes. [Entry Fields] Force the creation of a volume group? No + * volume group name [rootvg] + * physical volume names [hdisk1] + // the disk hdisk1 # lspv // hdisk1 to be added to the rootvg hdisk0 primary rootvg activehdisk1 primary rootvg active # lsvg-l rootvg // LV has not become a multiple rootvg: lv name type LPs PPs PVs lv state mount POINThd5 boot 1 1 1 closed/syncd N/Ahd6 paging 16 16 1 open/syncd N/Ahd8 jfslog 1 1 1 open/syncd N/Ahd4 jfs 1 1 1 open/syncd/hd2 jfs 42 42 1 o Pen/syncd/usrhd9var jfs 2 2 1 open/syncd/varhd3 jfs 32 32 1 open/syncd/tmphd1 jfs 1 1 1 open/syncd/homehd10opt jfs 2 2 1 open/syncd/ optlv00 jfs 94 94 1 open/syncd/fixfslv01 jfs 314 314 1 open/syncd/oracle 3. Make an image # smitty mirrorvg [Entry Fields] * volume group name rootvg Mirror sync mode [Background] + select the background mode, physical volume names [] Number of COPIES of each logical 2 + partition Keep Quorum C Hecking On? No + Create Exact LV Mapping? No + 4. view the image status, which is twice that of www.2cto.com # lsvg-l rootvgrootvg: lv name type LPs PPs PVs lv state mount POINThd5 boot 1 2 2 closed/syncd N/Ahd6 paging 16 32 2 open/syncd N/Ahd8 jfslog 1 2 2 open/syncd N/Ahd4 jfs 1 2 2 open/syncd/hd2 jfs 42 84 2 open/stale/usrhd9var jfs 2 4 2 open/stale/varhd3 jfs 32 64 2 open/stale/tmphd1 jfs 1 2 2 open/stale/homehd10opt jfs 2 4 2 open/stale/optlv00 jfs 94 188 2 open/stale/fixfslv01 jfs 314 628 2 open/stale/oracle # lsvg-p rootvgrootvg: PV_NAME pv state total PPs FREE DISTRIBUTIONhdisk0 active 542 36 00 .. 00 .. 00 .. 00 .. 36hdisk1 active 1093 587 218 .. 109 .. 00 .. 41 .. 219 // two hdisks use the same number of PP, are 506 www.2cto.com 5, add the boot sequence # bootlist-m normal-o-hdisk0 blv = hd5 # bosboot-ad/dev/hdisk1bosboot: boot image is 37856 512 byte blocks. # bootlist-m normal hdisk0 hdisk1 # bootlist-m normal-ohdisk0 blv = hd5hdisk1 blv = hd5 if synchronization is not completed, the AIX system restarts and the VG will automatically continue Synchronization After restart, manual intervention is not required. If one of the Disks has problems, the system will not be affected.