HP Ilo 4 User Guide
Have a look at the manual HP Ilo 4 User Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
5.EnterthepathandfilenamefortheexistingimagefileintheImageFiletextbox. TheJavaIRCbeginstheprocessofcopyingthedatafromtheimagefiletothedisk.The followingmessageisdisplayed: Creating disk, please wait... Whenthediskcreationiscomplete,thefollowingmessageisdisplayed: Disk was created successfully. 6.ClickClosetoclosetheCreateMediaImagedialogbox. 7.Confirmthatthefileswerecopiedtothespecifiedlocation. UsingaVirtualFolder(.NETIRConly) Thisfeatureenablesyoutoaccess,browseto,andtransferfilesfromaclienttoamanagedserver. Youcanmountanddismountalocalornetworkeddirectorythatisaccessiblethroughtheclient. Afteryoucreateavirtualimageofafolderordirectory,theserverconnectstothatimageasa USBstoragedevice,enablingyoutobrowsetotheserverandtransferthefilesfromthe iLO-generatedimagetoanylocationontheserver. ThisfeatureandmanyothersarepartofaniLOlicensingpackage.Formoreinformationabout iLOlicensing,seethefollowingwebsite:http://www.hp.com/go/ilo/licensing. TheVirtualFolderisnonbootableandread-only;themountedfolderisstatic.Changestotheclient folderarenotreplicatedinthemountedfolder. TouseaVirtualFolder: 1.Startthe.NETIRC. 2.SelectVirtualDrives→Folder. TheBrowseForFolderwindowopens. 3.Selectthefolderyouwanttouse,andthenclickOK. TheVirtualFolderismountedontheserverwiththenameiLOFolder. SettingupIISforscriptedVirtualMedia BeforeyousetupIISforscriptedVirtualMedia,verifythatIISisoperational.UseIIStosetupa simplewebsite,andthenbrowsetothesitetoverifythatitisworkingcorrectly. ConfiguringIIS ToconfigureIIStoservedisketteorISO-9660CDimagesforread-onlyaccess: 1.Addadirectorytoyourwebsiteandplaceyourimagesinthedirectory. UsingiLOVirtualMedia231
2.VerifythatIIScanaccesstheMIMEtypeforthefilesyouareserving. Forexample,ifyourdisketteimagefilesusetheextension.img,youmustaddaMIMEtype forthatextension.UsetheIISManagertoaccessthePropertiesdialogboxofyourwebsite. OntheHTTPHeaderstab,clickMIMETypestoaddMIMEtypes. HPrecommendsaddingthefollowingtypes: .img application/octet-stream .iso application/octet-stream Afteryoucompletethesesteps,youshouldbeabletonavigatetothelocationofyourimagesby usingawebbrowser,andthendownloadtheimagestoaclient.Ifyoucancompletethisstep, yourwebserverisconfiguredtoserveread-onlydiskimages. ConfiguringIISforread/writeaccess 1.InstallPerl(forexample,ActivePerl). 2.CustomizetheVirtualMediahelperapplicationasneeded. Forasamplehelperapplication,see“SampleVirtualMediahelperapplication”(page233). 3.CreateadirectoryonyourwebsitefortheVirtualMediahelperscript,andthencopythescript tothatdirectory. Thesamplescriptusesthedirectorynamecgi-bin,butyoucanuseanyname. 4.OnthePropertiespageforyourdirectory,underApplicationSettings,clickCreatetocreate anapplicationdirectory. TheiconforyourdirectoryinIISManagerchangesfromafoldericontoagearicon. 5.SettheExecutepermissionstoScriptsonly. 6.VerifythatPerlissetupasascriptinterpreter.ClickConfigurationonthePropertiespageto viewtheapplicationassociations.PerlmustbeconfiguredasshowninFigure5(page232). Figure5Perlconfigurationexample 7.VerifythatWebServiceExtensionsallowsPerlscriptstoexecute.Ifnot,clickWebService ExtensionsandsetPerlCGIExtensiontoAllowed. 8.Verifythattheprefixvariableinthehelperapplicationissetcorrectly. Toviewasamplehelperapplication,see“SampleVirtualMediahelperapplication”(page233). 232UsingiLO
InsertingVirtualMediawithahelperapplication WhenyouareusingahelperapplicationwiththeINSERT_VIRTUAL_MEDIAcommand,thebasic formatoftheURLisasfollows: protocol://user:password@servername:port/path,helper-script where: •protocol—Mandatory.EitherHTTPorHTTPS. •user:password—Optional.Whenpresent,HTTPbasicauthorizationisused. •servername—Mandatory.EitherthehostnameortheIPaddressofthewebserver. •port—Optional.Awebserveronanonstandardport. •path—Mandatory.Theimagefilethatisbeingaccessed. •helper-script—Optional.ThelocationofthehelperscriptonIISwebservers. FordetailedinformationabouttheINSERT_VIRTUAL_MEDIAcommand,seetheHPiLO4Scripting andCommandLineGuide. SampleVirtualMediahelperapplication ThefollowingPerlscriptisanexampleofaCGIhelperapplicationthatallowsdiskettewriteson webserversthatcannotperformpartialwrites.Ahelperapplicationcanbeusedinconjunction withtheINSERT_VIRTUAL_MEDIAcommandtomountawritabledisk. Whenyouareusingthehelperapplication,theiLOfirmwarepostsarequesttothisapplication usingthefollowingparameters: •ThefileparametercontainsthenameofthefileprovidedintheoriginalURL. •Therangeparametercontainsaninclusiverange(inhexadecimal)thatdesignateswhereto writethedata. •Thedataparametercontainsahexadecimalstringthatrepresentsthedatatobewritten. Thehelperscriptmusttransformthefileparameterintoapathrelativetoitsworkingdirectory. Thismightinvolveprefixingitwith"../,"ortransforminganaliasedURLpathintothetruepathon thefilesystem.Thehelperscriptrequireswriteaccesstothetargetfile.Disketteimagefilesmust havetheappropriatepermissions. Example: #!/usr/bin/perl use CGI; use Fcntl; # # The prefix is used to get from the current working directory to the # location of the image file that you are trying to write # my ($prefix) = "c:/inetpub/wwwroot"; my ($start, $end, $len, $decode); my $q = new CGI(); # Get CGI data my $file = $q->param('file'); # File to be written my $range = $q->param('range'); # Byte range to be written my $data = $q->param('data'); # Data to be written # # Change the file name appropriately # $file = $prefix . "/" . $file; UsingiLOVirtualMedia233
# # Decode the range # if ($range =~ m/([0-9A-Fa-f]+)-([0-9A-Fa-f]+)/) { $start = hex($1); $end = hex($2); $len = $end - $start + 1; } # # Decode the data (a big hexadecimal string) # $decode = pack("H*", $data); # # Write it to the target file # sysopen(F, $file, O_RDWR); binmode(F); sysseek(F, $start, SEEK_SET); syswrite(F, $decode, $len); close(F); print "Content-Length: 0 "; print " "; ConfiguringVirtualMediaBootOrder TheVirtualMediaBootOrderfeatureenablesyoutosettheserverbootoptions.Youmusthave theVirtualMediaandConfigureiLOSettingsprivilegestochangethesesettings. NOTE:Changesmadetothebootmode,bootorder,orone-timebootstatusmightrequirea serverreset.iLOnotifiesyouwhenaresetisrequired. Changingtheserverbootmode HPProLiantserversthatsupporttheUnifiedExtensibleFirmwareInterfaceincludetheHPUEFI SystemUtilitiessoftware,whichisembeddedinthesystemROM.Onserversthatsupportthis feature,theiLOwebinterfaceBootOrderpageincludestheBootModesection.UsetheBootMode settingtodefinehowtheserverlooksforOSbootfirmware.YoucanselectUEFIortheLegacy BIOS. Tochangetheserverbootmode: 1.NavigatetotheVirtualMedia→BootOrderpage. 2.SelectUnifiedExtensibleFirmwareInterface(UEFI)orLegacyBIOS. 3.ClickApply. iLOpromptsyoutoconfirmthechange.Whenyouchangethissetting,youcannotmake additionalchangesontheBootOrderpageuntilyouresettheserver. 4.ClickOKtoconfirmthechange. 5.ClickServerResettoresettheserver. Changingtheserverbootorder Tochangethebootorderoffloppy,CD/DVD-ROM,USB,harddisk,andnetworkdevices: 234UsingiLO
1.NavigatetotheVirtualMedia→BootOrderpage. WhenVirtualMediaisconnected,theiLOwebinterfacedisplaystheVirtualMediatypenext totheVirtualFloppy/USBkeyandVirtualCD/DVD-ROMtextatthetopofthepage. 2.SelectadeviceintheServerBootOrderlist,andclickUporDowntomoveitupordownin thebootorder. InLegacyBIOSmode,selectfromthefollowingdevices: •CD/DVDDrive •FloppyDrive(Gen8only) •USBStorageDevice •HardDiskDrive •NetworkDevice,wheretheserverEthernetcardandadditional NIC/FlexibleLOMcardsareNetworkDevice1,NetworkDevice2,NetworkDevice3, andsoon. InUEFImode,selectfromthefollowingdevices: •CD/DVDDrive •FloppyDrive(Gen8only) •USBStorageDevice •HardDiskDrive •—OnserversthatsupporttheUEFISystemUtilities,theServerBoot Orderlistshowsadevice-specificnameinsteadofthegenerictermthatdescribesthe devicetype.Forexample,insteadofNetworkDevice,youmightseeEmbedded FlexibleLOM1Port1:BroadcomNetXtremeGigabitEthernet(BCM5719)(IPv4). 3.ClickApply. Thefollowingmessageappears: Successfully set boot order. UsingiLOVirtualMedia235
Changingtheone-timebootstatus Tosetthetypeofmediatobootonthenextserverreset,withoutchangingthepredefinedboot order: Changingtheone-timebootstatusinLegacyBIOSmode 1.NavigatetotheVirtualMedia→BootOrderpage. 2.SelectanoptionfromtheSelectOne-TimeBootOptionlist. Thefollowingoptionsareavailable: •NoOne-TimeBoot •CD/DVDDrive •FloppyDrive(Gen8only) •USBStorageDevice •HardDiskDrive •NetworkDevice,wheretheserverEthernetcardisNetworkDevice1,and additionalNIC/FlexibleLOMcardsareNetworkDevice2,NetworkDevice3,andso on. •IntelligentProvisioning 3.ClickApply. Thefollowingmessageappears: Successfully set one-time boot option. TheCurrentOne-TimeBootOptionvalueisupdatedtoshowtheselection. Changingtheone-timebootstatusinUEFImode 1.NavigatetotheVirtualMedia→BootOrderpage. 2.SelectanoptionfromtheSelectOne-TimeBootOptionlist. Thefollowingoptionsareavailable: •NoOne-TimeBoot •CD/DVDDrive •FloppyDrive(Gen8only) •USBStorageDevice •HardDiskDrive •NetworkDevice,wheretheserverEthernetcardisNetworkDevice1,and additionalNIC/FlexibleLOMcardsareNetworkDevice2,NetworkDevice3,andso on. •IntelligentProvisioning 236UsingiLO
•UEFITarget—Whenyouselectthisoption,youcanselectfromthelistofavailableboot devicesintheSelectUEFITargetOptionlist. •EmbeddedUEFIShell—Whenyouselectthisoption,theserverbootstoanembedded shellenvironmentthatisseparatefromtheUEFISystemUtilities.Formoreinformation, seetheHPUEFIShellUserGuide. 3.IfyouselectedUEFITargetintheSelectOne-TimeBootOptionlist,selectabootdevicefrom theSelectUEFITargetOptionlist.Forexample,youmighthaveaharddrivethatcontainstwo bootablepartitions,andyoucanusethisoptiontoselectthebootablepartitiontouseonthe nextserverreset. 4.ClickApply. Thefollowingmessageappears: Successfully set one-time boot option. TheCurrentOne-TimeBootOptionvalueisupdatedtoshowtheselection. Usingtheadditionaloptions NavigatetotheVirtualMedia→BootOrderpage. •DependingonwhetheryoursystemsupportsthelegacysystemRBSUortheUEFISystem Utilities,clickBoottoSystemRBSUorBoottoSystemSetupUtilitiestoloadtheROM-based setuputilityonthenextserverreset. •ClickServerResettoreboottheserver.Ifaone-timebootoptionisspecified,thissettingtakes precedenceovertheServerBootOrdervalue. Aboutserverpower Poweringontheserver BeforetheintroductionoftheHPProLiantGen8servers,someHPProLiantservers(particularlyML andDL)couldbepoweredonthroughthepowerbuttonwithinafewsecondsafterACpowerwas connected.IfanACpowerlossoccursonHPProLiantGen8orGen9serverswithiLO4, approximately30secondsmustelapsebeforetheserverscanpoweronagain.Thepowerbutton willblink,indicatingapendingrequest,ifitispressedduringthattime. ThisdelayisaresultoftheiLOfirmwareloading,authenticating,andbooting.iLOprocesses pendingpower-buttonrequestswheninitializationiscomplete.Iftheserverdoesnotlosepower, thereisnodelay.A30-seconddelayoccursonlyduringaniLOreset.Thepowerbuttonisdisabled untiliLOisreadytomanagepower. Apower-buttonwatchdogallowstheusertopoweronthesystemusingthepowerbuttonwhen iLOdoesnotbootsuccessfully. TheiLOfirmwaremonitorsandconfigurespowerthresholdstosupportmanaged-powersystems (forexample,usingHPpowercappingtechnology).Multiplesystembrownout,blackout,and thermaloverloadsmightresultwhensystemsareallowedtobootbeforeiLOcanmanagepower. Themanaged-powerstateislostbecauseofACpowerloss,soiLOmustfirstboottoarestorestate andallowpower-on. Brownoutrecovery Abrownoutconditionoccurswhenpowertoarunningserverislostmomentarily.Abrownout interruptstheoperatingsystem,butdoesnotinterrupttheiLOfirmwareunlessitlastsmorethan4 seconds. iLOdetectsandrecoversfrompowerbrownouts.IfiLOdetectsthatabrownouthasoccurred, serverpowerisrestoredafterthepower-ondelayunlessAuto-PowerOnissettoAlwaysRemain Aboutserverpower237
Off.Afterthebrownoutrecovery,iLOfirmwarerecordsaBrown-out recoveryeventinthe iLOEventLog. Gracefulshutdown TheabilityoftheiLOprocessortoperformagracefulshutdownrequirescooperationfromthe operatingsystem.Toperformagracefulshutdown,theiLOhealthdrivermustbeloaded.iLO communicateswiththehealthdriverandusestheappropriateoperatingsystemmethodofshutting downthesystemsafelytoensurethatdataintegrityispreserved. Ifthehealthdriverisnotloaded,theiLOprocessorattemptstousetheoperatingsystemtoperform agracefulshutdownthroughthepowerbutton.iLOemulatesaphysicalpower-buttonpress(iLO momentarypress)inordertoprompttheoperatingsystemtoshutdowngracefully.Thebehavior oftheoperatingsystemdependsonitsconfigurationandsettingsforapower-buttonpress. FormoreinformationabouttheiLOdrivers,see“InstallingtheiLOdrivers”(page34). TheThermalShutdownoptioninthesystemRBSUorUEFISystemUtilitiesallowsyoutodisable theautomaticshutdownfeature.Thisconfigurationallowsthedisablingofautomaticshutdown exceptinthemostextremeconditionswhenphysicaldamagemightresult. Powerefficiency iLOenablesyoutoimprovepowerusagebyusingHighEfficiencyMode.HEMimprovesthepower efficiencyofthesystembyplacingthesecondarypowersuppliesinstep-downmode.Whenthe secondarysuppliesareinstep-downmode,theprimarysuppliesprovideallDCpowertothe system.ThepowersuppliesaremoreefficientbecausetherearemoreDCoutputwattsforeach wattofACinput. NOTE:HEMisavailableonnonbladeserversonly. Whenthesystemdrawsmorethan70%ofthemaximumpoweroutputoftheprimarysupplies, thesecondarysuppliesreturntonormaloperation(thatis,theyexitstep-downmode).Whenpower usedropsbelow60%capacityoftheprimarysupplies,thesecondarysuppliesreturntostep-down mode.HEMenablesyoutoachievepowerconsumptionequaltothemaximumpoweroutputof theprimaryandsecondarypowersupplies,whilemaintainingimprovedefficiencyatlower power-usagelevels. HEMdoesnotaffectpowerredundancy.Iftheprimarysuppliesfail,thesecondarysupplies immediatelybeginsupplyingDCpowertothesystem,preventinganydowntime. YoumustconfigureHEMthroughthesystemRBSUorUEFISystemUtilities.Youcannotmodify thesesettingsthroughiLO.Formoreinformation,seetheHPROM-BasedSetupUtilityUserGuide ortheHPUEFISystemUtilitiesUserGuide. TheconfiguredHEMsettingsaredisplayedontheSystemInformation→ServerPowerpage. UsingiLOPowerManagement iLOPowerManagementenablesyoutoviewandcontrolthepowerstateoftheserver,monitor powerusage,andmodifypowersettings.ThePowerManagementmenuhasthreeoptions:Server Power,PowerMeter,andPowerSettings. Managingtheserverpower TheVirtualPowerButtonsectionontheServerPowerpagedisplaysthecurrentpowerstateofthe server,aswellasoptionsforremotelycontrollingserverpower.SystemPowerindicatesthestate oftheserverpowerwhenthepageisfirstopened.TheserverpowerstatecanbeON,OFF,or Reset.Usethebrowserrefreshfeaturetoviewthecurrentserverpowerstate. TheserverisrarelyintheResetstate. 238UsingiLO
Usethefollowingproceduretochangetheserverpowerstate.YoumusthavetheVirtualPower andResetprivilegetousethisfeature. 1.NavigatetothePowerManagement→ServerPowerpage. 2.Clickoneofthefollowingbuttons: •MomentaryPress—Thesameaspressingthephysicalpowerbutton.Iftheserveris poweredoff,amomentarypresswillturntheserverpoweron. Someoperatingsystemsmightbeconfiguredtoinitiateagracefulshutdownaftera momentarypress,ortoignorethisevent.HPrecommendsusingsystemcommandsto completeagracefuloperatingsystemshutdownbeforeyouattempttoshutdownbyusing theVirtualPowerbutton. •PressandHold—Thesameaspressingthephysicalpowerbuttonfor5secondsandthen releasingit. Theserverispoweredoffasaresultofthisoperation.Usingthisoptionmightcircumvent thegracefulshutdownfeaturesoftheoperatingsystem. ThisoptionprovidestheACPIfunctionalitythatsomeoperatingsystemsimplement.These operatingsystemsbehavedifferentlydependingonashortpressorlongpress. •Reset—Forcestheservertowarm-boot:CPUsandI/Oresourcesarereset.Usingthis optioncircumventsthegracefulshutdownfeaturesoftheoperatingsystem. •ColdBoot—Immediatelyremovespowerfromtheserver.Processors,memory,andI/O resourceslosemainpower.Theserverwillrestartafterapproximately6seconds.Using thisoptioncircumventsthegracefulshutdownfeaturesoftheoperatingsystem. NOTE:ThePressandHold,Reset,andColdBootoptionsarenotavailablewhentheserver ispowereddown. ConfiguringtheSystemPowerRestoreSettings TheSystemPowerRestoreSettingssectionenablesyoutocontrolsystembehaviorafterpoweris lost.YoucanalsoconfigurethesesettingsbyusingthesystemRBSUorUEFISystemUtilitiesduring POST.YoumusthavetheConfigureiLOSettingsprivilegetochangetheSystemPowerRestore Settings. TochangetheSystemPowerRestoreSettings: UsingiLOPowerManagement239
1.NavigatetothePowerManagement→ServerPowerpage. 2.SelectanAutoPower-Onvalue. ThissettingdetermineshowiLObehavesafterpowerisrestored—forexample,whenthe serverispluggedinorwhenaUPSisactivatedafterapoweroutage.Thissettingisnot supportedwithmicro-UPSsystems. Thefollowingoptionsareavailable: •AlwaysPowerOn—Powerontheserverafterthepower-ondelay(defaultforBLservers). •AlwaysRemainOff—Theserverremainsoffuntildirectedtopoweron. •RestoreLastPowerState—Returnstheservertothepowerstatewhenpowerwaslost.If theserverwason,itpowerson;iftheserverwasoff,itremainsoff.Thisoptionisthe defaultsettingforML,DL,andSLservers.ItisnotavailableonBLservers. NOTE:ChangestotheAutoPowerOnvaluemightnottakeplaceuntilafterthenextserver reboot. 3.SelectaPower-OnDelayvalue. Thissettingstaggersserverautomaticpower-oninadatacenter.Itdeterminestheamountof timeiLOdelaysbeforepoweringonaserverafteriLOstartupiscomplete.Thissettingisnot supportedwithmicro-UPSsystems. Thefollowingoptionsareavailable: •MinimumDelay—Power-onoccursafteriLOstartupiscomplete. •15SecondDelay—Power-onisdelayedby15seconds. •30SecondDelay—Power-onisdelayedby30seconds. •45SecondDelay—Power-onisdelayedby45seconds. •60SecondDelay—Power-onisdelayedby60seconds. •Randomupto120seconds—Thepower-ondelayvariesandcanbeupto120seconds. 4.ClickSubmit. Viewingserverpowerusage ThePowerMeterpageenablesyoutoviewtheserverpowerconsumptionovertime. ThisfeatureandmanyothersarepartofaniLOlicensingpackage.Formoreinformationabout iLOlicensing,seethefollowingwebsite:http://www.hp.com/go/ilo/licensing. Toaccesspower-metergraphs,navigatetothePowerManagement→PowerMeterpage. 240UsingiLO