HP ProLiant BL660c HP ProLiant and Integrity Firmware Management Best Practice - Page 20

directory. For example, if the static IP address used is 192.168.0.254

Page 20 highlights

1. Install the following packages: • tftp-server • dhcp • httpd • syslinux 2. Set up a DNS server on your network. 3. Activate TFTP within XINETD. • Change disable=yes to disable=no in /etc/xinet.d/tftp • Restart XINETD 4. Set up the PXE server to use a static IP: a. Create the file /etc/sysconfig/network-scripts/ifcfg-eth0.static b. Set the contents to the file as: DEVICE=eth0 BOOTPROTO=STATIC ONBOOT=no TYPE=Ethernet IPADDR= NETMASK= GATEWAY= 5. Set up the PXE boot environment: a. Copy initrd.img and vmlinuz from the /system directory of the SPP ISO to /tftpboot directory of the PXE system. b. Copy pxelinux.0 (PXE boot Linux kernel) to the /tftpboot directory. c. Ensure the files copied to /tftpboot are world readable. 6. Configure PXELINUX a. Create directory /tftpboot/pxelinux.cfg. b. Create files representing the hex value of the static IP address in the /tftpboot/ pxelinux.cfg directory. For example, if the static IP address used is 192.168.0.254, the hex value is C0A800FE and the files to be created would be: •C • C0 • C0A • C0A8 • COA80 • COA800 • C0A800F • COA800FE c. Create a zero-sized file (using touch) representing the MAC address of the NIC of the boot PXE boot client (pre-pended with 01 and replacing ':' with '-') in the /tftpboot/ pxelinux.cfg directory. For example, if the NIC MAC address were 00:01:02:03:04:05, a file name would be 01-00-01-02-03-04-05. 20 Deploying firmware

  • 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
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57

1.
Install the following packages:
tftp-server
dhcp
httpd
syslinux
2.
Set up a DNS server on your network.
3.
Activate
TFTP
within
XINETD
.
Change
disable=yes
to
disable=no
in
/etc/xinet.d/tftp
Restart
XINETD
4.
Set up the PXE server to use a static IP:
a.
Create the file
/etc/sysconfig/network-scripts/ifcfg-eth0.static
b.
Set the contents to the file as:
DEVICE=eth0
BOOTPROTO=STATIC
ONBOOT=no
TYPE=Ethernet
IPADDR=<IP>
NETMASK=<IPMASK>
GATEWAY=<GATEWAYIP>
5.
Set up the PXE boot environment:
a.
Copy
initrd.img
and
vmlinuz
from the
/system
directory of the SPP ISO to
/tftpboot
directory of the PXE system.
b.
Copy
pxelinux.0
(PXE boot Linux kernel) to the
/tftpboot
directory.
c.
Ensure the files copied to
/tftpboot
are world readable.
6.
Configure
PXELINUX
a.
Create directory
/tftpboot/pxelinux.cfg
.
b.
Create files representing the hex value of the static IP address in the
/tftpboot/
pxelinux.cfg
directory. For example, if the static IP address used is 192.168.0.254,
the hex value is C0A800FE and the files to be created would be:
C
C0
C0A
C0A8
COA80
COA800
C0A800F
COA800FE
c.
Create a zero-sized file (using touch) representing the MAC address of the NIC of the
boot PXE boot client (pre-pended with 01 and replacing ‘:’ with ‘-‘) in the
/tftpboot/
pxelinux.cfg
directory. For example, if the NIC MAC address were
00:01:02:03:04:05, a file name would be 01-00-01-02-03-04-05.
20
Deploying firmware