Manuals
/
Sun Microsystems
/
Computer Equipment
/
Server
Sun Microsystems
V20Z, V40z
manual
Models:
V20Z
V40z
1
100
254
254
Download
254 pages
44.85 Kb
97
98
99
100
101
102
103
104
Troubleshooting
Install
Password
Configuring Snmp Destinations
Ipmi Reset Subcommand
Diagnostics Commands
Accessing Sun Documentation
Commands Return Codes
Bios Post Codes
Setting the Community Name
Page 100
Image 100
78
Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004
Page 99
Page 101
Page 100
Image 100
Page 99
Page 101
Contents
Sun Microsystems, Inc
Please Recycle
Contents
Ipmi Server Management
Snmp Server Management
Configuring Scripting Capabilities Using Shell Scripts
Further Management Information
Server Management Commands Summary
Lilo
Commands Return Codes
Access Commands
Page
Diagnostics Commands
Inventory Commands
Inventory Compare Versions Subcommand
Ipmi Commands
Format Return Codes
Platform Commands
Sensor Commands
Service Processor Commands 161
Contents
Page
Contents
Page
Contents
Page
Preface
How This Book Is Organized
Related Documentation
Accessing Sun Documentation
Third-Party Web Sites
Contacting Sun Technical Support
Sun Welcomes Your Comments
Page
Introduction
Overview
1defines the acronyms found in this document
Acronyms
Acronyms
Server Management
Service Processor
Server-Management Interfaces
Command Line Interface
Snmp Integration
Server
Operator Panel
2Sun Fire V20z Server Operator Panel and Buttons
2Operator Panel Buttons
User Groups
User Types
Part I Assigning Network Settings to the SP
Initial Setup of the Service Processor
Assigning SP Network Settings Using Dhcp
Following prompt appears with the default response
Press the Forward button until you reach the SP menu
Press the Select button to display the SP menu options
Press the Select button
Assigning Static SP Network Settings
This field can hold a value between 0
SP address is now configured and the server is ready for use
LCD displays the following confirmation prompt
Part II Securing the Service Processor
Creating the Initial Manager Account
Enabling Ipmi Access on the Server
Enabling Ipmi Access on a Linux-Based Server In-Band
Install IPMItool
Install the openIPMI RPM file by running the command
Successful output should look similar to the following
Confirm installation of all packages when prompted
Enabling Ipmi Access on a Solaris-Based x86 Server In-Band
Reboot the server
Enabling Ipmi LAN Access on a Linux-Based Server In-Band
Enabling Ipmi LAN Access
Using IPMItool, configure the network setting for the SP
Enable Ipmi LAN access and assign a password when prompted
Alternate Method for Enabling Ipmi LAN Access Out-of- Band
Using IPMItool, test the Ipmi LAN access
Recompile the module by running the following commands
Upgrading the Linux Kernel
Daisy-Chaining the Servers
5Daisy Chain Architecture
Updating the SP Software
Site Integration
LCD displays the first menu option
Press Select or Enter to display the SP menu’s options
Updating the Service Processor Base Component
To update the SP base component
Log in to the SP by running the following command
Run the sp command to start the update process on the SP
Autoconfiguring the SP Optional Method
Following message displays when autoconfiguration is running
Determining SP and Platform Network MAC Addresses
Page
Ipmi Server Management
Baseboard Management Controller
Manageability
Ipmi Compliance and LAN Channel Access
Usernames and Passwords
Lights Out Management LOM
Description
Further Information
Syntax
1lists the options available for IPMItool
Options
1Options for IPMItool
Expressions
2Expressions and Parameters for IPMItool 1
2Expressions and Parameters for IPMItool 2
Interval
2Expressions and Parameters for IPMItool 3
Parameter
2Expressions and Parameters for IPMItool 4
Type
Ipmi Linux Kernel Device Driver
LAN Interface for the BMC
Files
Result returned is
Viewing the Ipmi System Event Log
Clearing the Ipmi System Event Log
Ipmi Troubleshooting
3IPMI Troubleshooting
Page
Snmp Server Management
Simple Network Management Protocol
Snmp Integration
Snmp Management Information Base MIB
Sun Fire V20z and Sun Fire V40z Servers MIB Tree
Integrating MIBs with Third-Party Consoles
Configuring Snmp on Your Server
2SNMP Architecture and Communications
Snmp Agent on the Service Processor
Proxy Agent
Setting the Community Name
Agent
Setting Logging Options
Using a Third-Party MIB Browser
Snmp standard tree displays in the MIB Browser
Snmp Traps
1Server Event Traps
Configuring Snmp Trap Destinations
Configuring Snmp Destinations
2Subcommands for Configuring Snmp Destinations
Server MIB Details
Events listed in -4are sent to the Snmp destination by
SP-EVENT-MIB.mib
SP Events 2 Enterprise Trap ID
Snmp Troubleshooting
5SNMP Troubleshooting
Page
Configuring Scripting Capabilities
Further Management Information
Using Shell Scripts
Remote Scripting Using SSH
Enter the following command
Configuring Multiple Systems for Scripting
Generating Host Keys
Creating Trusted Host Relationships
Adding Public Keys
Enabling SSH Access Using Trusted Hosts
Execute the following command
Set up your host keys by executing the following command
Enable access for clients by launching a Bash shell
Enabling SSH Access Using Public Keys
Enter your password when prompted
Guidelines for Writing Server Management Command Scripts
Command Output
Other Tips For Best Results
Console Redirection Over Serial on a Linux-based Server
Grub
Lilo
Securetty
Getty
List of gettys currently looks like the following
Enabling and Configuring Bios Console Redirection
Network Share Volume Structure
Network Share Volume NSV CD-ROM
1Network Share Volume Compressed Packages
2Extracted Files on the Network Share Volume
Enabling or Disabling the SOL Feature on the Server
You can enable or disable the SOL feature through the SP
To enable the feature, run the following command
Serial Over LAN
Launching an SOL Session
Terminating an SOL Session
Press Control-E Press the C key Press the period key
Press Enter Press the tilde key ~ Press the period key
Page
Server Management Commands Summary
Using the ssh Protocol
Preface each command with the following text
Interactive Shell on the SP
Preface Text
Commands
Table A-1Server Management Commands
Return Codes
Table A-2Return Codes
Table A-2Return Codes
Page
Access Commands
Table B-1Access Subcommand Groups
Access Groups Subcommands
Access Get Group Subcommand
Format
Return Codes
Table B-4lists the return codes for this subcommand
Access Get Groups Subcommand
Table B-4Return Codes for Subcommand access get groups
Access Map Subcommands
Access Get Map Subcommand
Table B-6lists the arguments for this subcommand
Table B-6Arguments for Subcommand access get map
Access Map Subcommand
Table B-7lists the return codes for this subcommand
Table B-8lists the arguments for this subcommand
Table B-7Return Codes for Subcommand access get map
Access Unmap Subcommand
Table B-9lists the return codes for this subcommand
Table B-10lists the arguments for this subcommand
Table B-9Return Codes for Subcommand access map
Table B-11lists the return codes for this subcommand
Table B-11Return Codes for Subcommand access unmap
Access Directory Services Subcommands
Access Disable Service Subcommand
Table B-13lists the argument for this subcommand
Table B-13Argument for Subcommand access disable service
Access Enable Service Subcommand
Table B-14lists the return codes for this subcommand
Table B-15lists the arguments for this subcommand
Table B-16lists the return codes for this subcommand
Table B-15Arguments for Subcommand access enable service
Table B-16Return Codes for Subcommand access enable service
Access Get Services Subcommand
Table B-17Arguments for Subcommand access get services
Table B-18lists the return codes for this subcommand
Table B-18Return Codes for Subcommand access get services
Access Trust Subcommands
Access Add Trust Subcommand
Table B-20lists the arguments for this subcommand
Table B-20Arguments for Subcommand access add trust
Copy rsakey to /etc/ssh/sshhostrsakey
Access Delete Trust Subcommand
Table B-21lists the return codes for this subcommand
Table B-22lists the arguments for this subcommand
Table B-21Return Codes for Subcommand access add trust
Table B-23lists the return codes for this subcommand
Access Get Trusts Subcommand
Table B-23Return Codes for Subcommand access delete trust
Table B-24lists the return codes for this subcommand
Table B-24Return Codes for Subcommand access get trusts
Access Public Key Subcommands
Access Add Public Key Subcommand
Table B-26lists the arguments for this subcommand
Table B-25Access Public Key Subcommands
Table B-27lists the return codes for this subcommand
Access Get Public Key Users Subcommand
Table B-27Return Codes for Subcommand access add public key
Access Delete Public Key Subcommand
Table B-28lists the return codes for this subcommand
Table B-29lists the arguments for this subcommand
Table B-29Arguments for Subcommand access delete public key
Table B-30lists the return codes for this subcommand
Access User Subcommands
Access Add User Subcommand
Table B-32lists the arguments for this subcommand
Table B-32Arguments for Subcommand access add user
Access Delete User Subcommand
Table B-33lists the return codes for this subcommand
Table B-33Return Codes for Subcommand access add user
Description Deletes a user
Table B-34lists the arguments for this subcommand
Table B-35lists the return codes for this subcommand
Table B-34Arguments for Subcommand access delete user
Table B-35Return Codes for Subcommand access delete user
Access Get Users Subcommand
Table B-36lists the arguments for this subcommand
Table B-37lists the return codes for this subcommand
Table B-36Arguments for Subcommand access get users
Access Update Password Subcommand
Description Changes the password of an existing user
Table B-38lists the arguments for this subcommand
Table B-39lists the return codes for this subcommand
Table B-40lists the arguments for this subcommand
Access Update User Subcommand
Table B-40Arguments for Subcommand access update user
Table B-40lists the return codes for this subcommand
Table B-41Return Codes for Subcommand access update user
Diagnostics Commands
Table C-1Diagnostics Subcommand Groups
Table C-2lists the arguments for this subcommand
Diags Cancel Tests Subcommand
Table C-2Arguments for Subcommand diags cancel tests
Table C-3lists the return codes for this subcommand
Table C-3Return Codes for Subcommand diags cancel tests
Table C-4lists the return codes for this subcommand
Diags Get State Subcommand
Table C-4Return Codes for Subcommand diags get state
Diags Get Tests Subcommand
Table C-5lists the arguments for this subcommand
Table C-6lists the return codes for this subcommand
Table C-5Arguments for Subcommand diags get tests
Table C-7lists the arguments for this subcommand
Diags Run Tests Subcommand
Table C-7Arguments for Subcommand diags run tests
Table C-8lists the return codes for this subcommand
Table C-8Return Codes for Subcommand diags run tests
Table C-9lists the return codes for this subcommand
Diags Start Subcommand
Table C-9Return Codes for Subcommand diags start
Invalid operation for current state
Table C-10lists the return codes for this subcommand
Diags Terminate Subcommand
Table C-10Return Codes for Subcommand diags terminate
Inventory Commands
Table D-1Inventory Subcommands Groups
Inventory Compare Versions Subcommand
Table D-2lists the arguments for this subcommand
Inventory Get Hardware Subcommand
Table D-3lists the return codes for this subcommand
Table D-4lists the arguments for this subcommand
Table D-4Arguments for Subcommand inventory get hardware
Table D-5Return Codes for Subcommand inventory get hardware
Table D-5lists the return codes for this subcommand
Return Codes
Inventory Get Software Subcommand
Table D-6lists the arguments for this subcommand
Table D-7lists the return codes for this subcommand
Table D-6Arguments for Subcommand inventory get software
Inventory Get All Subcommand
Table D-8lists the arguments for this subcommand
Table D-9lists the return codes for this subcommand
Table D-8Arguments for Subcommand inventory get all
Ipmi Commands
Table E-1IPMI Subommands Groups
Ipmi Disable Channel Subcommand
Description Allows you to disable one of two Ipmi channels
Table E-2lists the arguments for this subcommand
Table E-3lists the arguments for this subcommand
Ipmi Enable Channel Subcommand
Description Allows you to enable one of two Ipmi channels
Table E-4lists the arguments for this subcommand
Table E-5lists the return codes for this subcommand
Table E-6lists the return codes for this subcommand
Ipmi Get Channels Subcommand
Table E-6Return Codes for Subcommand ipmi get channels
Table E-7lists the return codes for this subcommand
Ipmi Disable PEF Subcommand
Table E-7Return Codes for Subcommand ipmi disable pef
Table E-8lists the return codes for this subcommand
Ipmi Enable PEF Subcommand
Table E-8Return Codes for Subcommand ipmi enable pef
Ipmi Get Global Enables Subcommand
Table E-9lists the return codes for this subcommand
Table E-10Arguments for Subcommand ipmi set global enable
Ipmi Set Global Enable Subcommand
Table E-11Information about the aliases
Table E-12lists the return codes for this subcommand
Table E-12Return Codes for Subcommand ipmi set global enable
Ipmi Reset Subcommand
Table E-13lists the arguments for this subcommand
Table E-14lists the return codes for this subcommand
Table E-13Arguments for Subcommand ipmi reset
Platform Commands
Table F-1Platform Subcommand Groups
Platform Console Subcommands
Platform Console Subcommand
Table F-4Common Values for Console Redirection
Table F-3Common COM1 Values
Table F-5Serial-Console Values
Ecl0
Check or set the Bios settings Run the command
Run the command platform set console
Table F-6lists the return codes for this subcommand
Table F-6Return Codes for Subcommand platform console
Following output displays when successful
Platform Get Console Subcommand
Table F-8Supplementary Output
Table F-9lists the return codes for this subcommand
Table F-9Return Codes for Subcommand platform get console
Table F-10Arguments for Subcommand platform set console
Platform Set Console
Table F-11lists the return codes for this subcommand
Table F-11Return Codes for Subcommand platform set console
Platform Get OS State Subcommand
Platform OS State Subcommands
Description Retrieves the current state of the platform OS
Table F-13lists the return codes for this subcommand
Table F-13Return codes for Subcommand platform get os state
Table F-14lists the arguments for this subcommand
Platform Set OS State Subcommand
Table F-14Arguments for Subcommand platform set os state
Table F-15lists the return codes for this subcommand
Platform Set OS State Boot Subcommand
Table F-15Return Codes for Subcommand platform set os state
Table F-16lists the arguments for this subcommand
Table F-17lists the return codes for this subcommand
Platform Power State Subcommands
Platform Get Power State Subcommand
Platform Set Power State Subcommand
Table F-19lists the return codes for this subcommand
Table F-21lists the return codes for this subcommand
Table F-20lists the arguments for this subcommand
Table F-20Arguments for Subcommand platform set power state
Platform Get Hostname Subcommand
Table F-22lists the argument for this subcommand
Table F-23lists the return codes for this subcommand
Table F-22Argument for Subcommand platform get hostname
Table F-24lists the return codes for this subcommand
Platform Get Product ID Subcommand
Description Displays the product ID for the current system
Page
Sensor Commands
Table G-1Sensor Subcommand Groups
Sensor Get Subcommand
Table G-2lists the arguments for this subcommand
Table G-2Arguments for Subcommand sensor get
Table G-3lists the arguments for this subcommand
Table G-3Return Codes for Subcommand sensor get
Appendix G Sensor Commands
Table G-4lists the arguments for this subcommand
Sensor Set Subcommand
Table G-4Arguments for Subcommand sensor set
Table G-5lists the arguments for this subcommand
Table G-5Return Codes for Subcommand sensor set
Page
Service Processor Commands
Table H-1Service Processor Subcommand Groups
SP Date Subcommands
SP Get Date Subcommand
Subcommands in Table H-2manage the date and time on the SP
Table H-2SP Date Subcommands
SP Set Date Subcommand
Table H-3lists the return codes for this subcommand
Table H-4lists the argument for this subcommand
Description Sets the date and time on the SP RTC
Table H-5lists the return codes for this command
Table H-5Return Codes for Subcommand sp set date
SP DNS Subcommands
SP Disable DNS Subcommand
Description Disables the DNS configuration on the SP
Table H-7lists the return codes for this command
SP Enable DNS Subcommand
Table H-8lists the arguments for this subcommand
Table H-9lists the return codes for this subcommand
Table H-8Arguments for Subcommand sp enable dns
SP Get DNS Subcommand
Table H-10lists the arguments for this subcommand
Table H-11lists the return codes for this subcommand
Table H-10Arguments for Subcommand sp get dns
SP Events Subcommands
SP Delete Event Subcommand
Subcommands in Table H-12manage events on the SP
Description Clears an existing event using the event ID
Table H-14lists the return codes for this subcommand
SP Get Events Subcommand
Table H-14Return Codes for Subcommand sp delete event
Table H-15lists the arguments for this subcommand
Table H-16lists the return codes for this subcommand
Table H-15Arguments for Subcommand sp get events
Table H-16Return Codes for Subcommand sp get events
SP Hostname Subcommands
SP Get Hostname Subcommand
Subcommands in Table H-17manage the SP host and domain
Table H-18lists the argument for this subcommand
SP Set Hostname Subcommand
Table H-19lists the return codes for this subcommand
Table H-20lists the argument for this subcommand
Table H-19Return Codes for Subcommand sp get hostname
Table H-21lists the return codes for this subcommand
Table H-21Return Codes for Subcommand sp set hostname
SP IP Subcommands
SP Get IP Subcommand
Table H-23lists the arguments for this subcommand
IP Subcommands
SP Set IP Subcommand
Table H-24lists the arguments for this subcommand
Description Sets or modifies the SP network configuration
Table H-24Return Codes for Subcommand sp get ip
Table H-25lists the arguments for this subcommand
Table H-26lists the return codes for this subcommand
Table H-25Arguments for Subcommand sp set ip
Table H-26Return Codes for Subcommand sp set ip
SP Jnet Address Subcommands
SP Get Jnet Subcommand
Table H-28lists the arguments for this subcommand
Jnet Subcommands
Table H-29lists the return codes for this subcommand
SP Set Jnet Subcommand
Table H-29Return Codes for Subcommand sp get jnet
Table H-30lists the arguments for this subcommand
Table H-31lists the return codes for this subcommand
Table H-30Arguments for Subcommand sp set jnet
Table H-31Return Codes for Subcommand sp set jnet
SP Locate Light Subcommands
SP Get Locatelight Subcommand
Subcommands in Table H-32manage the locatelight switch
Table H-33lists the return codes for this subcommand
Table H-34lists the return codes for this subcommand
SP Set Locatelight Subcommand
Table H-34Return Codes for Subcommand sp set locatelight
SP Logfile Subcommands
SP Get Logfile Subcommand
Subcommands in Table H-35manage the SP log files
Description Retrieves the event log file configuration
SP Set Logfile Subcommand
Table H-37lists the return codes for this subcommand
Table H-37Return Codes for Subcommand sp get logfile
Table H-38Arguments for Subcommand sp set logfile
Table H-39lists the arguments for this subcommand
Table H-39Return Codes for Subcommand sp set logfile
SP Miscellaneous Subcommands
SP Create Test Events Subcommand
Subcommands in Table H-40manage miscellaneous SP functions
Table H-40Miscellaneous SP Subcommands
SP Get Port 80 Subcommand
Table H-41lists the return codes for this command
Table H-42lists the arguments for this subcommand
Table H-41Return Codes for Subcommand sp create test events
Bios Post Codes
Table H-43lists the return codes for this subcommand
Table H-44lists the Post codes for the Phoenix Bios
Table H-43Return Codes for Subcommand sp get port80
Table H-44BIOS Post Codes
Table H-44BIOS Post Codes
Table H-44BIOS Post Codes
Enable hardware interrupts
Table H-45lists the boot block codes in Flash ROM
Boot Block Codes for Flash ROM
Table H-45Boot Block Codes in Flash ROM
Table H-46lists the arguments for this subcommand
SP Load Settings Subcommand
Table H-46Arguments for Subcommand sp load settings
SP Get Status Subcommand
Table H-47lists the return codes for this subcommand
Table H-48lists the arguments for this subcommand
Description Returns the status of the overall system
Table H-49lists the return codes for this subcommand
SP Get TDULog Subcommand
Table H-49Return Codes for Subcommand sp get status
Table H-50lists the arguments for this subcommand
Table H-50Arguments for Subcommand sp get tdulog
SP Reboot Subcommand
Table H-52lists the return codes for this subcommand
Table H-53lists the argument for this command
Table H-52Return Codes for Subcommand sp get tdulog
Table H-54lists the return codes for this command
SP Reset Subcommand
Table H-54Return Codes for Subcommand sp reboot
Table H-55lists the arguments for this command
Table H-55Arguments for Subcommand sp reset
Table H-56list the return codes for this command
Table H-56Return Codes for Subcommand sp reset
SP Mount Subcommands
SP Add Mount Subcommand
Subcommands in Table H-57manage the SP mount points
Description Creates or resets a mount point
Table H-59lists the return codes for this subcommand
Table H-59Return Codes for Subcommand sp add mount
Table H-60lists the arguments for this subcommand
Table H-61lists the return codes for this subcommand
SP Delete Mount
Description Deletes a mount point
SP Get Mount Subcommand
Table H-62lists the arguments for this subcommand
Table H-63lists the return codes for this subcommand
Description Displays the current mount points on the SP
SP Get Smtp Server Subcommand
SP Smtp Subcommands
Subcommands in Table H-64manage Smtp communications
Table H-65lists the arguments for this subcommand
Table H-66lists the return codes for this subcommand
Table H-65Arguments for Subcommand sp get smtp server
Table H-66Return Codes for Subcommand sp get smtp server
SP Set Smtp Server Subcommand
Table H-67lists the arguments for this subcommand
Table H-68lists the return codes for this subcommand
Table H-67Arguments for Subcommand sp set smtp server
Table H-69Arguments for Subcommand sp get smtp sebscribers
SP Get Smtp Subscribers Subcommand
Table H-70Default Smtp Subscribers
SP Update Smtp Subscriber Subcommand
Table H-71lists the return codes for this subcommand
Table H-72Arguments for Subcommand sp update smtp subscriber
Table H-73Default Smtp Subscribers
Table H-74lists the return codes for this command
SP Add Snmp Destination Subcommand
SP Snmp Subcommands
Subcommands in Table H-75manage Snmp communications
Table H-77lists the return codes for this subcommand
Table H-76lists the argument for this subcommand
Table H-76Argument for Subcommand sp add snmp-destination
Table H-78lists the arguments for this subcommand
SP Delete Snmp Destination Subcommand
Table H-79lists the return codes for this subcommand
SP Get Snmp Destinations Subcommand
Table H-80lists the return codes for this subcommand
SP Set Snmp Proxy Community Subcommand
SP Get Snmp Proxy Community Subcommand
Table H-81lists the return codes for this subcommand
Table H-82lists the argument for this subcommand
Table H-83lists the return codes for this subcommand
SP SSL Subcommands
SP Disable SSL-Required Subcommand
Subcommands in Table H-84manage SSL capabilities
Table H-85lists the return codes for this command
SP Enable SSL-Required Subcommand
Table H-86lists the return codes for this command
SP Get SSL Subcommand
Table H-87lists the arguments for this subcommand
Table H-88lists the return codes for this subcommand
Table H-87Arguments for Subcommand sp get ssl
SP Set SSL Subcommand
Table H-89lists the arguments for this subcommand
Table H-90lists the return codes for this subcommand
Table H-89Arguments for Subcommand sp set ssl
SP Update Flash All Subcommand
SP Update Subcommands
Subcommands in Table H-91manage the SP flash
Table H-92lists the arguments for this subcommand
Table H-93lists the return codes for this subcommand
Table H-92Arguments for Subcommand sp update flash all
Table H-93Return Codes for Subcommand sp update flash all
Table H-94lists the arguments for this subcommand
SP Update Flash Applications Subcommand
Table H-95lists the return codes for this subcommand
SP Update Flash PIC Subcommand
Table H-96lists the arguments for this subcommand
Table H-97lists the return codes for this subcommand
Table H-96Arguments for Subcommand sp update flash pic
SP Update Diags Subcommand
Table H-98lists the argument for this subcommand
Table H-99lists the return codes for this subcommand
Table H-98Argument for Subcommand sp update diags
Index
Page
Index
Page
Index
Top
Page
Image
Contents