{"id":287,"date":"2018-12-08T17:28:37","date_gmt":"2018-12-08T17:28:37","guid":{"rendered":"http:\/\/hanasavi.ir\/?p=287"},"modified":"2018-12-08T19:21:53","modified_gmt":"2018-12-08T19:21:53","slug":"install-hponcfg-on-esxi-for-configuring-hp-server-ilo-without-restaring","status":"publish","type":"post","link":"https:\/\/hanasavi.ir\/index.php\/2018\/12\/08\/install-hponcfg-on-esxi-for-configuring-hp-server-ilo-without-restaring\/","title":{"rendered":"Install HPONCFG on ESXI for configuring hp server ILO"},"content":{"rendered":"<p>Hi , ..<\/p>\n<p>ssh to ESXI,<\/p>\n<p>#cd \/tmp<\/p>\n<p>Download this file<\/p>\n<p><span style=\"color: #000000;\"><strong>#wget http:\/\/hanasavi.ir\/download\/<a style=\"color: #000000;\" href=\"http:\/\/185.8.173.41:2222\/CMD_FILE_MANAGER\/domains\/hanasavi.ir\/public_html\/download\/hpe-HPUtil-esxi6.5-bundle-2.6a-1.zip\">hpe-HPUtil-esxi6.5-bundle-2.6a-1.zip<\/a><\/strong><\/span><\/p>\n<p><strong><span style=\"color: #000000;\"><em>#esxcli software vib install -d \/tmp\/<a style=\"color: #000000;\" href=\"http:\/\/185.8.173.41:2222\/CMD_FILE_MANAGER\/domains\/hanasavi.ir\/public_html\/download\/hpe-HPUtil-esxi6.5-bundle-2.6a-1.zip\">hpe-HPUtil-esxi6.5-bundle-2.6a-1.zip<\/a><\/em><\/span><\/strong><\/p>\n<p>reload the esxi with this command : #<strong>reload<\/strong><\/p>\n<p># cd\u00a0<b><i>\/opt\/hp\/tools<\/i><\/b><\/p>\n<p>reset ilo to factory<\/p>\n<p>#.\/hponcfg -r<\/p>\n<p>Get a txt file from config file<\/p>\n<p>#<b><i>.\/hponcfg -w \/tmp\/iloconfig.txt<\/i><\/b><\/p>\n<p>Edit the ilo config file with vi editor<\/p>\n<p>#<strong><em>vi\u00a0\/tmp\/iloconfig.txt<\/em><\/strong><\/p>\n<p>&lt;IP_ADDRESS VALUE = \u201c192.168.1.20\u201d\/&gt;<br \/>\n&lt;SUBNET_MASK VALUE = \u201c255.255.255.0\u201d\/&gt;<br \/>\n&lt;GATEWAY_IP_ADDRESS VALUE = \u201c192.168.1.1\u201d\/&gt;<br \/>\n&lt;DNS_NAME VALUE = \u201cILO-Name\u201d\/&gt;<br \/>\n&lt;PRIM_DNS_SERVER value = \u201c8.8.8.8\u201d\/&gt;<br \/>\n&lt;DHCP_ENABLE VALUE = \u201cN\u201d\/&gt;<\/p>\n<p>&nbsp;<\/p>\n<p>upload new file to server ,<\/p>\n<p><b><i># .\/hponcfg -f \/tmp\/iloconfig.txt<\/i><\/b><\/p>\n<p>&nbsp;<\/p>\n<p>Reset Administrator password,<\/p>\n<p>create a xml file like this<\/p>\n<p>#vi <strong>psw_reset.xml<\/strong><\/p>\n<p>&lt;ribcl VERSION=\u201d2.0\u2033&gt;<br \/>\n&lt;login USER_LOGIN=\u201dAdministrator\u201d PASSWORD=\u201d<strong>newpass<\/strong>\u201c&gt;<br \/>\n&lt;user_INFO MODE=\u201dwrite\u201d&gt;<br \/>\n&lt;mod_USER USER_LOGIN=\u201dAdministrator\u201d&gt;<br \/>\n&lt;password value=\u201d<strong>newpass<\/strong>\u201c\/&gt;<br \/>\n&lt;\/mod_USER&gt;<br \/>\n&lt;\/user_INFO&gt;<br \/>\n&lt;\/login&gt;<br \/>\n&lt;\/ribcl&gt;<\/p>\n<p>Save the file and ,<\/p>\n<p>#<b><i>.\/hponcfg -f resetpass.xml<\/i><\/b><\/p>\n<p>&nbsp;<\/p>\n<p>Now you can see ILO web panel with the new ip and new administrator password<\/p>\n<p><b><i>\u00a0<\/i><\/b><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi , .. ssh to ESXI, #cd \/tmp Download this file #wget http:\/\/hanasavi.ir\/download\/hpe-HPUtil-esxi6.5-bundle-2.6a-1.zip #esxcli software vib install -d \/tmp\/hpe-HPUtil-esxi6.5-bundle-2.6a-1.zip reload the esxi with this command : #reload # cd\u00a0\/opt\/hp\/tools reset ilo to factory #.\/hponcfg -r Get a txt file from config file #.\/hponcfg -w \/tmp\/iloconfig.txt Edit the ilo config file with vi editor #vi\u00a0\/tmp\/iloconfig.txt &lt;IP_ADDRESS&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[34,33],"_links":{"self":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/287"}],"collection":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":9,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":296,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/287\/revisions\/296"}],"wp:attachment":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}