{"id":1231,"date":"2024-01-11T12:52:16","date_gmt":"2024-01-11T09:52:16","guid":{"rendered":"https:\/\/blog.5flor.ru\/?p=1231"},"modified":"2024-01-11T12:52:16","modified_gmt":"2024-01-11T09:52:16","slug":"%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0-%d1%81-%d0%ba%d0%be%d0%bd%d1%82%d1%80%d0%be%d0%bb%d0%bb%d0%b5%d1%80%d0%be%d0%bc-hp-440","status":"publish","type":"post","link":"https:\/\/blog.5flor.ru\/?p=1231","title":{"rendered":"\u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c hp 440"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Installation<\/h2>\n\n\n\n<p>Installation process of the&nbsp;<code>ssacli<\/code>&nbsp;package on Proxmox is the same as on any other Debian based system.<\/p>\n\n\n\n<p><em>NOTE: HP does not provide&nbsp;<strong>Buster<\/strong>&nbsp;repository for Debian 10\/Proxmox 6.x, but we can still use&nbsp;<strong>Stretch<\/strong>&nbsp;repository even that it&#8217;s targeted for Debian 9\/Proxmox 5.x.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/gist.github.com\/mrpeardotnet\/a9ce41da99936c0175600f484fa20d03?permalink_comment_id=3376050#add-hps-mcp-repository\"><\/a>Add HP&#8217;s MCP repository<\/h3>\n\n\n\n<p>To add HP&#8217;s MCP repository to&nbsp;<code>apt<\/code>&nbsp;sources list use this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb http:\/\/downloads.linux.hpe.com\/SDR\/repo\/mcp stretch\/current non-free\" &gt; \/etc\/apt\/sources.list.d\/hp-mcp.list\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/gist.github.com\/mrpeardotnet\/a9ce41da99936c0175600f484fa20d03?permalink_comment_id=3376050#download-and-add-public-keys-for-the-mcp-repository\"><\/a>Download and add public keys for the MCP repository<\/h3>\n\n\n\n<p>Public keys are needed by&nbsp;<code>apt<\/code>&nbsp;to verify repository signatures, so we need to download and add them. There are four of them and we need to download and them all:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -q -O - http:\/\/downloads.linux.hpe.com\/SDR\/hpPublicKey1024.pub | apt-key add -\nwget -q -O - http:\/\/downloads.linux.hpe.com\/SDR\/hpPublicKey2048.pub | apt-key add -\nwget -q -O - http:\/\/downloads.linux.hpe.com\/SDR\/hpPublicKey2048_key1.pub | apt-key add -\nwget -q -O - http:\/\/downloads.linux.hpe.com\/SDR\/hpePublicKey2048_key1.pub | apt-key add -\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/gist.github.com\/mrpeardotnet\/a9ce41da99936c0175600f484fa20d03?permalink_comment_id=3376050#installing-the-ssacli-package\"><\/a>Installing the&nbsp;<code>ssacli<\/code>&nbsp;package<\/h3>\n\n\n\n<p>First, we need to update available packages:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update\n<\/code><\/pre>\n\n\n\n<p>And then we can install the&nbsp;<code>ssacli<\/code>&nbsp;package:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install ssacli<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"ustanovka_centos\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 CentOS<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b hp.repo \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u044f \u0432 \/etc\/yum.repos.d\/ \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0435\u043a\u0446\u0438\u0435\u0439<\/li>\n<\/ul>\n\n\n\n<p>[mcp] name=Management Component Pack baseurl=http:\/\/downloads.linux.hpe.com\/repo\/mcp\/CentOS\/6.5\/x86_64\/current enabled=1 gpgcheck=0 gpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/GPG-KEY-mcp<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c hpssacli \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/li>\n<\/ul>\n\n\n\n<p>yum -y update yum -y install hpssacli<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"nastrojka_massiva\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u0441\u043b\u043e\u0442\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043d\u0430\u0448 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/li>\n<\/ul>\n\n\n\n<p>ssacli ctrl all show status Smart Array P400i in Slot 0 (sn: XXXXXXXXXXXXXX) Smart Array P700m in Slot 3 (sn: XXXXXXXXXXXXXX)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u043a\u0430\u043a\u0438\u0435 \u0434\u0438\u0441\u043a\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u043d\u0430 Slot 3 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/li>\n<\/ul>\n\n\n\n<p>ssacli ctrl slot=3 pd all show <\/p>\n\n\n\n<p>Smart Array P700m in Slot 3 unassigned physicaldrive 75:1:29 (port 75:box 1:bay 29, SAS, 1000.2 GB, OK) physicaldrive 75:1:30 (port 75:box 1:bay 30, SAS, 1000.2 GB, OK) physicaldrive 75:1:31 (port 75:box 1:bay 31, SAS, 1000.2 GB, OK) physicaldrive 75:1:32 (port 75:box 1:bay 32, SAS, 1000.2 GB, OK) physicaldrive 75:1:33 (port 75:box 1:bay 33, SAS, 1000.2 GB, OK) physicaldrive 75:1:34 (port 75:box 1:bay 34, SAS, 1000.2 GB, OK)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041c\u044b \u0438\u043c\u0435\u0435\u043c \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 6 \u0434\u0438\u0441\u043a\u043e\u0432, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0438\u0437 \u043d\u0438\u0445 RAID 10 \u043a\u043e\u043c\u043c\u0430\u043d\u0434\u043e\u0439<\/li>\n<\/ul>\n\n\n\n<p>ssacli ctrl slot=3 create type=ld drives=75:1:29,75:1:30,75:1:31,75:1:32,75:1:33,75:1:34 raid=1+0 stripesize=128<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u043b\u0441\u044f \u043b\u0438 \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/li>\n<\/ul>\n\n\n\n<p>ssacli ctrl slot=0 ld all show <\/p>\n\n\n\n<p>Smart Array P700m in Slot 3 array A logicaldrive 1 (2.7 TB, RAID 1+0, OK)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"dopolnitelnye_komandy_hpacucli\">\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b hpacucli<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"udalenie_konfiguracii_massiva\">\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432<\/h3>\n\n\n\n<p>ssacli ctrl slot=0 ld all delete<\/p>\n\n\n\n<p>\u0438\u043d\u0430\u0447\u0435<\/p>\n\n\n\n<p>ssacli ctrl slot=0 ld 2 delete<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"proverka_sostojanija_kontrollera_i_batarei\">\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0438 \u0431\u0430\u0442\u0430\u0440\u0435\u0438<\/h3>\n\n\n\n<p>ssacli ctrl all show config detail | grep -E &#171;(Controller Status|Battery\/Capacitor Status)&#187;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"dobavlenie_diskov_v_spare_dlja_raid_massiva\">\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0438\u0441\u043a\u043e\u0432 \u0432 spare \u0434\u043b\u044f RAID \u043c\u0430\u0441\u0441\u0438\u0432\u0430<\/h3>\n\n\n\n<p>ssacli ctrl slot=3 array A add spares=allunassigned<\/p>\n\n\n\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e spare \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0441\u044f ssacli ctrl slot=3 pd all show Smart Array P700m in Slot 3 array A physicaldrive 75:1:29 (port 75:box 1:bay 29, SAS, 1000.2 GB, OK) physicaldrive 75:1:30 (port 75:box 1:bay 30, SAS, 1000.2 GB, OK) physicaldrive 75:1:31 (port 75:box 1:bay 31, SAS, 1000.2 GB, OK) physicaldrive 75:1:32 (port 75:box 1:bay 32, SAS, 1000.2 GB, OK) physicaldrive 75:1:33 (port 75:box 1:bay 33, SAS, 1000.2 GB, OK) physicaldrive 75:1:34 (port 75:box 1:bay 34, SAS, 1000.2 GB, OK) physicaldrive 75:1:35 (port 75:box 1:bay 35, SAS, 1000.2 GB, OK, spare)<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"smena_razmera_strajpa_stripe\">\u0421\u043c\u0435\u043d\u0430 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0441\u0442\u0440\u0430\u0439\u043f\u0430 (stripe)<\/h3>\n\n\n\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 <\/p>\n\n\n\n<p>ssacli ctrl all show config detail<\/p>\n\n\n\n<p>\u041c\u0435\u043d\u044f\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u0439\u043f\u0430 (stripe) <\/p>\n\n\n\n<p>ssacli ctrl slot=3 logicaldrive 1 modify stripesize=512<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"smena_kehsha_chtenija_zapisi_cacheratio_read_write\">\u0421\u043c\u0435\u043d\u0430 \u043a\u044d\u0448\u0430 \u0447\u0442\u0435\u043d\u0438\u044f\/\u0437\u0430\u043f\u0438\u0441\u0438 (cacheratio read\/write)<\/h3>\n\n\n\n<p>ssacli ctrl slot=3 modify cacheratio=100\/0<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"vkljuchit_diod_na_diske\">\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0438\u043e\u0434 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435<\/h3>\n\n\n\n<p>ssacli ctrl slot=1 pd 1I:1:1 modify led=on<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"vykljuchit_diod_na_diske\">\u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0438\u043e\u0434 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435<\/h3>\n\n\n\n<p>ssacli ctrl slot=1 pd 1I:1:1 modify led=off<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"vkljuchenie_kehsh_kontrollera_pri_ispolzovanii_ssd_v_raid_massive\">\u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a\u044d\u0448 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 SSD \u0432 raid \u043c\u0430\u0441\u0441\u0438\u0432\u0435<\/h3>\n\n\n\n<p>ssacli ctrl slot=2 array A modify ssdsmartpath=disable ssacli ctrl slot=2 logicaldrive 1 modify arrayaccelerator=enable<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"hba_disable\">hba disable<\/h3>\n\n\n\n<p>ssacli ctrl slot=0 modify hbamode=off<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installation Installation process of the&nbsp;ssacli&nbsp;package on Proxmox is the same as on any other Debian based system. NOTE: HP does not provide&nbsp;Buster&nbsp;repository for Debian 10\/Proxmox 6.x, but we can still use&nbsp;Stretch&nbsp;repository even that it&#8217;s targeted for Debian 9\/Proxmox 5.x. Add &hellip; <a href=\"https:\/\/blog.5flor.ru\/?p=1231\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1231","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/posts\/1231"}],"collection":[{"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1231"}],"version-history":[{"count":1,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/posts\/1231\/revisions"}],"predecessor-version":[{"id":1232,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/posts\/1231\/revisions\/1232"}],"wp:attachment":[{"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}