HP ProLiant DL360e HP Intelligent Provisioning User Guide - Page 33

is not already listed., to reference

Page 33 highlights

4. If you are hosting the IP software on your mirror, update the URLs in the IP configuration files to address your web server: a. Create or modify the file ipupdate-1.00/hp_manifest/config.xml and add rules to rewrite the URLs to reference your web server. nl In the previous example, the Intelligent Provisioning software replaces each URL that starts with file:// with a URL on your web server. For example, a request for file://./ gaiusw.img.qz is converted to http://myserver/ipupdate-1.00/ gaius.img.gz. b. Update ipupdate-1.00/hp_manifest/index.xml to reference config.xml if it is not already listed. 5. Create an index.xml file to redirect FTP or HTTP requests from the URL entered in the Intelligent Provisioning user interface to the locations of the update files. For example, to use the URL http://mywebserver/update-src/hp/proliant in the Intelligent Provisioning user interface, create the following index.xml file and place it in the update-src/hp/proliant directory relative to your web server's root directory. Creating an Intelligent Provisioning update mirror 33

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42

4.
If you are hosting the IP software on your mirror, update the URLs in the IP configuration files
to address your web server:
a.
Create or modify the file
ipupdate-1.00/hp_manifest/config.xml
and add rules
to rewrite the URLs to reference your web server.
<?xml version=
1.0
encoding=
UTF-8
?>
<hp_manifest schema_version=
1.0.0.0
>
nl
<index>
<config>
<rewrite_url
pattern=
file://\.
replace=
http://myserver/ipupdate-1.00
/>
</config>
</index>
</hp_manifest>
In the previous example, the Intelligent Provisioning software replaces each URL that starts
with
file://
with a URL on your web server. For example, a request for
file://./
gaiusw.img.qz
is converted to
http://myserver/ipupdate-1.00/
gaius.img.gz
.
b.
Update
ipupdate-1.00/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>
5.
Create an
index.xml
file to redirect FTP or HTTP requests from the URL entered in the
Intelligent Provisioning user interface to the locations of the update files.
For example, to use the URL
http://mywebserver/update-src/hp/proliant
in the
Intelligent Provisioning user interface, create the following
index.xml
file and place it in the
update-src/hp/proliant
directory relative to your web server's root directory.
<?xml version=
1.0
encoding=
UTF-8
?>
<hp_manifest schema_version=
1.0.0.0
>
<index>
<include
src=
http://myserver/spp-version1
type=
redirect
/>
<include
src=
http://myserver/ipupdate-1.00
type=
redirect
/>
</index>
</hp_manifest>
Creating an Intelligent Provisioning update mirror
33