Показаны сообщения с ярлыком console. Показать все сообщения
Показаны сообщения с ярлыком console. Показать все сообщения

пятница, 28 октября 2011 г.

IPMI в серверах Supermocro

Уже писал о подобной фиче в IBM серверах. Есть такое, оказывается, и в свежих моделях от Supermicro. Независимый биос с веб мордой, через которую можно подцепиться к консоле, включить, выключить, бутнуть железку. Выглядит так.



Можно настроить IP/MASK/GW из биоса. Можно через утилиту ipmitool, если на сервере Unix-like OS.
Мануал по настройке - http://lab.advancedclustering.com/twiki/bin/view/Documentation/IPMITools.

среда, 17 августа 2011 г.

Сервера IBM и SYSTEM MGNT интерфейс (IMM)

Можно бутить, включать, выключать.

Enabling the remote presence feature To enable the remote presence feature, complete the following steps: 1.Install the virtual media key into the dedicated slot on the system board (see “System-board optional device connectors” on page 38). 2.Turn on the server. Note:Approximately 1 to 3 minutes after the server is connected to ac power, the power-control button becomes active. Obtaining the IP address for the IMM To access the Web interface, you need the IP address for the IMM. You can obtain
the IMM IP address through the Setup utility. The server comes with a default IP
address for the IMM of 192.168.70.125. To locate the IP address, complete the
following steps:
1.Turn on the server. Note:Approximately 1 to 3 minutes after the server is connected to ac power, the power-control button becomes active. Chapter 3. Configuring the server 93

2.When the prompt Setup is displayed, press F1. (This prompt is displayed on the screen for only a few seconds. You must press F1 quickly.) If you have set both a power-on password and an administrator password, you must type the administrator password to access the full Setup utility menu.
3.From the Setup utility main menu, selectSystem Settings.
4.On the next screen, selectIntegrated Management Module.
5.On the next screen, selectNetwork Configuration.
6.Find the IP address and write it down.
7.Exit from the Setup utility.
Logging on to the Web interface To log on to the Web interface to use the remote presence functions, complete the following steps: 1.Open a Web browser and in theaddress orURL field, type the IP address or host name of the IMM to which you want to connect. Note:The IMM defaults to DHCP. If a DHCP host is not available, the IMM assigns a static IP address of 192.168.70.125. 2.On the Login page, type the user name and password. If you are using the IMM for the first time, you can obtain the user name and password from your system administrator. All login attempts are documented in the event log. Note:The IMM is set initially with a user name of USERID and password of PASSW0RD (passw0rd with a zero, not a the letter O). You have
read/write access. You must change the default password the first time
you log on.
3.On the Welcome page, type a timeout value (in minutes) in the field that is
provided. The IMM will log you off of the Web interface if your browser is
inactive for the number of minutes that you entered for the timeout value.
4.ClickContinue to start the session. The System Health page provides a quick view of the system status.

среда, 28 апреля 2010 г.

Serial Console on Sun Servers

Есть у меня кластер. В нём стоят два v445. К каждому подключен Storage. От serial B сервера до serial A storage идёт консольный кабель. Я задался вопросом "Как из под солярки выйти на СериалБ". Нагуглил классную статейеку.

http://www.softpanorama.org/Solaris/Startup_and_shutdown/serial_console_on_solaris.shtml

First of all you need null model cable. Specialists of old school can solder their own but this art is essentially lost :-).

Sun server usually come with one crossover 9-pin connector (silver colored -- Sun Part No. 530-3100-01). Don't throw it out when you get with the server ;-). This connector can be used with a regular Ethernet cable. That's the most convenient solution for server rooms as you can use cable of any necessary length to position your laptop conveniently or get to the desktop or workstation (if connecting to a Sun workstation or server, use 25 pin connector --- Sun Part No. 530-2889-03 or equivalent). You can also create you own or buy equivalent or use ready made cable used for managing network devices like Cisco.

V210 and V240 have two management port: one serial management (marked SER MGT) and one Net management ( marked NET MGT). You need to use serial management port. Net management port is used to connect to ALOM and you need to configure it before that.

There are two typical way to use serial console for connecting to Sun servers, for example, V210 and V240.

