UniONE I&C ‹œ¤…œ...

download UniONE I&C ‹œ¤…œ 기ˆ §€› Œ€

of 80

  • date post

    09-Feb-2016
  • Category

    Documents

  • view

    128
  • download

    6

Embed Size (px)

description

AIX Implementation and administration. UniONE I&C 시스템 기술지원 팀. 목 차. Installation Disk Management Paging space Backup & Restore( mksysb ). 1. installation. Installation and Maintenance menu 언어가 정의되고 나면 설치와 유지보수 메뉴가 표시됩니다 . choice 항목에 있는 첫 번째와 두 번째 옵션을 입력하여 설치 과정을 계속할 수 있습니다 . - PowerPoint PPT Presentation

Transcript of UniONE I&C ‹œ¤…œ...

solaris virtual memory

UniONE I&C AIX Implementation and administrationAIX Implementation & AdministrationInstallation

Disk Management

Paging space

Backup & Restore(mksysb)AIX Implementation & Administration3 Installation and Maintenance menu

. choice .

. . , .

( 2) .

1. installationAIX Implementation & Administration34

1. installationAIX Implementation & Administration45/etc/security/limits vi .nofiles -1 .

, User .

/etc/security/limits*fsize : file size*core : core file size*cpu : cpu time limit*nofiles : number of files

1. installationAIX Implementation & Administration6 UNIX () . , .

, . , . , .

2. Disk management - VGAIX Implementation & Administration7

UNIX ( LVM).

LVM . , , , .

LVM UNIX , . UNIX .

, UNIX , LVM . . UNIX , . 2. Disk management - VGAIX Implementation & Administration8

. LVM (PV) . ( PP) . AIX . PP 4MB. PV VG . VG PV 32PV . PV VG . VG PV PP .

2. Disk management - VGAIX Implementation & Administration9Physical Volume vs. Logical Volume

2. Disk management - VGAIX Implementation & Administration910

(VGs) . (PV) . .

2. Disk management - VGAIX Implementation & Administration11

. smitty vg , SMIT Volume Groups .

List ALL Volume Groups () . .

lsvg : lsvg -o :

2. Disk management - VGAIX Implementation & Administration12

List Contents of Volume Group . status, .

VG Physical partition(PP) ( : 4MB ) PP PP

2. Disk management - VGAIX Implementation & Administration13 ()

, (PV) .

PV PV PP PP

2. Disk management - VGAIX Implementation & Administration14 ()

VG , LV STATE, MOUNT POINT (LV) . LV STATE 4 .

Open : LV , . Closed : LV , . Syncd : LV . Stale LV : .

2. Disk management - VGAIX Implementation & Administration15 VG smitty mkvg .Add a Volume Group

Add a Volume Group VG . VG PV , . VOLUME GROUP , SMIT vg00, vg01 .

PHYSICAL partition SIZE in megabytes

PHYSICAL VOLUME Activate volume group AUTOMATICALLY at system restart?

2. Disk management - VGAIX Implementation & Administration16

mkvg VG . mkvg . -B Big VG . Big VG 128 PV 512 LV . VG , 32 PV 512 LV . -f VG PV , PV VG . -t PV Physical Partition(PP) . 32 VG , 1 16 , 128 Big VG 1 64 . -y VG .

datavg Big VG . PP 16MB , hdisk2 VG .

# mkvg -f -y datavg -s 16 -B hdisk22. Disk management - VGAIX Implementation & Administration17

VG PV . PV , . PV , SMIT Add a Physical Volume to a Volume Group . PV , , . Extendvg . , datavg hdisk2 .

extendvg -f datavg hdisk2

VG Remove a Physical Volume from a Volume Group reducevg . VG PV VG . hdisk2 VG , , VG . VG , . 2. Disk management - VGAIX Implementation & Administration18

smitty chvg . , VG . VG Quorum . no , Quorum VG . mirroring VG, no mirroring mirroring VG . POWER HA .

2. Disk management - VGAIX Implementation & Administration19

SMIT WSM VG , . .

- varyonvg : VG .- varyoffvg : VG .

varyoffvg VG . , . varyonvg VG . , .

varyonvg . # varyonvg datavg

2. Disk management - VGAIX Implementation & Administration20 ()

varyonvg -r VG .

.

LV LVM meta Stale Partition

varyonvg .

#varyonvg [ -b ] [ -c ] [ -f ] [ -n ] [ -p ] [ -r ] [ -s ] [ -u ] Volume Group ( .).

: VG , LVM meta LVM .

varyoffvg VG , VG LV, .

varyoffvg . # varyoffvg datavg 2. Disk management - VGAIX Implementation & Administration21

AIX exportvg importvg VG .exportvg, VG VG . importvg, VG , VG .

