- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Issues with scripting boot via ILO
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
07-01-2013 12:18 AM
07-01-2013 12:18 AM
Trying to create a script to boot multiple servers via ilo (multible versions of ilo) using the scriots bellow. But when I run it I get the following error:
IP Address is: server1-oob SIO_connect failure. 9344:error:0200274C:system library:connect:reason(1868):.\crypto\sio\s_sock.c:606:host=server1-oob:443 9344:error:10065068::lib(16) :SIO_CONNECT:connect error:.\crypto\sio\s_sock.c:608: CPQLOCFG.EXE: ERROR: SIO_connect:reason(10060).
What can cause this?
There is no valid ssl certificats on the ilo so there is allways a warning about this ehen conencting via a browser.
boot.bat
@echo off
set iLO_uN=root set iLO_PW=rootpass set iLO_XML=Set_Host_Power.xml IF NOT EXIST .\LOGS MKDIR .\LOGS for %%i in ( server1-oob ) do ( CPQLOCFG.EXE -s %%i -f %iLO_XML% -u %iLO_uN% -p %iLO_PW% )
Set_Host_Power.xml
<!-- RIBCL Sample Script for HP Lights-Out Products --> <!--Copyright (c) 2012 Hewlett-Packard Development Company, L.P. --> <!-- Description: This is a sample XML script to toggle the power --> <!-- on the host server in which one of the following --> <!-- devices is executing: --> <!-- Integrated Lights-Out 4 (iLO 4) --> <!-- Integrated Lights-Out 3 (iLO 3) --> <!-- Integrated Lights-Out 2 (iLO 2) --> <!-- NOTE: You will need to replace the USER_LOGIN and PASSWORD --> <!-- values with values that are appropriate for your --> <!-- environment. --> <!-- This script will use the ACPI Power Button function to --> <!-- attempt to gracefully shutdown the host operating system --> <!-- (if your OS supports and is configured for graceful --> <!-- shutdown) before it powers off the server. --> <!-- Use CPQLOCFG.EXE ver 4.00 or greater with this script. --> <!-- This script was written for iLO 4 firmware version 1.01 --> <!-- release. --> <!-- See "HP Integrated Lights-Out Management Processor --> <!-- Scripting and Command Line Resource Guide" for more --> <!-- information on scripting and the syntax of the RIBCL --> <!-- XML. --> <!-- Firmware support information for this script: --> <!-- iLO 4 - All versions. --> <!-- iLO 3 - All versions. --> <!-- iLO 2 - All versions. --> <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="root" PASSWORD="rootpassword"> <SERVER_INFO MODE="write"> <!-- Modify the HOST_POWER attribute to toggle power on the host server -->
<!-- HOST_POWER="No" (Turns host server power off) --> <!-- A graceful shutdown will be attempted for ACPI-aware --> <!-- operating systems configured to support graceful shutdown. --> <!-- HOST_POWER="Yes" (Turns host server power on) --> <SET_HOST_POWER HOST_POWER="Yes"/> </SERVER_INFO> </LOGIN> </RIBCL>
Solved! Go to Solution.
- Tags:
- certificate
- iLO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2013 12:31 AM
07-01-2013 12:31 AM
Re: Issues with scripting boot via ILO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2013 05:44 AM
07-01-2013 05:44 AM
Re: Issues with scripting boot via ILO
Using your batch file, I was able to turn an iLO4 system off and on.
I used cpqlocfg.exe version 4.00, and version 4 of the iLO XML scripting samples.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2013 02:29 PM - edited 07-01-2013 02:29 PM
07-01-2013 02:29 PM - edited 07-01-2013 02:29 PM
Re: Issues with scripting boot via ILO
Apparently, CPQLOCFG.exe is failing to establish a TCP connection to iLO port 443. See error Windows Socket error 10060 below:
WSAETIMEDOUT 10060
Connection timed out.
A connection attempt failed because the connected party did not properly respond after a period of time, or the established connection failed because the connected host has failed to respond.
Are your iLOs configured to listen to a port other than 443 for HTTPS?
__________________________________________________
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2013 01:41 AM