IPMI on Sun servers
ArielGlenn (Talk | contribs) |
ArielGlenn (Talk | contribs) |
||
| Line 5: | Line 5: | ||
Our Sun servers are currently either in the esams location or in pmtpa. In order to access the IPMI interface on these hosts you choose one of the two methods according to the location: | Our Sun servers are currently either in the esams location or in pmtpa. In order to access the IPMI interface on these hosts you choose one of the two methods according to the location: | ||
| − | Hosts in pmtpa (includes ms1 through ms5) | + | Hosts in pmtpa (includes ms1 through ms5 and db11-db30, with the exceptions of db22, db29 and db30) |
*Be on a host in pmtpa | *Be on a host in pmtpa | ||
| Line 19: | Line 19: | ||
This will drop you at the '''->''' prompt. | This will drop you at the '''->''' prompt. | ||
| − | Basic commands | + | === Basic commands === |
*exit -- leave the command line interface and exit the session | *exit -- leave the command line interface and exit the session | ||
*show /SP -- show information available from the serial port | *show /SP -- show information available from the serial port | ||
| − | *... | + | *start /SP/console -- connect to the host on the serial port (should give you the regular Solaris login prompt) |
| + | *: exit the console session with ESC ( (it will tell you this when the session starts as well) | ||
| + | *start /SYS -- power on the host | ||
| + | *stop /SYS -- power off the host | ||
| + | *restart /SYS -- power cycle the host | ||
| + | |||
| + | === Troubleshooting === | ||
| + | |||
| + | If the ILOM gets itself into a strange state, for example if you try 'show /SYS' it says 'No such target', you can try the following. | ||
| + | |||
| + | #reboot the host from Solaris | ||
| + | #reset /SP -- sometimes this will clear up the problem | ||
| + | #if you have an old version of ILOM, [[#Updating the ILOM|update it]]. | ||
| + | #all else has failed? shut down Solaris and ssh into the ipmi interface with the username sunservice. It will not prompt for a password. Issue the command 'reboot'. Now, wait several minutes and reconnect as root and check the ILOM again. | ||
| + | |||
| + | === Updating the ILOM === | ||
| + | |||
| + | *Set up a tftp server on a host in the same datacenter. [[ms4]] is currently running tftpd for pmtpa. | ||
| + | *Download the copy of the ILOM firmware you need for your platform from sun and put it on your tftp server. | ||
| + | *Log into the ipmi interface of your host as root. | ||
| + | *Give the command | ||
| + | load -source tftp://ip.address.to.server.here/ILOM-version-platform-etc.pkg | ||
| + | If you see 'tftp: timeout' several times and then 'upgrade failed', either your tftp server is set up incorrectly or you have the wrong filename, *or* you can't reach that server from your host. If you see a series of dots, it's working. You should eventually see 'Firmware update is complete. ILOM will now be restarted with the new firmware.' Wait a few minutes and reconnect. The message after login should show you the new version number. | ||
| + | |||
| + | === More information === | ||
See also the [[Platform-specific documentation]] describing each of the various Sun hardware models and how LOM behaves on them. | See also the [[Platform-specific documentation]] describing each of the various Sun hardware models and how LOM behaves on them. | ||
Revision as of 20:32, 24 September 2009
For IPMI on the toolservers see [1] (main page Toolserver). (The page Toolserver/Use the SP for remote control is probably out of date.) The document you are reading covers all the other Sun hosts.
Sun's IPMI is called Integrated Lights Out Manager (ILOM). You can use this to power up systems and to retrieve information about the hardware, in theory. We are running version 2.0.x on some hosts and 3.0.x on others.
Our Sun servers are currently either in the esams location or in pmtpa. In order to access the IPMI interface on these hosts you choose one of the two methods according to the location:
Hosts in pmtpa (includes ms1 through ms5 and db11-db30, with the exceptions of db22, db29 and db30)
- Be on a host in pmtpa
- ssh -l root xxx.mgmt.pmtpa.wmnet
- password is the same as the one used for access to the drac interface
Hosts in esams (ms6)
- Be on a host in esams
- ssh -l root xxx.ipmi.esams.wikimedia.org
- password is the same as the one used for access to the drac interface
This will drop you at the -> prompt.
Contents |
Basic commands
- exit -- leave the command line interface and exit the session
- show /SP -- show information available from the serial port
- start /SP/console -- connect to the host on the serial port (should give you the regular Solaris login prompt)
- exit the console session with ESC ( (it will tell you this when the session starts as well)
- start /SYS -- power on the host
- stop /SYS -- power off the host
- restart /SYS -- power cycle the host
Troubleshooting
If the ILOM gets itself into a strange state, for example if you try 'show /SYS' it says 'No such target', you can try the following.
- reboot the host from Solaris
- reset /SP -- sometimes this will clear up the problem
- if you have an old version of ILOM, update it.
- all else has failed? shut down Solaris and ssh into the ipmi interface with the username sunservice. It will not prompt for a password. Issue the command 'reboot'. Now, wait several minutes and reconnect as root and check the ILOM again.
Updating the ILOM
- Set up a tftp server on a host in the same datacenter. ms4 is currently running tftpd for pmtpa.
- Download the copy of the ILOM firmware you need for your platform from sun and put it on your tftp server.
- Log into the ipmi interface of your host as root.
- Give the command
load -source tftp://ip.address.to.server.here/ILOM-version-platform-etc.pkg
If you see 'tftp: timeout' several times and then 'upgrade failed', either your tftp server is set up incorrectly or you have the wrong filename, *or* you can't reach that server from your host. If you see a series of dots, it's working. You should eventually see 'Firmware update is complete. ILOM will now be restarted with the new firmware.' Wait a few minutes and reconnect. The message after login should show you the new version number.
More information
See also the Platform-specific documentation describing each of the various Sun hardware models and how LOM behaves on them.
For more information, see the ILOM 2.0 User guide or Sun Integrated Lights Out Manager (ILOM) 3.0 Documentation.