{"id":312,"date":"2019-09-04T15:28:40","date_gmt":"2019-09-04T12:28:40","guid":{"rendered":"https:\/\/itbru.ru\/?p=312"},"modified":"2019-11-20T09:43:18","modified_gmt":"2019-11-20T06:43:18","slug":"hp-ssacli-commands","status":"publish","type":"post","link":"https:\/\/itbru.ru\/index.php\/2019\/09\/04\/hp-ssacli-commands\/","title":{"rendered":"HP SSACli. \u041a\u043e\u043c\u0430\u043d\u0434\u044b."},"content":{"rendered":"\n<p>HP\\HPE SSACli. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 ESX.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><strong>\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432<\/strong><br>ESXi 5.5 -&gt;\u00a0\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl all show config<br>ESXi 6.5 -&gt;\u00a0\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl all show config<\/p>\n\n\n\n<p><strong>\u0421\u0442\u0430\u0442\u0443\u0441 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl all show status<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl all show status<\/p>\n\n\n\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u0445<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl all show detail<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl all show detail<\/p>\n\n\n\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u043e\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 show detail<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 show detail<\/p>\n\n\n\n<p><strong>\u041f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0435 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043d\u043e\u0432\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli rescan<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli rescan<\/p>\n\n\n\n<p><strong>\u0421\u0442\u0430\u0442\u0443\u0441 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0438\u0441\u043a\u043e\u0432<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 pd all show status<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 pd all show status<\/p>\n\n\n\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0438\u0441\u043a\u043e\u0432<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 pd all show detail<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 pd all show detail<\/p>\n\n\n\n<p><strong>\u0421\u0442\u0430\u0442\u0443\u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0438\u0441\u043a\u043e\u0432<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 ld all show status<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 ld all show status<\/p>\n\n\n\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0438\u0441\u043a\u043e\u0432<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 ld 2 show<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 ld 2 show<\/p>\n\n\n\n<p><strong>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 Raid0<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0<\/p>\n\n\n\n<p><strong>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 Raid1<\/strong> <br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1<\/p>\n\n\n\n<p><strong>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 Raid5<\/strong> <br>ESXi 5.5 -&gt;&nbsp;\/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<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5<\/p>\n\n\n\n<p><strong>\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 ld 2 delete<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 ld 2 delete<\/p>\n\n\n\n<p><strong>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0434\u0438\u0441\u043a \u0432 \u043c\u0430\u0441\u0441\u0438\u0432<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7<\/p>\n\n\n\n<p><strong>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Spare \u0434\u0438\u0441\u043a\u0430<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7<\/p>\n\n\n\n<p><strong>\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 Write Cache<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 modify dwc=enable<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 modify dwc=enable<\/p>\n\n\n\n<p><strong>\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 Write Cache<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 modify dwc=disable<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 modify dwc=disable<\/p>\n\n\n\n<p><strong>\u0417\u0430\u0442\u0435\u0440\u0435\u0442\u044c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0434\u0438\u0441\u043a<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 pd 2I:1:6 modify erase<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 pd 2I:1:6 modify erase<\/p>\n\n\n\n<p><strong>\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u044e \u043a\u0435\u0448\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 (cacheratio=readratio\/writeratio)<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 modify cacheratio=100\/0<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 modify cacheratio=100\/0<\/p>\n\n\n\n<p><strong>\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u0435\u0448 \u0431\u0435\u0437 \u0431\u0430\u0442\u0430\u0440\u0435\u0439\u043a\u0438(No-Battery Write Cache option)<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 modify nbwc=enable<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 modify nbwc=enable<\/p>\n\n\n\n<p><strong>\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u0435\u0448 \u0434\u043b\u044f \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable<\/p>\n\n\n\n<p><strong>\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u0435\u0448 \u0434\u043b\u044f \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430<\/strong><br>ESXi 5.5 -&gt;&nbsp;\/opt\/hp\/hpssacli\/bin\/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable<br>ESXi 6.5 -&gt;&nbsp;\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HP\\HPE SSACli. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 ESX.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,19],"tags":[],"class_list":["post-312","post","type-post","status-publish","format-standard","hentry","category-linux","category-vmware"],"_links":{"self":[{"href":"https:\/\/itbru.ru\/index.php\/wp-json\/wp\/v2\/posts\/312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itbru.ru\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itbru.ru\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itbru.ru\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/itbru.ru\/index.php\/wp-json\/wp\/v2\/comments?post=312"}],"version-history":[{"count":2,"href":"https:\/\/itbru.ru\/index.php\/wp-json\/wp\/v2\/posts\/312\/revisions"}],"predecessor-version":[{"id":314,"href":"https:\/\/itbru.ru\/index.php\/wp-json\/wp\/v2\/posts\/312\/revisions\/314"}],"wp:attachment":[{"href":"https:\/\/itbru.ru\/index.php\/wp-json\/wp\/v2\/media?parent=312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itbru.ru\/index.php\/wp-json\/wp\/v2\/categories?post=312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itbru.ru\/index.php\/wp-json\/wp\/v2\/tags?post=312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}