관리 메뉴

Today is Present.

HP 3Par 7440c 관리 명령어 본문

신속한 업무를 위한 팁

HP 3Par 7440c 관리 명령어

MorningPhys 2021. 2. 16. 14:19

# 라이선스 확인
3Par7440C_MIRROR cli% showlicense
License key was generated on Mon Apr  6 17:41:45 2015
System is licensed for 80 disks.

# LUN별 용량
3Par7440C_MIRROR cli% showvv

# RAID로 적용된 free 용량
3Par7440C_MIRROR cli% showspace -t r0 -p -devtype FC
3Par7440C_MIRROR cli% showspace -p -devtype SSD
--Estimated(MB)---
RawFree UsableFree
      0          0

# CHUNKLET 정보(청클릿)
3Par7440C_MIRROR cli% showpd -c

# CPG별 사용량 확인, LDFree는 RAID 적용된 남은 free 용량
3Par7440C_MIRROR cli% showspace -cpg *

# SSD 그룹의 정보
3Par7440C_MIRROR cli% showpd -c -p -devtype SSD
No PDs listed

# RPM 10K 디스크 정보
3Par7440C_MIRROR cli% showpd -c -p -devtype FC -rpm 10

# RPM 15K 디스크 정보
3Par7440C_MIRROR cli% showpd -c -p -devtype FC -rpm 15
No PDs listed

# 스토리지 FP포트 정보
3Par7440C_MIRROR cli% showport

# CPG 정보
3Par7440C_MIRROR cli% showvvcpg

# 특정 CPG 정보
3Par7440C_MIRROR cli% showld -vv sejongdb_R1_385g

# 디스크 설치 날짜 등
3Par7440C_MIRROR cli% showpd -i
3Par7440C_MIRROR cli% showpd
3Par7440C_MIRROR cli% showpd -failed -degraded
3Par7440C_MIRROR cli% 

# 스토리지 헬스 체크
3Par7440C_MIRROR cli% checkhealth -svc

# 스토리지 경고 로그보기
3Par7440C_MIRROR cli% showalert

# 스토리지 시스템 정보
3Par7440C_MIRROR cli% showsys -d

# 스토리지 펌웨어버전 정보
3Par7440C_MIRROR cli% showversion -a

# 3Par 스토리지 failed 디스크 교체 후 상태확인
3Par7440C_MIRROR cli% servicemag status

 

# Power Supply 상태 확인

3Par7440C_MIRROR cli% shownode -ps

 

# PCM Battery 확인 방법

3Par7440C_MIRROR cli% showbattery

 

# 3PAR Storage health check

3Par7440C_MIRROR cli% checkhealth -svc -detail node

# 스토리지 네트워크 정보 확인
3Par7440C_MIRROR cli% shownet

3Par7440C_MIRROR cli% showpd -i
3Par7440C_MIRROR cli% showhost -persona
3Par7440C_MIRROR cli% showhost -d
3Par7440C_MIRROR cli% showhost -pathsum
3Par7440C_MIRROR cli% showversion -a -b
3Par7440C_MIRROR cli% shownode -d
3Par7440C_MIRROR cli% 
3Par7440C_MIRROR cli% showcage -d
3Par7440C_MIRROR cli% statcpu -t -d 15 -iter 1
3Par7440C_MIRROR cli% statcpu -d 15 -iter 1 -ni
3Par7440C_MIRROR cli% showfpg
3Par7440C_MIRROR cli% showfs
3Par7440C_MIRROR cli% showflashcache
3Par7440C_MIRROR cli% showvv -pol

# 자주 쓰는 명령어
showsys -d 모델명 시리얼 등 확인
showpd -c initializing 디스크 정보 확인
shownet IP 정보확인
showspace -cpg cpg별 총 용량 / 사용가능용량 확인
showport 포트정보(WWN) 확인
showvv 볼륨정보 확인
showvlun 볼륨 lun 확인
showhost -d 호스트별 할당된 WWN 정보

# 엔지니어가 주로 쓰는 명령어
shownode -d
shownode -ps
shownode
showcage
showpd
showpd -c  -> fail
showpd -e
showport
showcpg
showbattery
showvv
showhost
showtask
showvlun
showalert -n
showeventlog
showeventlog -startt 01/01 -sev Maj

showeventlog -startt 03/20 -sev Maj

showeventlog -startt 02/21 -sev Maj
showrcopy
showport -rcip
statcpu
statcmp

3par_SAN스위치
errshow
nsshow
switchshow
cfgshow

 

디스크 장애 발생시 디스크 정보 확인을 위해 다음 command 를 실행한다. 

JBE_3Par7440C_MIRROR cli% showpd -i -p -cg 1 -mg 7    (CagePosition이 1:7:0 일 때)

Id CagePos State  ----Node_WWN---- --MFR-- -----Model------ -Serial- -FW_Rev- Protocol MediaType

23 1:7:0 

1 total

 

JBE_3Par7440C_MIRROR cli% showversion -b
Release version 
Patches:  

Component Name                   Version                        
CLI Server                       
CLI Client                       
System Manager                  
Kernel                           
TPD Kernel Code           
TPD Kernel Patch          
JBE_3Par7440C_MIRROR cli%

 

 

JBE_3Par7440C_MIRROR cli% servicemag status

JBE_3Par7440C_MIRROR cli% cmore showpd -c

JBE_3Par7440C_MIRROR cli% showpd -failed

JBE_3Par7440C_MIRROR cli% showpd -degraded

JBE_3Par7440C_MIRROR cli% showpd -c

JBE_3Par7440C_MIRROR cli% servicemag status

 

# 장비의 계정 패스워드 변경 방법

JBE_3Par7440C_MIRROR cli% setpassword -u 계정명

728x90
반응형