Facebook Network Appliance Deployment: USB Based Software Installation Guide
Facebook Network Appliance Deployment: USB Based Software Installation Guide
Facebook Network Appliance Deployment: USB Based Software Installation Guide
APPLIANCE DEPLOYMENT
US B Ba s ed S o f twa re I nst a lla t io n Guide
Feb rua ry 20 22
Copyrights and Trademarks
• CHAPTER 1: INTRODUCTION 3
• CHAPTER 2: USB BOOT DISK CREATION 4
• CHAPTER 3: IP ADDRESS CONFIGURATION 8
• 3.1 BASIC CONFIGURATION 8
• 3.2 MANUAL CONFIGURATION 9
• 3.3 NEXT STEPS 11
• CHAPTER 4: CONFIGURE THE FNA CLUSTER SWITCH 12
• 4.1 SWITCH CONFIGURATION 12
• 4.2 NEXT STEP 13
• CHAPTER 5: RE-IMAGE THE SERVERS TO BSD 14
• CHAPTER 6: TROUBLESHOOTING 16
• APPENDIX A: LEGACY SWITCH CONFIGURATION 17
• 1.1A CISCO NEXUS 3123 SWITCH CONFIGURATION 17
• 1.2A NEXT STEP 19
• APPENDIX B: HPE GEN10PLUS MANUAL REMEDIATIONS 20
• 1.1B Broadcom NIC speed setting 20
20
NOTE
For purposes of following these procedures, Facebook
assumes you have already completed the hardware
installation of the supplied kit, including racking and
connection of the servers and switch.
The USB boot disk creation process can be performed using a Windows,
macOS, or Linux computer and a blank USB flash drive.
1. Select the caching tab from the left navigation bar (Caching Screen)
2. Choose the cluster from the “FNA Status” list (Caching Screen)
4. Download the files needed for boot disk creation (Hardware Troubleshooting)
Warning: Make sure that no important data exists on the USB flash drive before continuing.
These procedures will completely overwrite any current contents of the flash drive.
6. Create the USB boot disk on the flash drive by following the instructions for the appropriate
operating system:
Go to step 7 on page 7.
d. Run dd to write the disk image In this example USB flash has been mounted
to the USB flash drive (Warning: as /dev/sdb.
This action will overwrite any sudo dd if=~/Downloads/caelus.img of=/
disk specified. Ensure you have dev/sdb bs=1M
selected the correct USB disk
before continuing). && sync
Example:
Go to step 7 below.
sudo dd if=./caelus.img of=/dev/sdb bs=1M
256+1 records in
256+1 records out
268435456 bytes transferred in 24.221118
secs
(11082703 bytes/sec)
7. After creating the USB boot disk, make sure it is connected it to the computer where the
configuration files (step 3) were saved.
8. Verify that you see the CONFIG partition of the USB drive as a normal USB partition.
9. Move the saved Switch Config and Hosts Config archive files onto the CONFIG partition
of the USB drive.
This section describes how to configure the IP settings of the servers in the
FNA cluster. Most servers can be configured using the Basic Configuration
steps. If needed, Manual Configuration steps are provided.
Note: You need to perform configuration for all servers in the FNA cluster.
Figure 2: USB Port Locations on FNA Servers
HP DL 380 Gen9 - Rear Panel
2. Connect a VGA monitor to the server’s VGA port and a keyboard to a USB port.
Note: When the operating system has loaded, you will automatically be logged in as root.
3. Reboot the server while the USB flash drive is connected. If the server does not automatically
boot from the USB flash drive, access the BIOS settings and set the USB drive as the first boot
option, then reboot.
a. Listing is correct. If the listing is correct (see Figure 4), go to 3.3 Next Steps. If the listing is
incorrect, go to 3.2 Manual Configuration
b. Configuration file was not found. If you receive a message that the configuration file was not
found (see Figure 5), repeat the steps in creating the CONFIG partition on the USB drive (see
steps 7 and 8 in Chapter 2: USB Boot Disk Creation). Restart the server with the USB flash
drive connected. If the listing is still incorrect, use the steps in 3.2 Manual Configuration.
Figure 5: Server Configuration File Not Found
a. Type ./config_ipaddress.sh
2. Enter the new IPv4 address as prompted, for example, 192.168.1.1 (see Figure 6) select
< OK > and press [ENTER]. (This information is available from the CONFIG partition of the
USB flash drive. The CONFIG partition contains n server configuration files (where n is the
number of servers in the FNA cluster - each filename is the server’s serial number).
3. Enter the new IPv4 netmask as prompted (see Figure 7) select < OK > and press [ENTER]. The
netmask needs to be in dotted quad format. Most commonly used values are:
/24 – 255.255.255.0
/25 – 255.255.255.128
/26 – 255.255.255.192
/27 – 255.255.255.224
4. Configure the IPv4 address for the default gateway as prompted, for example, 10.10.10.100 (see
Figure 8) select < OK > and press [ENTER].
5. If you are prompted to confirm that the configuration is correct (see Figure 9) and the address
is acceptable, select < OK > and press [ENTER]. You then receive the configuration confirmation
(see Figure 4) and can go to 3.3 Next Steps. If the address needs to change, select < No > and
press [ENTER], then repeat the steps in 3.2 Manual Configuration.
6. If you are prompted that the address is already configured (see Figure 10) it may be due to
configuring the address through a different method, such as DHCP. If the address is acceptable,
select < Yes > and press [ENTER]. You then receive the configuration confirmation (see Figure 4)
and can go to 3.3 Next Steps. If the address needs to change, select < No > and press [ENTER],
then repeat the steps in 3.2 Manual Configuration.
2. When all servers are configured, configure the switch as described in Chapter 4: Configure the
FNA Cluster Switch.
b) On the left hand side click the “Caching” heading, then in the “Cluster” column click the
appropriate cluster name
Figure 12: Cluster View Screen
c) Expand the “Hardware Troubleshooting” section by clicking the icon on the right hand side
d) Click the “Switch Firmware” and “Switch Recovery Bundle” to download the needed files.
Both files are zip files
3) Attach the USB flash drive to your computer. Unzip the “Switch Firmware” zip file and copy the
contents to the USB drive in the top most directory/folder. Unzip the “Switch Recovery Bundle”
zip file and copy the files to the USB drive, again to the top most folder/directory. Safely detach
the USB drive.
4) Attach the USB flash drive to the USB port on the front right-hand side of the switch
5) Unplug the power cable from the switch power supply (PSU). All LEDs will go off. Replug the
power cable in to the switch PSU
6) The switch will power on, loading the firmware and configuration files
7) Confirm with FNA Ops ([email protected]) that the switch configuration process is complete.
This section describes how to use the USB boot disk to re-image the FNA
cluster servers.
1. Connect the flash drive containing the USB boot disk (see Chapter 2:
USB Boot Disk Creation) to the FNA server (see Figure 15).
2. Ensure that the server is powered on and connected to the FNA cluster switch.
3. Connect a VGA monitor to the server’s VGA port and a keyboard to a USB port.
6. If re-imaging fails you may receive a prompt that the system disk was not found (see Figure 17).
7. If you need to shut down the server after the re-image process (for example, to install it
somewhere else), run the poweroff command. Otherwise, powering off is not necessary.
8. Repeat the preceding steps for all cluster servers that need to be re-imaged.
If any issues were encountered during the creation of the USB boot disk or
IP configuration, use the following methods for general troubleshooting.
2. Send this image with brief description of the issue to FNA Operations.
2. If the ping was successful (minimal packet loss), ping any known working address on the
Internet (for example, Facebook.com).
3. If the ping was unsuccessful, troubleshoot for network connectivity (per next method).
2. Ensure that the network cables between each server in the FNA cluster are properly connected
to the FNA cluster switch.
3. Ensure that the SFP+ optical transceivers are properly seated in the switch uplink ports.
4. Ensure that the optical cables in the path between the FNA cluster and the facility router have
a good connection.
5. Ensure that the signal strength (light level) for the FNA cluster is between -2 and -7 dB.
cat /var/log/nginx/access.log
3. Send the pictures with a brief description of the issue and its duration to FNA Operations.
This section describes how to use the USB boot disk created as described
in Chapter 2: USB Boot Disk Creation to configure the FNA cluster switch.
2. Ensure that the server is powered on and connected to the FNA cluster
switch.
5. When you receive the switch configuration prompt (see Figure 2a) select < Yes > and press
[ENTER].
6. If you are prompted that the server is not connected (see Figure 3a), check the connections
of both the server and its port (it should be the correct port on the server’s network card). Then
select < OK > and press [ENTER].
7. If you are prompted that the switch configuration file was not found on the CONFIG partition
(see Figure 4a), select < OK > and press [ENTER]. Then follow the steps in Chapter 2: USB Boot
Disk Creation and make sure you moved the switch configuration file to the CONFIG partition
(look for a file name beginning with JPE, FOC, SSZ, or HSH). Restart the server with the USB flash
drive connected.
8. Select < OK > and press [ENTER] at the configuration process prompt (see Figure 5a) to start
the configuration procedure.
9. Contact the FNA Ops team ([email protected]), providing them with the cluster name.
10. Wait up to 30 minutes. During the process, the FNA team will monitor the state of the switch.
Echo requests will be sent to predefined IP addresses and a response will be made when it is
configured (see Figure 6a).
a. If you receive a prompt that switch configuration was successful (see Figure 7a), select
<OK> and press [ENTER].
b. If you receive a prompt that the switch serial number was not found on the CONFIG
partition (see Figure 8a), note the number listed in the prompt and contact FNA Operations at
[email protected].
c. If no prompts at all appear (such as Figure 7a or Figure 8a) after 30 minutes, press
[Ctrl + C] to end the current flow and follow the procedures as described in Chapter 5: Re-
Image the Servers to BSD.
Issue
For Gen10plus servers the Broadcom network card has a speed setting which if misconfigured can
break connectivity. With FNA servers this results in complete loss of all connectivity to the server
because the server shares it’s network link with the iLO.
For now the solution requires a manual fix which cannot be performed remotely.
Procedure to correct
1. Attach a monitor to the VGA port and a keyboard to a USB port.
5. Select OCP Slot 10 Port 1 : Broadcom NetXtreme-E Single 100gb OCP 3.0 Ethernet and hit
enter.