Sun Microsystems Netra T2000 Administration Manual

Sun Microsystems Netra T2000 Administration Manual

Server
Hide thumbs Also See for Netra T2000:
Table of Contents

Advertisement

Netra
T2000 Server
Administration Guide
Sun Microsystems, Inc.
www.sun.com
Part No. 819-5837-10
September 2006, Revision A
Submit comments about this document at:
http://www.sun.com/hwdocs/feedback

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Netra T2000 and is the answer not in the manual?

Questions and answers

Summary of Contents for Sun Microsystems Netra T2000

  • Page 1 Netra T2000 Server ™ Administration Guide Sun Microsystems, Inc. www.sun.com Part No. 819-5837-10 September 2006, Revision A Submit comments about this document at: http://www.sun.com/hwdocs/feedback...
  • Page 2 Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. The OPEN LOOK and Sun™ Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun’s licensees who implement OPEN...
  • Page 3: Table Of Contents

    Contents Preface xiii System Console 1 Communicating With the System Console 1 Serial Management Port 1 Establishing Communication With the Serial Management Port 2 Network Management Port 5 Switching Between the Consoles 6 ALOM sc> Prompt 7 ▼ To Obtain the ALOM Prompt From the Solaris Console 8 ▼...
  • Page 4 To Set Up Email Alerts 24 ▼ To Back Up Your ALOM Configuration 25 ▼ To Display Your ALOM Version 25 OpenBoot PROM 27 OpenBoot PROM Overview 27 Before You Obtain the ok Prompt 28 Netra T2000 Server Administration Guide • September 2006...
  • Page 5 Obtaining the ok Prompt 28 Graceful Shutdown 29 ALOM break or console Command 29 Stop-A Keys or Break Key 29 Manual System Reset 30 ▼ To Obtain the ok Prompt 30 OpenBoot PROM Configuration Variables 31 ▼ To Change an OpenBoot PROM Configuration Variable 31 OpenBoot Emergency Procedures 33 Stop-A Functionality 33 Stop-N Functionality 34...
  • Page 6 Special Key Sequences for RTOS Shell Access 60 Domain Minimization 61 Solaris Operating System Security 61 Managing Disk Volumes 63 RAID Requirements 63 Disk Volumes 64 RAID Technology 64 Integrated Stripe Volumes (RAID 0) 65 Netra T2000 Server Administration Guide • September 2006...
  • Page 7 Integrated Mirror Volumes (RAID 1) 65 Hardware RAID Operations 66 Slot Numbers and Device Names for Non-RAID Disks 67 ▼ To Create a Mirrored Volume 67 ▼ To Create a Mirrored Volume of the Default Boot Device 70 ▼ To Create a Striped Volume 71 ▼...
  • Page 8 Netra T2000 Server Administration Guide • September 2006...
  • Page 9 Figures Navigation Between Consoles 7 FIGURE 1-1 Location of the Bezel Server Status and Alarm Status Indicators 40 FIGURE 4-1 Graphical Representation of Disk Striping 65 FIGURE 6-1 Graphical Representation of Disk Mirroring 66 FIGURE 6-2...
  • Page 10 Netra T2000 Server Administration Guide • September 2006...
  • Page 11 Tables Pin Crossovers for Connecting to a Typical Terminal Server 3 TABLE 1-1 Entries for hardwire In the /etc/remote File 4 TABLE 1-2 What ALOM Monitors 14 TABLE 2-1 ALOM Configuration Commands 16 TABLE 2-2 ALOM FRU Commands 17 TABLE 2-3 ALOM Log Commands 18 TABLE 2-4 ALOM Status and Control Commands 18...
  • Page 12 Netra T2000 Server Administration Guide • September 2006...
  • Page 13: Preface

    Preface The Netra T2000 Server Administration Guide provides information and detailed procedures that enable administration and management of the Netra™ T2000 server. This document is written for technicians, system administrators, authorized service providers (ASPs), and users who have advanced experience administrating server systems.
  • Page 14: Typographic Conventions

    These are called class options. Replace command-line variables You must be superuser to do this. with real names or values. To delete a file, type rm filename. xiv Netra T2000 Server Administration Guide • September 2006...
  • Page 15: Related Documentation

    Service Netra T2000 Server Service Manual 819-5841 Online Planning Netra T2000 Server Site Planning Notes 819-5842 Online Compliance Netra T2000 Server Safety and Compliance Guide 819-5843 Online Documentation Netra T2000 Server Getting Started Guide 819-5844 Printed Shipping kit Online Reference ALOM CMT 1.2 Guide...
  • Page 16: Sun Welcomes Your Comments

    You can submit your comments by going to: http://www.sun.com/hwdocs/feedback Please include the title and part number of your document with your feedback: Netra T2000 Server Administration Guide, part number 819-5837-10 xvi Netra T2000 Server Administration Guide • September 2006...
  • Page 17: System Console

    C H A P T E R System Console This chapter explains how to access the system console to enable remote management and administration. This chapter includes the following topics: “Communicating With the System Console” on page 1 ■ “Switching Between the Consoles” on page 6 ■...
  • Page 18: Establishing Communication With The Serial Management Port

    If the pinout of the server serial management port do not correspond with the ■ pinout of the RJ-45 port on the terminal server, you need to make a crossover cable. shows the pinout of the crossover cable. TABLE 1-1 Netra T2000 Server Administration Guide • September 2006...
  • Page 19: Table 1-1 Pin Crossovers For Connecting To A Typical Terminal Server

    Pin Crossovers for Connecting to a Typical Terminal Server TABLE 1-1 Server Serial Port (RJ-45 Connector) Pin Terminal Server Serial Port Pin Pin 1 (RTS) Pin 1 (CTS) Pin 2 (DTR) Pin 2 (DSR) Pin 3 (TXD) Pin 3 (RXD) Pin 4 (Signal Ground) Pin 4 (Signal Ground) Pin 5 (Signal Ground)
  • Page 20: Table 1-2 Entries For Hardwire In The /Etc/Remote File

    ■ 8 bits ■ No parity ■ 1 stop bit ■ No handshake protocol ■ Refer to the documentation accompanying your terminal for information about how to operate and configure the terminal. Netra T2000 Server Administration Guide • September 2006...
  • Page 21: Network Management Port

    Network Management Port The network management port (SC NET MGT) permits communication with the system controller, through your existing Ethernet network. The network management port is a 10/100BASE-T port with a unique IP address, separate from the server IP address. Like the serial management port, the network management port is dedicated to the system controller.
  • Page 22: Switching Between The Consoles

    Solaris OS, and the OpenBoot PROM. This section describes the procedures to navigate between the following: ALOM prompt (sc>) ■ Solaris OS prompt (#) ■ OpenBoot PROM prompt (ok) ■ These procedures are summarized in FIGURE 1-1 Netra T2000 Server Administration Guide • September 2006...
  • Page 23: Alom Sc> Prompt

    Type: init 0 Solaris OS OpenBoot PROM prompt: # prompt: ok Type: boot ALOM shell prompt: sc> Navigation Between Consoles FIGURE 1-1 ALOM sc> Prompt The ALOM runs independently of the server and regardless of the server power state. When you connect the server to source power, the ALOM immediately starts up and begins monitoring the system.
  • Page 24: To Obtain The Alom Prompt From The Solaris Console

    ● Type the sequence of escape characters. By default, the escape sequence is #. (hash-period). {2} ok #. sc> Note – Unlike the example, you will not see the #. being typed. Netra T2000 Server Administration Guide • September 2006...
  • Page 25: To Connect To The Solaris Console From The Alom Prompt

    To Connect to the Solaris Console From the ▼ ALOM Prompt ● Use the console command from the ALOM prompt. If Solaris software is running, the system responds with the Solaris prompt: ■ sc>console If the system was in the OpenBoot PROM, then the system responds with the ■...
  • Page 26: To Obtain The Openboot Prompt From The Alom Prompt

    If you are connected through a terminal server invoke the terminal server’s ■ command to disconnect the connection. If the connection was established using a tip command, then type the tip exit ■ sequence ~.(tilde and a period): Netra T2000 Server Administration Guide • September 2006...
  • Page 27: To Terminate A Session When Connected To The System Controller Through A Network Connection

    To Terminate a Session When Connected to the ▼ System Controller Through a Network Connection 1. If you are at the Solaris prompt or the OpenBoot PROM, go to the ALOM prompt by typing the escape sequence. 2. Terminate the ALOM prompt session by using the logout command. The remote session terminates automatically: sc>logout Connection closed by foreign host.
  • Page 28 Netra T2000 Server Administration Guide • September 2006...
  • Page 29: Advanced Lights Out Manager

    C H A P T E R Advanced Lights Out Manager This chapter describes using Advanced Lights Out Manager (ALOM) for remote administration of your server. Topics include: “ALOM Overview” on page 13 ■ “ALOM Shell Commands” on page 16 ■...
  • Page 30: What Alom Monitors

    Use the telnet command to connect to ALOM through the Ethernet connection ■ attached to the NET MGT port. Connect a serial device, such as an ASCII terminal or a port on a terminal server, ■ to the SERIAL MGT port. Netra T2000 Server Administration Guide • September 2006...
  • Page 31: To Set The Initial Password

    To Set the Initial Password ▼ When you first apply power to the server, ALOM automatically begins monitoring the system and displaying output to the system console using a preconfigured default account called admin, which has full (cuar) permissions. For security purposes, the administration password should be set.
  • Page 32: Alom Shell Commands

    (one admin account only). Sets the specified ALOM parameter to the setsc parameter value sc> setsc netsc_ipaddr 1.2.3.4 assigned value. Runs the interactive configuration script. This setupsc sc> setupsc script configures the ALOM configuration variables. Netra T2000 Server Administration Guide • September 2006...
  • Page 33: Fru Commands

    ALOM Configuration Commands (Continued) TABLE 2-2 Command Summary Example Displays the ALOM set date. The Solaris OS showdate sc> showdate MON SEP 13 21:45:00 1999 UTC and ALOM time are synchronized, but ALOM time is expressed in UTC (Coordinated Universal Time) rather than local time. Displays information about the host system’s showplatform [-v] sc>...
  • Page 34: Log Commands

    [-s IPaddr -f Updates the ALOM firmware. This command sc> flashupdate -s 1.2.3.4 -f pathname] [-v] /usr/platform/SUNW,Netra210/li downloads main and bootmon firmware b/images/alommainfw images to ALOM. Netra T2000 Server Administration Guide • September 2006...
  • Page 35: Skip The Confirmation Question

    ALOM Status and Control Commands (Continued) TABLE 2-5 Command Summary Example powercycle [-f] Performs a poweroff followed by poweron. sc> powercycle The -f option forces an immediate poweroff, otherwise the command attempts a graceful shutdown. Removes the main power from the host poweroff [-y] [-f] sc>...
  • Page 36: Other Alom Commands

    To Reset ALOM Resetting ALOM reboots the ALOM software. Reset ALOM after you have changed settings for ALOM or if ALOM stops responding for any reason. ● At the sc> prompt, type resetsc. Netra T2000 Server Administration Guide • September 2006...
  • Page 37: To Switch Between The System Console And Alom

    To Switch Between the System Console and ▼ ALOM ● To switch from the console to the ALOM sc> prompt, type #. (hash-period). ● To switch from the sc> prompt to the console, type console. To Control the Locator LED ▼...
  • Page 38: To Reconfigure Alom To Use The Ethernet (Net Mgt) Port

    ■ netsc_ipgateway (IP address) ■ netsc_tpelinktest (true or false) ■ 5. When you have finished setting up the network interface variables, type Ctrl-Z to save your changes and exit the setupsc script. Netra T2000 Server Administration Guide • September 2006...
  • Page 39: To Add Alom User Accounts

    6. Reset ALOM. Type: sc> resetsc ▼ To Add ALOM User Accounts You can add a maximum of 15 unique user accounts to ALOM. 1. Create an ALOM user account. Type: sc> useradd username 2. Assign a password to this account. Type: sc>...
  • Page 40: To Log In To Alom

    ■ alertlevel is 1 for critical, 2 for major, and 3 for minor ■ 4. Repeat Step 3 for each alert recipient. ALOM email alerts are displayed in the following format: Netra T2000 Server Administration Guide • September 2006...
  • Page 41: To Back Up Your Alom Configuration

    $HOSTID $EVENT $TIME $CUSTOMERINFO $HOSTNAME message To Back Up Your ALOM Configuration ▼ You should periodically create a backup file on a remote system that records ALOM configuration settings. ● As superuser, open a terminal window and type: # /usr/platform/SUNW,Netra210/sbin/scadm show > remote-filename # /usr/platform/SUNW,Netra210/sbin/scadm usershow >...
  • Page 42 Netra T2000 Server Administration Guide • September 2006...
  • Page 43: Openboot Prom

    C H A P T E R OpenBoot PROM This chapter describes the function, methods of obtaining, and configuration of the OpenBoot PROM. Topics include: “OpenBoot PROM Overview” on page 27 ■ “Before You Obtain the ok Prompt” on page 28 ■...
  • Page 44: Before You Obtain The Ok Prompt

    There are several ways to obtain the ok prompt. In order of desirability, these are: Graceful shutdown ■ ALOM break and console command ■ Stop-A keys or Break key ■ Manual system reset ■ Netra T2000 Server Administration Guide • September 2006...
  • Page 45: Graceful Shutdown

    Note – After forcing the system into OpenBoot firmware control, be aware that issuing certain OpenBoot commands (probe-scsi, probe-scsi-all, or probe- ide) might hang the system. Graceful Shutdown The preferred method of obtaining the ok prompt is to shut down the operating system by issuing an appropriate command (for example, the shutdown, init, or uadmin command) as described in Solaris system administration documentation.
  • Page 46: Manual System Reset

    OpenBoot firmware control. Manual system reset 1. From the sc> prompt, type: sc> bootmode bootscript=”setenv auto-boot? false” 2. Press Enter. 3. Then type: sc> reset Netra T2000 Server Administration Guide • September 2006...
  • Page 47: Openboot Prom Configuration Variables

    OpenBoot PROM Configuration Variables ▼ To Change an OpenBoot PROM Configuration Variable ● Use the setenv command. For example: ok setenv diag-switch? true This example enables diagnostics. describes the OpenBoot firmware configuration variables stored in non- TABLE 3-2 volatile memory on the system. The OpenBoot configuration variables are printed here in the order in which they appear when you issue the showenv command.
  • Page 48 Firmware security password if security-password none security-mode is not none (never displayed). Do not set this directly. variable-name Number of incorrect security password security-#badlogins none attempts. Netra T2000 Server Administration Guide • September 2006...
  • Page 49: Openboot Emergency Procedures

    OpenBoot Configuration Variables Stored on the System Configuration Card (Continued) TABLE 3-2 Variable Possible Values Default Value Description If true: diag-switch? true, false false 1. OpenBoot verbosity is set to maximum 2. After a boot request, boot diag-file from diag-device If false: 1.
  • Page 50: Stop-N Functionality

    Expires WED SEP 09 09:52:01 UTC 2005 bootscript="setenv auto-boot? false" 3. To reset the system, type the following command: sc> reset Are you sure you want to reset the system [y/n]? sc> Netra T2000 Server Administration Guide • September 2006...
  • Page 51: Stop-F Functionality

    4. To view console output as the system boots with default OpenBoot configuration variables, switch to console mode. sc> console 5. Type set-defaults to discard any customized IDPROM values and to restore the default settings for all OpenBoot configuration variables. Stop-F Functionality The Stop-F functionality is not available on systems with USB keyboards.
  • Page 52 Netra T2000 Server Administration Guide • September 2006...
  • Page 53: Basic Administrative Tasks

    C H A P T E R Basic Administrative Tasks This chapter describes status indicators and basic tasks that might be done as the course of system administration. Topics include: “Status Indicators” on page 37 ■ “Selecting a Boot Device” on page 43 ■...
  • Page 54: Interpreting Status Leds

    (for example, the Service Required LED). intervals on and off. Steady on Steady state The amber indicator stays on until the service action is completed and the system returns to normal function. Netra T2000 Server Administration Guide • September 2006...
  • Page 55: Bezel Server Status Indicators

    LED Behaviors With Assigned Meanings (Continued) TABLE 4-2 Color Behavior Definition Description Green Steady state Standby blink Repeating The system is running at a minimum level and is sequence ready to be quickly revived to full function (for consisting of a example, the System Activity LED).
  • Page 56: Table 4-3 Bezel Server Status Indicators

    The server has no detected faults. Activity Green The server is powered up and running the Solaris Operating System. Either power is not present or the Solaris software is not running. Netra T2000 Server Administration Guide • September 2006...
  • Page 57: Alarm Status Indicators

    You can check the status and turn the Locator LED on and off from either the superuser or ALOM prompt. lists the commands. TABLE 4-4 Locator LED Commands TABLE 4-4 Prompt Status Turn On Turn Off Superuser # /usr/sbin/locator # /usr/sbin/locator -n # /usr/sbin/locator -f ALOM sc>...
  • Page 58: Table 4-5 Alarm Indicators And Dry Contact Alarm States

    Major Application User sets major Open Closed Major † state alarm to on fault (Alarm1) detected User sets major Closed Open Major † alarm to off fault cleared Netra T2000 Server Administration Guide • September 2006...
  • Page 59: Selecting A Boot Device

    Alarm Indicators and Dry Contact Alarm States (Continued) TABLE 4-5 Indicator Activity Alarm Relay Relay § and Relay Indicator Application or Indicator Indicator Labels Color Server State Condition or Action State State State State Comments Minor Amber Application User sets minor Open Closed Minor...
  • Page 60: To Select A Boot Device

    The show-devs command lists the system devices and displays the full path name of each PCI device. Netra T2000 Server Administration Guide • September 2006...
  • Page 61: To Unconfigure A Device Manually

    Note – To boot off of a network interface, you must have a boot server available on the network. Unconfiguring and Reconfiguring Devices To support a degraded boot capability, the ALOM firmware provides the disablecomponent command, which enables you to unconfigure system devices manually.
  • Page 62: To Reconfigure A Device Manually

    ID, the faulted FRU device, and the fault message to standard output. The showfaults command also displays POST results. To Display System Fault Information ▼ 1. Obtain the ALOM prompt. “Switching Between the Consoles” on page Netra T2000 Server Administration Guide • September 2006...
  • Page 63: Multipathing Software

    2. At the sc> prompt type: sc> showfaults –v For example: sc> showfaults ID FRU Fault 0 FT0.FM2 SYS_FAN at FT0.FM2 has FAILED. Adding the –v option displays the time: sc> showfaults -v ID Time Fault 0 MAY 20 10:47:32 FT0.FM2 SYS_FAN at FT0.FM2 has FAILED.
  • Page 64: Storing Fru Information

    Client Interface (by means of the device tree) to mark a device as either failed or disabled, by creating an appropriate status property in the device tree node. The Solaris Operating System does not activate a driver for any subsystem marked as failed or disabled. Netra T2000 Server Administration Guide • September 2006...
  • Page 65: Autoboot Options

    As long as a failed component is electrically dormant (not causing random bus errors or signal noise, for example), the system reboots automatically and resumes operation while a service call is made. Once a failed or disabled device is replaced with a new one, the OpenBoot firmware automatically modifies the status of the device upon reboot.
  • Page 66: To Enable Asr

    ▼ 1. Obtain the ok prompt. “To Obtain the ok Prompt” on page 2. Configure the system for ASR. Type: ok setenv diag-switch? true ok setenv auto-boot? true ok setenv auto-boot-on-error? true Netra T2000 Server Administration Guide • September 2006...
  • Page 67: Updating The Firmware

    3. Enable ASR. Type: ok reset-all The system permanently stores the parameter changes and boots automatically. ▼ To Disable ASR 1. Obtain the ok prompt. “To Obtain the ok Prompt” on page 2. Unconfigure diagnostic modes. Type: ok setenv diag-switch? false 3.
  • Page 68: To Update The Server Firmware

    “Switching Between the Consoles” on page 3. Upgrade the firmware: sc> flashupdate –s IPaddr –f pathname For example, (replace with a valid IP address): 123.45.67.89 sc> flashupdate -s 123.45.67.89 -f /net/server/sysfw/System_Firmware-6_0_0-Netra_T2000.bin SC Alert: System poweron is disabled. Netra T2000 Server Administration Guide • September 2006...
  • Page 69 4. When prompted, type your username and password. For example: Username: username Password: password The username and password are based on your UNIX or LDAP user name and password, and not your ALOM username and password. After you type your username and password, the download process continues and a series of periods appear across your screen.
  • Page 70 Netra T2000 Server Administration Guide • September 2006...
  • Page 71: Securing The Server

    C H A P T E R Securing the Server This chapter provides important information about securing the system, explains security recommendations, discusses domain minimization, and provides references to Solaris Operating System security. This chapter includes the following topics: “Security Guidelines” on page 55 ■...
  • Page 72: Defining The Console Password

    Passwords should be composed of a mixture of lowercase, uppercase, numeric, and punctuation characters. For information on how to set the console password, see the Netra T2000 Server Installation Guide, 819-5838. Using the SNMP Protocol Default Configuration Simple Network Management Protocol (SNMP) is commonly used to monitor and manage networked devices and servers.
  • Page 73: Table 5-1 Ssh Server Attributes

    2. Use the shownetwork command to validate that all the network modifications were implemented. For information about using the Sun Security Toolkit to create secure configurations for servers running the Solaris Operating System, see the following web site: http://www.sun.com/software/security/jass Selecting a Remote Connection Type The SSH and Telnet services on the system controller are disabled by default.
  • Page 74: To Enable Ssh

    Ciphers aes128-cbc,blowfish- implementation as the cbc,3des-cbc Solaris 9 Operating System ▼ To Enable SSH ● To enable SSH, type: sc> setupsc You are prompted to enter the network configuration and connection parameters. Netra T2000 Server Administration Guide • September 2006...
  • Page 75: Features Not Supported By Ssh

    For example: sc> setupsc Network Configuration --------------------- Is the system controller on a network? [yes]: Use DHCP or static network settings? [static]: Hostname [hostname]: IP Address [xxx.xxx.xxx.xxx]: Netmask [xxx.xxx.xxx.x]: Gateway [xxx.xxx.xxx.xxx]: DNS Domain [xxxx.xxx.xxx]: Primary DNS Server [xxx.xxx.xxx.xx]: Secondary DNS Server [xxx.xxx.xx.x]: Connection type (ssh, telnet, none) [ssh]: Rebooting the SC is required for changes in the above network settings to take effect.
  • Page 76: Changing Ssh Host Keys

    Because of the risk that the security of the SC could be compromised by unauthorized access to the RTOS shell, you should control access to the serial ports of the SC. Netra T2000 Server Administration Guide • September 2006...
  • Page 77: Domain Minimization

    Domain Minimization One way to contribute to the security of a server is to tailor the installation of software to an essential minimum. By limiting the number of software components installed on each domain (called domain minimization), you can reduce the risks of security holes that can be exploited by potential intruders.
  • Page 78 Netra T2000 Server Administration Guide • September 2006...
  • Page 79: Managing Disk Volumes

    C H A P T E R Managing Disk Volumes This chapter describes redundant array of independent disks (RAID) concepts, and how to configure and manage RAID disk volumes using the server’s on-board serial attached SCSI (SAS) disk controller. This chapter discusses the following topics: “RAID Requirements”...
  • Page 80: Disk Volumes

    RAID 0 and RAID 1 volumes. This section describes the RAID configurations supported by the on-board disk controller: Integrated stripe, or IS volumes (RAID 0) ■ Integrated mirror, or IM volumes (RAID 1) ■ Netra T2000 Server Administration Guide • September 2006...
  • Page 81: Integrated Stripe Volumes (Raid)

    Integrated Stripe Volumes (RAID 0) Integrated Stripe volumes are configured by initializing the volume across two or more physical disks, and sharing the data written to the volume across each physical disk in turn, or striping the data across the disks. Integrated stripe volumes provide for a logical unit (LUN) that is equal in capacity to the sum of all its member disks.
  • Page 82: Hardware Raid Operations

    Under hardware RAID volumes, only one device appears in the device tree. Member disk devices are invisible to the operating system, and are accessed only by the SAS controller. Netra T2000 Server Administration Guide • September 2006...
  • Page 83: Table 6-1 Disk Slot Numbers, Logical Device Names, And Physical Device Names

    Slot Numbers and Device Names for Non-RAID Disks To perform a disk hot-swap procedure, you must know the physical or logical device name for the drive that you want to install or remove. If your system encounters a disk error, often you can find messages about failing or failed disks in the system console.
  • Page 84 # raidctl RAID Volume RAID RAID Disk Volume Type Status Disk Status ------------------------------------------------------ c0t0d0 DEGRADED c0t0d0 c0t1d0 MISSING See the raidctl(1M) man page for additional details regarding volume and disk status. Netra T2000 Server Administration Guide • September 2006...
  • Page 85 Note – The logical device names might appear differently on your system, depending on the number and type of add-on disk controllers installed. 2. Type the following command: # raidctl -c primary secondary The creation of the RAID volume is interactive, by default. For example: # raidctl -c c0t0d0 c0t1d0 Creating RAID volume c0t0d0 will destroy all data on member disks, proceed...
  • Page 86 The suggested alternate medium is a network installation image in single user mode. Refer to the Solaris 10 Installation Guide for information about configuring and using network-based installations. Netra T2000 Server Administration Guide • September 2006...
  • Page 87: To Create A Striped Volume

    1. Determine which disk is the default boot device. From the OpenBoot ok prompt, invoke the printenv command, and if necessary the devalias command, to identify the default boot device. For example:, ok printenv boot-device boot-device = disk ok devalias disk disk /pci@780/pci@0/pci@9/scsi@0/disk@0,0 2.
  • Page 88 As an alternative, you can use the –f option to force the creation if you are sure of the member disks, and sure that the data on all other member disks can be lost. For example: # raidctl -f -c -r 0 c0t1d0 c0t2d0 c0t3d0 Volume ’c0t1d0’ created Netra T2000 Server Administration Guide • September 2006...
  • Page 89: To Configure And Label A Raid Volume

    4. (Optional) To check the status of a RAID striped volume, type the following command: # raidctl RAID Volume RAID RAID Disk Volume Type Status Disk Status -------------------------------------------------------- c0t1d0 c0t1d0 c0t2d0 c0t3d0 The example shows that the RAID striped volume is online and functioning. Under RAID 0 (disk striping), there is no replication of data across drives.
  • Page 90 - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit Netra T2000 Server Administration Guide • September 2006...
  • Page 91 3. Issue the type command at the format> prompt, then select 0 (zero) to autoconfigure the volume. For example: format> type AVAILABLE DRIVE TYPES: 0. Auto configure 1. DEFAULT 2. SUN72G 3. SUN72G 4. other Specify disk type (enter its number)[3]: 0 c0t2d0: configured with capacity of 68.23GB <LSILOGIC-LogicalVolume-3000 cyl 69866 alt 2 hd 16 sec 128>...
  • Page 92: To Delete A Raid Volume

    In this example, the RAID volume is c0t1d0 Note – The logical device names might appear differently on your system, depending on the number and type of add-on disk controllers installed. Netra T2000 Server Administration Guide • September 2006...
  • Page 93 3. To delete the volume, type the following command: # raidctl -d mirrored-volume For example: # raidctl -d c0t0d0 RAID Volume ‘c0t0d0’ deleted If the RAID volume is an IS volume, the deletion of the RAID volume is interactive, for example: # raidctl -d c0t0d0 Deleting volume c0t0d0 will destroy all data it contains, proceed (yes/no)? yes...
  • Page 94: To Perform A Mirrored Disk Hot-Swap Operation

    There is no need to issue a software command to bring the drive offline when the drive has failed. 4. Install a new hard drive, as described in the server service manual. The RAID utility automatically restores the data to the disk. Netra T2000 Server Administration Guide • September 2006...
  • Page 95 5. To check the status of a RAID rebuild, type the following command: # raidctl For example: # raidctl RAID Volume RAID RAID Disk Volume Type Status Disk Status -------------------------------------------------------- c0t1d0 RESYNCING c0t1d0 c0t2d0 This example indicates that RAID volume c0t1d0 is resynchronizing. If you issue the command again once synchronization has completed, it indicates that the RAID mirror is finished resynchronizing and is back online: # raidctl...
  • Page 96 The -al options return the status of all SCSI devices, including buses and USB devices. (In this example, no USB devices are connected to the system.) Netra T2000 Server Administration Guide • September 2006...
  • Page 97 Note that while you can use the Solaris OS cfgadm install_device and cfgadm remove_device commands to perform a hard drive hot-swap procedure, these commands issue the following warning message when you invoke these commands on a bus containing the system disk: # cfgadm -x remove_device c0::dsk/c0t1d0 Removing SCSI device: /devices/pci@1f,4000/scsi@3/sd@1,0 This operation will suspend activity on SCSI bus: c0...
  • Page 98 To configure the new hard drive, type the following command: # cfgadm -c configure Ap-Id For example: # cfgadm -c configure c1::dsk/c0t3d0 The green Activity LED flashes as the new disk at c1t3d0 is added to the device tree. Netra T2000 Server Administration Guide • September 2006...
  • Page 99 8. Verify that the new hard drive is in the device tree. To verify that the new hard drive is in the device tree, type the following command: # cfgadm -al Ap_Id Type Receptacle Occupant Condition scsi-bus connected configured unknown c0::dsk/c0t0d0 disk connected...
  • Page 100 Netra T2000 Server Administration Guide • September 2006...
  • Page 101: Understanding The Watchdog Timer Application Mode

    A P P E N D I X Watchdog Timer Application Mode This appendix gives information on the watchdog timer application mode on the server. It provides the following sections to help you understand how to configure and use the watchdog timer and to program Alarm3: “Understanding the Watchdog Timer Application Mode”...
  • Page 102: Watchdog Timer Limitations

    If the application watchdog is enabled and you break into the OpenBoot PROM ■ by issuing the break command from the system controller’s sc> prompt, the system controller automatically disables the watchdog timer. Netra T2000 Server Administration Guide • September 2006...
  • Page 103 Note – The system controller displays a console message as a reminder that the watchdog, from the system controller’s perspective, is disabled. However, when you re-enter the Solaris OS, the watchdog timer is still enabled from the Solaris Operating System’s perspective. To have both the system controller and the Solaris OS view the same watchdog state, you must use the watchdog application to either enable or disable the watchdog.
  • Page 104: Using The Ntwdt Driver

    EAGAIN – The driver is busy, try again. You can use the following IOCTLs with the watchdog timer: LOMIOCDOGTIME ■ ■ LOMIOCDOGCTL LOMIOCDOGPAT ■ ■ LOMIOCDOGSTATE LOMIOCALCTL ■ ■ LOMIOCALSTATE Netra T2000 Server Administration Guide • September 2006...
  • Page 105: Using The Watchdog Timer

    Using the Watchdog Timer Setting the Timeout Period The LOMIOCDOGTIME IOCTL sets the timeout period of the watchdog. This IOCTL programs the watchdog hardware with the time specified in this IOCTL. You must set the timeout period (LOMIOCDOGTIME) before attempting to enable the watchdog timer (LOMIOCDOGCTL).
  • Page 106: Rearming The Watchdog

    /* reset enabled if non-zero */ int dog_enable; /* watchdog enabled if non-zero */ uint_t dog_timeout; /* Current watchdog timeout */ } lom_dogstate_t; The watchdog and reset control data structure is as follows: ■ Netra T2000 Server Administration Guide • September 2006...
  • Page 107: Example Watchdog Program

    Watchdog and Reset Control Data Structure CODE EXAMPLE A-2 typedef struct { int reset_enable; /* reset enabled if non-zero */ int dog_enable; /* watchdog enabled if non-zero */ } lom_dogctl_t; Example Watchdog Program Following is a sample program for the watchdog timer. Example Watchdog Program CODE EXAMPLE A-3 #include...
  • Page 108: Table A-1 Alarm3 Behavior

    Alarm3 off = Relay(COM->NO), System LED on ■ When programmed, you can check Alarm3 or the system alarm with the showalarm command and the argument system. For example: sc> showalarm system system alarm is on Netra T2000 Server Administration Guide • September 2006...
  • Page 109 The data structure used with the LOMIOCALCTL and LOMIOCALSTATE IOCTLs is as follows: IOCTL Data Structure LOMIOCALCTL LOMIOCALSTATE CODE EXAMPLE A-4 #include <fcntl.h> #include <lom_io.h> #define LOM_DEVICE "/dev/lom" #define ALARM_OFF 0 #define ALARM_ON 1 int main() { int fd, ret; lom_aldata_t ald;...
  • Page 110: Table A-2 Watchdog Timer Error Messages

    EFAULT A nonexistent control command was requested or invalid EINVAL parameters were supplied. A thread awaiting a component state change was interrupted. EINTR The driver is not installed in the system. ENXIO Netra T2000 Server Administration Guide • September 2006...
  • Page 111 A P P E N D I X Alarm Relay Output Application Programming Interface This appendix provides an example program that illustrates how to get or set the status of the alarms. The application can use the LOMIOCALSTATE ioctl function to obtain the status of each alarm and the LOMIOCALCTL ioctl function to set the alarms individually.
  • Page 112 [get|set] [crit|major|minor|user] [on|off]\n"); static void get_alarm(const char *alarm) ts_aldata_t ald; int altype = parse_alarm(alarm); char *val; if (altype == ALARM_INVALID) { usage(); exit (1); ald.alarm_no = altype; ald.alarm_state = ALARM_OFF; lom_ioctl(LOMIOCALSTATE, (char *)&ald); Netra T2000 Server Administration Guide • September 2006...
  • Page 113 Example Program to get and set Status of the Alarms (Continued) CODE EXAMPLE B-1 if ((ald.alarm_state != ALARM_OFF) && (ald.alarm_state != ALARM_ON)) { printf("Invalid value returned: %d\n", ald.alarm_state); exit(1); printf("ALARM.%s = %s\n", alarm, get_alarmval(ald.alarm_state)); static int set_alarm(const char *alarm, const char *alarmstate) ts_aldata_t ald;...
  • Page 114 %s\n", LOM_DEVICE); exit (1); ret = ioctl(fd, ioc, (void *)buf); close (fd); return (ret); static char * get_alarmval(int state) if (state == ALARM_OFF) return ("off"); else if (state == ALARM_ON) Netra T2000 Server Administration Guide • September 2006...
  • Page 115 Example Program to get and set Status of the Alarms (Continued) CODE EXAMPLE B-1 return ("on"); else return (NULL); static void get_alarmvals() get_alarm("crit"); get_alarm("major"); get_alarm("minor"); get_alarm("user"); Appendix B Alarm Relay Output Application Programming Interface...
  • Page 116 Netra T2000 Server Administration Guide • September 2006...
  • Page 117 Index Symbols reset, 19, 30 resetsc, 20 /etc/remote file, 4 restartssh, 60 setalarm, 19 setdate, 16 Activity (disk drive LED), 82 setkeyswitch, 19 activity indicator, 40 setlocator, 19 alarm setsc, 5, 16 programming interface, 95 setupsc, 16 states, 42 showcomponent, 19 status indicators, 42 showdate, 17 ALOM...
  • Page 118 14 configuration ALOM commands, 16 halt, gracefully, advantages of, 29, 30 console (ALOM command), 18, 29 hardening systems, 55 consolehistory (ALOM command), 18 hardware disk critical alarm, 42 mirrorring about, 66 Netra T2000 Server Administration Guide • September 2006...
  • Page 119 checking volume status, 69 multipathing, 47 hot-plug operation, 78 striping about, 65 network management port (NET MGT), 5 checking volume status, 73 activating, 5 help (ALOM command), 20 configuring IP address, 5 host keys, SSH, 60 non-mirrored disk hot-plug operation, 79 hot-plug operation normally non-mirrored disk drive, 79...
  • Page 120 (ALOM command), 17 manual system, 30 showusers (ALOM command), 17 reset (ALOM command), 19, 30 shutdown (Solaris command), 29, 30 resetsc (ALOM command), 20 SNMP, 56 restartssh (ALOM command), 60 Solaris commands Netra T2000 Server Administration Guide • September 2006...
  • Page 121 cfgadm, 80 network connection, 11 cfgadm install_device, cautions against serial port, 10 using, 81 tip (Solaris command), 4 cfgadm remove_device, cautions against toggling between prompts, 21 using, 81 fsck, 30 init, 29, 30 uadmin (Solaris command), 29 init 0, 10 user alarm, 43 raidctl, 67 to 79 useradd (ALOM command), 17...
  • Page 122 Netra T2000 Server Administration Guide • September 2006...

Table of Contents