Current status: Two new directories i.e. sys1 and sys2 created.

Current problem: How can we manage main directories nicely under /nfsboot/common, i.e. /usr and /opt, so that they can be shared for many client machines?


We want to make a diskless computing system so that we need a PXE Server. PXE stands for "Pre-boot eXecution Environment". PXE is a special extension of services provided by the Dynamic Host Configuration Protocol (DHCP). It uses a Trivial File Transfer Protocol (TFTP) server to provide minimal boot to a network client. Let's try to configure it!

Small subnet for testing DHCP

What we need

Checking

Network setting

SSH check

Setting for the PXE server machine

SElinux should be in permissive mode.

Install DHCP and TFTP Server etc

DHCP Configuration

TFTP Configuration

NFS configuration

Copy system data for booting

Firewall and starting NFS

Netboot

Set PXE client

Mount /nfsboot/sys1/opt

# mkdir /mnt/common
# mkdir /nfsboot/common
# mv /nfsboot/sys1/root/opt  /nfsboot/common
# mount -t nfs 192.168.2.30:/nfsboot/common  /mnt/common

Problem and Solution


Front page   New Page list Search Recent changes   Help   RSS of recent changes