Installation guide

PXE installation of XenServer Host
31
This will perform an unattended installation using the answerfile at the URL specified.
Note
Also, if you want to use the serial console to do an installation, be sure to include
the argument output=ttyS0 on the kernel command-line (e.g. after "vmlinuz") in
addition to any other appropriate console= values.
For details on creating an answerfile for unattended installation, see Section C.2, “Creating
an answerfile for unattended PXE installation”. For more information on PXE configuration
file syntax, see the SYSLINUX website.
Please refer to your server operating system manual for details for your specific operating system.
The information here is a guide that can be used for Red Hat, Fedora, and some other RPM-
based distributions.
Procedure C.2. To set up a DHCP server
1. On the server that you will be using for DHCP, check if you have DHCP installed by issuing
the command
# rpm -qa dhcp
If not, install using system-config-packages.
2. Configure the dhcp server. Refer to article 4221 in the Red Hat Knowledge base for details.
3. Add these lines to the end of the existing dhcpd.conf file where is your tftp server address:
allow booting;
allow bootp;
class "pxeclients" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
next-server ;
filename "pxelinux.0";
}
4. Restart the dhcpd service:
# service dhcpd restart
Procedure C.3. To set up the installation media host
1. On the server where you are going to house the installation files, copy the contents of the
packages directories from the Base Pack CD to a location where they are exported by HTTP,
FTP, or NFS. For example, you might make a directory in the document root of a webserver