Chapter 2. System Discovery, Installation, and Configuration

This chapter describes how to use the SGI Tempo systems management software to discovery, install, and configure your Altix ICE system and covers the following topics:


Note: If you are upgrading from a prior release or installing SGI Tempo software patches, see “Installing SGI Tempo Patches and Updating SGI Altix ICE Systems ” and “Upgrading from SGI ProPack 5 SP2 to SGI ProPack 5 SP3 ”.


configure_cluster Command

The configure_cluster command launches a cluster configuration tool. It allows you to perform the following:

  • Creates the root images for the service nodes, leader nodes, and compute blades

  • Prompts for the SLES10 SP1 media and directs creation of image repositories which you can use to customize your software image

  • Runs a set of commands that allows you to setup the cluster

  • Change the subnet numbers for the various cluster networks

  • Change and configure the domain of the cluster (which is likely different than the domain of eth0 on the system admin controller itself)

Information on using this tool is described in the procedure in the following section, see “Installing Software on the System Admin Controller”.

Installing Software on the System Admin Controller

This section describes how to install software on the system admin controller (admin node). The system admin controller contains software for provisioning, administering, and operating the SGI Altix ICE 8200 system. The SGI Admin Node Autoinstallation DVD contains RPMs for the system admin controller and the software images for the rack leader controllers (leader nodes), service, and the compute nodes.

Procedure 2-1. Installing Software on the System Admin Controller

    To install software images on the system admin controller, perform the following steps:

    1. Turn on, reset, or reboot the system admin controller. The power on button is on the right of the system admin controller, as shown in Figure 2-1.

      Figure 2-1. System Admin Controller Power On Button and DVD Drive

      System Admin Controller Power On Button and DVD Drive

    2. Insert the SGI Admin Node Autoinstallation DVD in the DVD drive on the left of the system admin controller as shown in Figure 2-1.

    3. An autoinstall message appears on your console, as follows:

      SGI Admin Node Autoinstallation DVD
      
      This is the SGI Admin Node autoinstall DVD.
      If you proceed, the entire system will be erased and re-installed.
      
      You may install from the vga screen or from the serial console.
      Whichever you choose, the system will be set up to use the serial console.
      
      Therefore, it is important that you connect to the serial console
      the first time you boot the machine after
      installation. The first boot after installation,
      you will be prompted for system setup questions on the
      serial console.
      
      Experts: You may choose to use the "auto" label
      (auto reboot and skip firstboot questions). You may also
      append the "netinst" option with an nfs path
      (hostname:/mntpoint/file.iso) to nfs mount the ISO.
      
      Press ENTER to send autoinstallation output to the vga screen.
      Type "serial" at the boot prompt to send autoinstallation output to the serial console.


      Note: If you want to use the serial console, enter serial at the boot: prompt, otherwise, output for the install procedure goes to VGA screen.


      You can hit the ENTER button or just wait and the system installation process automatically starts. The boot initrd.image executes, the hard drive is patitioned creating a swap area and a root file system, the Linux operating system and the cluster manager software is installed and a repository is set up for the rack leader controller, service node, and compute node software RPMs.


      Note: When you boot with the admin install DVD, any previous data on the disks is destroyed. This step takes several minutes. When the installation is complete, the system admin controller DVD drive automatically ejects the DVD.


    4. Once installation of software on the system admin controller is complete, remove the DVD from the DVD drive.

    5. Once the system has been installed, enter the reboot command to reboot your system. The system comes up with console output going to the serial console.

      You will see messages about the system admin controller booting the kernel. You can ignore any messages about a few services that may fail to start.


      Note: You must connect to the serial console for this boot to answer the firstboot questions, starting with Welcome screen as shown in Figure 2-2. If you connect to the serial console too late, you can enter Ctrl -l to re-draw the welcome screen.


    6. After the reboot completes, the YaST first boot installation tool starts and a Welcome screen appears, as shown in Figure 2-2. Click on the Next button to proceed.


      Note: The YaST Installation Tool has a main menu with sub-menus. You will be redirected back to the main menu, at various times, as you follow the steps in this procedure.


      Figure 2-2. YaST Welcome Screen

      YaST Welcome Screen

      You will be prompted by YaST firstboot installer to enter your system details including the root password, network configuration, time zone, and so on.

    7. From the Hostname and Name Server Configuration screen, as shown in Figure 2-3, enter the hostname and domain name of your system in the appropriate fields. Make sure that Change Hostname via DHCP is unselected (no x should appear in the box). Click on the Next button to continue.

      Figure 2-3. Hostname and Name Server Configuration Screen

      Hostname and Name Server Configuration Screen


      Note: You can use Ctrl L to refresh the YaST screen as necessary.


    8. From the Network Card Configuration Interfaces screen, shows the suggested configuration as shown in Figure 2-4. Click Next to continue.

      Figure 2-4. Network Card Configuration Interfaces Screen

      Network Card Configuration Interfaces Screen

    9. From the Network Card Configuration Overview screen, configure the first card under Name to establish the public network (sometimes called the house network) connection to your SGI Altix ICE 8200 system.

      Figure 2-5. Network Card Configuration Overview Screen

      Network Card Configuration Overview Screen


      Note: Do NOT configure the second interface at this time. A script will do this for you in a later step.


      Click on the Next button to continue.

    10. From the Network Address Setup screen, choose dynamic address setup via DHCP or enter the IP address for the system admin controller. This is your public/house network information. Click on the Next button to continue.

      Figure 2-6. Network Address Setup Screen

      Network Address Setup Screen

    11. From the Hostname and Name Server Configuration screen, enter the name and DNS domain name as shown in Figure 2-7. Note that the hostname was entered in step 7.

      Figure 2-7. Hostname and Name Server Configuration Screen

      Hostname and Name Server Configuration Screen

    12. From the Routing Configuration screen, enter the appropriate gateway address and netmask. Click on the OK button to continue.

    13. From the Clock and Time Zone screen, select the appropriate region and time zone. Click on the Next button to continue.

    14. From the Password for the System Administrator “root” screen, set the root password. Click on the Next button to continue.

    15. From the User Authentication Method screen, select the authentication method to use for the users on your system. Click on the Accept button to continue.

    16. Enter the user's full name, username, and user password in the New Local User screen. Click on the Next button to continue.

    17. From the Hardware Configuration screen, select Use Following Configuration. Click on the Next button to continue.

    18. An Installation Competed screen appears, as show in Figure 2-8. Click on the Finish button.

      Figure 2-8. Installation Competed Screen

      Installation Competed Screen

    19. After you have completed the YaST first boot installation instructions, login into the system admin controller. You can use YaST to confirm or correct any configuration settings.


      Note: It is important that you make sure that you network settings are correct before proceeding with cluster configuration.


    20. To start cluster configuration, enter the following command:

      % /opt/sgi/sbin/configure_cluster

    21. The Cluster Configuration Tool: Initial Configuration Check screen appears, as shown in Figure 2-9. This tool provides instructions on the steps you need to take to configure your cluster. Click OK to continue.

      Figure 2-9. Cluster Configuration Tool: Initial Configuration Check Screen

      Cluster Configuration Tool: Initial Configuration Check
 Screen

    22. The Cluster Configuration Tool: Initial Cluster Setup screen appears, as shown in Figure 2-10. Read the notice and then click OK to continue.

      Figure 2-10. Cluster Configuration Tool: Initial Cluster Setup Screen

      Cluster Configuration Tool: Initial Cluster Setup
Screen


      Note: The Cluster Configuration Tool has a main menu with sub-menus. You will be redirected back to the main menu, at various times, as you follow the steps in this procedure.


    23. Copy the RPMs from your local SLES media.

      Figure 2-11. Initial Cluster Setup Tasks Screen

      Initial Cluster Setup Tasks Screen

      You need to copy the SLES10 SP1 media to construct a repository for your system.

      Insert the SLES10 SP1 DVD into the system admin controller DVD drive. You can either select Mount inserted DVD or select Use custom mount point. If you choose a custom mount point, use a command similar to the following command:

      % mount /dev/dvd /mnt

    24. The first of two Copy RPMS screens appears, as shown in Figure 2-12.

      Figure 2-12. Copy RPMS Sreen One

      Copy RPMS Sreen One

    25. The Copy of RPMS from media complete message appears, as shown in Figure 2-13. Click OK to continue.

      Figure 2-13. Copy RPMS Screen Two

      Copy RPMS Screen Two

    26. After choosing the Network Settings option, the Cluster Network Setup screen appears, as shown in Figure 2-14.

      Figure 2-14. Cluster Network Setup Screen

      Cluster Network Setup Screen

      The subnet addresses allows you to change the cluster internal network addresses. SGI recommends that you do NOT change these. Click OK to continue to adjust subnets. Otherwise, select Domain Name: Configure Cluster Domain Name and then skip to step 30. A warning screen appears, as shown in Figure 2-15.

      Figure 2-15. Update Subnet Address Warning Screen

      Update Subnet Address Warning Screen

      Once you deploy your Altix ICE system, to change the network IP values or change domain names, you must reset the system data base and then rediscover the system. You do not need to reinstall the admin node, however. Click OK to continue.

    27. The Update Subnet Addresses screen appears, as shown in Figure 2-16.

      Figure 2-16. Update Subnet Addresses Screen

      Update Subnet Addresses Screen

      The default IP address of the system admin controller which is the Head Network for the Altix ICE system is shown. SGI recommends that you do NOT change the IP address of the system admin controller (admin node) or rack leader controllers (leader nodes) if at all possible. You can adjust the IP addresses of the InfiniBand network (ib0 and ib1) to match the IP requirements of the house network. Click OK to continue.

    28. Enter the domain name for your Altix ICE system, as shown in Figure 2-17. Click OK to continue (this will be a subdomain to your house network, by default).

      Figure 2-17. Update Cluster Domain Name Screen

      Update Cluster Domain Name Screen

    29. The next operation in the Initial Cluster Setup menu is Configure Time Client/Server (NTP). This procedure changes your NTP configuration file. Click on OK to continue. This sets the system admin controller to serve time to the Altix ICE system and allows you to add time servers on your house networks, which you may optionally use.

      Figure 2-18. NTP Time Server/Client Setup Screen One

      NTP Time Server/Client Setup Screen One

    30. Configure NTP time service as shown in Figure 2-19. Click Next to continue.

      Figure 2-19. Advance NTP Configuration Screen

      Advance NTP Configuration Screen

    31. A new ntp.config configuration file is created. Click on OK to continue.

      Figure 2-20. NTP Time Server/ Client Setup Screen Two

      NTP Time Server/ Client Setup Screen Two

    32. The YaST tool completes. Click OK to continue.

      Figure 2-21. NTP Time Server/ Client Setup Screen Three

      NTP Time Server/ Client Setup Screen Three

    33. The next step in the Initial Cluster Setup menu is to configure the house DNS resolvers. It is OK to set these resolvers to the same name servers used on the system admin controller itself. Configuring these servers is what allows service nodes to resolve host names on your network. For a description of how to set up service nodes, see “Service Node Installation and Configuration”. Although this step is optional, most customers choose to enter the name servers used on their house network here.

      After entering the IPs, click OK to enable, click Disable House DNS to stop using house DNS resolution, click Back to leave house DNS resolution as it was when you started (disabled at installation).

      Figure 2-22. Enter up to Five DNS Resolvers IP Addresses Screen

      Enter up to Five DNS Resolvers IP Addresses
