...
Code Block | ||
---|---|---|
| ||
group { next-server 172.16.1.10; filename "/pxelinux.0"; # Hosts allowed to network boot into Swarm host clusternode1 { hardware ethernet 00:90:cb:bf:45:26; } host clusternode2 { hardware ethernet 00:90:b2:92:09:e4; } host clusternode3 { hardware ethernet 00:90:0d:46:7a:b4; } } |
The Swarm nodes are explicitly defined by MAC address to prevent Swarm from initiating an unattended boot by other servers or workstations in this example.
...
Install and configure TFTP server software on the boot server.
Create the /tftpboot directory hierarchy.
Copy the kernel and fsimage files to the /tftpboot/profiles/castor directory.
See DHCP and Boot Server Redundancy, https://perifery.atlassian.net/wiki/spaces/public/pages/2443808626/Setting+Up+PXE+Booting#DHCP-and-Boot-Server-Redundancy%5BinlineExtension%5D below.
Installing and Configuring TFTP
...
Code Block | ||
---|---|---|
| ||
default profiles/castor/kernel append initrd=profiles/castor/fsimage ramdisk_size=160000 root190000 root=/dev/ram0 castor_cfg=http://172.16.1.200/castor/cfg-list.txt |
...
Code Block | ||
---|---|---|
| ||
label normal kernel kernel append initrd=fsimage ramdisk_size=160000190000 root=/dev/ram0 castor_cfg=http://172.16.1.200/castor/cfg-list.txt |
...
Code Block | ||
---|---|---|
| ||
default profiles/castor/kernel append initrd=profiles/castor/fsimage consoleblank=0 ramdisk_size=160000190000 root=/dev/ram0 castor_cfg=http://172.16.1.200/castor/cfg-list.txt |
...
Code Block | ||
---|---|---|
| ||
label normal kernel kernel append initrd=fsimage consoleblank=0 ramdisk_size=160000190000 root=/dev/ram0 castor_cfg=http://172.16.1.200/castor/cfg-list.txt |
...