-
IBM AIX GPFS 구성하는 방법(3)System of Infra/Unix System 2021. 7. 11. 17:48728x90반응형
IBM AIX GPFS 구성하는 방법(3)
[test_svr01:root]/tmp/gpfsnew>cp nsd_list fs_list
-> nsd에 파일 시스템을 생성하기 위해서 기존 nsd의 리스트를 fs_list 파일로 복사를 합니다.
[test_svr01:root]/tmp/gpfsnew>mmlsnsd File system Disk name NSD servers --------------------------------------------------------------------------- (free disk) gpfs1nsd (directly attached) (free disk) nsd01 test_svr01,test_svr02 [test_svr01:root]/tmp/gpfsnew>mmcrfs /nsd /dev/nsd01 -F fs_list -A yes -B 128k -N 16000 GPFS: 6027-531 The following disks of nsd01 will be formatted on node test_svr01: nsd01: size 51200 MB GPFS: 6027-540 Formatting file system ... GPFS: 6027-535 Disks up to size 411 GB can be added to storage pool system. Creating Inode File 16 % complete on Sun Jul 11 16:37:47 2021 49 % complete on Sun Jul 11 16:37:54 2021 82 % complete on Sun Jul 11 16:37:59 2021 100 % complete on Sun Jul 11 16:38:02 2021 Creating Allocation Maps Creating Log Files Clearing Inode Allocation Map Clearing Block Allocation Map Formatting Allocation Map for storage pool system GPFS: 6027-572 Completed creation of file system /dev/nsd01. mmcrfs: 6027-1371 Propagating the cluster configuration data to all affected nodes. This is an asynchronous process.
-> NSD에 파일시스템을 지정하여 생성을 합니다.
[test_svr01:root]/tmp/gpfsnew>lsfs Name Nodename Mount Pt VFS Size Options Auto Accounting /dev/hd4 -- / jfs2 10485760 -- yes no /dev/hd1 -- /home jfs2 2097152 -- yes no ...(생략) /dev/nsd01 - /nsd mmfs -- rw,mtime,relatime,dev=nsd01 no no
-> GPFS용 파일시스템 생성을 통해 mountpoint로 /nsd로 생성이 되었고 LV이 명이 /dev/nsd01로 생성이 된 것을 확인할 수 있습니다.
[test_svr01:root]/tmp/gpfsnew>mmmount /nsd Sun Jul 11 16:51:05 KORST 2021: 6027-1623 mmmount: Mounting file systems ... [test_svr01:root]/tmp/gpfsnew>df -tg | grep -i nsd /dev/nsd01 50.00 0.47 49.53 1% /nsd
-> /nsd라는 공유파일시스템을 마운트하고 정상적으로 마운트가 되어 있는지 확인을 합니다.
[test_svr01:root]/tmp/gpfsnew>mmshutdown -a Sun Jul 11 16:53:40 KORST 2021: 6027-1341 mmshutdown: Starting force unmount of GPFS file systems test_svr01: forced unmount of /nsd Sun Jul 11 16:53:45 KORST 2021: 6027-1344 mmshutdown: Shutting down GPFS daemons test_svr01: Shutting down! test_svr02: Shutting down! test_svr01: 'shutdown' command about to kill process 11076030 test_svr02: 'shutdown' command about to kill process 14876982 Sun Jul 11 16:53:53 KORST 2021: 6027-1345 mmshutdown: Finished [test_svr01:root]/tmp/gpfsnew>mmstartup -a Sun Jul 11 16:55:05 KORST 2021: 6027-1642 mmstartup: Starting GPFS ...
-> GPFS 클러스터를 재기동 해주도록 합니다.
[test_svr01:root]/usr/es/lib/python>mmchconfig maxMBpS=4096 mmchconfig: Command successfully completed mmchconfig: 6027-1371 Propagating the cluster configuration data to all affected nodes. This is an asynchronous process.
-> GPFS가 초 당 실행 할 수 있는 최대 I/O (MB)를 default에서 확장시켜줍니다.
[test_svr01:root]/>mmdf /dev/nsd01 disk disk size failure holds holds free in KB free in KB name in KB group metadata data in full blocks in fragments --------------- ------------- -------- -------- ----- -------------------- ------------------- Disks in storage pool: system (Maximum disk size allowed is 411 GB) nsd01 52428800 1 yes yes 51940480 ( 99%) 188 ( 0%) ------------- -------------------- ------------------- (pool total) 52428800 51940480 ( 99%) 188 ( 0%) ============= ==================== =================== (total) 52428800 51940480 ( 99%) 188 ( 0%) Inode Information ----------------- Number of used inodes: 4039 Number of free inodes: 61753 Number of allocated inodes: 65792 Maximum number of inodes: 65792
-> 현재 hdisk7번의 NSD 디스크에서 공유 파일 시스템으로 99%의 디스크 사용률을 보이고 있습니다. 만약에 파일 시스템을 확장하게 될 경우 restripe를 통해서 디스크의 부하분산을 막아줄 로드밸런싱 작업을 진행해주어야 합니다.
2021.07.08 - [System and Cloud/Unix] - IBM AIX GPFS 설치하는 방법
IBM AIX GPFS 설치하는 방법
IBM AIX GPFS 설치하는 방법 [test_svr01:root]/tmp/download>ls -al | grep -i Spectrum_Scale_Standard-5.0.1.0-ppc64-AIX-install.tgz -rw-r--r-- 1 root system 63816400 Jul 07 21:37 Spectrum_Scale_St..
pinetreeday.tistory.com
2021.07.11 - [System and Cloud/Unix] - IBM AIX GPFS 구성하는 방법(1)
IBM AIX GPFS 구성하는 방법(1)
IBM AIX GPFS 구성하는 방법(1) [test_svr01:root]/>ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (//.ssh/id_rsa): Enter passphrase (empty for no pa..
pinetreeday.tistory.com
2021.07.11 - [System and Cloud/Unix] - IBM AIX GPFS 구성하는 방법(2)
IBM AIX GPFS 구성하는 방법(2)
IBM AIX GPFS 구성하는 방법(2) [test_svr01:root]/usr/lpp/mmfs/bin>mmcrcluster -n /tmp/gpfsnew/node_list -p test_svr01 -s test_svr02 -C GPFScluster -r /bin/ssh -R /bin/scp -A mmcrcluster: Perform..
pinetreeday.tistory.com
PS. 포스팅의 내용은 제 기준으로 작성한 것이기 때문에 참고해서 보시면 감사하겠습니다.
포스팅 과정의 오류 및 오타 그리고 궁금한 점에 대해서는 댓글 남겨주세요.
728x90반응형'System of Infra > Unix System' 카테고리의 다른 글
IBM AIX SDD PCM 활용하는 방법 (0) 2021.08.08 IBM AIX ERROR LOGGING BUFFER OVERFLOW 에러 해결 방법 (0) 2021.08.08 IBM AIX GPFS 구성하는 방법(2) (0) 2021.07.11 IBM AIX GPFS 구성하는 방법(1) (0) 2021.07.11 IBM AIX SSH 공개키 교환 후 패스워드 여부 문제 해결하는 방법 (0) 2021.07.10