- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Re: Send several SSH 'set' command to ILO without ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2017 01:50 AM
06-20-2017 01:50 AM
Send several SSH 'set' command to ILO without rebooting
Hello,
We are currently planning migration of several console VLANs in our Datacenter. As a result ILO network settings will change.
We would like to automate as much as possible, we would like to update ILO IP address, subnet mask and gateway using SSH commands (we would like to avoid going through server OS).
The solution would then be to execute those 2 commands:
set /map1/enetport1/lanendpt1/ipendpt1 IPv4Address=%newIP% SubnetMask=%newMask%
set /map1/gateway1 AccesInfo=%newGtw%
The problem is that ILO will reset automatically after executing each command, applying directly the new settings. This will cause it to be unreachable after executing the first command.
Is there any way to execute those 2 commands in one row, or to avoid automatic ILO reboot after first 'set' command?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2017 02:10 AM - edited 06-20-2017 02:12 AM
06-20-2017 02:10 AM - edited 06-20-2017 02:12 AM
Re: Send several SSH 'set' command to ILO without rebooting
Hi
Here's a thread on stackoverflow on the same topic:
https://stackoverflow.com/questions/7540566/ilo3-multiple-ssh-commands
that draws a blank with the "ssh" method. Have you considered the RIBCL/HTTPS method instead (it's mentioned at the very end of that web page)? This is what I do for changes like these.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2017 05:12 AM
06-20-2017 05:12 AM
Re: Send several SSH 'set' command to ILO without rebooting
Use RIBCL commands to send the changes to the iLO's
Take a look at the file calle Mod_Network_Settings.xml, the download includes the perl script.
HP Lights-Out XML PERL Scripting Sample for Linux
http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_aa985bb144db407d91b5076f6b
HP Lights-Out XML Scripting Sample for Windows
http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_c09a91ddee304f07a7f117be23