반응형

# HPE 서버 linux 설치 후 OS 에서 레이드 확인방법 #

# HPE 서버 centos 설치 후 OS 에서 레이드 확인방법 #

# HPE 서버 redhat 설치 후 OS 에서 레이드 확인방법 #


hpe ssacli 설치방법 및 레이드 확인 방법


[root@localhost ~]# ll

합계 14288

-rw-------. 1 root root     1987 10월  2 10:29 anaconda-ks.cfg

-rw-r--r--. 1 root root     2035 10월  2 10:32 initial-setup-ks.cfg

-rw-r--r--  1 root root 14621933  2월  8  2018 ssacli-3.25-4.0.x86_64.rpm   <-- ssacli 설치파일 넣기.

drwxr-xr-x. 2 root root       10 10월  2 10:33 공개

drwxr-xr-x. 2 root root       10 10월  2 10:33 다운로드

drwxr-xr-x. 2 root root       10 10월  2 10:33 문서

drwxr-xr-x. 2 root root       10 10월  2 10:33 바탕화면

drwxr-xr-x. 2 root root       10 10월  2 10:33 비디오

drwxr-xr-x. 2 root root       10 10월  2 10:33 사진

drwxr-xr-x. 2 root root       10 10월  2 10:33 서식

drwxr-xr-x. 2 root root       10 10월  2 10:33 음악

[root@localhost ~]#

[root@localhost ~]# rpm -Uvh ssacli-3.25-4.0.x86_64.rpm    <-- 설치

경고: ssacli-3.25-4.0.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 26c2b797: NOKEY

준비 중...                         ################################# [100%]

Updating / installing...

   1:ssacli-3.25-4.0                  ################################# [100%]

 

[root@localhost ~]#

[root@localhost ~]# vi raid_status.sh   <-- 생성

 

ssacli ctrl all show config    <-- 입력

 

ESC :wq!  <-- 저장

 

 

 

[root@localhost ~]#

[root@localhost ~]# ll

합계 14292

-rw-------. 1 root root     1987 10월  2 10:29 anaconda-ks.cfg

-rw-r--r--. 1 root root     2035 10월  2 10:32 initial-setup-ks.cfg

-rw-r--r--  1 root root       28  8월  8 14:47 raid_status.sh

-rw-r--r--  1 root root 14621933  2월  8  2018 ssacli-3.25-4.0.x86_64.rpm

drwxr-xr-x. 2 root root       10 10월  2 10:33 공개

drwxr-xr-x. 2 root root       10 10월  2 10:33 다운로드

drwxr-xr-x. 2 root root       10 10월  2 10:33 문서

drwxr-xr-x. 2 root root       10 10월  2 10:33 바탕화면

drwxr-xr-x. 2 root root       10 10월  2 10:33 비디오

drwxr-xr-x. 2 root root       10 10월  2 10:33 사진

drwxr-xr-x. 2 root root       10 10월  2 10:33 서식

drwxr-xr-x. 2 root root       10 10월  2 10:33 음악

[root@localhost ~]#

[root@localhost ~]#

[root@localhost ~]# chmod 755 raid_status.sh  <-- 모드 변경

[root@localhost ~]#

[root@localhost ~]# ll

합계 14292

-rw-------. 1 root root     1987 10월  2 10:29 anaconda-ks.cfg

-rw-r--r--. 1 root root     2035 10월  2 10:32 initial-setup-ks.cfg

-rwxr-xr-x  1 root root       28  8월  8 14:47 raid_status.sh

-rw-r--r--  1 root root 14621933  2월  8  2018 ssacli-3.25-4.0.x86_64.rpm

drwxr-xr-x. 2 root root       10 10월  2 10:33 공개

drwxr-xr-x. 2 root root       10 10월  2 10:33 다운로드

drwxr-xr-x. 2 root root       10 10월  2 10:33 문서

drwxr-xr-x. 2 root root       10 10월  2 10:33 바탕화면

drwxr-xr-x. 2 root root       10 10월  2 10:33 비디오

drwxr-xr-x. 2 root root       10 10월  2 10:33 사진

drwxr-xr-x. 2 root root       10 10월  2 10:33 서식

drwxr-xr-x. 2 root root       10 10월  2 10:33 음악

[root@localhost ~]#

[root@localhost ~]#

[root@localhost ~]# ./raid_status.sh   <-- 확인

 

HPE Smart Array P816i-a SR Gen10 in Slot 0 (Embedded)  (sn: PEYHD0CRHB0068)

 

 

 

   Internal Drive Cage at Port 1I, Box 1, OK

 

 

 

   Internal Drive Cage at Port 2I, Box 2, OK

 

 

 

   Internal Drive Cage at Port 3I, Box 0, OK

 

 

   Port Name: 1I (Mixed)

 

   Port Name: 2I (Mixed)

 

   Port Name: 3I (Mixed)

 

   Port Name: 4I (Mixed)

 

   Array A (SATA, Unused Space: 3  MB)

 

      logicaldrive 1 (18.19 TB, RAID 5, OK)

 

      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA HDD, 4 TB, OK)

      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA HDD, 4 TB, OK)

      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA HDD, 4 TB, OK)

      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SATA HDD, 4 TB, OK)

      physicaldrive 2I:2:1 (port 2I:box 2:bay 1, SATA HDD, 4 TB, OK)

      physicaldrive 2I:2:2 (port 2I:box 2:bay 2, SATA HDD, 4 TB, OK)

 

   SEP (Vendor ID HPE, Model Smart Adapter) 379  (WWID: 51033E440, Port: Unknown)


반응형
반응형

[root@localhost /]# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

=> ctrl all show config

Smart Array P410i in Slot 0 (Embedded)    (sn: 5001438006EFBFC0)

   array A (SAS, Unused Space: 0  MB)


      logicaldrive 1 (1.6 TB, RAID 5, OK)

      physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SAS, 300 GB, OK)
      physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SAS, 300 GB, OK)
      physicaldrive 1I:1:7 (port 1I:box 1:bay 7, SAS, 300 GB, OK)
      physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 300 GB, OK)
      physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 300 GB, OK)
      physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SAS, 300 GB, OK)
      physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SAS, 300 GB, OK)

   unassigned

      physicaldrive 1I:1:8 (port 1I:box 1:bay 8, SAS, 300 GB, OK)

   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250 (WWID: 5001438006EFBFCF)


=> ctrl slot=0 array all add spares=1I:1:8
=> ctrl all show config

Smart Array P410i in Slot 0 (Embedded)    (sn: 5001438006EFBFC0)

   array A (SAS, Unused Space: 0  MB)


      logicaldrive 1 (1.6 TB, RAID 5, OK)

      physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SAS, 300 GB, OK)
      physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SAS, 300 GB, OK)
      physicaldrive 1I:1:7 (port 1I:box 1:bay 7, SAS, 300 GB, OK)
      physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 300 GB, OK)
      physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 300 GB, OK)
      physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SAS, 300 GB, OK)
      physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SAS, 300 GB, OK)
      physicaldrive 1I:1:8 (port 1I:box 1:bay 8, SAS, 300 GB, OK, spare)

   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250 (WWID: 5001438006EFBFCF)

=>

반응형
반응형

# HP Z440 에 windows server 2016 설치 방법 #

Z440 은 워크스테이션 이기 때문에 windows server 가 공식 지원하지 않습니다.

바이오스 변경 후 수동으로 설치하면 됩니다.

설치 전 바이오스 수정 방법 입니다.

-----------------------------------------------------------------

ESC바이오스 진입


BIOS Setup 으로 진입


Main 메뉴 에서 Apply Factory Defaults and Exit 설정


다시 재부팅 후 ESC 로 바이오스 진입


Advanced 메뉴 Device Configurations 에서

SATA Controller ModeAHCI 로 변경

sSATA Controller ModeAHCI 로 변경


Advanced 메뉴 Secure Boot Configuration 에서

