Server Management - Remote Server Management
1824941 Members
3825 Online
109678 Solutions
New Discussion

[ENG/FR] How to enable / install Redfish and SNMPV3 on HPE ILO with the command line (ssh)

 
Zentsuko
Member

[ENG/FR] How to enable / install Redfish and SNMPV3 on HPE ILO with the command line (ssh)

Hello,
I would like to make a script to install Redfish and the SNMPV3 module on a lot of ILO 6, version 1.05. 
I tried a lot of command but unfortunately it seems like i can't found any way to configure / enable these module in command line. 
I do not want to use the graphical interface because i have more than one hundred server to deploy. 
Do you guys already had this kind of issue ? I searched on the documentation but it's talking only about the graphical interface. 
Thank's 

Bonjour,
J'aimerais créer un script me permettant de déployer Redfish ainsi qu'une configuration snmp sur mes serveurs ILO 6 version 1.05. 
J'ai essayé pas mal de commande mais impossible de réussire à retrouver mes petits. 
Je souhaites faire ça via ligne de commande (ssh) étant donné que j'ai une centaines de serveur à déployer de mon cotés. 
Avez vous déjà réussis à déployer Redfish et / ou du SNMPV3 sur un serveur ILO en ligne de commande ? 
J'ai fouillé la doc mais on ne parle uniquement que de l'interface web. 
Si vous avez une idée je suis preneur  
Merci 

8 REPLIES 8
Zentsuko
Member

Re: [ENG/FR] How to enable / install Redfish and SNMPV3 on HPE ILO with the command line (

It seems like Redfish is enabled by default. 

I can use this command line in a script : 
create /map1/accounts1 username=user password=pwd group=admin

So the redfish issue is solved. 

If anyone have any idea how to enable and set credential for SNMPV3 to my ILO in command line... 

BPSingh
HPE Pro

Re: [ENG/FR] How to enable / install Redfish and SNMPV3 on HPE ILO with the command line (

 

Greetings!

Please attempt the following and verify functionality. 

-> Enable SNMPv3:
set /map1/snmpv3/enabled Yes 

->Configure SNMPv3 Credentials:
set /map1/snmpv3/users/1/username YourUsername

->Authentication Protocol
set /map1/snmpv3/users/1/authprotocol "MD5 or SHA"

->Authentication Password:
set /map1/snmpv3/users/1/authpassword YourAuthPassword

->Privacy Protocol  
set /map1/snmpv3/users/1/privprotocol AES ot DES

->Privacy Password
set /map1/snmpv3/users/1/privpassword YourPrivPassword

->Save Changes
commit



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Zentsuko
Member

Re: [ENG/FR] How to enable / install Redfish and SNMPV3 on HPE ILO with the command line (

@BPSingh 

Hello ! 
Thank's for you'r answer. 
I already tried the command set /map1/snmpv3/enabled Yes but i have an error message : 

status=2
status_tag=COMMAND PROCESSING FAILED
error_tag=INVALID TARGET
Tue Oct 3 07:39:35 2023

Invalid target.

 

 

BPSingh
HPE Pro

Re: [ENG/FR] How to enable / install Redfish and SNMPV3 on HPE ILO with the command line (

Please try updating the iLO firmware to the latest revision and check for the issue. 

https://support.hpe.com/connect/s/softwaredetails?language=en_US&softwareId=MTX_70b79a274a3e4327b949f2cf83

If the issue persists, create another iLO account and try setting new iLO password (without special characters) and check for the issue. 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Zentsuko
Member

Re: [ENG/FR] How to enable / install Redfish and SNMPV3 on HPE ILO with the command line (

Hello, 
After reading the documentation and searching on my machine why it isn't working i found that in the directory /map1/ i do not have any snmpv3. 
I only have only snmp1. 
Do you have any idea how to install snmpv3 file ? @BPSingh ? 
Thank's a lot for your help. 

 

 

BPSingh
HPE Pro

Re: [ENG/FR] How to enable / install Redfish and SNMPV3 on HPE ILO with the command line (

Greetings!

Simple Network Management Protocol Version 3 (SNMPv3) is listed under standard features under iLO quickspecs.

Page# 11 https://www.hpe.com/psnow/doc/c04154343.pdf

iLO6 user guide.

https://support.hpe.com/hpesc/public/docDisplay?docId=sd00002007en_us&page=GUID-8FE3C00D-92C9-4801-A5EE-3E283932CDEB.html

Please ensure iLO is running latest firmware and also please do check if SNMPv3 request is enabled in iLO GUI. Ideally it should be under "Management" -> "SNMP Settings" page under "SNMP Alerts" section. If the issue persists, please log a support case for further investigation.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Zentsuko
Member

Re: [ENG/FR] How to enable / install Redfish and SNMPV3 on HPE ILO with the command line (

Hello @BPSingh , 
Thank's for your answer. 
The thing is that i have like 2000+ servers to configure. 
Doing it by the web interface gonna be impossible. 
That's why i'm trying to found a way to do this via commands (and i will script it to automate the deployement) 
I checked on the interface and as you said the management snmpv3 is there any way to install or enable it by command line ? 

Here is some screenshot to show you what i'm seeing on my side : Capture d’écran 2023-11-28 151947.pngMicrosoftTeams-image (1).pngMicrosoftTeams-image.png

BPSingh
HPE Pro

Re: [ENG/FR] How to enable / install Redfish and SNMPV3 on HPE ILO with the command line (

Greetings!

Refer to the below web-link:

https://servermanagementportal.ext.hpe.com/docs/redfishservices/ilos/supplementdocuments/snmp/#snmpv3-settings

 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo