255

Perl Scripting

 

In This Section

 

Using Perl with the XML Scripting Interface.............................................................................

255

XML Enhancements ...................................................................................................................

255

Opening an SSL Connection ......................................................................................................

257

Sending the XML Header and Script Body................................................................................

258

Using Perl with the XML Scripting Interface

The scripting interface provided enables administrators to manage virtually every aspect of the device in an automated fashion. Primarily, administrators use tools like the cpqlocfg.exe to assist deployment efforts. Administrators using a non-Windows® client can use Perl scripts to send XML scripts to the Lights-Out devices. Administrators can also use Perl to perform more complex tasks than cpqlocfg.exe can perform.

This section discusses how to use Perl scripting in conjunction with the Lights- Out XML scripting language. Perl scripts require a valid user ID and password with appropriate privileges. Sample XML scripts for Lights-Out devices and a sample Perl script are available on the HP website (http://www.hp.com/servers/lights-out) in the Best Practices section.

XML Enhancements

Previous versions of iLO firmware do not return properly formatted XML syntax. This issue has been addressed in iLO 1.50 when the client parsing utility is properly configured. If the iLO firmware determines the client utility being used does not support the return of properly formatted XML syntax, the following message appears:

<INFORM>Scripting utility should be updated to the latest version.</INFORM>

This message informs the customer to update to a later version of the cpqlocfg scripting utility. The latest version of cpqlocfg.exe is currently 2.21.