Tftp server, Centos tftp setup – HP Virtual Connect 8Gb 20-port Fibre Channel Module for c-Class BladeSystem User Manual
Page 289
Appendix B: Auto-deployment process 289
option bootfile-name “myconfig-1.script”
hardware ethernet 00:02:c3:d0:e5:83;
fixed-address 192.168.1.100;
}
host enclosure2 {
option tftp-server-name “192.168.1.3”;
option bootfile-name “myconfig-2.script”
hardware ethernet 00:02:c3:d0:e5:84;
fixed-address 192.168.1.101;
}
}
After you have completed customizing your DHCP configuration file, start the DHCP service by entering the
following prompt:
>service dhcpd start
TFTP server
The TFTP server setup includes basic configuration settings, including the tftp root directory permissions and
uploading of configuration files.
CentOS TFTP setup
To set up the TFTP server on CentOS or RHEL, ensure the proper TFTP server package is installed on the
server:
>yum install tftp-server
After the proper package is installed, edit the TFTP configuration file to ensure proper setup. The following
configuration file has configured the /tftpboot directory to be the root of the TFTP server used for
deployment.
Example
/etc/xinetd.d/tftp
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}
The tftpboot directory also needs permissions to be modified to allow tftp client access:
>chown -R nobody:nobody /tftpboot/
>chmod 777 /tftpboot/
Start the xinetd service:
>service xinetd start
After the TFTP server is set up, you can copy the VC configuration files to be used for deployment to the
tftpboot directory:
>cp myconfig-1.script /tftpboot
- Virtual Connect FlexFabric 10Gb24-port Module for c-Class BladeSystem Virtual Connect Flex-10 10Gb Ethernet Module for c-Class BladeSystem Virtual Connect 4Gb Fibre Channel Module for c-Class BladeSystem Virtual Connect FlexFabric-20.40 F8 Module for c-Class BladeSystem Virtual Connect Flex-10.10D Module for c-Class BladeSystem Virtual Connect 8Gb 24-port Fibre Channel Module for c-Class BladeSystem