SMIT VG .

VG unmount VG varyoffvgVG exportvg

VG , , VG , .

VG SMIT , importvg . 2. Disk management - VGAIX Implementation & AdministrationVolume group typeMaxPVsMaxLVsMax PPs per VGMax PPSizeoriginal32256325121GBbig1285121300481GBscalable102440962097152128GBComparison for each Volume Groups2. Disk management - VGAIX Implementation & AdministrationWhat is the VGDA?

VGDA(Volume Group Descriptor Area)VGDA stores Information about the volume group, such as the logical volumes and disks in the volume group.

2. Disk management - VGAIX Implementation & Administration2324 Volume Group Descriptor Area

(VGDA) , .

VGDA . , . VG VGDA .

.

2. Disk management - VGAIX Implementation & Administration25

Non-rootvg varying on varying off . VGDA , varying on(active) varying off .

, VGDA quorum . Quorum() VGDA 51% . quorum VG , .

, . , rootvg . Quorum 2 .

2. Disk management - VGAIX Implementation & AdministrationNonquorum Volume Groups.With single mirroring. always disable the quorum.#chvg Qn datavg#varyoffvg datavg#varyonvg datavg

Recommandations when using single mirroring.When working with single mirroring, always disable quorumchecking using the command chvg Qn For data volume groups,you must vary off and vary on the volume group to make thechange effective.It is important that you know that turning off the quorum checkingdoes not allow a varyonvg without a quorum. It just prevents the closing of an active volume group when losing its quorum.

2. Disk management - VGAIX Implementation & Administration2627

AIX JFS2 . . , , . /dev/hd2 . . /dev/hd5 . . /dev/hd8 .

. /dev/hd6 . (swap space .) Raw Deviceraw device . raw device . ( . )2. Disk management Logical VolumeAIX Implementation & Administration28 LV

LVM PV LV PP inter-policy intra-policy .

Intra-policy PV LV PP .

, outer edge, outer middle, center, inner middle, inner edge.

center PP seek time middle edge PP .

inter-policy LV PP PV .

Interphysical minimum LV PP .

maximum , PP .2. Disk management Logical VolumeAIX Implementation & Administration29 LV ()

LV , LVM LV PV PP . LV , LV . , .

maximum PP LV . .

2. Disk management Logical VolumeAIX Implementation & Administration30

smit mklvInter-policyIntra-policyLVM mirroringPP size lsvg 2. Disk management Logical VolumeAIX Implementation & Administration3031 LV

LV .lsvg -o |lsvg -i -l , Enter . VG LV .

lsvg -o VG .

-i

lsvg -l VG LV .

2. Disk management Logical VolumeAIX Implementation & Administration32 lslv -l

, lslv -l hd4 LV .

LV LP . PV . LV hdisk1 . COPIES (PPs) . 001 1 PP 000:000 PPs .

distribution .

2. Disk management Logical VolumeAIX Implementation & Administration33lslv -l ()

100% IN BAND LV PP . LV , LV center , 1 PP center (DISTRIBUTION ) IN BAND 100% . PP . () () PP .

2. Disk management Logical VolumeAIX Implementation & Administration34 lslv -m

lslv -m hd4 LV LP PV PP , .

LP 0001 hdisk1 PP 0219 .

mirroring LV , PP2, PV2, PP3, PV3 .

LV mirroring LV , .

2. Disk management Logical VolumeAIX Implementation & Administration35

mklv

mklv . .

-a Position -c copies -e Range -S StripeSize -y logicalvolume_name

, 1 PP newlv LV datavg center . smitty mklv .

2. Disk management Logical VolumeAIX Implementation & Administration36

smitty rmlv LV .

rmlv LV .

: Journaled File System LV rmlv .

2. Disk management Logical VolumeAIX Implementation & Administration37 LV

smitty lvsc . , . .

2. Disk management Logical VolumeAIX Implementation & Administration38

(PV) . (PP) PV .PP VG . VG , VG PP . 2. Disk management Physical VolumeAIX Implementation & Administration39

Physical Volume Logical Volume Manager , smitty pv .PV List All Physical Volume in System , lspv .

2. Disk management Physical VolumeAIX Implementation & Administration40

, PP , PP , , , PP PP .

PP .

Outer edge Outer middle Center Inner middle Inner edge

2. Disk management Physical VolumeAIX Implementation & Administration41 lspv

lspv l . , lspv -l pvname PV LV LPs, PPs .

2. Disk management Physical VolumeAIX Implementation & Administration42

, . , . , cfgmgr . , ( ) cfgmgr . SMIT Devices, Fixed Disk, Add a Disk . , VG .

2. Disk management Physical VolumeAIX Implementation & Administration43Add an Enha