Configure Legacy Support and SecureBoot 메뉴를

Enable Legacy Support and Disable Secure Boot 로 선택


후 설치

---------------------------------------------------------------

설치 완료 후 드라이버는 공식홈페이지 가서 windows10 버전의 드라이버를 받은 후 올려주시면 됩니다.

반응형
반응형

HP Smart Array CLI commands


 


Show configuration


/opt/hp/hpssacli/bin/hpssacli ctrl all show config


 


Controller status


/opt/hp/hpssacli/bin/hpssacli ctrl all show status


 


Show detailed controller information


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail


 


Rescan for New Devices


/opt/hp/hpssacli/bin/hpssacli rescan


 


Physical disk status


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show status


 


Show detailed physical disk information


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show detail


 


Logical disk status


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld all show status


 


View Detailed Logical Drive Status


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 show


 


Create New RAID 0 Logical Drive


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0


 


Create New RAID 1 Logical Drive


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1


 


Create New RAID 5 Logical Drive


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5


 


Delete Logical Drive


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 delete


 


Add New Physical Drive to Logical Volume


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7


 


Add Spare Disks


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7


 


Enable Cache


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify dwc=enable


 


Disable Cache


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify dwc=disable


 


Erase Physical Drive


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd 2I:1:6 modify erase


 


Turn on Blink Physical Disk LED


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 modify led=on


 


Turn off Blink Physical Disk LED


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 modify led=off


 


Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify cacheratio=100/0


 


Disable smart array cache for certain Logical Volume


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable


 


Enable smart array cache for certain Logical Volume


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable


 


Enable SSD Smart Path==


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array a modify ssdsmartpath=enable


 


Disable SSD Smart Path


/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array a modify ssdsmartpath=disable


 


출처 URL : https://www.inetmail.ca/Wiki/index.php/HP_Smart_Array_CLI_commands_on_ESXi#Controller_status

반응형
반응형

# HP Server 펌웨어 확인 / 컨트롤러 펌웨어 확인#


linux 설치 시 보통 메니지먼트 툴은 설치해 주지 않는다.




1. 로컬디스크 RAID 설정 확인 및 array 컨트롤러 버전  , 펌웨어 버전 확인


# cat /proc/driver/cciss/cciss0


(보통 cciss0 입니다.)




[root@secure ~]# cat /proc/driver/cciss/cciss0 


cciss0: HP Smart Array P420i Controller


Board ID: 0x3354103c


Firmware Version: 3.42


IRQ: 138


Logical drives: 1


Current Q depth: 0


Current # commands on controller: 0


Max Q depth since init: 28


Max # commands on controller since init: 28


Max SG entries since init: 31


Sequential access devices: 0




cciss/c0d0: 299.96GB RAID 1(1+0)

반응형
반응형

HP 서버 ILO DHCP로 받아온 IP 찾는 방법 (첨부파일 참고)


[root@idisk ~]# yum install nmap

첨부된 파일 서버에 복사 후



[root@idisk ~]# chmod 755 findilos



[root@idisk ~]# ./findilos (사용법)
findilos 1.0 ( http://blog.nachotech.com/ )
Usage: findilos {target network specification}
TARGET NETWORK SPECIFICATION:
Can pass hostnames, IP addresses, networks, etc.
Ex: server1.company.com, company.com/24, 192.168.0.1/16, 10.0.0-255.1-254
EXAMPLE:
findilos 16.32.64.0/22





[root@idisk ~]# ./findilos 192.168.0.0/24 (DHCP IP 대역을 명시)

Scanning...

--------------- ------ -------- ------------ -------------------------
iLO IP Address iLO HW iLO FW Server S/N Server Model
--------------- ------ -------- ------------ -------------------------
192.168.0.87 N/A 2.50 SGH713WJCM ProLiant DL20 Gen9

1 iLOs found on network target 192.168.0.0/24.


서버 상단에 붙어있는 접속정보로 로그인 (https://192.168.0.87)


반응형

+ Recent posts