1.6. Installing a Frontend over the Network

This section describes installing a Rocks frontend from a "Central" server over the wide area network, a process called WAN kickstart. The client frontend will retrieve Rocks Rolls and configuration over the Internet, and use these to install itself.

WAN kickstart requires some initial human coordination between the central server and frontend client. This phase is necessary for each party to authenticate the other. Once the initial kickstart has been completed, however, the client frontend may install or upgrade from the same central without re-authentication (authentication is sticky).

  1. Use a Rocks Roll that contains the Kernel Roll for your architecture to boot the client frontend, or alternatively a small bootdisk (also available on the downloads page). When the splash screen appears, type:

    frontend central=name.your.org

    where "name.your.org" is the fully-qualified domain name of your central server, without http:// or any other prefix or suffix. If you use the special name rocks, you will attempt to ontact central-400.rocksclusters.org, a central server at SDSC.

  2. If this is the first time your client frontend has kickstarted from this central server, the central must authenticate the frontend based on its IP address or DNS name. It is also a chance for you to inspect the security credentials of the central server. On the central server, the program insert-access must be running with the IP address, network, or domain name of your frontend given as an argument.

    (On Central)
    
    # insert-access .sdsc.edu

    Figure: Central's insert-access program. In this case, frontends from the ".sdsc.edu" domain will be allowed to kickstart from this central; all others will be denied.

    Figure: Central's insert-access detects the frontend's access attempt.

    Figure: Central's insert-access shows the IP address, name and number of kickstart attempts this frontend client has made.

  3. If this is your first time installing off the central server, you will see a screen describing the central's security credentials. Specifically you are seeing the contents of the mod_ssl apache server certificate on the central. At the same time, the insert-access program on the central is displaying your IP address indicating your kickstart attempt.

    Figure: The WAN kickstart frontend client authentication screen. The left paragraph lists the credentials of the central server; the right paragraph shows the "Certificate Authority" that issued the central's certificate. Pressing "Proceed" will continue the process, choosing "Cancel" will abort the installation.

    If the security credentials are to your liking, press the "Proceed" button on the authentication screen. If the central does not have insert-access running, you will see an Could not get access to server error. If you have kickstarted from this central before, no insert-access is required on central and you will immediately see the roll choice screen described below.

  4. After gaining access to the central, your frontend client will download a kickstart file over HTTPS. You will presently see the roll choice screen:

    Choose your desired rolls, and press "Ok".

    Tip

    If you need a roll for another architecture, choose your rolls for this arch first, press ok. Then say "yes" to another roll server, and choose the same one as before. You will see this screen again. Press the "arch" button, and choose rolls for the non-native architecture.

  5. You will then see the option to choose another central server to get more rolls.

    When you are finished adding new network rolls (ones obtained over the network), answer "No" to the new central server question.

  6. Now you can augment your frontend with rolls from a CD. The screens and process for installing CD-based rolls is described in Install Frontend.

  7. When you are finished installing CD-based rolls, you will enter into the familiar Rocks installation windows. These may change depending on what rolls you have selected. Again the Install Frontend section has details for this process.

  8. The installer will then retrieve the chosen rolls, rebuild the distribution with all rolls included, then install the packages. Finally, the installer will proceed with the post-section and other elements of a standard frontend install.

Your frontend should now be installed and ready to initialize compute nodes (see section install compute nodes).

Tip

You can also upgrade your frontend over the network, by adding the keyword upgrade boot command (in addition to frontend central=name).

Tip

Advanced users should know that there exists another boot: option for frontend central. If you have multiple distributions on central (i.e. one for English, one for Italian), you may specify dist=name, such as: "boot: frontend central=name.my.org dist=it-dist". This specifies the top-level distribution directory, that central will expect to find at "/home/install/it-dist".

In addition, if you simply type frontend central (no equal sign), the frontend will attempt to obtain its kickstart file from any DHCP server that will answer. With such a dhcpd server, you can even PXE the frontend!

1.6.1. insert-access

The insert-access command controls access to a central server, and restricts which frontends may kickstart from it. Access is divided in two parts: (1) who gets access to kickstart files, and (2) who gets access to RPM packages (roll access). Kickstart files are the more sensitive of the two since they contain cryptographic keys.

insert-access is always run on a central server.

insert-access ... [--all] [--rolls] [--remove] [--stop] [--permanent] ... address

In normal form, insert-access grants kickstart access to any client coming from address while insert-access is actively running. RPM package access is granted (indefinitely) to any client that has successfully obtained a kickstart file.

# insert-access .sdsc.edu

The above command will grant kickstart access to any client coming from the .sdsc.edu domain. The address argument may be any format legal in apache ACLs.

Some options available to insert-access