Document URL: https://access.redhat.com/documentation/en/red-hat-satellite/6.2/paged/installation-guide/chapter-5-configuring-external-services Section Number and Name: 5.7. CONFIGURING CAPSULE SERVER WITH EXTERNAL TFTP Step 2 Describe the issue: Step 2 asks the user to create a directory called /exports/mnt/nfs/var/lib/tftpboot in which the remote nfs export is mounted. The "/exports" references in the document are only used for managing exports on the remote server, in this case, the remote nfs server. Suggestions for improvement: Change the directory to be created on the Capsule server in the documentation to be /mnt/nfs/var/lib/tftpboot instead of /exports/mnt/nfs/var/lib/tftpboot Additional information:
Assigning to Lucie for review.
Hello lzap, Re: Configuring Capsule Server with External TFTP (see comment #0 for link) Can you pls confirm if Steps 1 to 3 are for the external TFTP server, and steps 4 to 6 are for the Capsule? Thank you.
This is the 6.1 version of the procedure: https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.1/html/Installation_Guide/sect-Red_Hat_Satellite-Installation_Guide-Red_Hat_Configuring_Satellite_6_with_External_Services.html#sect-Red_Hat_Satellite-Installation_Guide-Configuring_an_External_TFTP_Service
I confirm, it is correct in the document I created for this chapter. *** Foreman Proxy configuration Make and activate mountpoint: mkdir -p /mnt/nfs/var/lib/tftpboot In the /etc/fstab, add this line: 192.168.38.2:/exports/var/lib/tftpboot /mnt/nfs/var/lib/tftpboot nfs rw,vers=3,auto,nosharecache,context="system_u:object_r:tftpdir_rw_t:s0" 0 0 To enable TFTP support in foreman-proxy, edit /usr/share/foreman-proxy/config/settings.d/tftp.yml file: :enabled: true :tftproot: /mnt/nfs/var/lib/tftpboot If TFTP service is running on a different server than the DHCP service, use the :tftp_servername setting to setup the IP address of that server. Head over to Foreman Server WebUI, locate the Foreman Proxy and Refresh Features. Now you can associate this TFTP feature with the required Subnets. *** Additional comments when touching this chapter: This is NOT meant to be broken, it must be on the one line: /exports/var/lib/tftpboot 192.168.38.1(rw,async,no_root_squash,no_subtree_check,nohide) There are several places where the export file have newlines, these should be non breaking spaces to avoid confusion. Please also change all mentions of "the recommended and tested version is Red Hat Enterprise Linux 7.1" to "7.1 or higher".
Hello re comment 0 Step 2 in the guide is: Add the newly created mount point to the /etc/fstab file. /mnt/nfs/var/lib/tftpboot /exports/mnt/nfs/var/lib/tftpboot none bind,auto 0 0 I greped the guide and could not find any mkdir command with "/exports/mnt/nfs/var/lib/tftpboot"
~]# exportfs -rva -bash: exportfs: command not found this command failed. I am testing only the TFTP part, I NFS was configured in the DNS section, so we should add a Prerequisite: You should have already configured NFS. To configure NFS, see Configuring Satellite Server with External DNS.
(In reply to Stephen Wadeley from comment #11) > ~]# exportfs -rva > -bash: exportfs: command not found > > this command failed. I am testing only the TFTP part, I NFS was configured > in the DNS section, so we should add a Prerequisite: > > You should have already configured NFS. To configure NFS, see Configuring > Satellite Server with External DNS. sorry, made a mistake the relevant commands are in: 5.5. Configuring Capsule Server with External DHCP Install the NFS client. # yum install nfs-utils The section "5.6. Configuring Satellite Server with External TFTP" already says: Before You Begin You should have already configured the firewall for external access to NFS. To configure the firewall, see Configuring Satellite Server with External DHCP. So if we change that to say: "You should have already configured NFS and the firewall for external access to NFS. See Configuring Satellite Server with External DHCP. it will be much better.
The updated guide is now live on portal. Corrected procedure for configuring Capsule Server with external TFTP: https://access.redhat.com/documentation/en/red-hat-satellite/6.2/single/installation-guide/#configuring_capsule_external_tftp Added note about external DHCP configuration via NFS being no longer supported: https://access.redhat.com/documentation/en/red-hat-satellite/6.2/single/installation-guide/#configuring_satellite_external_dhcp