![]() |
![]() |
![]() |
![]() |
Supporting a Centralized System - HP
This chapter contains procedures for setting up the necessary operating system support files. Use the Workbook (Chapter 2) to determine the procedures needed.
Your environment and the features you enable dictate the operating system tasks. You must be root to modify the host files.
- NFS directories must be exported if NFS is used for booting or file access.
- tftp must be configured and enabled if tftp is used for booting or file access.
- bootp must be configured and running for the network computer to automatically find boot information for a tftp or NFS boot.
- HP-VUE must be running to use vuelogin or DTLogin to manage your network computer's display. For further information on vuelogin or DTLogin, see the HP Visual User Environment System Administration manual. If you do not use vuelogin or DTLogin, you can use xdm to manage the display and login procedures.
Note: To enable vuelogin to read the user's $HOME/.xsession file, modify the /usr/vue/config/Xconfig file as follows:
Vuelogin*xdmMode: True
- Local Motif Window Manager (MWM). (See Chapter 10, Window Managers.)
Enabling NFS Access
NFS is included as part of the optional NFS services software package for the Hewlett-Packard operating system. If the boot host does not provide NFS, use tftp to download network computer files. This section describes the steps necessary to set up the host if NFS is used as the boot_method or file_access_method.
- Edit the /etc/exports file. Add each of the file systems to be exported now and at boot, along with any options.
- Invoke SAM to edit the /etc/hosts file. Choose the menu items:
- Use the ps command to see if nfsd is running:
- If nfsd is running, use the kill command with the PIDs to kill the daemons:
- Restart the NFS daemon to enable NFS access with the command:
Enabling TFTP
This section describes the steps necessary to set up tftp if it is used as the boot_method or file_access_method.This is the default boot method for network computers not equipped with TDEnet, Flash Memory or ROM options. For details, see the tftp man page on your host, or in /tekxp/man.
There are considerations to make if the boot or font host uses secure tftp.
To determine if you use secure tftp, check the file /etc/inetd.conf for a line similar to:
- tftp dgram udp wait root /usr/etc/in.tftpd in.tftpd -s /tftpboot
- The tftpd daemon should be started each time the host boots. The /etc/inetd.conf file is read at startup, and should contain the tftp command line. If the line does not exist in your inetd.conf file, you need to add it. To verify that the tftp startup command is in the file:
- The boot_directory and install_directory used during the tape installation must have a common parent directory. In addition, if the /etc/inetd.conf file contains a tftp entry with the -s (secure tftp) option:
- Check the /etc/services file for a tftp entry. If a tftp entry does not exist, edit the file and add the line (maintain numeric order with other entries):
- Check the /etc/passwd file for a tftp entry. This entry provides secure tftp access and allows tftp operations. If it does not exist, add the line:
- If /etc/tftpd does not exist, copy /tekxp/bin/<host>/tftpd to /etc.
- After you edit inetd.conf to add the tftp entry, kill and restart the inetd daemon for your changes to take effect:
Note: The tftp binary from the installation media requires a /usr/tmp directory to perform the file transfers. If this directory does not exist, it must be created. Enabling bootp
This section describes the steps necessary to set up the host so that the network computer automatically boots using the Internet Boot Protocol to transfer boot information upon power-up. The bootp daemon is included as part of Hewlett-Packard's optional ARPA software package for HP-UX release 8.0 operating system. If the bootp daemon is not available, contact Hewlett-Packard or use the boot monitor and Setup to configure each network computer. For additional information on the configuration of bootpd, see Volume 3 of the HP-UX Reference manual.
To enable bootp, perform the following steps:
A typical section of the /etc/bootptab file looks like the following:
- # Global entry that every host uses:
- global.d:\
sm=255.255.255.0:\
hd=/tekxp:\
ds=134.62.5.17 134.62.61.219:\
:to=18000:- # Subnet entry:
- subnet64:\
tc=global.d: gw=134.62.64.120:- # Individual entry:
- portland:\
c=subnet64: ht=ethernet: ha=080011010031:\
ip=134.62.64.53: bf=/boot/os.900:\
# T134="config/admin.cnf":A sample bootptab file is located in /tekxp/examples. Table 5-1 briefly describes the bootp fields.
Note: T134 is a user-defined variable to the bootptab file. It is intended for use with the bootp and bootptab file included on the media. Ensuring that bootp is Running
The final step is to ensure that bootp is running. To see if bootp is running:
- # ps -e | grep bootpd | sed /grep/d
- 61 ? 0:01 bootpd
- Verify that bootpd and its associated data file bootptab are in /etc:
- If necessary, add the bootps command to the inetd.conf file. To verify the bootps command in the inetd.conf file:
- Verify that bootpd resides where it is specified in /etc/inetd.conf. For the preceding examples, bootpd is in /etc. If there is a mismatch between the actual location and the specified location, either move the bootpd binary or change the /etc/inetd.conf file.
- The port numbers for bootp listening and replying must be set in the /etc/services file. If they are not set, edit the file and add them. To verify that the ports are set in the file:
- If you have edited inetd.conf, restart the inetd daemon:
To run bootpd as a stand-alone daemon, start bootp directly from /etc using the -s option as follows:
- # /etc/bootpd -s
This method of invocation often works better in environments with large numbers of network computers making bootp requests.
![]() |
![]() |
![]() |
![]() |