HP OneView for VMWare vCenter Log Insight User Guide (1.0)

Scripting the configuration of iLO Remote Syslog settings
There are a number of ways to configure the iLO Remote Syslog settings on HP ProLiant servers. For
details on each option, see the HP iLO Scripting and Command Line Guide at http://www.hp.com/
go/ilo/docs.
The following is an example of one way to script the configuration of these settings for a number
of servers:
1. Download and install the HP Lights-Out Configuration Utility.
2. Create an XML text file named syslog.xml with the commands to configure the Remote
Syslog settings. Replace the Remote Syslog Server Address value with the address of your Log
Insight server. The login user name and password can be overridden with command line
options so the same file can be used to configure multiple servers. The following is a sample
syslog.xml file:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="myusername" PASSWORD="mypassword">
<RIB_INFO MODE="write">
<MOD_GLOBAL_SETTINGS>
<REMOTE_SYSLOG_ENABLE VALUE="Yes"/>
<REMOTE_SYSLOG_PORT VALUE="514"/>
<REMOTE_SYSLOG_SERVER_ADDRESS VALUE="10.0.0.1"/>
</MOD_GLOBAL_SETTINGS>
</RIB_INFO>
</LOGIN>
</RIBCL>
3. Create and run a batch file for each of your HP Proliant servers. Replace the server address
with the iLO IP or iLO Hostname of the server. Replace the user name and password with the
iLO user name and password of that server. The following is a sample batch file executable:
HPQLOCFG.exe -s 10.0.1.1 -u myusername -p mypassword -f syslog.xml
Scripting the configuration of HP OA Remote Syslog settings
The HP OA Remote Syslog settings can be configured remotely via the OA ssh interface. The
following is an example of one way that this can be done.
1. Download and install PuTTY.
2. Create a text file named syslog.cmd that will contain the commands to configure the Remote
Syslog settings. The remote syslog server value should be the IP address of your Log Insight
server. The following is a sample syslog.cmd file:
set remote syslog port 514
set remote syslog server 10.0.0.1
enable syslog remote
3. Create and run a batch file with the following command for each of your HP C-Class Enclosures.
The IP address should be the IP of your primary OA for the enclosure. The user name and
password should be your OA user name and password. The following is a sample batch file
executable:
putty -ssh -m syslog.cmd myusername@10.0.2.1 -pw mypassword
Scripting the configuration of iLO Remote Syslog settings 7