2.If you want to host the Intelligent Provisioning software on the mirror, download the latest version of Intelligent Provisioning and copy the files to your web server:

a.Navigate to the HP website: ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p1048499843

b.From the newest folder, download the following files:

Gaius.img.gz

Vid.img.gz

Hp_manifest.zip

c.Copy the files to your web server.

# cp gaius.img.gz /srv/www/ipupdate-1.00

# cp vid.img.gz /srv/www/ipupdate-1.00

# unzip -d /srv/www/ipupdate-1.00 hp_manifest.zip

3.Update the URLs in the SPP configuration files to address your web server:

a.Create or modify the file spp-version1/hp_manifest/config.xml, adding rules to rewrite the URLs to reference your web server. For example,

<?xml version=”1.0” encoding=”UTF-8”?>

<hp_manifest schema_version=”1.0.0.0”><index> <config>

<rewrite_url pattern=”file://\.” replace=”http://myserver/spp-version1”

/>

</config>

</index> </hp_manifest>

In the previous example, Intelligent Provisioning replaces each URL that starts with file:// with a URL on your web server. For example, a request for file://./hp/ swpackages/CP0012345.scexe is converted to http://myserver/ spp-version1/hp/swpackages/CP0012345.scexe.

b.Update spp-version1/hp_manifest/index.xml to reference config.xml if it is not already listed.

<?xml version=”1.0” encoding=”UTF-8”?> <hp_manifest schema_version=”1.0.0.0”>

<index>

<include src=”meta.xml” type=”meta” lang=”en” /> <include src=”meta-ja.xml” type=”meta” lang=”ja” /> <include src=”os.xml” type=”operating_systems” /> <include src=”type.xml” type=”type” />

<include src=”system.xml” type=”systems” /> <include src=”device.xml” type=”devices” /> <include src=”category.xml” type=”categories” />

<include src=”config.xml” type=”config” /> </index>

</hp_manifest>

74 Advanced topics

Page 74
Image 74
HP Scripting Toolkit for Windows and Linux manual Gaius.img.gz Vid.img.gz Hpmanifest.zip