How to setup the Sun Fire X2100 IPMI device

1.  You will need the Supplement CD which sun provides.  It will be on their website at:

        http://www.sun.com/servers/entry/x2100/downloads.jsp

    Get the latest (1.3) supplemental software.  Make an ISO image of this so
     you can boot off the cd onto the nodes to set up your ipmi.

2.  Once you have the supplement CD created go to each of the nodes:

     - Plug in the USB cdrom
     - Boot the node
     - Change the BIOS to boot off CDROM first
     - Boot CDROM -
          1. If you need to update the system BIOS choose option 2
                Flash the System BIOS
          2.  Once that is complete reboot the system
         
3.  Configure the IPMI card:

      - Reboot the node
      - Make sure your network for the management card is plugged into the
         private network - choice eth1 on a private subnet to your cluster.
      -  Boot the node
      -    Choice option  4  (This will exit you to DOS)
            DOS>  cd flash\bios\latest\ipmi
            DOS>   dir
            DOS>   util /rom=xxfls.bin                # This rom name will be the name of the file you see
                                                      # from the dir command above.  Use that name (412fls.bin i.e.)
            DOS>   util
                      Choose Lan                   # to configure the lan
 
                        Hit the tab key to select edit if you want to modify it.
                        Once "EDIT" is highlighted hit enter
                         Modify the IP address:  10.2.0.xx
                         Modify the Netmask :    255.255.255.0
                        
                         Esc to exit
                       
                      Choose User name and Password
   
                         Hit the tab key to select EDIT if you want to modify it.
                         Once EDIT is highlighted hit enter
                            Modify Admin users password - you select
                         Esc to exit
                Esc to exit everything

4.  Reboot the system

5. Make sure the master node has a network route to the IPMI subnet (10.2.xx.xx):

       ifconfig eth1:2 net 10.2.0.63 netmask 255.255.0.0 up

6.  Ping the ipmi interface - If this works we are in business.  If not then we have a problem.

7.  Commands you can run to see the IPMI tools:

          NOTE:  Please use these wisely.

  ipmiloop.sh -   this will run the ipmiwrapper.sh script and produce the information for all
                  the ipmi hosts found in /etc/hosts.ipmi.
 
  ipmiwrapper.sh - the actual command using ipmitool and will take the input from the ipmiloop.sh command.

    Here are the commands that you can use for the IPMI:
 
       ipmitool -I lan -U Admin -P "xxxxxx" -H <ipmi-host>


               Commands:
        raw           Send a RAW IPMI request and print response
        i2c           Send an I2C Master Write-Read command and print response
        lan           Configure LAN Channels
        chassis       Get chassis status and set power state
        event         Send pre-defined events to MC
        mc            Management Controller status and global enables
        sdr           Print Sensor Data Repository entries and readings
        sensor        Print detailed sensor information
        fru           Print built-in FRU and scan SDR for FRU locators
        sel           Print System Event Log (SEL)
        pef           Configure Platform Event Filtering (PEF)
        sol           Configure IPMIv2.0 Serial-over-LAN
        isol          Configure IPMIv1.5 Serial-over-LAN
        user          Configure Management Controller users
        channel       Configure Management Controller channels
        session       Print session information
        sunoem        OEM Commands for Sun servers
        exec          Run list of commands from file
        set           Set runtime variable for shell and exec


  To check the chassis power do the following: 

       
 #  ./ipmiloop.sh chassis power status
  
  Output will look like:

         === node0000-ipmi ===
         Chassis Power is on
         === node0001-ipmi ===
         Chassis Power is on
         === node0002-ipmi ===
         Chassis Power is on
         === node0003-ipmi ===
         Chassis Power is on
         === node0004-ipmi ===
         Chassis Power is on
         === node0005-ipmi ===
         Chassis Power is on
         === node0006-ipmi ===
         Chassis Power is on


  To power off/on/cycle do the following:

  # ./ipmitool.sh chassis power [off|on|cycle]    - you choose which one.

  To do a singe node do the following:

      ./ipmiwrapper.sh <ipmi-host> <command>

To see more information about the ipmi tools read the manpage ipmitool on the master node.