901 San Antonio Road
Palo Alto, CA 94303-4900 USA
650 960-1300
Fax 650 969-9131
Part No.: 805-7398-10
March 1999, Revision A
Send comments about this document to: docfeedback@sun.com
Copyright 1999 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303-4900 U.S.A. All rights reserved.
This productor document is protectedby copyrightand distributedunder licenses restricting its use, copying, distribution,and decompilation.
No part of thisproduct ordocument maybe reproducedin anyform by any means withoutprior writtenauthorization of Sun and itslicensors,
if any.
Portions of this productmay bederived fromthe UNIX®system, licensed from Novell, Inc., and fromthe Berkeley4.3 BSDsystem, licensed
fromthe University of California. UNIXis aregistered trademarkin theUnited States and in othercountries andis exclusively licensed by
X/Open Company Ltd. Third-partysoftware, including font technologyin thisproduct, isprotected bycopyright and licensed from Sun’s
suppliers. RESTRICTED RIGHTS: Use,duplication, ordisclosure bythe U.S. Government is subjectto restrictionsof FAR 52.227-14(g)(2)(6/87)
and FAR52.227-19(6/87), or DFAR 252.227-7015(b)(6/95) and DFAR227.7202-3(a).
Sun, Sun Microsystems, the Sun logo,AnswerBook, SunVTS,Solstice SYMON. Java, the JavaCoffee Cuplogo, Solarisand Sun Enterprise are
trademarks or registeredtrademarks of Sun Microsystems, Inc. in theUnited Statesand in other countries. AllSPARCtrademarks areused
under license and aretrademarks orregistered trademarks of SPARCInternational, Inc.in theUnited States and in othercountries. Products
bearing SPARCtrademarks arebased uponan architecturedeveloped bySun Microsystems,Inc.
The OPEN LOOK® andSun™ GraphicalUser Interfaces were developed by Sun Microsystems,Inc. forits usersand licensees. Sun
acknowledges the pioneering effortsof XeroxCorporation inresearching and developing theconcept ofvisual or graphical user interfacesfor
the computer industry.Sun holds a nonexclusive licensefrom Xeroxto theXerox GraphicalUser Interface,which license also covers Sun’s
licensees who implement OPENLOOK GUIsand otherwise comply with Sun’swritten licenseagreements.
THIS PUBLICATIONIS PROVIDED “AS IS” WITHOUTWARRANTYOF ANYKIND, EITHEREXPRESS OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIESOF MERCHANTABILITY,FITNESS FORA PARTICULARPURPOSE, OR NONINFRINGEMENT.
Copyright 1999 Sun Microsystems,Inc., 901San AntonioRoad, Palo Alto, Californie 94303-4900U.S.A. Tousdroits réservés.
Ce produit ou document est protégépar uncopyright etdistribué avec des licences quien restreignentl’utilisation, lacopie etla décompilation.
Aucune partie de ceproduit oude sadocumentation associée ne peut êtrereproduitesous aucune forme, par quelquemoyen quece soit, sans
l’autorisation préalable et écritede Sunet de ses bailleurs delicence, s’ily en a.
Des parties de ceproduit pourrontêtre derivées du systèmeUNIX® licenciépar Novell, Inc. et dusystème Berkeley4.3 BSD licencié par
l’Université de Californie. UNIXest unemarque enregistréeaux Etats-Uniset dans d’autres pays, et licenciée exclusivementpar X/Open
Company Ltd. Le logicieldétenu pardes tiers, et qui comprendla technologierelative auxpolices decaractères, estprotégé parun copyright et
licencié par des fournisseursde Sun.
Sun, Sun Microsystems,the Sun logo, AnswerBook, SunVTS,Solstice SYMON.Java, theJava CoffeeCup logo, Solaris et Sun Enterprise sontdes
marquesdéposées ou enregistrées de Sun Microsystems, Inc. aux Etats-Uniset dansd’autres pays.Toutesles marquesSPARC,utilisées sous
licence, sont des marquesdéposées ouenregistrées deSPARCInternational, Inc. aux Etats-Uniset dans d’autres pays. Les produits portant les
marquesSPARCsont baséssur unearchitecture développéepar SunMicrosystems, Inc.
Les utilisateurs d’interfaces graphiquesOPEN LOOK®et Sun™ ont été développésde SunMicrosystems, Inc.pour ses utilisateurs et licenciés.
Sun reconnaît les efforts de pionniers de XeroxCorporation pourla rechercheet ledéveloppement duconcept des interfaces d’utilisation
visuelle ou graphique pourl’industrie del’informatique. Sun détient une licencenon exclusivede Xeroxsur l’interface d’utilisation graphique,
cette licence couvrant aussiles licenciésde Sun qui mettent enplace lesutilisateurs d’interfaces graphiques OPEN LOOKet quien outrese
conforment aux licences écritesde Sun.
CETTE PUBLICATIONEST FOURNIE "ENL’ETAT"SANS GARANTIED’AUCUNE SORTE,NI EXPRESSENI IMPLICITE, Y COMPRIS, ET
SANS QUE CETTE LISTENE SOIT LIMITATIVE,DES GARANTIES CONCERNANT LAVALEURMARCHANDE,L’APTITUDE DES
PRODUITS A REPONDRE AUNE UTILISATIONPARTICULIEREOU LE FAITQU’ILS NE SOIENT PASCONTREFAISANTSDE PRODUITS
DE TIERS.
Can’t log in to RSC59
Can’t connect to RSC using telnet60
Can’t connect to RSC through the Ethernet connection60
Can’t connect to RSC through the serial port61
No alerts received from RSC61
RSC passwords are unknown62
Times in RSC event log do not match times in server console logs62
You can perform some RSC functions, but not others62
RSC is not working after you replace the main logic board62
Troubleshooting Server Problems Using RSC63
Scenario: An unreliable SIMM in memory bank 2 is causing continuous
reboots63
A.Installing and Configuring an Uninterruptible Power Supply (UPS)65
How to Install the UPS65
How to Configure the UPS to Record Events and Send Alerts66
B.Configuring the RSC Serial Port Modem69
General Settings70
Pager Variable Settings70
Pager Phone Number72
Storing Configuration Strings in the Modem’s NVRAM72
Modem Initialization Strings72
Pager Passwords73
Setting Up the MultiTech Modem73
Set Modem DIP Switches73
Modify RSC Configuration Variables74
viiiSun Remote System Control (RSC) User’s Guide • March 1999
Modem Reconfiguration Required After Changing RSC Serial Port Settings79
Troubleshooting Modem Problems80
C.Creating a Script That Sends an Alert Message or RSC Event81
Contentsix
xSun Remote System Control (RSC) User’s Guide • March 1999
Preface
Sun Remote System Control (RSC) User’s Guide tells you how to configure and use
Sun™ Remote System Control software. These instructions are designed for an
experienced system administrator with networking knowledge.
Using UNIX Commands
This document does not contain information on basic UNIX® commands and
procedures such as shutting down the system, booting the system, and configuring
devices.
See one or more of the following for this information:
■ Solaris Handbook for Sun Peripherals
■ AnswerBook™ online documentation for the Solaris™ software environment
■ Other software documentation that you received with your system
xi
Typographic Conventions
TABLE P-1Typographic Conventions
Typeface or
SymbolMeaningExamples
AaBbCc123The names of commands, files,
and directories; on-screen
computer output.
AaBbCc123What you type, when
contrasted with on-screen
computer output.
AaBbCc123Book titles, new words or terms,
words to be emphasized.
Command-line variable; replace
with a real name or value.
Shell Prompts
TABLE P-2Shell Prompts
Edit your .login file.
Use ls -a to list all files.
% You have mail.
% su
Password:
Read Chapter 6 in the
User ’s Guide
.
These are called class options.
You must be root to do this.
To delete a file, type rm filename.
ShellPrompt
C shellmachine_name%
C shell superusermachine_name#
Bourne shell and Korn shell$
Bourne shell and Korn shell superuser#
Remote System Control shellrsc>
OpenBoot PROM shellok
xiiSun Remote System Control (RSC) User’s Guide • March 1999
Related Documentation
TABLE P-3Related Documentation
ApplicationTitle
InstallationSun Remote System Control (RSC) Installation Guide
PPP configurationConfiguring and Using Solstice PPP Clients
Performing diagnostic testsSunVTS User’s Guide
System and network administrationSolaris System Administrator AnswerBook
SPARC: Installing Solaris Software
Using operating system softwareSolaris User’s Guide
Sun Documentation on the Web
The docs.sun.comSM web site enables you to access Sun technical documentation
on the Web. You can browse the docs.sun.com archive or search for a specific book
title or subject at:
http://docs.sun.com
Sun Welcomes Your Comments
We are interested in improving our documentation and welcome your comments
and suggestions. You can email your comments to us at:
docfeedback@sun.com
Please include the part number of your document in the subject line of your email.
xiii
xivSun Remote System Control (RSC) User’s Guide • March 1999
CHAPTER
1
Sun Remote System Control (RSC)
Software
Sun Remote System Control (RSC) is a server management tool that allows you to
monitor and control your server over modem lines and over a network. RSC
provides remote system administration for geographically distributed or physically
inaccessible systems. The RSC software works with the System Service Processor
(SSP) on the Sun™ Enterprise™ 250 main logic board. RSC and the SSP support both
serial and Ethernet connections to a remote console.
RSC Access
You can access RSC from a workstation running the Solaris, Windows 95, Windows
98, or Windows NT operating environment and Sun’s RSC Java™ application, or
from an ASCII terminal or device running ASCII terminal emulation software.
FIGURE 1-1 shows remote access paths to RSC.
1
Solaris workstation
and modem
Solaris workstation
and modem
Windows PC
and modem
ASCII terminal
and modem
RSC modem
Windows PC
and modem
Secure serial busSecure Ethernet
ASCII terminal
and modem
Company modem
pool
Solaris workstation
FIGURE 1-1RSC Remote Access Paths
Once RSC software is installed and configured to manage your server, you can use it
to run diagnostic tests, view diagnostic and error messages, reboot your server, and
display environmental status information from a remote console.
2Sun Remote System Control (RSC) User’s Guide • March 1999
Windows PC
The RSC firmware on the SSP runs independently, and uses standby power from the
server. Therefore, SSP hardware and RSC software continue to be effective when the
server operating system goes offline, and can send notification of hardware failures
or other events that may be occurring on your server.
The server can boot and operate normally when RSC software is not enabled, and
Sun console features continue to be available on standard RS232 ports.
RSC Features
RSC has the following features:
■ Remote system monitoring and error reporting, including output from power-on
self-test (POST) and OpenBoot™ Diagnostics (OBDiag)
■ Remote server reboot, power-on, and power-off on demand
■ Ability to monitor the CPU temperature and fan sensors without being near the
managed server, even when the server is offline
■ Ability to run diagnostic tests from a remote console
■ Remote event notification of server problems
■ A detailed log of RSC events
■ Remote console functions on both the serial and Ethernet ports
RSC complements existing Sun monitoring and diagnostics tools such as Solstice™
SyMON™, SunVTS™, the kadb kernel debugger, OpenBoot PROM (OBP), and
OpenBoot Diagnostics (OBDiag). Solstice SyMON operation remains unchanged,
and it continues to be the main tool for observing system operation behavior and
performance while the server operating system is up and running.
RSC Use
After installing and configuring Sun Remote System Control software on the server
and client systems, you use an OpenBoot command and set OpenBoot variables that
redirect the console output to RSC.
Part of RSC configuration defines and enables alert mechanisms. Alerts provide
remote notification of system problems, and can be sent to pagers or an email
address; RSC also sends alerts to any clients that are currently logged in to RSC.
RSC sends an alert message whenever any of the following occurs:
Chapter 1Sun Remote System Control (RSC) Software3
■ The server system resets.
■ Server temperature crosses the lower-fault (high-temperature warning) limit.
■ Server temperature crosses the upper-fault (high-temperature shutdown) limit.
■ A server redundant power supply fails.
■ A power outage occurs at the server site, if an uninterruptible power supply
(UPS) is in use and it is configured to send an alert to RSC (see Appendix A).
■ RSC receives a server-generated alert.
■ The server undergoes a hardware watchdog reset.
■ RSC detects five unsuccessful RSC login attempts within five minutes.
Each alert message includes the server name and other important details. RSC
configuration controls whether an alert is sent to an email address, to pagers, or to
both. In addition, an alert is always sent to any clients currently logged in to RSC
accounts for that server. FIGURE 1-2 shows RSC remote alert paths.
4Sun Remote System Control (RSC) User’s Guide • March 1999
Solaris workstation
and modem
Alphanumeric pager 1
Solaris workstation
and modem
Windows PC
and modem
ASCII terminal
and modem
RSC modem
Alphanumeric pager 2
Secure serial busSecure Ethernet
Windows PC
and modem
ASCII terminal
and modem
Company modem
pool
Solaris workstation
FIGURE 1-2RSC Remote Alert Paths
Windows PC
Chapter 1Sun Remote System Control (RSC) Software5
After receiving an alert message, you can connect to your RSC account for the server
that caused the alert. Then you can check console messages to determine whether
the server has recovered and is running, or whether the server operating system is
down.
If the server is running, you can log in to it using a separate connection and debug
the system using UNIX system administration tools such as SunVTS and Solstice
SyMON. If the client is not running the Solaris operating system, these tools may be
available through X windows.
If the server is not running, or if UNIX system administration tools are not available,
you can use the RSC remote console feature to debug the server.
You can also debug the server by using RSC to:
■ Show environmental information
■ Put the server into debug mode
■ Control server firmware behavior
■ Turn server power off and then on, if the server is hung
After diagnosing a problem, you can schedule server downtime and service,
if necessary.
RSC Capabilities
Sun Remote System Control provides the following capabilities for remotely
monitoring and controlling Sun Enterprise 250 servers.
Server Status and Control
■ Show server environmental status.
■ Access a console that includes all UNIX console functions.
■ Send a break to put the server into debug mode.
■ Control the diagnostics level for a server reboot.
■ Reset the server on demand. When the system is not responding, you can issue a
cold reset to bring the server back online.
■ Turn server power off and on.
6Sun Remote System Control (RSC) User’s Guide • March 1999
View Logs
■ Display a detailed log of RSC errors, events, and RSC command history.
■ Display and reset server console logs.
RSC Configuration
You can control RSC configuration settings for:
■ Alerts
■ Ethernet port
■ Serial port
■ RSC date and time
■ Your RSC password
■ RSC user accounts
After installation, you run a script file that guides you through basic configuration.
See the Sun Remote System Control (RSC) Installation Guide.
If you want to be able to use RSC in case of a complete power failure, you should
install and configure an uninterruptible power supply (UPS) for the server. See
Appendix A.
If you plan to use a modem on the RSC serial port, you must configure the modem
properly. See Appendix B.
User Interfaces
RSC user interfaces include:
■ A graphical interface that runs using Sun’s RSC Java application
■ A command-line interface you can access using standard telnet to the RSC
Ethernet port, and to the RSC serial port using point-to-point protocol (PPP)
■ A command-line interface you can access by connecting an ASCII character
terminal directly to the RSC serial port
RSC supports a maximum of two concurrent telnet connections per server. These
connections can be command-line interface sessions or RSC GUI connections to the
server console (Open Console). In addition, RSC supports up to three concurrent
RSC GUI sessions.
Chapter 1Sun Remote System Control (RSC) Software7
RSC Security
The hardware and process required to log in to an RSC account on a managed server
depend on company security practices, and whether Ethernet or modem dial-in is
used. Further security is provided by RSC accounts, individual account access rights,
and passwords. In addition, RSC records all logins, and sends an alert if it detects
five login failures within five minutes.
Characteristics of the modem and phone line that are connected to the RSC serial
port also determine access security for remote serial port connections, for instance,
use of a dialback option or a phone line that supports dial-out only. You can set RSC
to disconnect a session connected to the serial port after ten minutes of inactivity;
see “serial_hw_handshake” on page 37.
Caution – As for any computer session, do not leave your session unattended.
Always use the RSC logout command before disconnecting your session. In
addition, before logging out of RSC, take care to log out of any server sessions
you initiate while using the RSC console.
RSC Client Requirements
To use the RSC graphical user interface, a client must have Sun’s RSC Java
application installed. To use the RSC command shell, a client must be an ASCII
character terminal or have ASCII character terminal emulation software installed.
Note – To run the RSC GUI Java application on a Solaris client machine, the client
machine must have the Java Development Kit for Solaris version 1.1.6 or a
subsequent compatible version installed. This software is included in the base
Solaris 7 operating environment and the Sun Enterprise 250 Supplement CD, and
can be installed along with the RSC software from the CD. The required version for
the Solaris 2.6 operating environment is available from the following location:
http://www.sun.com/solaris/java/
8Sun Remote System Control (RSC) User’s Guide • March 1999
CHAPTER
2
Installing and Configuring RSC
Software
This chapter provides an overview of how to install and configure RSC software; for
installation instructions and help configuring RSC, see the Sun Remote System Control(RSC) Installation Guide.
The RSC server software installation procedure allows you to set up RSC
configuration, and you can change RSC configuration after installation using RSC
commands or the rscadm utility.
Installing RSC Software
After operating system software is installed on the server to be managed, you can
install RSC software on the server.
Note – After RSC software is installed on the host, it resides in the directory
/usr/platform/sun4u.
Until RSC host software is installed and configured, the system console is available
as on any normal Sun computer. You can enable RSC as the system console device
by using the OpenBoot PROM command diag-output-to and defining the
OpenBoot PROM variables input-device and output-device as rsc. See
Chapter 6.
You must also install Sun’s RSC Java application on any client machine that will be
used to access the RSC graphical interface. The RSC Java application is available for
clients running the Solaris, Windows 95, Windows 98, and Windows NT operating
environments.
9
Note – To run the RSC GUI Java application on a Solaris client machine, the client
machine must have the Java Development Kit for Solaris version 1.1.6 or a
subsequent compatible version installed. This software is included in the base
Solaris 7 operating environment and the Sun Enterprise 250 Supplement CD, and
can be installed along with the RSC software from the CD. The required version for
the Solaris 2.6 operating environment is available from the following location:
http://www.sun.com/solaris/java/
A client machine must have ASCII terminal emulation software installed (or be an
ASCII terminal) to use the RSC shell and rscadm utility. See
Sun Remote System Control (RSC) Release Notes
for a list of supported hardware and software platforms.
Note – After the RSC Java application is installed on a Solaris client, it resides in the
directory /opt/rsc by default. On a Windows client, it resides in the directory
C:\Program Files\Sunw\Remote System Control by default.
Configuring RSC Software
After installing RSC software on the server, you run the following script to configure
RSC:
# /usr/platform/sun4u/sbin/rsc-config
After initial configuration, you can control configuration and add or modify user
accounts by using the GUI or RSC shell commands. You can also log in to the host as
root and use the rscadm utility to control RSC configuration and user accounts; see
Chapter 5.
If you are using an uninterruptible power supply for the host or a modem on the
RSC serial port, you must configure those devices properly. For configuration
examples, see Appendix A and Appendix B.
10Sun Remote System Control (RSC) User’s Guide • March 1999
Configuring PPP
If point-to-point protocol (PPP) is enabled on the serial port, RSC supports multiple
sessions, either shell or GUI, through one modem connection. If PPP is not enabled,
only one session can be run over the modem, and it must be a shell session. RSC
supports multiple sessions over its Ethernet port.
To use PPP for dialing in to the RSC serial port, the RSC configuration variable
ppp_enabled must be set to true, or PPP must be enabled using the RSC GUI. In
addition, you must configure PPP on each client machine that will use PPP to dial in
to RSC accounts on the RSC serial port.
Configuring PPP on the Client
To allow connection to RSC from a remote client using PPP, you must configure PPP
on the client. For a Solaris client, see Configuring and Using Solstice PPP 3.0.1 Clients.
For a Windows client, see your Windows documentation.
The Solstice PPP 3.0.1 client configuration script /usr/bin/pppinit creates a
CHAT script in /etc/opt/SUNWconn/ppp/script that defines the dialog that
occurs between a client and server during the connection phase. The contents of this
CHAT script are not needed to establish a PPP connection to RSC. In order to
successfully establish connection to RSC from a Solstice PPP client, comment or
delete the contents of the CHAT script, but do not delete the file.
Redirecting the Console to RSC
Until RSC software is configured, the system console is available as on any normal
Sun machine. To enable RSC as the system console device instead, you must log in to
the server and enter the following commands at the ok prompt:
ok diag-output-to rsc
ok setenv input-device rsc
ok setenv output-device rsc
Chapter 2Installing and Configuring RSC Software11
These commands take effect after the next server reset. At any time, you can use the
following commands to remove RSC as the default console:
ok diag-output-to ttya
ok setenv input-device keyboard
ok setenv output-device screen
These commands take effect after the next server reset. See Chapter 6 for more
information about these OpenBoot PROM features.
Configuring Alerts
To configure alerts, choose Configure Alerts in the GUI, or set the following
configuration variables using the RSC shell or rscadm utility:
■ customerinfo
■ hostname
■ page_enabled
■ mail_enabled
■ page_info1
■ page_info2 (optional)
■ mailuser
■ mailhost
The GUI provides help for configuring RSC alerts. For help configuring RSC alert
variables in the shell, see “Alert Variables” on page 38. RSC generates alert messages
with the following format:
You can also use the rscadm subcommand send_event -c to send an alert. You
can do this directly at the superuser prompt, and you can also create a command file
that runs and sends the alert under special circumstances. See Appendix C.
12Sun Remote System Control (RSC) User’s Guide • March 1999
Backing Up RSC Configuration
You should periodically use rscadm commands to create a backup file that records
RSC configuration settings on a remote system. For example:
# rscadm show > remote_filename
# rscadm usershow >> remote_filename
#
Use a meaningful file name that includes the name of the server that RSC controls.
Later, you can refer to this file to restore the settings if you need to reinstall RSC
software on the server or replace the server’s main logic board.
Chapter 2Installing and Configuring RSC Software13
14Sun Remote System Control (RSC) User’s Guide • March 1999
CHAPTER
3
Using the RSC Graphical Interface
The easiest way to use Sun Remote System Control is through the graphical user
interface (GUI). This chapter gives an overview of how to access the RSC GUI, and
use of RSC windows and dialog boxes.
If you need to use RSC commands and the GUI is not available, you can use RSC
shell commands. After you log in to your RSC account from a terminal window, the
RSC shell prompt appears (rsc>), and you can enter commands.
Starting the RSC GUI
If you are using a client running the Solaris operating environment, start the RSC
GUI by entering this command:
% /opt/rsc/bin/rsc
If you are using a client running the Windows 95, Windows 98, or Windows NT
operating environment, follow these steps to start the RSC GUI:
1. Click on the Start menu.
2. Point to Programs in the Start menu.
3. Point to the Sun Remote System Control program group.
4. Click on Sun™ Remote System Control.
When the login screen appears, it prompts you to enter an RSC device name, your
RSC username, and your password.
15
Note – It is important that you enter the name or IP address of the RSC device, not
the name or IP address of the server.
To monitor or control more than one server, start a separate GUI session for each.
Accessing RSC Functions
The main screen of the Sun Remote System Control GUI lets you access the
following functions:
■ Server Status and Control
■ Show Environmental Status
■ Open Console
■ Send Break
■ Send XIR
■ Set Boot Mode
■ Reset Server
■ Power Off/On (depends on current setting)
■ View Logs
■ RSC Event Log
■ Console Boot Log
■ Console Run Log
■ Original Console Boot Log
■ Original Console Run Log
■ Reset Console Logs
■ RSC Configuration
■ Alert Settings
■ Ethernet Settings
■ Serial Port Settings
■ Set RSC Date and Time
■ Change Password
■ User Administration
■ Reset RSC
■ Help
■ Help Topics
■ About RSC
Online Help is available when you use the GUI. Additional detail about RSC
functions is provided in the sections of Chapter 4 that describe the corresponding
RSC shell commands.
16Sun Remote System Control (RSC) User’s Guide • March 1999
Loading...
+ 72 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.