본문으로 바로가기

IBM DS Storage Manager SMcli 사용법

category Maintain Tip/Storage DS 2019. 7. 4. 11:31

 

먼저 DS Storage Manager 를 설치한다. (필수) 

나의경우는 C:\Program Files (x86)\IBM_DS\client 설치경로로 가서 실행 

 

 

1. DS Storage Manager SMcli Command 

1) List Controller Summary

SMcli 192.168.1.15 192.168.1.16  -c "show controller [a] summary;"

 

2) List Drives

SMcli 192.168.1.15 192.168.1.16  -c "show allDrives;"

 

3) Show logical Drives

SMcli 192.168.1.15 192.168.1.16  -c "show logicaldrives;"

 

4) Show host mapping

 

4-1) show all lun mappings

SMcli 192.168.1.15 192.168.1.16  -c "show storagesubsystem lunmappings;"

 

4-2) show lun mappings by host or hostgroup

SMcli 192.168.1.15 192.168.1.16 -c 'show storagesubsystem lunmappings host ["hpool01"];'

 

5) show drive channel stats controller 부팅 날짜 확인  (825day 확인 용도)

 

SMcli 192.168.1.15 192.168.1.16  -c "show drivechannel [1] stats;"

SMcli 192.168.1.15 192.168.1.16  -c "show alldrivechannels  stats;"

 

6) Show Battery Age 확인

 

SMcli 192.168.1.15 192.168.1.16  -c "show storagesubsystem batteryage;"

 

6-1) Battery Age Reset

reset storageSubsystem batteryInstallDate controller=a;

 

7) Show Controller Time 확인

SMcli 192.168.1.15 192.168.1.16  -c "show storagesubsystem time;"

 

 

 

- END -