Jump to content


Photo

pxe Xenserver 7.1 installation with supplemental pack

Started by Ringo Gierth , 21 April 2017 - 09:18 AM
1 reply to this topic

Ringo Gierth Members

Ringo Gierth
  • 1 posts

Posted 21 April 2017 - 09:18 AM

Hello to all :)

 

i have a question regarding xenserver 7.1 pxe installation with included supplemental packs.

 

I would like to install the HPE SNMP Agents, while i install the xenserver, so i dont have to do it afterwards manually.

 

If i understand the documentation of the Installation Guide of XenServer 7.1 right, this should work:

 

<?xml version="1.0" standalone="no"?>
<installation mode="fresh" srtype="lvm">
   <primary-disk gueststorage="yes">sda</primary-disk>
   <keymap>de</keymap>
   <hostname>{{ machine.hostname }}</hostname>
   <root-password>password</root-password>
   <source type ="url">http://{{ install_server_ip }}/install_data/{{ os.os_name }}</source>
   <admin-interface name="eth0" proto="static">
      <ip>{{ interfaces.0.ip }}</ip>
      <subnet-mask>{{ interfaces.0.ipNet.getNetmaskStr }}</subnet-mask>
      <gateway>{{ interfaces.0.ipNet.gateway }}</gateway>
   </admin-interface>
   <name-server>172.29.112.10</name-server>
   <name-server>172.29.112.13</name-server>
   <timezone>Europe/Berlin</timezone>
   <ntp-server>172.29.112.10</ntp-server>
   <ntp-server>172.29.112.13</ntp-server>
   <source type ="url">http://{{ install_server_ip }}/install_data/{{ os.os_name }}/Supplemental/hpe_snmp_agents</source>
</installation>

 

Is this the right syntax to write it in the answer file? I could find any other syntax and the documentation says:

 

  • source
  •  The location of the uploaded XenServer installation media or a Supplemental Pack. Element may occur multiple times.

 

the installer says "could not find repository for the 2nd source definition", the apache log says:

 

xxx.xxx.xxx.xxx - - [20/Apr/2017:18:44:30 +0200] "GET /install_data/XENSERVER_71_x86_64/Supplemental/hpe_snmp_agents/.treeinfo HTTP/1.1" 404 1047
xxx.xxx.xxx.xxx - - [20/Apr/2017:18:44:30 +0200] "GET /install_data/XENSERVER_71_x86_64/Supplemental/hpe_snmp_agents/repodata/repomd.xml HTTP/1.1" 404 1047
xxx.xxx.xxx.xxx - - [20/Apr/2017:18:44:30 +0200] "GET /install_data/XENSERVER_71_x86_64/Supplemental/hpe_snmp_agents/update.xml HTTP/1.1" 404 1047
xxx.xxx.xxx.xxx - - [20/Apr/2017:18:44:30 +0200] "GET /install_data/XENSERVER_71_x86_64/Supplemental/hpe_snmp_agents/repodata/repomd.xml HTTP/1.1" 404 1047
 

So, sure the installer can`t find this file, becaouse they are not there, they are not in the package of HP.

 

My Question ist, does HP have to update the package for XenServer 7.1 because the new xenserver handles some things in another way than 7.0 or do i have a syntax error and the installer thinks i want to give him two install repositories and not an install repo and a supplemental repo.

 

thank you very much in advanced, i have to install lots of machines and want to automate as much as possible :)

 

Ringo

 

 

 

 



Marc O'Neill Citrix Employees

Marc O'Neill
  • 178 posts

Posted 21 April 2017 - 11:18 AM

This is looking for XenServer Supp packs not third party ones. You would not install the HP packs during the installer phase of a normal install but afterwards when the install has completed.

 

We do allow this however but you will need to use a post install script. It is covered how to do this here,

 

https://www.citrix.com/blogs/wp-content/uploads/2013/08/XenServer_unattended_installation_v10.pdf