Compaq BL10e Setting up a Linux PXE server and integrating clients - Page 11

Additional configuration for ProLiant BL10e servers

Page 11 highlights

Receiving an unauthenticated mount in which the server cannot do a reverse lookup on client IP to compare it to the "permissions" string in /etc/exports is also possible. To correct this issue, either add the client IPs to the /etc/hosts of the NFS server or define them in DNS for proper reverse lookups. Add appropriate lines to the dhcpd.conf file to notify the client about the location where DNS and gateway services reside. option domain-name option domain-name-servers option routers "testnetwork.com"; 172.48.0.1, 172.48.0.2; 172.48.0.51; A faster verification alternative is to use the IP subnet information in /etc/exports instead of "*" so that the server will not try the reverse lookup. Additional configuration for ProLiant BL10e servers The following changes are recommended to optimize the serial port on ProLiant BL10e servers: 1. Display the Linux boot sequence on the serial port and on screen #1. Add "console=ttyS0,115200 console=tty1" to the boot loader. 2. Force a safe probe on startup of the serial port. Change "SAFE=no" to "SAFE=yes" in /etc/sysconfig/kudzu. 3. Display the login prompt on the serial port. Add "s0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100" to /etc/inittab. 4. Allow root to login on the serial port. Add "ttyS0" to /etc/securetty. To automate the above process, place the following script in the %post section of the kickstart file: ## ## Configure LILO/GRUB to show Linux Boot Sequence on both the Serial ## Console (ttyS0) and Screen #1 (tty1) ## if [ -f /etc/lilo.conf ]; then DEFAULT=`cat /etc/lilo.conf | grep default` mv /etc/lilo.conf /etc/lilo.conf.sav cat /etc/lilo.conf.sav | awk "{gsub(\"$DEFAULT\",\"$DEFAULT\nappend=\\\"console=ttyS0,115200 console=tty1\\\"\"); print}" >/etc/lilo.conf /sbin/lilo fi if [ -f /boot/grub/grub.conf ]; then mv /boot/grub/grub.conf /boot/grub/grub.conf.sav cat /boot/grub/grub.conf.sav | awk '{if ($1 ~ /kernel/){print $0 " console=ttyS0,115200 console=tty1"} else {print}}' > /boot/grub/grub.conf fi ## ## Do KUDZU serial fix by making serial port "safe" (SAFE=yes) ## mv /etc/sysconfig/kudzu /etc/sysconfig/kudzu.sav cat /etc/sysconfig/kudzu.sav | sed -e 's/^[sS][aA][fF][eE]=.*/SAFE=yes/' > /etc/sysconfig/kudzu ## 11

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21

Receiving an unauthenticated mount in which the server cannot do a reverse lookup on client IP to
compare it to the "permissions" string in /etc/exports is also possible. To correct this issue, either add
the client IPs to the /etc/hosts of the NFS server or define them in DNS for proper reverse lookups.
Add appropriate lines to the dhcpd.conf file to notify the client about the location where DNS and
gateway services reside.
option domain-name
"testnetwork.com";
option domain-name-servers
172.48.0.1, 172.48.0.2;
option routers
172.48.0.51;
A faster verification alternative is to use the IP subnet information in /etc/exports instead of "*" so
that the server will not try the reverse lookup.
Additional configuration for ProLiant BL10e servers
The following changes are recommended to optimize the serial port on ProLiant BL10e servers:
1.
Display the Linux boot sequence on the serial port and on screen #1. Add
"console=ttyS0,115200 console=tty1" to the boot loader.
2.
Force a safe probe on startup of the serial port. Change "SAFE=no" to "SAFE=yes" in
/etc/sysconfig/kudzu.
3.
Display the login prompt on the serial port. Add "s0:12345:respawn:/sbin/agetty 115200 ttyS0
vt100" to /etc/inittab.
4.
Allow root to login on the serial port. Add "ttyS0" to /etc/securetty.
To automate the above process, place the following script in the %post section of the kickstart file:
##
## Configure LILO/GRUB to show Linux Boot Sequence on both the Serial
## Console (ttyS0) and Screen #1 (tty1)
##
if [ -f /etc/lilo.conf ]; then
DEFAULT=`cat /etc/lilo.conf | grep default`
mv /etc/lilo.conf /etc/lilo.conf.sav
cat /etc/lilo.conf.sav | awk
"{gsub(\"$DEFAULT\",\"$DEFAULT\nappend=\\\"console=ttyS0,115200
console=tty1\\\"\"); print}" >/etc/lilo.conf
/sbin/lilo
fi
if [ -f /boot/grub/grub.conf ]; then
mv /boot/grub/grub.conf /boot/grub/grub.conf.sav
cat /boot/grub/grub.conf.sav | awk '{if ($1 ~ /kernel/){print $0
" console=ttyS0,115200 console=tty1"} else {print}}' > /boot/grub/grub.conf
fi
##
## Do KUDZU serial fix by making serial port "safe" (SAFE=yes) ##
mv /etc/sysconfig/kudzu /etc/sysconfig/kudzu.sav
cat /etc/sysconfig/kudzu.sav | sed -e 's/^[sS][aA][fF][eE]=.*/SAFE=yes/'
>
/etc/sysconfig/kudzu
##
11