* Use Windows laptop with some Windows emulator (Hyperterminal, Teraterm, etc).
* Use Sun terminal emulator (tip), in Windows SFU or nearby Sun machine or if you have a laptop with Solaris installed.

No keyboard should be connected to the server/workstation on which you plan to use serial console. Sun machines on power-up check the presence of the keyboard. If something is plugged in, they assume the console input device is the keyboard. If it doesn't see any keyboard, it redirects console input/output to serial port "A".

Whether or not the Sun server has a videocard ("framebuffer" card) installed is irrelevant. Some Sun workstations have a framebuffer built in. That's why the test is always done for the keyboard presence.

Do not connect a keyboard to the Sun machine if you want to use serial console

If you SHUT OFF YOUR TERMINAL, while it is connected to a running Sun machine, you send a "break" signal via the serial line and the Sun will jump back into the OK prompt, halting the OS. This can cause considerable confusion.
Using Window Hyperterminal

Note: you can upgrade to free version 6.3 (non-commercial use)

Try these COM1 port settings:

* Bits per second: 9600
* Data bits: 8
* Parity: None
* Stop bits: 1
* Flow Control: None

I'm going to use a Dell C600 laptop an an example. The laptop has a 9pin serial port at the back that corresponds to Serial port 1 (SER 1). In other cases you need first to verify that you're "speaking" to the correct port (you can do this using for example serial mouse and disconnecting your current mouse).

Using windows terminal you can use VT-100 or better.

You can connect to Sun server that has no keyboard or display attached anytime. sometimes you need to press enter one of two times to see the output. You can disconnect anytime by disconnecting cable (do not close you terminal).
Using Tip

Note: tip is available in SFU and Solaris /etc/remote can be used with it. Connect the appropriate serial cable from serial port on laptop (usually serial port 1) to serial port A on target Sun system.

Use "tip hardwire" (not "hardware") to open a connection to the headless box before booting it: From a Solaris shell prompt on the local system, issue the command:

tip hardwire

OR

tip ser1

Notes

* This is "tip hardwire" (not "tip hardware").
* ser1 should be defined in /etc/remote (see below)

hardwire is defined on Solaris in the /etc/remote to use port B (for laptop you need to correct this or add another line, see below):

cuab:dv=/dev/cua/b:br#2400
dialup1|Dial-up system:\
:pn=2015551212:tc=UNIX-2400:
hardwire:\
:dv=/dev/term/b:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:
tip300:tc=UNIX-300:
tip1200:tc=UNIX-1200:
tip0|tip2400:tc=UNIX-2400:
tip9600:tc=UNIX-9600:
tip19200:tc=UNIX-19200:
UNIX-300:\

If you need to connect from serial port A you need to modify this entry in /etc/remote or better add another entry, for example ser1 :

ser1:\
:dv=/dev/term/a:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:

After tip session established you can boot the server. This tip session should be kept active as long as server remains online.
You should be connected. Press enter a few times to see if you are getting a response. If you are not, check your connections and make sure you have the right cable.

From within tip, you can access a tip menu by pressing ~? after a carriage return. To quit the tip session, press ~. and to send a break character, type ~#

To send a break character, type ~#


The hardwire parameter in the tip command refers to an entry in the file /etc/remote which describes the serial port connections. By default, hardwire specifies port B with 9600 baud, 8 data bits, no stop bits, and 1 parity bit. Connect, via a null modem, serial port "A" of the Sun to your terminal's serial port. Your terminal settings should be 9600 8N1, which are the default serial settings of the Sun.

If you use tip, if possible, emulate a SUNTERM.


Behavior of the Serial Console

Now, depending upon the machine you have, and the revision of your PROM, you'll either be greeted by a ">" prompt or an "ok" prompt. Machines that have everything configured properly and a working OS will of course, begin to boot by themselves rather than displaying a prompt.

If you want to stop the boot from happening so you can wipe out the OS to install something else (or just perform maintenence) or make changes to the NVRAM, then, before the OS starts to load from the HD, (essentially, right after it tells you the hardware ethernet address, but before it says "boot device"), you need to send a "break" signal.

* On a PC, this is done by holding down the CTRL key and tapping the "Break" key (Pause/Break on most PC keyboards).
*

tip sends break via "~#"

Once you've sent a break, as above, you'll be greeted by "OK" prompt (FORTH interpreter prompt).