{"id":1732,"date":"2021-01-07T14:59:55","date_gmt":"2021-01-07T12:59:55","guid":{"rendered":"https:\/\/itsimple.info\/?p=1732"},"modified":"2021-01-07T15:06:30","modified_gmt":"2021-01-07T13:06:30","slug":"how-to-manage-hp-smart-array-raid-controllers-from-vmware-esxi-on-line","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=1732","title":{"rendered":"How To manage HP Smart Array RAID controllers From VMware ESXI ON-Line"},"content":{"rendered":"<p>VMware ESXI HP costume image include the HPE SSACLI tool that is install as a VIB (vSphere Installable Bundle). If not you can Download and install <strong>HPE Smart Storage Administrator (HPE SSA) CLI for VMware 7.0<\/strong>\u00a0<span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/support.hpe.com\/hpsc\/swd\/public\/detail?swItemId=MTX-ecd489e042ff4821b90abdd305#tab3\">https:\/\/support.hpe.com\/hpsc\/swd\/public\/detail?swItemId=MTX-ecd489e042ff4821b90abdd305#tab3<\/a><\/span><\/p>\n<p>The most important feature is to manage the raid controller on-line without the need to take the Host server down ! so for example you can increase or expand the logical disk size live. in my case I have RAW disk mapping to the VM and this procedure was very helpful, I didn&#8217;t need to restart the host and go into ILO storage manager.\u00a0 (the steps are in the end of the blog)<\/p>\n<p>Over the years the name of the HPE Storage Controller Tool has been changed and so has the location. Here is a list of locations that have been used for the last ten years for VMware ESXi:<\/p>\n<p><strong><span style=\"color: #00ff00;\"># Location VMware ESXi 4.0\/4.1\/5.0<\/span><\/strong><br \/>\n<strong><span style=\"color: #00ff00;\">\/opt\/hp\/hpacucli\/bin\/hpacucli<\/span><\/strong><br \/>\n<strong><span style=\"color: #00ff00;\"># Location VMware ESXi 5.1\/5.5\/6.0<\/span><\/strong><br \/>\n<strong><span style=\"color: #00ff00;\">\/opt\/hp\/hpssacli\/bin\/hpssacli<\/span><\/strong><br \/>\n<strong><span style=\"color: #00ff00;\"># Location VMware ESXi 6.5\/6.7<\/span><\/strong><br \/>\n<strong><span style=\"color: #00ff00;\">\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli<\/span><\/strong><\/p>\n<p>The full user guide can be found here :<\/p>\n<p><a href=\"https:\/\/support.hpe.com\/hpesc\/public\/docDisplay?docId=c03909334\"><strong><span style=\"color: #0000ff;\">HPE Smart Storage Administrator User Guide<\/span><\/strong><\/a><\/p>\n<p>This are the most common used command, you can run it from putty after start the SSH service on the ESXI 7 :<\/p>\n<pre># Show configuration\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl all show config\n\n# Controller status\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl all show status\n\n# Show detailed controller information for all controllers\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl all show detail\n\n# Show detailed controller information for controller in slot 0\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 show detail\n\n# Rescan for New Devices\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli rescan\n\n# Physical disk status\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 pd all show status\n\n# Show detailed physical disk information\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 pd all show detail\n\n# Logical disk status\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 ld all show status\n\n# View Detailed Logical Drive Status\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 ld 2 show\n\n# Create New RAID 0 Logical Drive\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0\n\n# Create New RAID 1 Logical Drive\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1\n\n# Create New RAID 5 Logical Drive\n\/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\n\n# Delete Logical Drive\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 ld 2 delete\n\n# Add New Physical Drive to Logical Volume\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7\n\n# Add Spare Disks\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7\n\n# Enable Drive Write Cache\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 modify dwc=enable\n\n# Disable Drive Write Cache\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 modify dwc=disable\n\n# Erase Physical Drive\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 pd 2I:1:6 modify erase\n\n# Turn on Blink Physical Disk LED\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 ld 2 modify led=on\n\n# Turn off Blink Physical Disk LED\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 ld 2 modify led=off\n\n# Modify smart array cache read and write ratio (cacheratio=readratio\/writeratio)\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 modify cacheratio=100\/0\n\n# Enable smart array write cache when no battery is present (No-Battery Write Cache option)\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 modify nbwc=enable\n\n# Disable smart array cache for certain Logical Volume\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable\n\n# Enable smart array cache for certain Logical Volume\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable\n\n# Enable SSD Smart Path\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 array a modify ssdsmartpath=enable\n\n# Disable SSD Smart Path\n\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=0 array a modify ssdsmartpath=disable<\/pre>\n<p>Here is an example to expand online the logical drive 3 on slot 2 to 1000 giga :<\/p>\n<pre><span style=\"color: #339966;\">To view Controller details :<\/span>\n<span style=\"color: #339966;\">\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl all show detail<\/span>\n\n<span style=\"color: #339966;\">To View logical volume details<\/span>\n\n<span style=\"color: #339966;\">\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=2 ld 1 show<\/span>\n\n<span style=\"color: #339966;\">all logical volume on controller:<\/span>\n\n<span style=\"color: #339966;\">\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=2 ld all show<\/span>\n\n<span style=\"color: #339966;\">#this will expand the LD 3 on slot 2 to 1000 giga:<\/span>\n\n<span style=\"color: #339966;\">\/opt\/smartstorageadmin\/ssacli\/bin\/ssacli ctrl slot=2 ld 3 modify size=1000000 forced<\/span><\/pre>\n<p>Available options are:<br \/>\nMax: 605141720 (Units in MB)<br \/>\nMin: 512000 (Units in MB)<br \/>\nMaxMBR: Max. for MBR Partition Table (2097152 MB = 2 TB)<\/p>\n<hr \/>\n<h3>Good Luck<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>VMware ESXI HP costume image include the HPE SSACLI tool that is install as a VIB (vSphere Installable Bundle). If not you can Download and install HPE Smart Storage Administrator (HPE SSA) CLI for VMware 7.0\u00a0https:\/\/support.hpe.com\/hpsc\/swd\/public\/detail?swItemId=MTX-ecd489e042ff4821b90abdd305#tab3 The most important feature is to manage the raid controller on-line without the need to take the Host server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,12,18,19],"tags":[],"class_list":["post-1732","post","type-post","status-publish","format-standard","hentry","category-tech","category-tutorials","category-virtualization","category-vmware"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/1732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1732"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/1732\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}