USB Based Installation Guide
USB Based Installation Guide
Deployment
USB Based Software Installation Guide
Version 3.0
FNA: USB Based Software Installation Guide | 1
Contents
Chapter 1: Introduction..........................................................3
Chapter 2: USB Boot Disk Creation......................................4
Chapter 3: IP Address Configuration.....................................7
3.1 Basic Configuration...................................................7
3.2 Manual Configuration................................................8
3.3 Next Steps................................................................9
Chapter 4: Configure the FNA Cluster Switch.....................10
4.1 Switch Configuration...............................................10
4.2 Next Step................................................................12
Chapter 5: Re-Image the Servers to BSD...........................13
Chapter 6: Troubleshooting.................................................14
FNA: USB Based Software Installation Guide | 3
Chapter 1: Introduction
Thank you for choosing to install the Facebook Network Appliance (FNA)!
Facebook Network Appliance is Facebook’s content caching program. FNA provides Internet Ser-
vice Providers (ISPs) with an efficient means of delivering static Facebook content from within their
existing network. After deploying an FNA kit, an ISP will offload a significant amount of Facebook
content from its backbone network and vastly improve the Facebook user experience.
If the FNA kit contents (switch and servers) were not configured with the IP configuration specified
in the order form, the IP reconfiguration procedures described in this document need to be
performed. Also, at any time, network changes can necessitate reconfiguration.
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.
FNA: USB Based Software Installation Guide | 4
Go to step 6 on page 6.
6. After creating the USB boot disk, make sure it is connected it to the computer where the configuration files (step 3)
were saved.
7. Verify that you see the CONFIG partition of the USB drive as a normal USB partition.
8. Move the saved Switch Config and Hosts Config archive files onto the CONFIG partition of the USB drive.
FNA: USB Based Software Installation Guide | 7
2. 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.
3. 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.
4. Verify the settings displayed on the VGA monitor:
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.
FNA: USB Based Software Installation Guide | 8
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.
3. Enter the new IPv4 netmask as prompted (see Figure 7) and select < OK > and press [ENTER]. The netmask needs
to be in a dot separated 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
FNA: USB Based Software Installation Guide | 9
4. Configure the IPv4 address for the default gateway as prompted, for example, 10.10.10.100 (see Figure 8) and
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 < No > 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.
5. When you receive the switch configuration prompt (see Figure 12) select < Yes > and press [ENTER].
6. If you are prompted that the server is not connected (see Figure 13), 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 14), 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 15) 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 16).
b. If you receive a prompt that the switch serial number was not found on the CONFIG partition (see Figure 18), note
the number listed in the prompt and contact FNA Operations at [email protected].
c. If no prompts at all appear (such as Figure 17 or Figure 18) 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.
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.
4. Run the re-image script for the switch: ./local_image.sh command.
5. Verify that re-imaging was successful (see Figure 20).
6. If re-imaging fails you may receive a prompt that the system disk was not found (see Figure 21).
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.
FNA: USB Based Software Installation Guide | 14
Chapter 6: Troubleshooting
If any issues were encountered during the creation of the USB boot disk or IP configuration, use the
following methods for general troubleshooting.
FNA Operations can be reached at [email protected].