Screen

    34. The setting DNS forwarding screen appears. Click Yes to continue.

      Figure 2-23. Setting DNS Forwarding Screen

      Setting DNS Forwarding Screen

    35. The next step in the Initial Cluster Setup menu directs you to select Perform Initial Admin Node Infrastructure Setup. This step runs a series of scripts that will configure the system admin controller of the Altix ICE system.

      The script installs and configures your system and you should see an install-cluster completed line in the output.

      The root images for the service, rack leader controller, and compute nodes are then created. The output of the mksiimage commands are stored in a location similar to the following:

      /tmp/mksiimage-cmds-out.12285

      You can review the output if you so choose.

      The final output of the script reads, as follows:

      /opt/sgi/sbin/create-default-sgi-images Done!


      Note: As it notes on the Admin Infrastructure One Time Setup screen, this step takes about 30 minutes.


      Click OK to continue.

      Figure 2-24. Admin Infrastructure One Time Setup Screen One

      Admin Infrastructure One Time Setup Screen
One

    36. Proceed to “Installing Software on the Rack Leader Controllers and Service Nodes”. It describes the discovery process for the rack leader controllers in your system and how to install software on the rack leader controllers.


      Note: The main menu contains a reset the database function that allows you to start software installation over without having to reinstall the system admin controller.


    discover Command

    The discover command is used to discover rack leader controllers (leader nodes), service nodes, including the their associated BMC controllers, in an entire system or in a set of one or more racks that you select. Rack numbers generally start at one. Service nodes generally start at zero. When you use the discover command to perform the discovery operation on your Altix ICE system, you will be prompted with instructions on how to proceed (see “Installing Software on the Rack Leader Controllers and Service Nodes”).

    The discover command is, as follows:

    /opt/sgi/sbin/discover --rack <#>[,<hw-type>]
    /opt/sgi/sbin/discover --rackset <start-number>,<count>[,<options>]
    /opt/sgi/sbin/discover --service <#>[,<options>] 

    The discover command accepts the following options:

    Option 

    Description

    --rack 

    Discovers a specific rack or set of racks

    --rackset 

    Discovers count racks starting at start-number

    --service 

    Discovers the specified service node

    --force 

    Use --force to avoid sanity checks that require input

    --ignoremac 

    Ignores one or more MAC addresses

    --delrack 

    Deletes racks and associated leaders and blades

    --delservice 

    Deletes a service node

    --help 

    Usage and help text

    The options parameter is is a list of comma separated options that modify how discover proceeds for the associated node and sets it up for installation. Hardware types (see below) have no variable style naming with equal signs. All other option types take the form "name=value".

    The options paramater include the following:

    • hw-type

      The hw-type parameter is a hardware model that affects how the discover command proceeds. If hw-type is not specified, a default value is used. Use the other hardware type for a service node you supply and manage. This mode allocates IP addresses for you and print them to the screen. This other type of service node is not managed by the Tempo systems management software.

      Valid hardware type specifiers are, as follows:

      • ice-csn (default type)

      • xe210

      • xe240

      • xe310

      • altix450 (NAS cube)

      • altix4000

      • altix4700

      • other

    • image type

      For service nodes only, you can specify an alternate image to install on to the target system. See the examples for how to specify this.

    If you wish to re-discover an existing service node or rack, simply run the discover command in the same manner you normally would. If you wish to purge a rack or service node entirely, (never to be seen again), use --delservice and --delrack options.

    EXAMPLES

    Example 2-1. discover Command Examples

    The following examples walk you through some typical discover command operations.

    To discover rack 1 and service node 0, perform the following:

    # /opt/sgi/sbin/discover --rack 1 --service 0,xe210

    In this example, service node 0 is an Altix XE210 system.

    To discover racks 1-5, and service node 0-2, perform the following:

    # /opt/sgi/sbin/discover --rackset 1,5 --service 0,xe240 --service 1,altix450 --service 2,other

    In this example, service node 1 is an Altix 450 system. Service node 2 is other hardware type.


    To discover service 0, but use myimage instead of service-sles10sp1 (default), perform the following:

    # /opt/sgi/sbin/discover --service 0,image=myimage

    To discover racks 1 and 4, service node 1, and ignore MAC address 00:04:23:d6:03:1c , perform the following:

    # /opt/sgi/sbin/discover --ignoremac 00:04:23:d6:03:1c --rack 1 --rack 4 --service

    Installing Software on the Rack Leader Controllers and Service Nodes

    The discover command, described in “discover Command”, sets up the leader and managed service nodes for installation and discovery. This section describes the discovery process you use to determine the Media Access Control (MAC) address, that is, the unique hardware address, of each rack leader controller (leader nodes) and then how to install software on the rack leader controllers.

    Procedure 2-2. Installing Software on the Rack Leader Controllers and Service Nodes

      To install software on the rack leader controllers, perform the following steps:

      1. Use the discover command from the command line, as follows:

        # /opt/sgi/sbin/discover --rack 1
        


        Note: You can discover multiple racks at a time using the --rackset option. Service nodes can be discovered with the --service option.


        The discover script executes. When prompted, turn the power on to the node being discovered and only that node.


        Note: Make sure you only power on the node being discovered and nothing else in the system. Make sure not to power the system up itself.


        When the node has electrical power, the BMC starts up even though the system is not powered on. The BMC does a network DHCP request that the discover script intercepts and then configures the cluster database and DHCP with the MAC address for the BMC. The BMC then retrieves its IP address. Next, this script instructs the BMC to power up the node. The node performs a DHCP request that the script intercepts and then configures the cluster database and DHCP with the MAC address for the node. The rack leader controller installs itself using the systemimager software and then boots itself.

        The discover script will turn on the chassis identify light for 2 minutes. Output similar to the following appears on the console:

        Discover of rack1 / leader node r1lead complete
        r1lead has been set up to install itself using systemimager
        The chassis identify light has been turned on for 2 minutes

      2. The blue chassis identify light is your cue to power on the next rack leader controller and start the process all over.

        You may watch install progress by using the console command. For example, console r1lead connects you to the console of the r1lead so that you can watch installation progress. The sessions are also logged. For more information on the console command, see “Console Management” in Chapter 3.

      3. Using this method, you can configure all the rack leader controllers and service nodes in the cluster without having to go back and fourth to and from your workstation between each discovery operation.

      4. You can use the ssh command to verify r1lead node is available, as follows:

        # ssh r1lead hostname
        r1lead

        If your discover process does not find the appropriate BMC after a few minutes, the following message appears:

        ==============================================================================
        Warning: Trouble discovering the BMC!
        ==============================================================================
        3 minutes have passed and we still can't find the BMC we're looking for.
        We're going to keep looking until/if you hit ctrl-c.
        
        Here are some ideas for what might cause this:
        
          - Ensure the system is really plugged in and is connected to the network.
          - This can happen if you start discover AFTER plugging in the system.
            Discover works by watching for the DHCP request that the BMC on the system
            makes when power is applied.  Only nodes that have already been discovered
            should be plugged in.  You should only plug in service and leader nodes
            when instructed.
          - Ensure the CMC is operational and passing network traffic.
          - Ensure the CMC firwmare up to date and that it's configured to do VLANs.
          - Ensure the BMC is properly configured to use dhcp when plugged in to power.
          - Ensure the BMC, frusdr, and bios firmware up to date on the node.
          - Ensure the node is connected to the correct CMC port.
        
        Still Waiting.   Hit ctrl-c to abort this process.  That will abort discovery
        at this problem point -- previously discovered components will not be affected.
        ==============================================================================

        If your discover process finds the appropriate BMC, but cannot find the leader or service node that is powered up after a few minutes, the following message appears:

        ==============================================================================
        Warning: Trouble discovering the NODE!
        ==============================================================================
        4 minutes have passed and we still can't find the node.
        We're going to keep looking until/if you hit ctrl-c.
        
        If you got this far, it means we did detect the BMC earlier,
        but we never saw the node itself perform a DHCP request.
        
        Here are some ideas for what might cause this:
        
         - Ensure the BIOS boot order is configured to boot from the network first
         - Ensure the BIOS / frusdr / bmc firmware are up to date.
         - Is the node failing to power up properly? (possible hardware problem?)
           Consider manually pressing the front-panel power button on this node just
           in case the ipmitool command this script issued failed.
         - Try connecting a vga screen/keyboard to the node to see where it's at.
         - Is there a fault on the node?  Record the error state of the 4 LEDs on the
           back and contact SGI support.  Consider moving to the next rack in the mean
           time, skippnig this rack (hit ctrl-c and re-run discover for the other
           racks and service nodes).
         
        Still Waiting.   Hit ctrl-c to abort this process.  That will abort discovery
        at this problem point -- previously discovered components will not be affected.
        ==============================================================================

      5. You are now ready to discover and install software on the compute blades in the rack. For instructions, see “Discovering Compute Nodes”.

      discover-rack Command


      Note: Before you run the discover-rack command, make sure the rack leader controllers (leader nodes) have booted and are up. If you attempt to run the discover-rack command before the discover command is finished, it will exit with an error message.


      The discover-rack command invokes a shell that calls various scripts to populate the Altix ICE system database with the rack hardware MAC addresses, generate the hosts, dhcpd.conf files, the Cluster Command & Control (C3) software configuration files and Ganglia real-time cluster monitoring software configuration files. For information on how to use this command, see “Discovering Compute Nodes”.

      In addition, racks can be rediscovered by running the discover-rack command again on a previously discovered rack. Because the discover-rack command turns off the power for all blades, you need to power on the rack again. When powering up the rack it is not necessary to power up the rack leader controller because it is already on. SGI recommends that you avoid power cycling the rack leader controller.

      As of the SGI ProPack 5 SP3 release, especially in larger configurations, it is advantageous to run multiple discover-rack operations in parallel to speed up the process.

      EXAMPLES

      Example 2-2. discover-rack Command Examples

      To discover rack 1, perform the following:

      # /opt/sgi/sbin/discover-rack --rack 1


      Discovering Compute Nodes

      This section describes how to discover compute nodes in your Altix ICE system.

      Procedure 2-3. Discovering Compute Nodes

        To discover compute nodes (blades) in your Altix ICE system, complete the steps in “Installing Software on the Rack Leader Controllers and Service Nodes”. Then run perform this procedure for each rack in your system:


        Note: Some of the output shown in this example has been modified to fit the format of this manual.


        1. Run the discover-rack command for each rack in your system from the system admin controller, as follows:

          system-admin:~ # /opt/sgi/sbin/discover-rack --rack 1
          discover-rack: running [ssh r1lead discover-blades|cat > /tmp/slot_file_1]
          discover-rack: running [populate-db-rack --rack 1]
          discover-rack: running [generate-admin-c3-file]
          discover-rack: running [generate-leader-c3-file --rack 1]
          discover-rack: running [generate-service-c3-file]
          discover-rack: running [generate-leader-ganglia-file --rack 1] Shutting down gmond..done Starting gmond..done
          discover-rack: running [generate-admin-ganglia-files] Shutting down gmond..done Starting gmond..done                                            Shutting down gmetadsaving /dev/shm/rrds to /var/lib/ganglia/snaps/snap.tar.gz
          ..done
          Starting gmetadrrd directory already exists in /dev/shm snaps directory already exists 
          in /var/lib/ganglia restoring /dev/shm/rrds from /var/lib/ganglia/snaps/snap.tar.gz
          ..done
          discover-rack: running [generate-admin-dns-zonefile] Shutting down name server BIND ..done Starting name server BIND ..done
          discover-rack: running [generate-conserver-files] Reloading conserver: ..done Reloading conserver: ..done
          discover-rack: running [push-and-set-default-compute-image --rack 1]
          r1lead: install-image: compute-sles10sp1
          r1lead: install-image: compute-sles10sp1: i0n0 (1 of 64)
          r1lead: install-image: compute-sles10sp1: i0n1 (2 of 64)
          r1lead: install-image: compute-sles10sp1: i0n2 (3 of 64)
          r1lead: install-image: compute-sles10sp1: i0n3 (4 of 64)
          r1lead: install-image: compute-sles10sp1: i0n4 (5 of 64)
          r1lead: install-image: compute-sles10sp1: i0n5 (6 of 64)
          r1lead: install-image: compute-sles10sp1: i0n6 (7 of 64)
          r1lead: install-image: compute-sles10sp1: i0n7 (8 of 64)
          r1lead: install-image: compute-sles10sp1: i0n8 (9 of 64)
          r1lead: install-image: compute-sles10sp1: i0n9 (10 of 64)
          r1lead: install-image: compute-sles10sp1: i0n10 (11 of 64)
          r1lead: install-image: compute-sles10sp1: i0n11 (12 of 64)
          r1lead: install-image: compute-sles10sp1: i0n12 (13 of 64)
          r1lead: install-image: compute-sles10sp1: i0n13 (14 of 64)
          r1lead: install-image: compute-sles10sp1: i0n14 (15 of 64)
          r1lead: install-image: compute-sles10sp1: i0n15 (16 of 64)
          r1lead: install-image: compute-sles10sp1: i1n0 (17 of 64)
          r1lead: install-image: compute-sles10sp1: i1n1 (18 of 64)
          r1lead: install-image: compute-sles10sp1: i1n2 (19 of 64)
          r1lead: install-image: compute-sles10sp1: i1n3 (20 of 64)
          r1lead: install-image: compute-sles10sp1: i1n4 (21 of 64)
          r1lead: install-image: compute-sles10sp1: i1n5 (22 of 64)
          r1lead: install-image: compute-sles10sp1: i1n6 (23 of 64)
          r1lead: install-image: compute-sles10sp1: i1n7 (24 of 64)
          r1lead: install-image: compute-sles10sp1: i1n8 (25 of 64)
          r1lead: install-image: compute-sles10sp1: i1n9 (26 of 64)
          r1lead: install-image: compute-sles10sp1: i1n10 (27 of 64)
          r1lead: install-image: compute-sles10sp1: i1n11 (28 of 64)
          r1lead: install-image: compute-sles10sp1: i1n12 (29 of 64)
          r1lead: install-image: compute-sles10sp1: i1n13 (30 of 64)
          r1lead: install-image: compute-sles10sp1: i1n14 (31 of 64)
          r1lead: install-image: compute-sles10sp1: i1n15 (32 of 64)
          r1lead: install-image: compute-sles10sp1: i2n0 (33 of 64)
          r1lead: install-image: compute-sles10sp1: i2n1 (34 of 64)
          r1lead: install-image: compute-sles10sp1: i2n2 (35 of 64)
          r1lead: install-image: compute-sles10sp1: i2n3 (36 of 64)
          r1lead: install-image: compute-sles10sp1: i2n4 (37 of 64)
          r1lead: install-image: compute-sles10sp1: i2n5 (38 of 64)
          r1lead: install-image: compute-sles10sp1: i2n6 (39 of 64)
          r1lead: install-image: compute-sles10sp1: i2n7 (40 of 64)
          r1lead: install-image: compute-sles10sp1: i2n8 (41 of 64)
          r1lead: install-image: compute-sles10sp1: i2n9 (42 of 64)
          r1lead: install-image: compute-sles10sp1: i2n10 (43 of 64)
          r1lead: install-image: compute-sles10sp1: i2n11 (44 of 64)
          r1lead: install-image: compute-sles10sp1: i2n12 (45 of 64)
          r1lead: install-image: compute-sles10sp1: i2n13 (46 of 64)
          r1lead: install-image: compute-sles10sp1: i2n14 (47 of 64)
          r1lead: install-image: compute-sles10sp1: i2n15 (48 of 64)
          r1lead: install-image: compute-sles10sp1: i3n0 (49 of 64)
          r1lead: install-image: compute-sles10sp1: i3n1 (50 of 64)
          r1lead: install-image: compute-sles10sp1: i3n2 (51 of 64)
          r1lead: install-image: compute-sles10sp1: i3n3 (52 of 64)
          r1lead: install-image: compute-sles10sp1: i3n4 (53 of 64)
          r1lead: install-image: compute-sles10sp1: i3n5 (54 of 64)
          r1lead: install-image: compute-sles10sp1: i3n6 (55 of 64)
          r1lead: install-image: compute-sles10sp1: i3n7 (56 of 64)
          r1lead: install-image: compute-sles10sp1: i3n8 (57 of 64)
          r1lead: install-image: compute-sles10sp1: i3n9 (58 of 64)
          r1lead: install-image: compute-sles10sp1: i3n10 (59 of 64)
          r1lead: install-image: compute-sles10sp1: i3n11 (60 of 64)
          r1lead: install-image: compute-sles10sp1: i3n12 (61 of 64)
          r1lead: install-image: compute-sles10sp1: i3n13 (62 of 64)
          r1lead: install-image: compute-sles10sp1: i3n14 (63 of 64)
          r1lead: install-image: compute-sles10sp1: i3n15 (64 of 64)
          r1lead: install-image: compute-sles10sp1 done.
          

          At this point, the compute nodes (blades) are ready to be powered up for the first time. They are configured to use the default compute node software image. For information on how to customize the compute node software images for your site, see “Customizing Software On Your SGI Altix ICE System” in Chapter 3.

        2. For instructions on how to configure, start, verify, or stop the InfiniBand Fabric management software on your Altix ICE system, see Chapter 4, “System Fabric Management”.


        Note: The InfiniBand fabric does not automatically configure itself. For information on how to configure and start up the InfiniBand fabric, see Chapter 4, “System Fabric Management”.


        Service Node Installation and Configuration

        Service nodes are discovered and deployed similar to rack leader controllers (leader nodes). The discover command, with the --service related commands, allow you to discover service nodes in the same discover operation that discovered the leader nodes.

        Like rack leader controllers, the service node is automatically installed. The service-image is used to install the service node.

        Unlike system admin controllers (admin nodes), eth0 on the service node connects to the Altix ICE network (like rack leader controllers). If you wish to have the service node on your house network, you need to configure the second Ethernet interface (eth1).

        The yast2-firstboot software does not start automatically on the system console after the first boot after installation (unlike the admin node). This is because the service node installation is a somewhat automated process. A configuration script called /opt/sgi/sbin/configure-service-node is available. This script is very simple and simply pops up a couple of dialog windows and then forces yast2-firstboot to start up in the current shell session.

        The pop-up dialog windows contain information about system management operations on the service node, as follows:

        • eth1 is the house network that you should configure in firstboot.

        • If you change the default host name, you need to make sure that the cluster service name is still resolvable as tools depend on that.

        • Name service configuration is handled by the secondary name server on the service nodes. Therefore, service node resolv.conf files need to always point at themselves for name service in order to resolve cluster names. If you wish to resolve host names on your "house" network, please use the configure-cluster command to configure the house name servers. This information is used to configure the SECONDARY name server on the service nodes so that it resolves house network names as well as cluster names.

          When you configure the service node, be sure the resolv.conf file always points at 127.0.0.1.

          Do not change resolv.conf and do not configure different name servers in yast.

        Configuring the Service Node

        This section describes how to configure a service node and covers the following topics:

        Service Node Configuration for NAT

        You may want to reach network services outside of your SGI Altix ICE 8200 system. For this type of access, SGI recommends using Network Address Translation (NAT), also known as IP Masquerading or Network Masquerading. Depending on the amount of network traffic and your site needs, you may want to have multiple service nodes providing NAT services.

        Procedure 2-4. Service Node Configuration or NAT

          To enable NAT on your service node, perform the following steps:

          1. Use the configuration tools provided on your service node to turn on IP forwarding and enable NAT/IP MASQUERADE.

            Specific instructions should be available in the third-party documentation provided for your storage node system. For service node running SUSE Linux Enterprise Server (SLES), there is documentation at /opt/sgi/docs/setting-up-NAT/README . This document describes how to get NAT working for both IB interfaces.


            Note: This file is only on the service node. You need to # ssh service0 and then from service 0 # cd /opt/sgi/docs/setting-up-NAT.


          2. Update the all of the compute node images with default route configured for NAT.

            SGI recommends a script on the system admin controller at /opt/sgi/share/per_host_customization/global/sgi-static-routes that can customize the routes based upon rack, IRU, and slot of the compute blade. Some examples are available in that script.

          3. Use the use the cimage --push-rack command to propagate the changes to the proper location for compute nodes to boot. For more information on using the cimage command, see “cimage Command” in Chapter 3 and “Customizing Software On Your SGI Altix ICE System” in Chapter 3.

          4. Use the cimage --set command to select the image

          5. Reboot/reset the compute nodes using that desired image.

          6. Once the service node(s) has NAT enabled, is attached to an operational house network, and the compute nodes are booted from an image which sets their routing to point at the service node, test the NAT operation by using the ping(8) command to ping known IP addresses on the house network from an interactive session on the compute blade.

          7. See the troubleshooting discussion that follows.

          Troubleshooting Service Node Configuration for NAT

          Troubleshooting can become very complex. The first steps are to determine that the service node(s) are correctly configured for the house network and can ping the house IP addresses. Good choices are house name servers possibly found in /etc/resolv.conf or /etc/named.conf files. Additionally, the default gateway addresses for the service node may be a good choice. You can use the netstat -rn command for this information, as follows:

          system-1:/ # netstat -rn
          Kernel IP routing table
          Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
          128.162.244.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
          172.16.0.0      0.0.0.0         255.255.0.0     U         0 0          0 eth1
          169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
          172.17.0.0      0.0.0.0         255.255.0.0     U         0 0          0 eth1
          127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
          0.0.0.0         128.162.244.1   0.0.0.0         UG        0 0          0 eth0

          If the ping command executed from the service node to the selected IP address gets responses, network monitoring tools such as tcpdump(1) should be used. On the service node, monitor the eth1 interface and simultaneously in a separate session monitor the ib[01] interface. You should specify monitoring specific-enough to not have additional noise then attempt execute a ping command from the compute node.

          Example 2-3. tcpdump Command Examples

          tcpdump -i eth1 ip proto ICMP # Dump ping packets on the public side of service node.
          tcpdump -i ib1 ip proto ICMP # Dump ping packets on the IB fabric side of service node.
          tcpdump -i eth1 port nfs # Dump NFS traffic on the eth1 side of service node.
          tcpdump -i ib1 port nfs # Dump NFS traffic on the eth1 side of service node.

          If packets do not reach the service nodes respective IB interface, perform the following:

          • Check the system admin controller's compute image configuration of the default route

          • Verify that this image has been pushed to the compute nodes

          • Verify that the compute nodes have booted with this image

          If the packets reach the service nodes IB interface, but do not exit the eth1 interface, verify the NAT configuration on the service node.

          If the packets exit the eth1 interface, but replies do not return, verify the house network configuration and that IP masquerading is properly configured so that the packets exiting the interface appear to be originating from the service node and not the compute node.

          Service Node Configuration for Gateway Operation

          You may chose to connect your compute nodes using routable addresses on the house network. This requires planning before the installation by reserving a large block of routable IP addresses on the house network and the correct steps early in installation.


          Note: Placing a fabric on the house network does make it more susceptible to bandwidth and latency fluctuations due to undesired or unexpected network traffic.


          Procedure 2-5. Service Node Configuration for Gateway Operation

            To connect your compute nodes using routable addresses on the house network, perform the following steps:

            1. Enter IP values into the configure-cluster script while you make sure to assign IP addresses in the routable range to the IB fabric(s) you desire.

              You can make either ib0, ib1, or both routable on the house network. Careful planning is required.

            2. After house network addresses are assigned, you need to use the service node(s) operating system tools to enable IP forwarding and configure the house routers or network infrastructure to route addresses for the desired fabrics through the desired service nodes.

              All of these steps are extremely site specific, therefore, you need to rely on your network administrators to set up this type of configuration.

            Service Node Configuration for DNS

            For information on setting up DNS, see “Installing Software on the System Admin Controller”.

            Service Node Configuration for NFS

            Assuming the installation has either NAT or Gateway operations configured on one or more service nodes, the compute nodes can directly mount the house NFS server's exports (see the exports(5) man page).

            Procedure 2-6. Service Node Configuration for NFS

              To allow the compute nodes to directly mount the house NFS server's exports, perform the following steps:

              1. Edit the system admin controller's /opt/sgi/share/per_host_customization/global/sgi-fstab file or alternatively an image-specific script. An example of the sgi-fstab file is, as follows:

                system-1-admin:/opt/sgi/share/per-host-customization/global # cat sgi-fstab
                #!/bin/sh
                #
                # Set up the compute node's /etc/fstab file.
                #
                # Modify per your sites requirements.
                #
                # This script is excecuted once per-host as part of the install-image operation
                # run on the leader nodes.  The full path to the per-host iru+slot directory is
                # passed in as $1, e.g. /var/lib/sgi/per-host//i2n11.
                #
                
                iruslot=$1
                
                cat <${iruslot}/etc/fstab
                #               tmpfs           /tmp            tmpfs   defaults        0       0
                EOF

              2. Add the mount point, push the image, and reset the node.

              3. The server's export should get mounted. If it is not, use the technique for troubleshooting outlined in “Troubleshooting Service Node Configuration for NAT”.

              Service Node Configuration for NIS for the House Network

              This section describes two different ways to configure a service node for NIS, as follows:

              • NIS with the compute nodes directly accessing the house NIS infrastructure

              • NIS with a service node as a NIS slave server to the house NIS master

              Assuming the installation has either Network Address Translation (NAT) or Gateway operations configured on one or more service nodes, the compute nodes can directly access the house NIS servers. Broadcast operations for discovering NIS servers do not typically work. Therefore, you need to configure the compute images with the IP address of the NIS server to which you want them to connect.

              Procedure 2-7. Service Node Configuration for NIS with the Compute Nodes Directly Accessing the House NIS Infrastructure

                To configure NIS on a compute node, perform the following steps:

                1. Clone a compute image which you would like to extend to use NIS (see “cimage Command” in Chapter 3 and “Customizing Software On Your SGI Altix ICE System” in Chapter 3).


                  Note: The default installation does not contain the ypbind package. You need to install it for use in your cloned image.


                2. Install the ypbind package using the operating system package manager.

                3. Use the operating system configuration tools to configure the ypbind software. See your operating system documentation for instructions on configuring ypbind for NIS operations and the ypbind(8) man page.

                4. Push this new image out to the compute nodes and reboot the system to test the configuration.

                5. If the compute blades fail to connect to the NIS server, use the technique for troubleshooting outlined in “Troubleshooting Service Node Configuration for NAT”.

                Procedure 2-8. NIS with a Service Node as a NIS Slave Server to the House NIS Master

                  To configure NIS with a service node as a NIS slave server to the house NIS master, perform the following steps:

                  1. Make sure your network administrator has authorized the service node to act as a slave server.

                  2. Use the service node operating system tools to configure the NIS slave server on the service node.

                  3. Use the ypwhich(1) command to verify that it shows localhost as the current server and ypcat(1) passwd looks consistent with what you expect.


                    Note: You may have some issues with configuration tools, such as, removing parts of the host name or IP for the server. This can be solved by creating a /etc/hosts record.


                  4. Install the ypbind package using the operating system package manager.

                  5. Use the operating system configuration tools to configure the ypbind software. See your operating system documentation for instructions on configuring ypbind for NIS operations and the ypbind(8) man page.

                  6. Push this new image out to the compute nodes and reboot the system to test the configuration.

                  7. If the compute blades fail to connect to the NIS server, use the technique for troubleshooting outlined in “Troubleshooting Service Node Configuration for NAT”.


                  Note: Multiple service nodes can be used as NIS slave servers.


                  Setting Up an NFS Home Server on a Service Node for Your Altix ICE System

                  These section describes how to make a service node an NFS home directory server for the compute nodes.


                  Note: Having a single, small server provide filesystems to the whole Altix ICE system could create network bottlenecks that the hierarchical design of Altix ICE is meant to avoid, especially if large files are stored there. Consider putting your home filesystems on an NAS file server. For instructions on how to do this, see “Service Node Configuration for NFS ”.


                  The instructions in this section assume you are using the service node image provided with the Tempo software. If you are using your own installation procedures or a different operating system, the instructions will not be exact but the approach is still appropriate.

                  When you are choosing a disk, please consider the following:

                  • The Tempo installation procedure overwrites data at /dev/sda. Keep /dev/sda exclusively for use by the system.

                  • Most administrators use /dev/sdb to house the home directories. Depending on your hardware, these devices may be single disks or RAIDs.

                  • This example uses sdb name here but sometimes disk ordering can be complicated. It is a good idea to ensure sdb matches the disk you really wish to use, then use filesystem LABELs to ensure the correct filesystem is mounted regardless of what letter it has.

                  Partitioning, Creating, and Mounting Filesystems

                  Procedure 2-9. Partitioning and Creating Filesystems for an NFS Home Server on a Service Node


                    Note: Steps 1 through 7 of this procedure are performed on the service node. Steps 8 and 9 are performed from the system admin controller (admin node).


                    To partition and create filesystems for an NFS home server on a service node, perform the following steps:

                    1. Use the parted(8) utility or some other partition tool to create a partition on /dev/sdb. The following example makes one filesystem out of the disk. You can use parted utility interactively or in a command-line driven manner.

                    2. Make a new msdos label, as follows:

                      # parted /dev/sdb mklabel msdos
                      

                    3. Find the size of the disk, as follows:

                      # parted /dev/sdb print
                      Disk geometry for /dev/sdb: 0kB - 500GB
                      Disk label type: msdos
                      Number  Start   End     Size    Type      File system  Flags
                      Information: Don't forget to update /etc/fstab, if necessary.
                      

                    4. Create a partition that spans the disk, as follows:

                      # parted /dev/sdb mkpart primary ext2 0 500GB

                    5. Create a filesystem on the disk. You can choose the filesystem type.


                      Note: The mkfs.ext3 command takes more than 10 minutes to create a single 500GB filesystem using default mkfs.ext3 options. If you do not need the number of inodes created by default, use the -N option to mkfs.ext3 or other options that reduce the number of inodes. The following example creates 20 million inodes. XFS filesystems can be created in much shorter time.


                      An ext3 example is, as follows:
                       # mkfs.ext3 -L mylabel -N 20000000 /dev/sdb1

                      An xfs example is, as follows:
                      # mkfs.xfs -L mylabel /dev/sdb1 


                      Note: SGI suggests using a label in this step with the -L parameter, as shown here in both examples.


                    6. Issue the following command to cause the /dev/disk/by-label device to be ready for use immediately and avoid rebooting after creating your home filesystem:

                      # udevtrigger

                    7. Add the newly created filesystem to the server's fstab file and mount it. Ensure that the new filesystem is exported and that the NFS service is running, as follows:

                      1. Append the following line to your /etc/fstab file.


                        Note: If you are using XFS, replace ext3 with xfs. Note here the LABEL= is used and not an actual device name.


                        LABEL=mylabel       /home   ext3    defaults        1       2

                      2. Add the /home filesystem to /etc/exports.


                        Note: You may wish to use a more secure export than shown here. See the exports (5) man page for information.


                        /home *(rw,sync,mountpoint=/home,no_subtree_check)

                      3. Make sure the NFS server service is enabled, as follows:

                        # chkconfig nfsserver on
                        # /etc/init.d/nfsserver restart

                    8. The following steps describe how to mount the home filesystem on the compute nodes, as follows:


                      Note: SGI recommends that you always work on clones of the SGI-supplied compute image so that you always have a base to copy to fall back to if necessary. For information on cloning a compute node image, see “Customizing Software Images” in Chapter 3.


                      1. Make a mount point in the blade image. In the following example, /home already is a mount point. If you used a different mount point, you need to do something similar to the following on the system admin controller. Note that the rest of the examples will resume using /home.

                        # mkdir /var/lib/systemimager/images/compute-sles10sp1-clone/my-mount-point

                      2. Add the /home filesystem to the compute nodes. SGI supplies an example script for managing this. You just need to add your new mount point to the sgi-fstab post-host-customization script.

                      3. Use a text editor to edit the following file:

                        /opt/sgi/share/per-host-customization/global/sgi-fstab

                      4. Insert the following line just before the "EOF" line in sgi-fstab file:

                        service-ib1:/home  /home           nfs     hard            0       0


                        Note: In order to maximize performance, SGI advises that the ib0 fabric be used for all MPI traffic. The ib1 fabric is reserved for storage related traffic.


                      5. Use the cimage command to push the update to the rack leader controllers serving each compute node, as follows:

                        # cimage --push-rack compute-sles10sp1-clone "r*"

                        Using --push-rack on an image that is already on the rack leader controllers has the simple affect of updating them with the change you made above. For more information on using the cimage, see “cimage Command” in Chapter 3.

                    9. When you reboot the compute nodes, they will mount your new home filesystem.

                    For information on centrally managed user accounts, see “Setting Up a NIS Server for Your Altix ICE System”. It describes NIS master set up. In this design, the master server residing on the service node provides the filesystem and the NIS slaves reside on the rack leader controllers. If you have more than one home server, you need to export all home filesystems on all home servers to the server acting as the NIS master. You also need to export the filesystems to the NIS master using the no_root_squash exports flag.

                    Home Directories on NAS

                    If you want to use NAS server for scratch storage or make home filesystems available on NAS, you can follow the instructions in “Setting Up an NFS Home Server on a Service Node for Your Altix ICE System”. In this example, you need to replace service-ib1 with the ib1 InfiniBand host name for the NAS server and you need to know where on the NAS server the home filesystem is mounted to craft the sgi-fstab script properly.

                    Setting Up a NIS Server for Your Altix ICE System

                    This section describes how to set up a network information service (NIS) server running SLES10 for your Altix ICE system. If you would like to use an existing house network NIS server, see “Service Node Configuration for NIS for the House Network”. This section covers the following topics:

                    Setting Up a NIS Server Overview

                    In the procedures that follow in this section, here are some of the tasks you need to perform and system features you need to consider:

                    • Make a service node the NIS master

                    • Make the rack leader controllers (leader nodes) the NIS slave servers

                    • Not make the system admin controller as the NIS master because it may not be able to mount all of the storage types. Having the storage mounted on the NIS master server makes it far less complicated to add new accounts using NIS.

                    • If multiple service nodes provide home filesystems, the NIS master should mount all remote home filesystems. They should be exported to the NIS master service node with the no_root_squash export option. The example in the following section assumes a single service node with storage and that same node is the NIS master.

                    • NIS synchronization traffic between NIS master and slave servers (leader nodes) goes over Infiniband connections when NIS maps are adjusted and pushed out.

                    • Service node NIS (besides NIS master) traffic goes over InfiniBand because of how host name resolution works.

                    • Compute node NIS traffic goes over Ethernet, not InfiniBand, by way of using a the lead-eth server name in the yp.conf file. This design feature prevents NIS traffic from affecting the InfiniBand traffic between the compute nodes.

                    Setting Up a Service Node as a NIS Master

                    This section describes how to set up a service node as a NIS master. This section only applies to service nodes running SLES10.

                    Procedure 2-10. Setting Up a Service Node as a NIS master

                      To set up a service node as a NIS master, perform the following steps:


                      Note: These instructions use the text-based version of YaST. The graphical version of YaST may be slightly different.


                      1. Start up YaST, as follows:

                        # yast nis_server

                      2. Choose Create NIS Master Server and click on Next to continue.

                      3. Choose an NIS domain name and place it in the NIS Domain Name window. This example, uses ice.

                        1. Select This host is also a NIS client.

                        2. Select Active Slave NIS server exists .

                        3. Select Fast Map distribution.

                        4. Select Allow changes to passwords .

                        5. Click on Next to continue.

                      4. Set up the NIS master server slaves.


                        Note: You are now in the NIS Master Server Slaves Setup. Just now, you can enter the already defined rack leader controllers (leader nodes) here. If you add more leader nodes or re-discover leader nodes, you will need to change this list. For more information, see “Tasks You Should Perform After Changing a Rack Leader Controller ”.


                      5. Select Add and enter r1lead-ib1 in the Edit Slave window. Enter any other rack leader controllers you may have just like above. Click on Next to continue.


                        Note: This example uses r1lead-ib1 because r1lead would not resolve to anything on a service node.


                      6. You are now in NIS Server Maps Setup . The default selected maps are okay. Avoid using the hosts map (not selected by default) because can interfere with Altix ICE system operations. Click on Next to continue.

                      7. You are now in NIS Server Query Hosts Setup. Use the default settings here. However, you may want to adjust settings for security purposes. Click on Next to continue.

                        At this point, the NIS master is configured. Assuming you checked the This host is also a NIS client box, the service node will be configured as a NIS client to itself and start yp ypbind for you.

                      Setting Up a Service Node as a NIS Client

                      This section describes how to use YaST to set up your other service nodes to be broadcast binding NIS clients. This section only applies to service nodes running SLES10.


                      Note: You do not do this on the NIS Master service node that you already configured as a client in “Setting Up a Service Node as a NIS Master”.


                      Procedure 2-11. Setting Up a Service Node a as NIS Client

                        To set up a service node as a NIS client, perform the following steps:

                        1. Enable ypbind, perform the following:

                          # chkconfig ypbind on 

                        2. Set the default domain (already set on NIS master). Change ice (or whatever domain name you choose above) to be the NIS domain for your Altix ICE system, as follows:

                          # echo "ice" > /etc/defaultdomain

                        3. Set up the service node to broadcast bind by creating this simple yp.conf file, as follows:

                          # echo "broadcast" > /etc/yp.conf

                        4. Start the ypbind service, as follows:

                          # rcypbind start

                          The service node is now bound.

                        5. Add the NIS include statement to the end of the password and group files, as follows:

                          # echo "+:::" >> /etc/group
                          # echo "+::::::" >> /etc/passwd
                          # echo "+" >> /etc/shadow

                        Setting up a Rack Leader Controller as a NIS Slave Server and Client

                        This section provides two sets of instructions for setting up rack leader controllers (leader nodes) as NIS slave servers. One set of instructions uses YaST, the other uses a set of commands that could be scripted if you so choose. It is possible to make all these adjustments to the leader image in /var/lib/systemimager/images. Currently, SGI does not recommend using this approach.


                        Note: Be sure the InfiniBand interfaces are up and running before proceeding because the rack leader controller gets its updates from the NIS Master over the InfiniBand network. If you get a "can't enumerate maps from service0" error, check to be sure the InfiniBand network is operational.


                        Procedure 2-12. Setting up a Rack Leader Controller as a NIS Slave Server and Client

                          Use the following set of commands to set up a rack leader controller (leader node) as a NIS slave server and client.


                          Note: Replace ice with your NIS domain name and service0 with the service node you set up as the master server.


                          # cexec --head chkconfig ypserv on
                             # cexec --head chkconfig ypbind on
                             # cexec --head chkconfig portmap on
                             # cexec --head chkconfig nscd on
                             # cexec --head rcportmap start
                             # cexec --head "echo ice > /etc/defaultdomain"
                             # cexec --head "ypdomainname ice"
                             # cexec --head "echo ypserver 127.0.0.1 > /etc/yp.conf"
                             # cexec --head "echo +::: >> /etc/group"
                             # cexec --head "echo +:::::: >> /etc/passwd"
                             # cexec --head "echo + >> /etc/shadow"
                             # cexec --head /usr/lib/yp/ypinit -s service0
                             # cexec --head rcportmap start
                             # cexec --head rcypserv start
                             # cexec --head rcypbind start
                             # cexec --head rcnscd start

                          Setting up the Compute Nodes to be NIS Clients

                          This section describes how to set up the compute nodes to be NIS clients. You an configure NIS on the clients to use a server list that only contains the their rack leader controller (leader node). All operations are performed from the system admin controller (admin node).

                          Procedure 2-13. Setting up the Compute Nodes to be NIS Clients

                            To set up the compute nodes to be NIS clients, perform the following steps:

                            1. Create a compute node image clone. SGI recommends that you always work with a clone of the compute node images. For information on how to clone the compute node image, see “Customizing Software Images” in Chapter 3.

                            2. Change the compute nodes to use the cloned image/kernel pair, as follows:

                              # cimage --set compute-sles10sp1-clone 2.6.16.46-0.12-smp "r*i*n*"

                            3. Set up the NIS domain, as follows ( ice in this example):

                              # echo "ice" > /var/lib/systemimager/images/compute-sles10sp1-clone/etc/defaultdomain

                            4. Set up compute nodes to get their NIS service from their rack leader controller (fix the domain name as appropriate), as follows:

                              # echo "ypserver lead-eth" > /var/lib/systemimager/images/compute-sles10sp1-clone/etc/yp.conf

                            5. Enable the ypbind service, using the chroot command, as follows:

                              # chroot /var/lib/systemimager/images/compute-sles10sp1-clone chkconfig ypbind on

                            6. Set up the password, shadow, and group files with NIS includes, as follows:

                              # echo "+:::" >> /var/lib/systemimager/images/compute-sles10sp1-clone/etc/group
                              # echo "+::::::" >> /var/lib/systemimager/images/compute-sles10sp1-clone/etc/passwd
                              # echo "+" >> /var/lib/systemimager/images/compute-sles10sp1-clone/etc/shadow

                            7. Push out the updates using the cimage command, as follows:

                               # cimage --push-rack compute-sles10sp1-clone "r*"

                            NAS Configuration for Multiple IB Interfaces

                            The NAS cube needs to get configured with each InfiniBand fabric interface in a separate subnet. These fabrics will be separated from each other logically, but attached to the same physical network. For simplicity, this guide assumes that the -ib1 fabric for the compute nodes has addresses assigned in the 10.149.0.0/16 network. This guide also assumes the lowest address the cluster management software has used is 10.149.0.1 and the highest is 10.149.1.3 (already assigned to the NAS cube).

                            For the NAS cube, you need to configure the large physical network into four, smaller subnets, each of which would be capable of containing all the nodes and service nodes. It will have subnets 10.149.0.0/18 , 10.149.64.0/18, 10.149.128.0/18 , and 10.149.192.0/18.

                            After the discovery of the storage node has happened, SGI personnel will need to log onto the NAS box and change the network settings to use the smaller subnets, and then define the other three adapters with the same offset within the subnet; for example: Initial configuration of the storage node had set ib0 fabric's IP to 10.149.1.3 netmask 255.255.0.0. After the addresses are changed, ib0=10.149.1.3:255.255.192.0, ib1=10.149.65.3:255.255.192.0 , ib2=10.149.129.3:255.255.192.0, ib3=10.149.193.3:255.255.192.0 . The NAS cube should now have all four adapter connections connected to the fabric with IP addresses which can be pinged from the service node.


                            Note: The service nodes and the rack leads will remain in the 10.149.0.0/16 subnet.


                            For the compute blades, log into the admin node and modify /opt/sgi/share/per-host-customization/global/sgi-setup-ib-configs file. Following the line iruslot=$1, insert:

                            # Compute NAS interface to use
                            IRU_NODE=`basename ${iruslot}`
                            RACK=`cminfo --rack`
                            RACK=$(( ${RACK} - 1 ))
                            IRU=`echo ${IRU_NODE} | sed -e s/i// -e s/n.*//`
                            NODE=`echo ${IRU_NODE} | sed -e s/.*n//`
                            POSITION=$(( ${IRU} * 16 + ${NODE} ))
                            POSITION=$(( ${RACK} * 64 + ${POSITION} ))
                            NAS_IF=$(( ${POSITION} % 4 ))
                            NAS_IPS[0]="10.149.1.3"
                            NAS_IPS[1]="10.149.65.3"
                            NAS_IPS[2]="10.149.129.3"
                            NAS_IPS[3]="10.149.193.3"

                            Then following the line $iruslot/etc/opt/sgi/cminfo add:

                            IB_1_OCT12=`echo ${IB_1_IP} | awk -F "." '{ print $1 "." $2 }'`
                            IB_1_OCT3=`echo ${IB_1_IP} | awk -F "." '{ print $3 }'`
                            IB_1_OCT4=`echo ${IB_1_IP} | awk -F "." '{ print $4 }'`
                            IB_1_OCT3=$(( ${IB_1_OCT3} + ${NAS_IF} * 64 ))
                            IB_1_NAS_IP="${IB_1_OCT12}.${IB_1_OCT3}.${IB_1_OCT4}"

                            Then change the IPADDR='${IB_1_IP}' and NETMASK='${IB_1_NETMASK}' lines to the following:

                            IPADDR='${IB_1_NAS_IP}'
                            NETMASK='255.255.192.0'

                            Then add the following to the end of the file:

                            # ib-1-vlan config
                            cat << EOF >$iruslot/etc/sysconfig/network/ifcfg-vlan1
                            # ifcfg config file for vlan ib1
                            BOOTPROTO='static'
                            BROADCAST=''
                            ETHTOOL_OPTIONS=''
                            IPADDR='${IB_1_IP}'
                            MTU=''
                            NETMASK='255.255.192.0'
                            NETWORK=''
                            REMOTE_IPADDR=''
                            STARTMODE='auto'
                            USERCONTROL='no'
                            ETHERDEVICE='ib1'
                            EOF
                            if [ $NAS_IF -eq 0 ]; then
                                rm $iruslot/etc/sysconfig/network/ifcfg-vlan1
                            fi

                            To update the fstab for the compute blades, edit /opt/sgi/share/per-host-customization/global/sgi-fstab file. Perform the equivalent steps as above to add the # Compute NAS interface to use section into this file. Then to specify mount points, add lines similar to the following example:

                            # SGI NAS Server Mounts
                            ${NAS_IPS[${NAS_IF}]}:/mnt/data/scratch     /scratch nfs    defaults 0 0

                            Tasks You Should Perform After Changing a Rack Leader Controller

                            If you add or remove a rack leader controller (leader node), for example, if you use discover command to discover a new rack of equipment, you will need to configure the new rack leader controller to be an NIS slave server as described in “Setting Up a Service Node as a NIS Client”.

                            In addition, you need to add or remove the leader from the /var/yp/ypservers file on NIS Master service node. Remember to use the -ib1 name for the leader, as service nodes cannot resolve r2lead style names. For example, use r2lead-ib1.

                            # cd /var/yp && make

                            Creating User Accounts

                            The example used in this section assumes that the home directory is mounted on the NIS Master service and that the NIS master is able to create directories and files on it as root. The following example use command line commands. You could also create accounts using YaST.

                            Procedure 2-14. Creating User Accounts on a NIS Server

                              To create user accounts on the NIS server, perform the following steps:

                              1. Log in to the NIS Master service node as root.

                              2. Issue a useradd command similar to the following:

                                # useradd -c "Joe User" -m -d /home/juser juser

                              3. Provide the user a password, as follows:

                                # passwd juser

                              4. Push the new account to the NIS servers, as follows:

                                # cd /var/yp && make

                              Installing SGI Tempo Patches and Updating SGI Altix ICE Systems

                              This section describes how to update the software on an SGI Altix ICE system.

                              Overview

                              SGI supplies updates to SGI Tempo software via the SGI update server at https://update.sgi.com/. Access to this server requires a Supportfolio login and password. Access to SUSE Linux Enterprise Server updates requires a Novell login account and registration.

                              The initial installation process for the SGI Altix ICE system set up a number of package repositories in the /tftpboot directory on the admin node. The SGI Tempo related packages are in the /tftpboot/oscar directory and SUSE Linux Enterprise Linux (SLES) packages are in the /tftpboot/distro/sles-10-x86_64 directory.

                              When SGI releases updates, you may run a script or the wget(1) command to download the updated packages (for example, patches) to the appropriate package repository in /tftpboot directory and then update the repository metadata.

                              Once the local repositories contain the updated packages, it is possible to update the various SGI Altix ICE admin, leade, and managed service node images using the yum(8) command. The yum update and yum install commands are used for all updates, including updates to existing images.

                              If you are upgrading from SGI ProPack 5 SP2 to SGI ProPack 5 SP3, and have never set the system up to retrieve online updates, you will have to follow the instructions documented on this web page: https://update.sgi.com/sles/SGI-ProPack/5/x86_64/tempo/docs/ice_patch_doc.txt and upgrade using the online update mechanism; just like you would do to get the latest patches. SGI does not support going from SGI ProPack 5 SP2 GA with no patches installed to SGI ProPack 5 SP3 because the update mechanism might not be set up.

                              For additional information on updating your system, see “Upgrading from SGI ProPack 5 SP2 to SGI ProPack 5 SP3 ”.

                              There is a small amount of preparation required, in order to setup an SGI Altix ICE system, so that updated packages can be downloaded from the SGI update server and then installed with the yum command.

                              This following sections describe these steps:

                              Configure Admin Node to Manage Updates

                              In order to prepare the SGI Altix ICE system to download and install updated packages, you first need to manually upgrade the sgi-admin-node and sgi-cluster packages on the admin node. These packages contain scripts and tools for managing updates.


                              Note: The SGI Altix ICE systems pre-installed by SGI will already have versions of the sgi-admin-node and sgi-cluster packages that meet the minimum requirements. Check to see if the package versions installed on your admin node are the same or newer than those mentioned below. If you are re-installing an SGI Altix ICE system using the initial SGI Altix ICE System Installation Media (part number 811-1251-001), you will need to follow this procedure.


                              Do not attempt to configure an admin node for updates before you have performed the steps in the configure-cluster script. The configure-cluster script must be run first because it creates the initial repositories described in the “Overview”. It is possible to prepare the admin node for updates before discovering cluster components as long as the steps in the configure-cluster script has completed successfully.

                              To download and install the sgi-admin-node and sgi-cluster packages, perform the following steps:

                              1. Download the sgi-admin-node-1.0-sgi502rp10.noarch.rpm and sgi-cluster-1.0-sgi502rp6.noarch.rpm packages from https://update.sgi.com/sles/SGI-ProPack/5/x86_64/tempo/common-rpms/ using a web browser or the wget(8) command. Save the packages in the /tftpboot/oscar/common-rpms directory. You will need to provide your Supportfolio user name and password.

                              2. As root, run the following commands:

                                # cd /tftpboot/oscar/common-rpms
                                       # rpm -Fvh sgi-admin-node* sgi-cluster*

                              Once the sgi-admin-node and sgi-cluster update packages are installed, you will have everything you need to update the local package repositories on your admin node with the latest updates for SGI Tempo, SGI ProPack and SLES.

                              A copy of update instructions are also available at https://update.sgi.com/sles/SGI-ProPack/5/x86_64/tempo/docs/ice_patch_doc.txt that you can download to your system admin controller for quick reference.

                              Update the Local Package Repositories on the Admin Node

                              This section explains how to update the local product package repositories needed to share updates on all of the various nodes on an SGI Altix ICE system.

                              Update the SGI Package Repositories on the Admin Node

                              SGI provides an example script called sync-repo-updates to help keep your local package repositories on the admin node synchronized with available updates for the SGI Tempo, SGI ProPack and SLES products. You can use this script directly or use it as a template to develop more customized solutions. The script is located in /opt/sgi/sbin/sync-repo-updates on the admin node.

                              The sync-repo-updates script requires two parameters; your Supportfolio user name and password. Using that information, the script contacts SGI's update server and downloads the updated packages into the appropriate local package repositories. If you installed and configured the yup tool as described in “Update the SLES Package Repository”, the sync-repo-updates script will also download any updates to SLES from the Novell update server. When all package downloads are complete, the script runs the yume command to update the repository metadata.

                              Once the script completes, the local package repositories on the admin node should contain the latest available package updates and be ready to use with the yum(8) command to update node images.


                              Note: If you manually add updates to any of the local package repositories on the admin node, remember to run the yume --prepare --repo command to update the package repository metadata. Failure to do so, will cause the yum command to report checksum failures


                              “Update the SLES Package Repository” contains further details on using the sync-repo-updates script to get SLES package updates. The sync-repo-updates script will only try to get updates if certain conditions are met, so it's safe to use the script to update the local SGI Tempo and SGI ProPack repositories before completing the tasks listed in that section.

                              Update the SLES Package Repository

                              As described in “Update the SGI Package Repositories on the Admin Node”, it is possible to download updates for SUSE Linux Enterprise Server to the local SLES package repository on the admin node. Tools like YaST Online Update and rug(1) are designed to update a running system, but not well suited to managing a repository of packages for use within a clustered environment.

                              You can use the yup(1) tool to mirror the update packages from Novell's update servers. This tool is not provided as part of the SLES10 operating system release, but is provided as part of the SLE10 SDK. SGI recommends that you use the latest version of yup before attempting to mirror SLES10 SP1 updates. SGI tested with version 222-2.4, which can be downloaded directly from Novell and installed on the admin node with the following steps:

                              1. Point your web browser to support.novell.com and login using your Novell account username and password.

                              2. Select Download - Patches in the Self Support section.

                              3. Search for yup in the Linux Updates and Patches section.

                              4. Click the Download button for the entry labeled as Recommended update for yup x86_64 07/10/07; the file name is yup-2220-2.4.noarch.rpm

                              5. Click the proceed to download button and then the download button.

                              6. As root user on the admin node, run the following command:

                                # rpm -ivh yup-2220-2.4.noarch.rpm

                              The yup tool stores packages downloaded from the Novell update server in a directory structure that is not compatible with the local SGI Tempo, SGI ProPack and SLES package repositories located on the admin node. After yup is run, the packages need to be copied to the appropriate SLES repository.

                              If you plan to use the SGI-supplied /opt/sgi/sbin/sync-repo-updates script to keep repositories up to date, you will see that it copies the packages retrieved via yup in to the appropriate SLES package repository and then updates the repository metadata. If you plan to use your own customized scripts, please use the sync-repo-updates script, as an example.

                              Before you can download packages via yup, you must register the admin node with Novell. The following steps explain how to register the admin node with Novell using YaST, although the general steps are the same for graphical yast2:

                              1. Run the /sbin/yast command and select Software -> Novell Customer Center Configuration

                              2. You will be prompted to enter your email address and registration code, if you have it.


                                Note: If you do not have your registration code(s) handy, you may proceed and Novell will provide you with temporary access; however, you will need to register your SLES purchase in the Novell Customer Center (http://www.novell.com/center ) in order to continue to get access to updates. If you already have a Novell account, use the email address associated with your Novell account here.

                                Sometimes the registration process will error out with a "failed to contact the server" message. This is due to an issue with unknown/untrusted key error caused by the manner in which the initial admin node images are created. Repeat step 3, you will not have to fill in the field forms again, and then yast will prompt you to import the keys. Once the keys are imported, you should be able to complete this step.


                              3. As part of the registration process, yast will add an install source for updates. DO NOT TRY TO USE YaST ONLINE UPDATE. At the end of the Novell Customer Center Configuration module, yast will display information on how to create a Novell account. If you do not already have a Novell account, go create one per the instructions.

                              Now that you have created a Novell account and registered your admin node with Novell, you can configure yup to mirror the SLES update packages. The following instructions cover only the essential steps required to mirror the SLES updates; the yup man pages have more detailed information on available options:

                              1. Edit /etc/sysconfig/yup file and modify the following variables:

                                • YUP_DEST_DIR

                                  Set this variable to /var/spool/yup-updates. This value is referenced by the /opt/sgi/sbin/sync-repo-updates script.

                                • YUP_ID

                                  Paste the contents of the /etc/zmd/deviceid file into this variable.

                                • YUP_PASS

                                  Paste the contents of the /etc/zmd/secret file into this variable.

                                • YUP_ARCH

                                  Set this variable to x86_64.

                                • YUP_SUBVERSIONS

                                  Set this variable to SP1.

                              2. Create the yup directory referenced above with the following command:

                                 # mkdir /var/spool/yup-updates

                                The yup command downloads packages to the /var/spool/yup-updates directory. The sync-repo-updates script moves the SLES packages from that directory into the /tftpboot/distro/sles-10-x86_64 directory so that the local SLES package repository on the admin node contains the updated packages.

                              3. Execute the /opt/sgi/sbin/sync-repo-updates script or run yup manuall.

                                The sync-repo-updates script should now be able to download SLES updates directly from the update server of Novell and update the local SLES package repository on the admin node so that you can use the yum command to install or update SLES packages throughout the node.


                                Note: The variables in /etc/sysconfig/yup are important because by default you will only have access to the SLES updates for x86_64 by default. Setting YUP_ARCH or YUP_SUBVERSIONS variables incorrectly can lead to 403/permission denied errors. The yup may also error out when accessing SLES10-SP1-Online files; it is safe to ignore that error.


                              Update Admin Node with Newer Packages

                              To install updates on the admin node, run the following command as root on the admin node:

                              # yum update

                              Because SGI pre-installs certain package updates on systems before they leave the factory, there may not be any package updates updates for the admin node.

                              To install the SGI Altix ICE System Administrator's Guide and other SGI ProPack related documentation, run the following command:

                              # yum install sgi-propackdocs

                              Configure Leader, Service, and Compute Images to Manage Updates

                              This sections explain how to configure existing node images in the /var/lib/systemimager image directories and node images in use on live nodes so that you can install update packages for the SGI Tempo, SGI ProPack and SLES products.

                              If you want to quickly configure node images already running on a live system so that you can update packages on those nodes right away, start with “Prepare Running Leader and Managed Service Nodes for Updates”. If you would rather configure images in the image directories first so that you can update them before re-deploying those images to the system nodes, skip down to “Prepare Existing Images for Updates”.

                              Prepare Running Leader and Managed Service Nodes for Updates

                              If you already have deployed leader and/or service nodes that you do not wish to re-discover, you can prepare them for updates while the nodes are running. Just like SGI-supplied images on systems pre-installed by SGI, running leader and service nodes may already be prepared for updates. In this case, the setup-for-updates script will report that fact and exit. Also, note that if you updated the leader and service node images on the admin node before running node discovery, the images running on the nodes will already be up to date.

                              The following commands show how to prepare a running lead node image for updates:

                              # scp /opt/sgi/sbin/setup-for-updates r1lead:/tmp
                              # ssh r1lead /tmp/setup-for-updates -r

                              The following commands show how to prepare a running managed service node for updates:

                              # scp /opt/sgi/sbin/setup-for-updates service0:/tmp
                              # ssh service0 /tmp/setup-for-updates -r

                              The images on these nodes will allow you to use the yum command to update or install update packages from the local package repositories on the admin node.

                              Prepare Existing Images for Updates

                              The setup-for-updates script is used to prepare images and nodes for updates by installing yum and an updated version of the sgi-cluster package.


                              Note: If you are managing an admin node that was pre-installed by SGI, the images and nodes may already be setup properly for updates. If you are installing an admin node and/or your entire SGI Altix ICE system from scratch, you should follow the instructions in this section.


                              If the nodes or images are already setup to handle updates, the setup-for-updates script will safely exit. The script will prepare all SGI- supplied images for updates by installing yum and updating the sgi-cluster package if it does not meet the minimum requirements.


                              Note: Updating an image and updating a node are not synonymous. To have leader and managed service nodes use an updated image, you must either re-discover the components or update the nodes while they are running (see section "5.1 Update Packages on Running Leader and Managed Service Nodes" for more details). To update the compute node image, you must use the cimage command to deploy the changes to the compute image on the admin node.


                              The following examples illustrate how to use the setup-for-updates script to prepare existing images for updates:

                              # setup-for-updates -i /var/lib/systemimager/images/lead-sles10sp1/
                              # setup-for-updates -i /var/lib/systemimager/images/service-sles10sp1/
                              # setup-for-updates -i /var/lib/systemimager/images/compute-sles10sp1/

                              For more information about using cimage to manage compute images, “cimage Command” in Chapter 3. The cimage --help command also provides some help text.

                              Update Leader, Service, and Compute Node Images with Newer Packages

                              The following sections explain how to update leader, service and compute node images in the /var/lib/systemimager image directories with newer packages, how to update leader and service node images in use on live nodes with new packages and the additional steps required when updating the kernel package on compute node images.

                              If you want to quickly install the latest updates to the node images already running on a live system, start with “Update Packages on Running Leader and Managed Service Nodes”. If you would rather install the latest update packages to node images in the image directories first and then redeploy those images to the system nodes, go to “Update Packages Inside Images”.

                              Update Packages on Running Leader and Managed Service Nodes

                              It is possible to update live images running on leader and managed service nodes using the yum command.


                              Note: Changes made to live node images are not reflected in the node images in the /var/lib/systemimager/images/{image}-sles10sp1 image directories. This means that changes made to live images may not get carried forward the next time you add or re-discover leader and/or service nodes.


                              The following examples show how to update a live leader node and/or managed service node using the yum command:

                              # ssh r1lead yum update   (update live leader node)
                              # ssh service0 yum update      (update live service node)

                              Update Packages Inside Images

                              If you have not already prepared your images for updates as described in sections “Prepare Existing Images for Updates” and/or “Prepare Running Leader and Managed Service Nodes for Updates”, go back and complete those steps first.

                              Assuming you have prepared your images for updates, there are couple different ways to update packages inside images.

                              SGI provides the yum-image-wrapper script, which makes using the yum command inside an image directory fairly straight forward. You can use the script directly, or use the script as a template for a more customized solution.


                              Note: Changes to the kernel package inside the compute image directory require some additional steps before the new kernel can be used on compute nodes (see section "5.3 Additional Steps for Compute Image Kernel Updates" for more details). This note does not apply to leader or managed service nodes.


                              The following examples show how to upgrade the packages inside three SGI- supplied node images :

                              # yum-image-wrapper /var/lib/systemimager/images/lead-sles10sp1 update
                              # yum-image-wrapper /var/lib/systemimager/images/service-sles10sp1 update
                              # yum-image-wrapper /var/lib/systemimager/images/compute-sles10sp1 update


                              Note: Changes to the compute image on the admin node are not seen by the compute nodes until the updates have been pushed to the leader nodes with the cimage command. Updating leader and managed service node images ensure that the next time you add or re-discover a leader or service node, it will already contain the updated packages.


                              While not recommended, it is possible to manually perform all the steps the yum-image-wrapper does for you. The following series of steps will walk you through the manual process:

                              1. Use the chroot command to start a shell within the image.

                              2. Perform the following steps:

                                1. Add an entry for the admin node to /etc/hosts in the compute image; without this, the yum command will fail inside the chroot; this issue only affects compute images, not leader or service node images.

                                2. Mount /proc in the chroot; the yum command requires this.

                                3. Mount /sys in the chroot; certain packages require this before they can be installed/updated.

                                4. Create a dummy /etc/fstab file; this is required when updating kernel packages; mkinitrd, which runs whenever a kernel package is updated, requires /etc/fstab in order to complete.

                              3. Use the yum command to update the packages in the chroot.

                              It is also possible to use standard rpm (8) commands to update images. This can be quite cumbersome depending on the number of images you need to update and the number of packages you intend to update. The steps are as follows:

                              1. Copy the update packages you want to use in to the image directory in /var/lib/systemimager/images/{image}-sles10sp1.

                              2. Use the chroot command to start a shell within the root tree.

                              3. Install/update packages using standard rpm commands; certain packages require /sys to be mounted in the chroot, so you may have to mount /sys in order to work around any failures.

                              In general, SGI recommends using the yum-image-wrapper script to update the node images in the image directory.

                              Additional Steps for Compute Image Kernel Updates

                              Any time a compute image is updated with a new kernel, you will need to run some additional steps in order to make the new kernel available. The following example assumes that the compute node image name is compute-sles10sp1 and that you have already updated the compute node image in the image directory per the instructions in “Update Packages Inside Images”. If you have named your compute node image something other than compute-sles10sp1, replace this in the example that follows:

                              1. Shut down any compute nodes that are running the compute-sles10sp1 image (see “Power Management Commands” in Chapter 3).

                              2. Push out the changes with the cimage --push-rack command, as follows:

                                 # cimage --push-rack compute-sles10sp1 r\* 

                              3. Update the database to reflect the new kernel in the compute-sles10sp1, as follows:

                                # cimage --del-db compute-sles10sp1
                                       # cimage --add-db compute-sles10sp1

                              4. Verify the available kernel versions and select one to associate with the compute-sles10sp1 image, as follows:

                                 # cimage --list-images

                              5. Associate the compute nodes with the new kernel/image pairing, as follows:

                                # cimage --set compute-sles10sp1 2.6.16.46-0.12-smp "r*i*n*"


                                Note: Replace 2.6.16.46-0.12-smp with the actual kernel version.


                              6. Reboot the compute nodes with the new kernel/image.

                              Upgrading from SGI ProPack 5 SP2 to SGI ProPack 5 SP3

                              For information on upgrading your system from SGI ProPack 5 Service Pack 2 to SGI ProPack 5 Service Pack 3, see the release notes. The SGI ProPack 5 SP3 release notes can be found in a file named README.TXT that is available in /docs directory on the SGI ProPack 5 for Linux Service Pack 3 CD.

                              The SGI ProPack 5 for Linux release notes get installed to the following location on a system running SGI ProPack 5 SP3:/usr/share/doc/packages/sgi-propack-5/README.txt