ProLiant Servers (ML,DL,SL)
1754333 Members
3021 Online
108813 Solutions
New Discussion юеВ

automating hpsum updates iso network update

 
Matthew Sacks
Occasional Contributor

automating hpsum updates iso network update

I am having a problem gathering HP updates automatically over the network. I am currently using hpsum to gather the latest updates and make them available over the network for updating many servers at one given time. The USB key or CDROM is not an option.

More specifically, the problem I am having is that HP doesn't seem to provide a way to successfully pull updates over the network. If you drop .scexe files into an unpacked ISO image, and then re-burn it, it doesn't see the new updates. This is because you seem to have to manually edit XML files, which are all undocumented which XML files do what, and it's not automatable.

Then, if I try to use hpsum to pull updates over the network, it doesn't seem to find any.

Here is the sequence of commands:

$HPSUM -silent -inputfile "/repack/hpUpdateConfig" -logdir "/var/log/hp" -verbose

Here is my config:

SILENT = YES
DRYRUN = YES
IGNOREERRORS = ServerNotFound,BadPassword,FailedDepedencies
SKIPTARGET = NO
SOURCEPATH = /repack/unpackedISOs/currentUnpacked/hp/swpackages/
REBOOTALLOWED = YES
REBOOTDELAY = 30
REBOOTMESSAGE = "Install complete, server will reboot in 30 seconds"
BUNDLESLIST = bp000875.xml
ALLOWUPDATEBUNDLE = YES
WEBUPDATENEEDED=YES
USELATEST = YES
REWRITE = NO

I am using hpsum from the 9.20 Firmware DVD which the contents are copied over to a read/write directory. I get the following error message in the logs:

***************************************************************************

HPSUM Execution Log

Build: 'HP SUM 4.1.0 Non-Matrix, built on Fri Aug 13 12:05:33 CDT 2010'
OS: Linux Flavor
Time: '12-13-2010 05:55:37 pm'


***************************************************************************

*************************Local Host Messages Start*************************

[Information] 13 Dec 2010 17:55:37 -- Server: localhost
Current Directory: /repack
[Information] 13 Dec 2010 17:55:37 -- Command line parameters: -silent -inputfile /repack/hpUpdateConfig -logdir /var/log/hp -
verbose
[Information] 13 Dec 2010 17:55:38 -- BaseUI Language: en, Date Time format for current Locale: d MMM yyyy HH:mm:ss
[Information] 13 Dec 2010 17:55:38 -- Temp directory: /tmp/hp_sum
Log directory: /var/log/hp/hp/log
[Error] 13 Dec 2010 17:55:38 -- System Error: Couldn't launch module ./SourceClient; unable to continue
[Information] 13 Dec 2010 17:55:38 -- HPSUM exiting with status: A general failure occurred. See the error log for details
*************************Local Host Messages End****************************

In summary, I have three questions outstanding in order of highest priority first:
1) What is the reason for the error message : ystem Error: Couldn't launch module ./SourceClient; unable to continue
2) Does hpsum provide a working method to update the Firmware DVD to the latest version via the Web
3) What do the various XML files in the firmware DVD do?


2 REPLIES 2
Matthew Sacks
Occasional Contributor

Re: automating hpsum updates iso network update

Here is output from the trace file:

//////////////////////////////////////////////////////////////////////
ManagerInit.cpp: TRACE session beginning 12\13\2010, 06:09:03 pm
Application Version: HP SUM 4.1.0 (Linux), Build: Non-Matrix, built on Fri Aug 13 12:05:33 CDT 2010
//////////////////////////////////////////////////////////////////////
Manager.cpp[1576]: Total number of local network interfaces: 3
ManagerInit.cpp[751]: ERROR: Unable to get host by name
ManagerInit.cpp[389]: Language Suffix is c
Settings.cpp[556]: Command Line: -silent
Manager.cpp[102]: Starting Inventory
Manager.cpp[186]: FATAL ERROR: Unable to start Inventory Process
SUI.cpp[65]: Error - exiting
Manager.cpp[1017]: Discovery processes have been shutdown successfully
Manager.cpp[1093]: OS Scouts have been shutdown successfully
//////////////////////////////////////////////////////////////////////
TRACE session ending
//////////////////////////////////////////////////////////////////////
Matthew Sacks
Occasional Contributor

Re: automating hpsum updates iso network update

It turns out hpsum wasn't running because it had to be run inside of the same directory as hpsum (hp/swpackages) because it uses a relative rather than absolute path.

I was able to get hpsum to run, but now it claims that no updates are available:


[Information] 13 Dec 2010 18:27:11 -- Finished discovery on host: localhost
[Information] 13 Dec 2010 18:27:11 -- Finished discovery for host: localhost
[Information] 13 Dec 2010 18:27:11 -- Shutdown the discovery manager
[Information] 13 Dec 2010 18:27:11 -- Finished discovery for host: LocalHost
[Information] 13 Dec 2010 18:27:11 -- Shutdown the discovery manager
[Information] 13 Dec 2010 18:27:11 -- Host localhost: No updates available
[Information] 13 Dec 2010 18:27:12 -- HPSUM exiting with status: The component was current or not required


I am running this off the 9.10 FW DVD and I know for a fact updates are available. ftp://ftp.hp.com/pub/softlib2/software1/doc/p1998376498/v65280/added.txt

Can anyone explain why it's not pulling updates?