- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Servers - General
- >
- Re: Query: Script to run commands on linux server ...
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
Forums
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
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
03-23-2023 09:35 PM - last edited on 04-03-2023 05:20 AM by support_s
03-23-2023 09:35 PM - last edited on 04-03-2023 05:20 AM by support_s
Is it possible to write a script that connects to a DL server via iLO SSH and then connect to the server console through VSP to run a command on a server?
This is requirement from a global enterprise to set static IP post automated OS installation without DHCP and without modifying kickstart.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2023 10:36 PM
03-23-2023 10:36 PM
Query: Script to run commands on linux server through iLO ssh > Virtual Serial Port
System recommended content:
1. HPE Integrated Lights Out (iLO 4) - Troubleshooting SSH Issues
2. HPE Integrated Lights Out (iLO 4) - Text Based Remote Console Issues
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2023 09:49 AM
03-25-2023 09:49 AM
Re: Query: Script to run commands on linux server through iLO ssh > Virtual Serial
I am able to access server console through SSH to iLO, after choosing VSP command. However I am trying to find a solution automatically run a command on the host using a script that can establish SSH connection to iLO and connect to host's console through virtual serial port.
I tried "ipmitool sol" command with partial success. It would be great if I can use Redfish instead of IPMI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 02:03 AM
03-27-2023 02:03 AM
SolutionHello,
You may refer to the section "Linux hp-health utilities" on page 5 of the document titled "Transition to the RESTful Interface Tool (iLOREST)" and see if this is of any help.
You may click here to download the RESTful Interface Tool.
Regards,
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.
[All opinions expressed here are mine, and not official statements on behalf of Hewlett Packard Enterprise]