Sun Microsystems, Inc.
   www.sun.com docs.sun.com | | |  
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administrationenablecomponent(1m)


NAME

 enablecomponent - remove the specified component from the specified blacklist

SYNOPSIS

 enablecomponent [-a|-d domain_tag|domain_id] location [location ...]
 enablecomponent -h

DESCRIPTION

 

enablecomponent(1M) removes a component from the platform, domain or ASR blacklist, making it eligible for booting.

The blacklist is an internal file that lists components POST cannot use at boot time. POST reads the blacklist file(s) before preparing the system for booting, and passes along to OpenBoot PROM a list of only those components that have been successfully tested; those on the blacklist are excluded. SMS supports three blacklists, one for domain boards and one for platform boards; and the internal ASR blacklist.

The ASR blacklist is an internal file created by esmd when it powers off components due to environmental conditions. The ASR blacklist is also used by the power libraries and SMS commands to prevent turning on a bad component.

enablecomponent used without any option will edit the platform blacklist.

Use showcomponent(1M) to display whether a particular component is currently blacklisted.

For more information on the use and editing of platform and domain blacklists refer to Chapter 7 in the System Management Services (SMS) 1.2 Administrator Guide for the Sun Fire 15K/12K Systems

OPTIONS

 

The following options are supported.

-a
Specifies the component to remove from the ASR blacklist.
-d domain_id
ID for a domain. Valid domain_ids are 'A'...'R' and case insensitive. Specifies the component to remove from the domain blacklist.
-d domain_tag
Name assigned to a domain using addtag(1M). Specifies the component to remove from the domain blacklist.
-h
Help. Displays usage descriptions. Note – Use alone. Any option specified in addition to -h is ignored.

OPERANDS

 

The following operands are supported:

location
List of component locations, separated by forward slashes and comprised of:

board_loc/proc/bank/logical_bank

board_loc/proc/bank/all_dimms_on_that_bank

board_loc/proc/all_banks_on_that_proc

board_loc/all_banks_on_that_board

board_loc/proc

board_loc/procs

board_loc/cassette

board_loc/bus

board_loc/paroli_link

Multiple location arguments are permitted separated by a space.

The location forms are optional and are used to specify particular components on boards in specific locations.

For example, the location SB5/P0/B1/L1 indicates Logical Bank 1 of Bank 1 on Processor 0 at SB5.

The SB0/PP1 location indicates Processor Pair 1 at SB0. The CS0/ABUS1 location indicates address bus 1 at CS0.

The following board_loc forms are accepted:

Sun Fire 15K, Sun Fire 12K

SB(0...17), SB(0...8)

IO(0...17), IO(0...8)

CS(0|1), CS(0|1)

EX(0...17), EX(0...8)

Processor locations indicate single processors or processor pairs.

There are four possible processors on a CPU/Memory board. Processor pairs on that board are: procs 0 and 1, and procs 2 and 3.

The MaxCPU has two processors,: procs 0 and 1, and only one proc pair (PP0). Using PP1 for this board will cause disablecomponent to exit and display an error message.

The following proc forms are accepted:

P(0...3) PP(0|1)

The following bank forms are accepted:

B(0|1)

The following logical_bank forms are accepted:

L(0|1)

The following all_dimms_on_that_bank forms are accepted:

D

The following all_banks_on_that_proc forms are accepted:

B

The following all_banks_on_that_board forms are accepted:

B

The following paroli_link forms are accepted:

PAR(0|1)

The hsPCI assemblies contain hot-swappable cassettes.

The following hsPCI forms are accepted:

C(3|5)V(0|1)

There are three bus locations: address, data and response.

The following bus forms are accepted:

ABUS|DBUS|RBUS (0|1)

EXTENDED DESCRIPTION

 

Group Privileges Required

 

You must have platform administrator, domain administrator, domain configurator privileges to run this command. If you have platform privileges you may run this command for the platform components only. If you have domain privileges you may only run this command on the domain for which you have privileges.

Refer to Chapter 2 in the System Management Services (SMS) 1.2 Administrator Guide for the Sun Fire 15K/12K Systems for more information.

EXAMPLES

 Example 1. Remove CSB0 from the ASR Blacklist
 
 
sc0:sms-user:> enablecomponent -a CS0
Example 2. Remove the Logical Bank 0 of Bank 0 on Processor 0 on System Board 0 from the Domain A Blacklist
 
 
sc0:sms-user:> enablecomponent -dA SB0/P0/B0/L0
Example 3. Remove All DIMMs on Bank 0 of Processor 1 on System Board 3 from the Domain A Blacklist
 
 
sc0:sms-user:> enablecomponent -dA SB3/P1/B0/D
Example 4. Remove All Banks on Processor 0 on System Board 1 from the Domain B Blacklist
 
 
sc0:sms-user:> enablecomponent -dB SB1/P0/B
Example 5. Remove All Banks on System Board 0 from the Domain D Blacklist
 
 
sc0:sms-user:> enablecomponent -dD SB0/B
Example 6. Remove Processor Pair 0 on I/O Board 7 from the Platform Blacklist
 
 
sc0:sms-user:> enablecomponent IO7/PP0
Example 7. Remove Processor 1 on System Board 3 from the Domain A Blacklist
 
 
sc0:sms-user:> enablecomponent -dA SB3/P1
Example 8. Remove the hsPCI Cassette in the 3V slot 0 of IO Board 6 from the Domain A Blacklist
 
 
sc0:sms-user:> enablecomponent -dA IO6/C3V0
Example 9. Remove the Paroli Link 0 on wPCi Board 5 to the Platform Blacklist
 
 
sc0:sms-user:> enablecomponent IO5/PAR0
Example 10. Remove the Address Bus CS0 on EX7 from the Domain A Blacklist
 
 
sc0:sms-user:> enablecomponent -dA EX7/ABUS0

EXIT STATUS

 

The following exit values are returned:

0
Successful completion
>0
An error occurred.

FILES

 

The following file is used by this command.

/etc/opt/SUNWSMS/config/asr/blacklist
List of components excluded by esmd.Note – This file is created and used internally and should not be edited manually.
/etc/opt/SUNWSMS/config/platform/blacklist
List of platform components excluded.
/etc/opt/SUNWSMS/config/domain_id/blacklist
List of domain components excluded.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

Attribute TypesAttribute Values
AvailabilitySUNWSMSop

SEE ALSO

 

addboard(1m), disablecomponent(1m), esmd(1m), showcomponent(1m)


SMS 1.2Go To TopLast Changed 22 April 2002

 
      
      
Copyright 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 USA. All rights reserved.