Chapter 6. System management utilities 205
6.4.4 Configuring Windows Server 2003 to support SOL
When you connect to the BMC using the SMBridge telnet server, you can
remotely control the text console. With SOL this also includes operating systems
such as Windows Server 2003 and Linux.
Windows Server 2003 has two components that work with SMBridge and the
BMC to provide out-of-band access to the operating system:
򐂰 Microsoft Emergency Messaging Service (EMS)
򐂰 Microsoft Special Administration Console (SAC)
Information on Microsoft EMS is available from:
http://www.microsoft.com/resources/documentation/WindowsServ/2003/stand
ard/proddocs/en-us/EMS_topnode.asp
The SAC commands you can perform are summarized in Table 6-7.
Table 6-7 Windows Server 2003 Special Administration Console (SAC) commands
Command Description
ch Lists all channels.
cmd Creates a command-prompt channel. You will be asked to log
on.
crashdump Manually generates a Stop error message and forces a memory
dump file to be created.
d Dumps the current kernel log.
f Toggles the information output by the t-list command, which
shows processes only, or shows processes and threads.
i Lists the TCP/IP details of all network interfaces, and lets you
configure the IP address, subnet mask, and gateway of a given
network interface. To change the parameters, specify them as:
network# IPaddress subnet gateway
id Displays identification information about the server.
k
pid Ends the given process. pid is the process identification number
you specify.
L
pid Lowers the priority of a process (and any associated child
processes) to the lowest possible level.
206 IBM Eserver xSeries and BladeCenter Server Management
To exit SOL and return to the SMBridge prompt, press the tilde key and the
period key (that is, ~.).
For more information, see:
http://www.microsoft.com/resources/documentation/WindowsServ/2003/stand
ard/proddocs/en-us/EMS_SAC_commands.asp
To enable EMS on a Windows Server 2003, do the following.
1. Log in to Windows as an administrator.
2. Launch a command prompt and enter the command bootcfg.
lock Restricts access to Emergency Management Services
command-prompt channels. You must provide valid logon
credentials to unlock a channel.
m
pid mb-allow Limits the memory usage of a process (and any associated
child processes) to a specified number of megabytes. mb is the
number of megabytes you specify.
p Causes t-list command output to pause after displaying one full
screen of information.
r
pid Raises the priority of a process and any associated child
processes by one level.
restart Restarts the server.
s Displays or sets the system time. To set the time, use the
format:
mm/dd/yyyy hh:mm
shutdown Shuts down and powers off the server. Terminates the console
session and returns you to the SMBridge prompt.
t Lists the processes and threads that are currently running.
? or help Lists the available commands.
Command Description
Chapter 6. System management utilities 207
Figure 6-15 Output from the bootcfg command
3. Examine the output. If there is more than one boot entry then you will need to
determine the default entry by looking at the default line under Boot Loader
Settings and determining whether Boot Entry has a matching Path value. In
our case, there is only one boot entry, 1.
4. Issue the following command, substituting your boot entry number in the /id
parameter if it is not 1 as in our example.
bootcfg /ems on /port com1 /baud 19200 /id 1
Figure 6-16 Changing the boot configuration
5. Reissue the bootcfg command to see the result. The changes in our example
are highlighted.
C:\>bootcfg /ems on /port com1 /baud 19200 /id 1
SUCCESS: Changed the redirection port in boot loader section.
SUCCESS: Changed the redirection baudrate in boot loader section.
SUCCESS: Changed the OS entry switches for line "1" in the
BOOT.INI file.
C:\>bootcfg
Boot Loader Settings
--------------------
timeout:30
default:multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
Boot Entries
------------
Boot entry ID: 1
OS Friendly Name: Windows Server 2003, Enterprise
Path: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
OS Load Options: /fastdetect
208 IBM Eserver xSeries and BladeCenter Server Management
Figure 6-17 The bootcfg command after enabling EMS
6. Reboot the server to have the changes take affect.
Once you have rebooted and engaged the SMBridge console (see the console
command in Table 6-6 on page 203), you will see the EMS console.
Note: To turn EMS off again, issue the following command:
bootcfg /ems off /id 1
Where 1 is the boot entry you have modified in the above steps. Reboot to
bring the changes online.
C:\>bootcfg /ems on /port com1 /baud 19200 /id 1
SUCCESS: Changed the redirection port in boot loader section.
SUCCESS: Changed the redirection baudrate in boot loader section.
SUCCESS: Changed the OS entry switches for line "1" in the BOOT.INI
file.
C:\>bootcfg
Boot Loader Settings
--------------------
timeout: 30
default: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
redirect: COM1
redirectbaudrate:19200
Boot Entries
------------
Boot entry ID: 1
OS Friendly Name: Windows Server 2003, Enterprise
Path: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
OS Load Options: /fastdetect /redirect
C:\>

Get IBM eserver xSeries and BladeCenter Server Management now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.