Question :
How to unconfigure and configure a cpu/memory board using cfgadm on Sun Enterprise E6800/E6900
Answer :
To un-configure a cpu/memory board from system
1. Unconfigure each bank separately
# cfgadm -c unconfigure ac#:bank#
To get ac#:bank#, run :
# cfgadm -s cols=ap_id:info:type
The above command will associate the address controller(ac) number with the slot number, because the device names for memory are assigned chronologically, not by board number.
2. Unconfigure the board
Unconfiguring the board will prompt solaris to remove all processes from the cpu’s of the unconfigured boards and reschedule them on different cpu’s. Therefore, it is not necessary to issue a command to bring the cpu’s offline.
# cfgadm -c unconfigure sysctrl#:slot#
3. Disconnect the board
The board may be removed from the system now. This should be performed in a “fluid motion” and take less then one second. Insertions or removals taking longer may stall the bus and crash the system.
# cfgadm -c disconnect sysctrl#:slot#
To configure a cpu/memory board into system
1. Connect board
# cfgadm -c connect sysctrl#:slot#
2. Configure board
# cfgadm -v -c configure sysctrl#:slot#
3. Test memory on board (you must do this for both banks of memory)
If you do not test memory before configuring memory, this may cause an “unknown” condition when you run “prtdiag” or “cfgadm -l”
# cfgadm -o configure ac#:bank#
# cfgadm -o configure ac#:bank#
4. Configure memory (you must do this for both banks of memory)
# cfgadm -c configure ac#:bank#
# cfgadm -c configure ac#:bank#
5. Bring cpu’s back online
psrinfo command will give you the cpu #’s that are offline.
# psrinfo
# psradm -n # #
To confirm cpu’s came online :
# psrinfo